<!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>
<a name="active" id="active"></a>		Active Users </h1>
<?php 
$Admin_Process->active_users_table();
?>
</div><br>
<div align="center">
<h1> <a name="suspended" id="suspended"></a> Suspended Users </h1>
<?php 
<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 />';
?>
<form  action="<?php 
print $_SERVER['PHP_SELF'];
?>
" method="post" >
<h1>Create Data Set</h1>Create New Data Set. If Start Time is selected without End Time, the request will fail.  All others can be selected independently.
<div class="red"><?php 
print $create_db_table;
?>
 </div>
<div class="label">Table Name: <input name="table_name" type="text"> 
Fields: <?php 
$exclude = explode(' ', $Table_Process->create_exclude_statement($con, $Table_Process));
$Admin_Process->list_fieldnames($con, $Table_Process, $exclude);