Ok this is where the table is.
Code: Select all
function credits()
{
?>
<table id="creditpacks">
<tr>
<th>Package ID</th>
<th>Cost</th>
<th>Bonus</th>
<th>Credits</th>
<th>Purchase</th>
</tr>
<tr>
<td>1</td>
<td>$2.50</td>
<td>0%</td>
<td>2500</td>
<td>
<form action="https://www.paypal.com/cgi-bin/webscr" method="POST">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="admin@warriorsrealm.net">
<input type="hidden" name="item_name" value="2500 Credits">
<input type="hidden" name="item_number" value="1">
<input type="hidden" name="amount" value="2.50">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="return" value="">
<input type="hidden" name="cancel_return" value="">
<input type="hidden" name="rm" value="2">
<input type="hidden" name="notify_url" value="" />
<input type="hidden" name="custom" value="">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_paynow_SM.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
</td>
</tr>
</table>
<?php
}Code: Select all
<div id="warriors">
<?php
if (isset($_GET['type']))
{
$type=mysqli_real_escape_string($db,$_GET['type']);
}
else
{
$type='credits';
}
$type();
?>
</div>Code: Select all
#warriors
{
float:left;
padding-left:20px;
padding-top:20px;
height:350px;
width:960px;
overflow-x:hidden;
overflow-y:auto;
color:#FFFFFF;
}
#creditpacks
{
width:500px;
text-align:center;
color:#FFFFFF;
border: 1px solid #6c6c6c;
border-collapse:collapse;
}
#creditpacks th,td
{
border: 1px solid #6c6c6c;
border-collapse:collapse;
}
#creditpacks tr.alt
{
background-color:#1d1d1d;
vertical-align:middle;
height:30px;
}
#creditpacks tr
{
background-color:#313131;
vertical-align:middle;
height:30px;
}
#creditpacks th
{
background-color:#000000;
}
form
{
height:0px;
width:0px;
align:center;
}Here's what it looks like.
http://gyazo.com/b4509426c083befc0fd9fe1b8eb01fbc