25 lines
1.1 KiB
Smarty
25 lines
1.1 KiB
Smarty
<?php
|
|
if (count($list_admins) > 0) {
|
|
|
|
echo "<table id=\"admin_table\">\n";
|
|
echo " <tr class=\"header\">\n";
|
|
echo " <td>" . $LANG['AdminList_admin_username'] . "</td>\n";
|
|
echo " <td>" . $LANG['AdminList_admin_count'] . "</td>\n";
|
|
echo " <td>" . $LANG['AdminList_admin_modified'] . "</td>\n";
|
|
echo " <td colspan=\"2\"> </td>\n";
|
|
echo " </tr>\n";
|
|
|
|
foreach ($list_admins as $row) {
|
|
|
|
echo " <tr class=\"hilightoff\" onMouseOver=\"className='hilighton';\" onMouseOut=\"className='hilightoff';\">\n";
|
|
echo " <td><a href=\"list-domain.php?username=" . $row['username'] . "\">" . $row['username'] . "</a></td>";
|
|
echo " <td>" . $row['domain_count'] . "</td>";
|
|
echo " <td>" . $row['modified'] . "</td>";
|
|
echo " <td><a href=\"admin.php?action=edit&username=" . $row['username'] . "\">" . $LANG['edit'] . "</a></td>";
|
|
echo " <td><a href=\"delete.php?table=admin&where=username&delete=" . $row['username'] . "\" onclick=\"return confirm ('" . $LANG['confirm'] . $LANG['AdminList_admin_username'] . ": " . $row['username'] . "')\">" . $LANG['del'] . "</a></td>";
|
|
echo " </tr>\n";
|
|
}
|
|
echo "</table>\n";
|
|
}
|
|
?>
|