Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- show_header("The Bank");
- function exchangeLink($points,$LoggedUser) {
- if ($LoggedUser['BonusPoints']<$points) {
- return "Not enough points!";
- } else {
- return "<a href=\"bonus.php?action=exchange&points={$points}\">Exchange!</a>";
- }
- }
- function donate($points,$LoggedUser) {
- if ($LoggedUser['BonusPoints']<$points) {
- return "Not enough points!";
- } else {
- return "<a href=\"bonus.php?action=exchange&points={$points}\">Exchange!</a>";
- }
- }
- ?>
- <div class="thin">
- <h3 id="general">About the Garage</h3>
- <div class="box pad" style="padding:10px 10px 10px 20px;">
- <center>Here is where you can spend your earned PTT Cash</center><br />
- <center>PTT Cash is awarded (and taken away) in a few ways.</center><br />
- <center><ul>
- <li>One point is awarded per post you make in the forums. As well as each reply you do.</li>
- <li>You will also loose a point if your post gets deleted, so make useful posts</li>
- <li>1/4 point for each 15 Minutes you are in IRC (<font color="Red">Not Implemented Yet</font>)</li>
- <li>Any amount of points can be given (or taken away) at staff's will. </li>
- </center></ul>
- <br />
- <center>You have <strong><?php echo $LoggedUser['BonusPoints']; ?></strong> PTT Cash collected.</center>
- </div>
- <br />
- <div class="thin">
- <table>
- <tr class="colhead">
- <td>Option</td>
- <td style="width:40%;">Description</td>
- <td>Points</td>
- <td>Trade</td>
- </tr>
- <tr><form method="POST">
- <input type="hidden" name="action" value="invite" />
- <td></td>
- <td><h3>Buy an Invite</h3><br />Buy an invite to invite a friend.<br />
- <td>How many invites: <input type="text" name="InviteAmount" /></td>
- <td><input type="submit" name="Submit" value="Buy" /></td>
- </form>
- </tr>
- <tr><form method="POST">
- <input type="hidden" name="action" value="sendgift" />
- <td></td>
- <td><h3>Send gift of points</h3><br />Help out a member who might need some extra points.<br />
- Username: <input type="text" name="rec_username"</td>
- <td>Points to give: <br /><input type="text" name="points" /></td>
- <td><input type="submit" name="Submit" value="Send Gift" /></td>
- </form>
- </tr>
- <tr><form method="POST">
- <input type="hidden" name="action" value="donate" />
- <td></td>
- <td><h3>Donate points</h3><br />Donate your points to enable a special giveaway later.<br />
- <td>Points to donate: <br /><input type="text" name="points" /></td>
- <td><input type="submit" name="Submit" value="Donate" /></td>
- </form>
- </tr>
- </table>
- </div>
- <!-- END General Rules -->
- </div>
- <?php
- show_footer();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement