<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../css/main.css" rel="stylesheet" type="text/css" />
<?php
include('../include/session.php');
?>
</head>
<body>
<?php
$_SESSION['current_page']   = "admin";
include ("../navigation/header.php");

$page_name = "AD-user list";
include ("../navigation/access.php");

$table_name = $_SESSION['db_prefix']."_users";
$user_query = "SELECT username  FROM  $table_name WHERE username <> 'system_manager'";
$user_result = mySQL_query($user_query);
$user_num = mysql_num_rows($user_result);


?>



<?php 
if ($permission_num==1) {
	include ("../navigation/admin_sidebar.php");
?>



<div class="main_frame" >
  <div class="page_head_frame">
        <table width="600" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="385">&nbsp;</td>
            <td align="right">&nbsp;</td>
          </tr>
        </table>
  </div><br />
<div class="page_middle_frame"  style="height:300px;"><div align="center"><img src="../images/under-construction.jpg" width="169" height="131" />.</div>
</div>    
  
</div>


<?php include ('../navigation/side_bar.php'); ?>

<?php } else {
$_SESSION['denied_return'] = "admin/user_list.php?period=day";		
include ("../navigation/admin_sidebar.php");?>
	<body onload="accessdenied(); return false">
	</body>
<?php }
?>

</body>
</html>