<?php
//Connection statement
require_once('Connections/wallpaper.php');
//Aditional Functions
require_once('includes/functions.inc.php');
// begin Recordset
$query_updaters = "SELECT * FROM tbl_user";
$updaters = $wallpaper->SelectLimit($query_updaters) or die($wallpaper->ErrorMsg());
$totalRows_updaters = $updaters->RecordCount();
// end Recordset
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php //PHP ADODB document - made with PHAkt 3.7.1?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Uploader</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<p><span class="lozinhalt">◊ </span><span class="absatz">Information:</span></p>
<ul>Hier finden Sie alle aktiven Mitglieder der Wallpaper Area.<br />
Die Mitglieder-Bewertung mit Sternsystem <span class="klammern">(Erklärung unten in dieser Seite).</span><br />
Die Anzahl an Wallpapers die das Mitglied hochgeladen hat.<br />
Die Anzahl an Klicks die getätigt wurden bei seine Wallpapers.<br />
Klicken Sie auf einen Mitlgied um zu seiner Seite zu gelangen.<br />
Zurzeit sind 14 Mitglieder aktiv von insgesamt <?php echo $totalRows_updaters ?> Mitglieder.<br />
Die Inaktiven bleiben verborgen bis zu Ihrem ersten Upload.</ul>
<p><span class="lozinhalt">◊ </span><span class="absatz">Die 14 aktiven Mitglieder:</span></p>
<div align="center">
<table width="70%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<td width="25%" align="left" bgcolor="#999999"><strong>Mitglieder</strong></td>
<td width="25%" align="left" bgcolor="#999999"><strong>Bewertungen</strong></td>
<td width="25%" align="left" bgcolor="#999999"><strong>Wallpapers</strong></td>
<td width="25%" align="left" bgcolor="#999999"><strong>Klicks</strong></td>
</tr>
<tr>
<td bgcolor="#CCCCCC"> </td>
<td bgcolor="#CCCCCC"> </td>
<td bgcolor="#CCCCCC"> </td>
<td bgcolor="#CCCCCC"> </td>
</tr>
<?php
while (!$updaters->EOF) {
?>
<?php
$id_user = $updaters->Fields('id_user');
// begin Recordset
$query_wallpapers = "SELECT * FROM tbl_uploads WHERE id_user = '$id_user' AND aktiv = 1";
$wallpapers = $wallpaper->SelectLimit($query_wallpapers) or die($wallpaper->ErrorMsg());
$totalRows_wallpapers = $wallpapers->RecordCount();
// end Recordset
// begin Recordset
$query_wallpapers2 = "SELECT sum(klicks) as klicks2 FROM tbl_uploads WHERE id_user = '$id_user' AND aktiv = 1";
$wallpapers2 = $wallpaper->SelectLimit($query_wallpapers2) or die($wallpaper->ErrorMsg());
$totalRows_wallpapers2 = $wallpapers2->RecordCount();
// end Recordset
// Initialize the Alternate Color counter
$ac_sw1 = 0;
//PHP ADODB document - made with PHAkt 3.7.1
?><?php if($totalRows_wallpapers > 0) { ?>
<tr bgcolor="<?php echo ($ac_sw1++%2==0)?"#CCCCCC":"#FFFFFF"; ?>" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#999999'">
<td align="left"><a href="?page=preview_uploader&id_user=<?php echo $updaters->Fields('id_user'); ?>"><?php echo $updaters->Fields('username'); ?></a></td>
<td align="left"><?php if($totalRows_wallpapers > 2001) { ?>
<img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16"><img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16"><img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16"><img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16"><img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16">
<? } else if($totalRows_wallpapers > 1501) { ?> <img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16"><img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16"><img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16"><img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16">
<? } else if($totalRows_wallpapers > 1001) { ?>
<img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16"><img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16"><img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16">
<? } else if($totalRows_wallpapers > 501) { ?>
<img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16"><img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16">
<? } else if($totalRows_wallpapers > 100) { ?>
<img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16">
<? } ?>
</td>
<td align="left"><?php echo $totalRows_wallpapers ?></td>
<td align="left"><?php echo $wallpapers2->Fields('klicks2'); ?></td>
</tr><?php } ?>
<?php
$updaters->MoveNext();
}
?>
</table></div>
<p align="left"><span class="lozinhalt">◊ </span><span class="absatz">Bewertungssystem:</span></p>
<ul><img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16"> = 100 bis 500 Wallpapers<br />
<img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16">
<img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16"> = 501 - 1000 Wallpapers<br />
<img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16">
<img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16">
<img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16"> = 1001 - 1500 Wallpapers<br />
<img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16">
<img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16">
<img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16">
<img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16"> = 1501 - 2000 Wallpapers<br />
<img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16">
<img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16">
<img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16">
<img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16">
<img src="includes/jaxon/widgets/rating/img/present_selected.gif" width="16" height="16"> = 2001 und mehr Wallpapers</ul>
<!--Anfang Google Analystics-->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4048860-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
<!--Ende Google Analystics-->
</body>
</html>
<?php
$updaters->Close();
$wallpapers->Close();
?>