Put banners to a div
[elbandi:minifaucet.git] / templates / main.php
1 <?php require 'header.php'; ?>
2
3 <h3>Get free <?php echo UP_COIN_NAME; ?>s from <?php echo $siteName; ?>!</h3>
4 <div class='ad well'>
5     <p>Want to get free <?php echo UP_COIN_NAME; ?>s?</p>
6     <form action='<?php echo urlFor("post_faucet"); ?>' method='POST'>
7         <input type='text' name='address' placeholder='e.g. 1NaYg9L5KxL3hSAB9qeWaBHrSunkY3eNBo'>
8         <input type='submit' class='hidead btn btn-success buttonmargin input-block-level' value='Go'>
9     </form>
10     <p>Enter your <?php echo $addressType; ?> address to get started.</p>
11 </div>
12 <div class='well'><?php echo getAd($bannerAds, "ad_middle"); ?></div>
13 <div>
14     <ul>
15         <li><i class='icon-hand-right'></i> Earn <strong><?php echo number_format($minReward); ?></strong> to <strong><?php echo number_format($maxReward); ?></strong> <?php echo SUB_UNIT_NAME; ?> per dispense!</li>
16         <li><i class='icon-time'></i> Get a dispense every <strong><?php echo $dispenseTimeText; ?></strong>!</li>
17         <li><i class='icon-ok'></i> No work needed - just click!</li>
18         <li><i class='icon-bell'></i> <strong>Instant</strong> as soon as you reach cashout threshold of <?php echo number_format($cashout); ?> <?php echo SUB_UNIT_NAME; ?></li>
19 <?php if(!empty($wallet)): ?>
20         <li><i class='icon-globe'></i> <?php echo $wallet; ?> - no transaction fees and offchain!</li>
21 <?php endif; ?>
22     </ul>
23 </div>
24 <?php echo getAd($bannerAds, "ad_bottom"); ?>
25 <?php echo getAd($textAds); ?>
26
27 <?php require 'footer.php'; ?>