diff options
Diffstat (limited to 'admin/admins/index.php')
-rw-r--r-- | admin/admins/index.php | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/admin/admins/index.php b/admin/admins/index.php index b000111..1223d3a 100644 --- a/admin/admins/index.php +++ b/admin/admins/index.php @@ -25,29 +25,30 @@ if(!defined("ADMIN_FILE")) }
include $basedir.'admins/functions.php';
+?>
-if(isset($_GET['edit']))
-{
+<table class="panel" width="100%" cellspacing="0">
+ <tr>
+ <td class="panel-none">
+ <table align="center" width="200px">
+ <tr><th><?php echo LinkInternal('<img src="images/add.png" />Add New Admin','?op=admins&create=true'); ?></th></tr>
+ </table>
+ <?php ListAdmins(); ?>
+ </td>
+ <td class="panel-box">
+<?php
+if(isset($_GET['edit'])){
$user_id = $_GET['edit'];
EditAdmin($user_id);
- return;
}
-
-if(isset($_GET['delete']))
-{
+else if(isset($_GET['delete'])){
$user_id = $_GET['delete'];
DeleteAdmin($user_id);
- return;
}
-
-if(isset($_GET['create']))
-{
+else if(isset($_GET['create'])){
NewAdmin();
- return;
}
-
-echo "<table align=\"center\" width=\"200px\"><tr><th>".LinkInternal('<img src="images/add.png" />Add New Admin','?op=admins&create=true')."</th></tr></table>";
-
-ListAdmins();
-
-?>
\ No newline at end of file +?>
+ </td>
+ </tr>
+</table>
|