segment the admin gui
[matches/MCTX3420.git] / testing / MCTXWeb / public_html / users / admin_users.php
index e0ec8e0..c46ab8c 100644 (file)
@@ -22,26 +22,15 @@ if(!empty($_POST))
 $userData = fetchAllUsers(); //Fetch information for all users\r
 \r
 require_once("models/header.php");\r
-echo "\r
-<body>\r
-<div id='wrapper'>\r
-<div id='top'><div id='logo'></div></div>\r
-<div id='content'>\r
-<h1>UserCake</h1>\r
-<h2>Admin Users</h2>\r
-<div id='left-nav'>";\r
-\r
-include("left-nav.php");\r
+startPage();\r
 \r
+echo notificationBlock($errors,$successes);\r
 echo "\r
-</div>\r
-<div id='main'>";\r
-\r
-echo resultBlock($errors,$successes);\r
+<div class='widget'><div class='title'>User list</div>";\r
 \r
 echo "\r
 <form name='adminUsers' action='".$_SERVER['PHP_SELF']."' method='post'>\r
-<table class='admin'>\r
+<table class='admin left'>\r
 <tr>\r
 <th>Delete</th><th>Username</th><th>Display Name</th><th>Title</th><th>Last Sign In</th>\r
 </tr>";\r
@@ -73,10 +62,8 @@ echo "
 </table>\r
 <input type='submit' name='Submit' value='Delete' />\r
 </form>\r
-</div>\r
-<div id='bottom'></div>\r
-</div>\r
-</body>\r
-</html>";\r
+</div>";\r
+\r
+finishPage();\r
 \r
 ?>\r

UCC git Repository :: git.ucc.asn.au