2022-08-18 14:01:52 +02:00
|
|
|
<?php
|
2022-09-02 23:06:08 +02:00
|
|
|
if (count($list_admins) > 0) {
|
2022-08-18 14:01:52 +02:00
|
|
|
|
2022-09-02 23:06:08 +02:00
|
|
|
echo "<table id=\"admin_table\">\n";
|
|
|
|
echo " <tr class=\"header\">\n";
|
|
|
|
echo " <td>" . $PALANG['pAdminList_admin_username'] . "</td>\n";
|
|
|
|
echo " <td>" . $PALANG['pAdminList_admin_count'] . "</td>\n";
|
|
|
|
echo " <td>" . $PALANG['pAdminList_admin_modified'] . "</td>\n";
|
|
|
|
echo " <td colspan=\"2\"> </td>\n";
|
|
|
|
echo " </tr>\n";
|
2022-08-18 14:01:52 +02:00
|
|
|
|
2022-09-02 23:06:08 +02:00
|
|
|
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>";
|
2022-09-03 08:39:34 +02:00
|
|
|
echo " <td><a href=\"admin.php?action=edit&username=" . $row['username'] . "\">" . $PALANG['edit'] . "</a></td>";
|
2022-09-02 23:06:08 +02:00
|
|
|
echo " <td><a href=\"delete.php?table=admin&where=username&delete=" . $row['username'] . "\" onclick=\"return confirm ('" . $PALANG['confirm'] . $PALANG['pAdminList_admin_username'] . ": " . $row['username'] . "')\">" . $PALANG['del'] . "</a></td>";
|
|
|
|
echo " </tr>\n";
|
2022-08-18 14:01:52 +02:00
|
|
|
}
|
2022-09-02 23:06:08 +02:00
|
|
|
echo "</table>\n";
|
2022-08-18 14:01:52 +02:00
|
|
|
}
|
|
|
|
?>
|