Location: PHPKode > projects > PHP Authentication using Uma > uma/admin/index.html.php
<html>
<head><title>Uma Authentication Administration Application</title>
<? require("style.php"); // load style sheet ?>
</head>
<body link="#000000" alink="#cccc99" vlink="#000000" bgcolor="#cccccc">
<table width="100%" cellspacing="0" cellpadding="2" border="0" bgcolor="#4f4f96" class="bodytext">
	<tr><td>
		<table width="100%" cellspacing="0" cellpadding="5" border="0" bgcolor="White" class="bodytext1">
		        <tr bgcolor="#ffffff"><td align="center" colspan="2"><a href="index.php"><font color="white" face="verdana,arial,helvetica,sans serif" size="+1"><a href="index.php">Uma Administration Application</font></a><br>*The number in parentheses is the record's primary key.</td></tr>
                        <tr><td align="center" colspan="2"><a href="index.php">Home</a>&nbsp;&middot;&nbsp;<a href="http://rampart.sourceforge.net/api/">API Documentation</a>&nbsp;&middot;&nbsp;<a href="http://sourceforge.net/project/showfiles.php?group_id=63895">Download New Version</a>&nbsp;&middot;&nbsp;<a href="http://www.vanceconsulting.net/support/">Get Support</a></td></tr>
                        <tr>
                        	<td valign="top" width="30%">
					<table width="100%" border="0" cellpadding="5" cellspacing="0" class="bodytext1">
                                        <tr><td colspan="3" align="center" class="header1"><b>Users</b></td></tr>
                                        <tr><td colspan="3"><a href="<?= $_SERVER['PHP_SELF'] ?>?op=adduser">Add User</a></td></tr>
				<?php if (@count($users)) {
                                        $color = TRUE;
					for ($i = 0, $j = count($users); $i < $j; $i++) { ?>
				        	<tr<?php if ($color) echo " bgcolor=\"#ffffcc\""; ?>>
                                                <td><a href="<?= $_SERVER['PHP_SELF'] ?>?id=<?= $users[$i]->get('id') ?>&op=edituser"><?= $users[$i]->get('username') ?></a>&nbsp;(<?= $users[$i]->get('id') ?>)</td>
                                                <td><a href="<?= $_SERVER['PHP_SELF'] ?>?id=<?= $users[$i]->get('id') ?>&op=deleteuser">Delete</a></td>
                                                <td><a href="<?= $_SERVER['PHP_SELF'] ?>?id=<?= $users[$i]->get('id') ?>&op=edituser">Edit</a></td>
                                                </tr>
	      			<?php
                                                if (!$color) {
                                                        $color = TRUE;
                                                } else {
                                                        $color = FALSE;
                                                }
                                	}
				   } else { ?>
					       <tr><td>&nbsp;</td></tr>
			 <?php 	   } ?>
				         </table>
				</td>
				<td width="70%" valign="top" align="center">
					<table width="100%" border="0" cellpadding="5" cellspacing="0" class="bodytext1">
						<tr><td valign="Top" align="center">
							<? include($content.".html.php"); ?>
						</td></tr>
					</table>
				</td>
			</tr>
                        <tr class="bodytext1"><td><a href="logout.php">Logout</a>&nbsp;|&nbsp;<a href="http://rampart.sourceforge.net/api/">API Documentation</a></td></tr>
                        <tr bgcolor="4f4f96"><td colspan="2"><font color="#ffffff">&copy; 2002</font> <a href="http://www.vanceconsulting.net"><font color="#ffffff">Vance Consulting LLC</font></a></td></tr>
        	</table>
        </td></tr>

        <tr bgcolor="#ffffff"><td align="center"><a href="http://sourceforge.net/projects/rampart/"><img src="http://sourceforge.net/sflogo.php?group_id=56910&amp;type=1" width="88" height="31" border="0" alt="SourceForge.net Logo"></a></td></tr>
</table>

</body>
</html>
Return current item: PHP Authentication using Uma