Files @ 3be168914a12
Branch filter:

Location: DistRen/htdocs/usershow.php - annotation

ethanzonca
Added web interface fileshg commit -h
<html>
<head>
<title>DistRen :: User List</title>
<link rel="stylesheet" href="styles/index.css" type="text/css">
</head>
<body>
<div id="contentL">
<h1>Registered User List :: For internal use only</h1>
<ol>
<?php

$db = mysql_connect("localhost", "distren", "008987");
mysql_select_db("distrenusers", $db);
$sql = "select * from users";

$result = mysql_query($sql);
while ($row = mysql_fetch_array($result)) {

printf("<li class=\"listitem\">");
# printf($row["user_id"]); ## LI takes care of this
printf(" | <a href=\"mailto:%s\">%s</a>\n", $row["email"], $row["name"]);
printf(" | <span class=\"regdate\"> Registered: %s", $row["regdate"], "</span>");
printf(" | <span class=\"regkey\"> Registration Key: ");
printf($row["regkey"], "</span>");
printf("</li><br>");
}





?>
</div>
</body>
</html>