include_once '../include/admin_processes.php'; $Admin_Process = new Admin_Process(); $Admin_Process->check_status($_SERVER['SCRIPT_NAME']); $New = $Admin_Process->Register($_POST, $_POST['add_user']); $myNew = $Admin_Process->Voilation($_POST, $_POST['add_voilation']); $Suspend = $Admin_Process->suspend_user($_POST, $_POST['Suspend']); $Change = $Admin_Process->update_user($_POST, $_POST['Change']); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Crisp Webdesign - Login Script</title> <link href="../include/style.css" rel="stylesheet" type="text/css"> <body> <h1>Admin Center: <?php echo $_SESSION['username']; ?> <br /> </h1> <div align="center"><a href="../main.php">Return to Main </a></div> <div class="red" align="center"> <?php echo $_GET['alert']; ?> </div> <br /> <div align="center"> <h1>
print Site_Name; ?> | Admin | Control Panel</title> <body> <div align="center"> <div style="width:900px;"> <div class="red" align="center"> <?php print $_GET['alert']; ?> </div> <div align="center"> <h1> <a name="active" id="active"></a>Active Users</h1> <?php $Admin_Process->active_users_table($con, $Table_Process); ?> </div><br /> <div align="center"> <h1> <a name="suspended" id="suspended"></a> Suspended Users </h1> <?php $Admin_Process->suspended_users_table($con, $Table_Process); ?> </div><br> <?php print ' <div align="center"> <h1> <a name="pending" id="pending"></a> Users Awaiting Approval </h1>'; $Admin_Process->pending_users_table($con, $Table_Process); print '</div><br />'; ?>