| Server IP : 74.208.236.52 / Your IP : 216.73.217.98 Web Server : Apache System : Linux infong527 4.4.400-icpu-115 #2 SMP Mon Jul 6 08:15:05 UTC 2026 x86_64 User : u44043973 ( 5404757) PHP Version : 8.4.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /homepages/18/d194259149/htdocs/bonus1/members/ |
Upload File : |
<?php
session_start();
include "../config.php";
include "../header.php";
include "../style.php";
if( session_is_registered("ulogin") )
{ // members only stuff!
include("navigation.php");
include("../banners.php");
echo "<font size=2 face='$fonttype' color='$fontcolour'><p><center>";
echo "<p><font size=6>Commissions</font></p>";
//current earnings.....
if ($commission>0) {
echo "<p><b>You are owed $".round($commission,2).". <br>Make sure you have your payment email filled out under Edit My Details.</p></b>";
}
$sql = mysql_query("SELECT * FROM transactions WHERE userid='$userid' AND quantity!='0' AND quantity!='0.00'");
if(@mysql_num_rows($sql)) {
echo "<br><p><b>Your commissions</b><br><table cellpadding=5 border=1><tr><th>Amount</th><th>Date Earned</th><th>Paid</th></tr>";
while($each = mysql_fetch_array($sql)) {
echo "<tr><td>".$each['quantity']."</td><td>".date('Y-m-d', $each['date'])."</td><td>";
if($each['paid']) echo date('Y-m-d', $each['date_paid']);
else echo "No";
echo "</td></tr>";
}
echo "</table><br><br>";
}
echo "</font></td></tr></table></font>";
}
else
{ ?>
</p>
<font size=3 face="<? echo $fonttype; ?>" color="<? echo $fontcolour; ?>"><p><b><center>You must be logged in to access this site. Please <a href="../index.php">click here</a> to login.</p></b></font>
<? }
include "../footer.php";
mysql_close($dblink);
?>