Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 1.0
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (27 sloc) 0.775 kb
<?php
include("common.php");
outHtml1("User List");
outHtml2("User List:","index.php");
?>
<table class='list' style="margin-top: 10px; margin-bottom: 10px; font-family: Trebuchet MS;">
<tr>
<td class='listcell' style="background: url(images/bar.png) repeat-x; color: white;"><u>Username</u></td>
</tr>
</table>
<table class='list'>
<?php
$dir=dir("db/Users/");
while ($filename = $dir->read())
{
if ($filename != "." && $filename != "..")
{
$temp = new User(file_get_contents("db/Users/".$filename));
echo "<tr><td class='listcell'><a href='viewUser.php?userId=".$temp->getUserId()."'>".$temp->getUserId()."</a></td>";
}
}
$dir->close();
?>
</table>
<?php
outHtml3();
?>
Jump to Line
Something went wrong with that request. Please try again.