echo file_get_contents('template/header.html'); ?>
require('includes/db.php');
require('includes/settings.php');
displayTitle("Your Account");
session_start();
if (isset($_SESSION['stagdata_user_id'])) {
$aQuery = mysql_query ("SELECT * FROM stagdata_user where id=".$_SESSION['stagdata_user_id']);
if ($row = mysql_fetch_array($aQuery)) {
$username = $row['username'];
$name = $row['name'];
$email = $row['email'];
}
echo "Hello ".$name."
";
?>
Click here to edit your account.
>Click here to add an entry on to the stag register.
Click here to log out.
Your Register Entries |
Commission Number | |
$aQuery = mysql_query ("SELECT * FROM stagdata where email='".$email."'");
while ($row = mysql_fetch_array($aQuery)) {
echo "".$row['commnumber']." | View, Edit, Transfer | |
";
}
?>
} else {
echo "Error: You are not logged in!";
}
?>
echo file_get_contents('template/footer.html'); ?>