Location: PHPKode > projects > phpBandwidth > phpbandwidth/user_configure.php
<?

include("db_config.php");
include("db_$db[type].php");

$conn = db_connect();
if ($conn === FALSE)
{
	echo "Cant connect to the database, have you connfigured it at <a href=\"db_install.php\">db_install.php</a> ?";
	exit;
}
include("header.php");
?>
<h2>User configuration</h2>
<a href="user_add.php">Add user</a><br>
<br>
<table border=1>
<tr><td>Name</td><td>Limit</td><td></td></tr>
<?
$users = db_get_users($conn);
while (list ($uid, $val) = each ($users)) {
    echo "<tr><td>$val</td><td><a href=\"user_edit.php?uid=$uid\">" . db_get_user_download_limit($conn, $uid) . "</a></td>
    <td><a href=\"user_routes.php?uid=$uid\">Edit Routes</a></td></tr>\n";
}
?>
</table>
<br>
<a href="index.php">Back</a>
Return current item: phpBandwidth