2 <form name="form" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
3 <div class="table-surround">
4 <table summary="List of administrators' login name, real name, and account status" class="data" >
6 <?php if ($col == 'login'): ?>
10 <?php elseif($col == 'real_name'): ?>
14 <?php elseif($col == 'email'): ?>
18 <?php elseif($col == 'last_login'): ?>
26 <th scope="col"> </th>
27 <th scope="col"><a href="mods/_core/users/admins/index.php?<?php echo $orders[$order]; ?>=login<?php echo $page_string; ?>"><?php echo _AT('login_name'); ?></a></th>
28 <th scope="col"><a href="mods/_core/users/admins/index.php?<?php echo $orders[$order]; ?>=real_name<?php echo $page_string; ?>"><?php echo _AT('real_name'); ?></a></th>
29 <!-- REMOVED FOR MOBILE THEME -->
30 <!-- <th scope="col"><a href="mods/_core/users/admins/index.php?<?php echo $orders[$order]; ?>=email<?php echo $page_string; ?>"><?php echo _AT('email'); ?></a></th> -->
31 <!--<th scope="col"><a href="mods/_core/users/admins/index.php?<?php echo $orders[$order]; ?>=last_login<?php echo $page_string; ?>"><?php echo _AT('last_login'); ?></a></th> -->
32 <th scope="col"><?php echo _AT('account_status'); ?></th>
38 <input type="submit" name="edit" value="<?php echo _AT('edit'); ?>" />
39 <input type="submit" name="view_log" value="<?php echo _AT('view_log'); ?>" />
40 <input type="submit" name="password" value="<?php echo _AT('password'); ?>" />
41 <input type="submit" name="delete" value="<?php echo _AT('delete'); ?>" />
46 <?php if (mysql_num_rows($this->result) == 0) { ?>
48 <td colspan="6"><?php echo _AT('no_admins_found'); ?></td>
51 while ($row = mysql_fetch_assoc($this->result)): ?>
52 <tr onkeydown="document.form['m<?php echo $row['login']; ?>'].checked = true;rowselect(this);" onmousedown="document.form['m<?php echo $row['login']; ?>'].checked = true;rowselect(this);" id="r_<?php echo $row['login']; ?>">
53 <td><input type="radio" name="login" value="<?php echo $row['login']; ?>" id="m<?php echo $row['login']; ?>" /></td>
54 <td><label for="m<?php echo $row['login']; ?>"><?php echo $row['login']; ?></label></td>
55 <td><?php echo $row['real_name']; ?></td>
56 <!-- REMOVED FOR MOBILE THEME
57 <td><?php echo $row['email']; ?></td>
59 if ($row['last_login'] == '0000-00-00 00:00:00') {
62 echo $row['last_login'];
65 if ($row['privileges'] == 1) {
66 echo _AT('priv_admin_super');
67 } else if ($row['privileges'] > 0) {
68 echo _AT('active_admin');
70 echo _AT('inactive_admin');