aboutsummaryrefslogtreecommitdiff
path: root/admin/admins/index.php
diff options
context:
space:
mode:
authorjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2009-12-21 00:40:20 -0500
committerjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2009-12-21 00:40:20 -0500
commit4565a86946464f124110db11e3ba7331018d8664 (patch)
tree7ee6d097eed26a56fb872b4d3175ee37acc155a0 /admin/admins/index.php
parent716e58df8d4c4889bfaf574e231c0cc14479454f (diff)
downloadbayonetcms-4565a86946464f124110db11e3ba7331018d8664.tar.gz
added working login script and announcment block
git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@386 c5b2fb0a-d05d-0410-98c8-828840a80ff6
Diffstat (limited to 'admin/admins/index.php')
-rw-r--r--admin/admins/index.php35
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>