users.php
changeset 9 d55459cd1712
parent 8 47dd15d8bb8c
child 13 2ff220cfde13
equal deleted inserted replaced
8:47dd15d8bb8c 9:d55459cd1712
    77         ?>
    77         ?>
    78         <TR>
    78         <TR>
    79         <TD VALIGN="top" CLASS="tdbg"><A HREF="delete_user.php?id=<?= $c["id"] ?>"><IMG SRC="images/delete.gif" ALT="[ <? echo _('Delete user'); ?> ]" BORDER="0"></A></TD>
    79         <TD VALIGN="top" CLASS="tdbg"><A HREF="delete_user.php?id=<?= $c["id"] ?>"><IMG SRC="images/delete.gif" ALT="[ <? echo _('Delete user'); ?> ]" BORDER="0"></A></TD>
    80         <TD VALIGN="top" CLASS="tdbg"><A HREF="edit_user.php?id=<?= $c["id"] ?>"><?= $c["fullname"] ?></A> (<?= $c["username"] ?>)</TD>
    80         <TD VALIGN="top" CLASS="tdbg"><A HREF="edit_user.php?id=<?= $c["id"] ?>"><?= $c["fullname"] ?></A> (<?= $c["username"] ?>)</TD>
    81         <TD VALIGN="top" CLASS="tdbg"><?= $c["numdomains"] ?></TD>
    81         <TD VALIGN="top" CLASS="tdbg"><?= $c["numdomains"] ?></TD>
    82         <TD CLASS="tdbg">
    82         <TD VALIGN="top" CLASS="tdbg">
    83         <?
    83         <?
    84         $domains = get_domains_from_userid($c["id"]);
    84         $domains = get_domains_from_userid($c["id"]);
    85         foreach ($domains as $d)
    85         foreach ($domains as $d)
    86         {
    86         {
    87                 ?><A HREF="delete_domain.php?id=<?= $d["id"] ?>"><IMG SRC="images/delete.gif" ALT="[ <? echo _('Delete domain'); ?> ]" BORDER="0"></A>&nbsp;<A HREF="edit.php?id=<?= $d["id"] ?>"><?= $d["name"] ?></A><BR><?
    87                 ?><A HREF="delete_domain.php?id=<?= $d["id"] ?>"><IMG SRC="images/delete.gif" ALT="[ <? echo _('Delete domain'); ?> ]" BORDER="0"></A>&nbsp;<A HREF="edit.php?id=<?= $d["id"] ?>"><?= $d["name"] ?></A><BR><?
    88         }
    88         }
    89         ?></TD><TD CLASS="tdbg"><?= $c["level"] ?></TD><TD VALIGN="middle" CLASS="tdbg"><?= get_status($c["active"]) ?></TD></TR><?
    89         ?></TD><TD VALIGN="top" CLASS="tdbg"><?= $c["level"] ?></TD><TD VALIGN="top" CLASS="tdbg"><?= get_status($c["active"]) ?></TD></TR><?
    90         print "\n";
    90         print "\n";
    91 }
    91 }
    92 ?>
    92 ?>
    93 </TABLE>
    93 </TABLE>
    94 <BR><BR>
    94 <BR><BR>