PHP Classes

File: templates/payment/show.html.php

Recommend this page to a friend!
  Classes of Pierre-Henry Soria   GetMeALatte   templates/payment/show.html.php   Download  
File: templates/payment/show.html.php
Role: Example script
Content type: text/plain
Description: Example script
Class: GetMeALatte
Promote a product to be sold to a crowd
Author: By
Last change:
Date: 1 year ago
Size: 860 bytes
 

Contents

Class file image Download
<?php use PH7\PH2Gravatar\Image; ?>

<div class="center">
    <h2 class="orange-text">
        <?= $view->escape($itemName) ?>
</h2>

    <section>
        <p><?= nl2br($view->escape($summary)) ?></p>
        <p>Price: <em><?= $view->escape($currency) ?> <?= $view->escape($price) ?></em></p>
        <?php if (!empty($businessName)): ?>
<p><small><?= $view->escape($businessName) ?></small></p>
        <?php endif ?>

      <?php if (!empty($userName) && !empty($userEmail)): ?>
<p>
          <img src="<?= Image::get($userEmail) ?>" alt="<?= $userName ?>" class="materialboxed" />
        </p>
      <?php endif ?>

        <p>
            <a href="<?= $paymentLink ?>" rel="nofollow" class="bold waves-effect btn-large">? Pay (<?= $view->escape($currency) ?> <?= $view->escape($price) ?>)</a>
        </p>
    </section>
</div>