<?php
require("config.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Quick View</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#CCCCCC" text="#000000" link="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr>
<td bgcolor="#E9E9E9">
<table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr>
<td bgcolor="#003366"><font color="#FFFFFF" size="2" face="Tahoma"><strong>Quick
View :: <font size="1">General Points</font></strong></font></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr>
<td width="1%" bgcolor="#999999"><div align="center"><font color="#000000" size="1" face="Tahoma"><strong><u>#</u></strong></font></div></td>
<td width="69%" bgcolor="#999999"><u><strong><font color="#000000" size="1" face="Tahoma">Character</font></strong></u></td>
<td width="15%" bgcolor="#999999"><u><strong><font color="#000000" size="1" face="Tahoma">Class</font></strong></u></td>
<td width="15%" bgcolor="#999999"><u><strong><font color="#000000" size="1" face="Tahoma">Points</font></strong></u></td>
</tr>
<?php
$sql = $db->query("SELECT * FROM dkp_users ORDER BY class_points_general DESC");
if($db->count_rows($sql) > 0) {
while($row = mysql_fetch_array($sql)) {
$character = $row[name];
$class = @mysql_result($db->query("SELECT class FROM dkp_classes WHERE id=\"$row[class]\""), 0);
$points = $row[class_points_general];
$color1 = "#CCCCCC";
$color2 = "#D7D7D7";
$row_color = ($row_count % 2) ? $color1 : $color2;
$row_count++;
$position++;
?>
<tr bgcolor="<?php echo $row_color; ?>" onmouseover="this.style.backgroundColor='#BEBEBE';" onmouseout="this.style.backgroundColor='<?php echo $row_color; ?>';">
<td><div align="center"><strong><font color="#000000" size="1" face="Tahoma"><?php echo $position; ?></font></strong></div></td>
<td><strong><font color="#000000" size="1" face="Tahoma"><?php echo $character; ?></font></strong></td>
<td><strong><font color="#000000" size="1" face="Tahoma"><?php echo $class; ?></font></strong></td>
<td><strong><font color="#000000" size="1" face="Tahoma"><?php echo $points; ?></font></strong></td>
</tr>
<tr>
<?php
}
}
else {
?>
<td colspan="4" bgcolor="#CCCCCC"><font color="#000000" size="1" face="Tahoma"><strong>No
playeres currently in this category.</strong></font></td>
</tr>
<?php
}
?>
</table>
<table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr>
<td bgcolor="#003366"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div align="center"><font color="#CCCCCC" size="1" face="Tahoma"><strong>Guild
DKP System v1.4.0 :: <a href="mailto:hide@address.com"><font color="#FFFFFF">Written
by Dexter Brock</font></a> :: Copyright © 2006 DKPTracker.com</strong></font></div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>