It was a test page

I'm not going to be displaying the members emails in the final run.
<html>
<head>
<title>Madox Guild - Members</title>
<meta name="description" content="A Gunbound Guild with it all! Join the Madox Guild today!">
<meta name="keywords" content="Gunbound Madox ">
<META NAME="keyphrases" CONTENT="Best gunbound guild, Gunbound tips and tricks">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="forAll.css" rel="stylesheet" type="text/css">
</head>
<body background="images/bg.gif" link="#003399" vlink="#0044D2" alink="#FF3300" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div align="center">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="83" background="images/top_bg.gif"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="50%"><a href="index.php"><img src="images/logo.gif" width="188" height="83" border="0"></a></td>
<td width="50%" align="right"><img src="images/statement.gif" width="202" height="25"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="22" background="images/menu_bg.gif" class="forTexts"><div align="right">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="293"> </td>
<td width="707" class="forTexts">| <a href="about.html">About
the Guild</a> | <a href="http://www.lothop.clanecko.net/forum/index.php" target="_blank">Forum</a> |   ;
<a href="sitemap.html">Sitemap</a> |
<a href="contact.html">Contact</a> | </td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td valign="top"><table class="forTexts" width="1000" border="0" cellpadding="2" cellspacing="0">
<tr>
<td width="168" valign="top"> <table width="100%" border="0" cellpadding="1" cellspacing="1">
<tr>
<td bgcolor="#4F7DB0" class="forTexts"> </td>
<td bgcolor="#D9E3EE" class="forTexts"> <a href="index.php">Home</a></td>
</tr>
<tr>
<td bgcolor="#4F7DB0" class="forTexts"> </td>
<td bgcolor="#D9E3EE" class="forTexts"> <a href="rules.html">Rules</a></td>
</tr>
<tr>
<td bgcolor="#4F7DB0" class="forTexts"> </td>
<td bgcolor="#D9E3EE" class="forTexts"> <a href="members.php">Members</a></td>
</tr>
<tr>
<td bgcolor="#4F7DB0" class="forTexts"> </td>
<td bgcolor="#D9E3EE" class="forTexts"> <a href="restricted/index.php">Login</a></td>
</tr>
<tr>
<td bgcolor="#4F7DB0" class="forTexts"> </td>
<td bgcolor="#D9E3EE" class="forTexts"> <a href="restricted/register1.php">Join</a></td>
</tr>
<tr>
<td bgcolor="#4F7DB0" class="forTexts"> </td>
<td bgcolor="#D9E3EE" class="forTexts"> <a href="javascript
:window.external.AddFavorite('http ://www.madox.co.nr',
'Madox Guild')">Bookmark</a></td>
</tr>
</table>
<br> <table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td height="20" bgcolor="#80A0C6" class="forTexts"> <div align="center"><font color="#FFFFFF"> Announcement</font></div></td>
</tr>
<tr>
<td bgcolor="#E9EFF5" class="forTexts"> <table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr>
<td class="forTexts">Madox Guild is up and running. Still
working out a few glitches but should be sorted out
quickly. </td>
</tr>
</table></td>
</tr>
</table>
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td height="20" bgcolor="#80A0C6" class="forTexts"> <div align="center"><font color="#FFFFFF"> News
& Events</font></div></td>
</tr>
<tr>
<td bgcolor="#E9EFF5" class="forTexts"> <table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr>
<td class="forTexts">Guild started on 25/6/04</td>
</tr>
</table></td>
</tr>
</table></td>
<td width="675" valign="top">
<?
/* declare your DB variables */
$DBname = 'lothop_';
$DBuser = '***';
$DBpass = '***';
$DBhost = 'localhost';
/* Make The Connection */
mysql_connect($DBhost,$DBuser,$DBpass) or die("Unable toconnect to database");
@mysql_select_db("lothop_") or die("Unable to select database $DBName");
/* SQL */
$sqlquery = "SELECT email,username FROM users";
$result = mysql_query($sqlquery);
$number = mysql_num_rows($result);
/* Display Results */
if($number < 1)
print "<CENTER><P>There Were No Results for Your Search</CENTER>";
else
{
while($data = mysql_fetch_array($result))
{
$email = $data['email'];
$username = $data['username'];
print "<p><b>Username:</b> $name<br><b>Email:</b> $email</p>";
}
function check($level_id) {
if( $level_id = 1 ) return '1.gif';
if( $level_id = 10 ) return '2.gif';
}
$User_level = check($level_id);
echo "$User_level";
}
?>
<img src="<?= $userLevelImg ?>" />
<td width="150" valign="top">
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td height="20" bgcolor="#80A0C6" class="forTexts"> <div align="center"><font color="#FFFFFF"> Poll</font></div></td>
</tr>
<tr>
<td bgcolor="#E9EFF5" class="forTexts"> <table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr>
<td class="forTexts"><div align="center">No poll at the
moment.</div></td>
</tr>
</table></td>
</tr>
</table>
</tr>
</table>
</td>
</tr>
</table></td>
</tr>
<tr>
<td height="40" background="images/bottom_bg.gif"> <span class="forTexts">All
Rights Reserved. 2004.
www.madox.co.nr Webmaster <a href="mailto:Lothop@xtra.co.nz">Lothop</a></span></div>
</div></td>
</tr></table>
</body>
</html>
The database field is called "id_level"
Image names are "1.gif" & "2.gif"
Images location on the server is in the same folder as this page.
Thanks,
Lothop