memb_list.php:
<?php
# Copyright by: Manuel
# Support: www.ilch.de
defined ('main') or die ( 'no direct access' );
$title = $allgAr['title'].' :: User :: '.$lang['listofmembers'];
$hmenu = $extented_forum_menu.'User <b> » </b> '.$lang['listofmembers'].$extented_forum_menu_sufix;
$design = new design ( $title , $hmenu, 1);
$design->header();
$limit = 10; // Limit
$page = ($menu->getA(1) == 'p' ? $menu->getE(1) : 1 );
$MPL = db_make_sites ($page , "" , $limit , '?user' , 'user' );
$anfang = ($page - 1) * $limit;
$tpl = new tpl ( 'user/memb_list.htm' );
$tpl->set_out ( 'SITELINK', $MPL, 0);
$class = '';
$erg = db_query("SELECT id, staat, name, gebdatum, status, recht, posts, regist, geschlecht, cpoints, fwarn FROM prefix_user ORDER by recht,posts DESC LIMIT ".$anfang.",".$limit);
while ($row = db_fetch_object($erg)) {
if($row->gebdatum=='0000-00-00'){$age='n/a'; } else {$age=getage($row->gebdatum); }
if(!empty($row->staat)){
$flag='<img src="include/images/flags/'.$row->staat.'" border="0">';
} else {
$flag='';
}
$state['0']='inaktiv';
$state['1']='aktiv';
$state['2']='gesperrt';
$class='Cmite';
if ($class == 'Cmite') { $class = 'Cnorm'; } else { $class = 'Cmite'; }
$rangcount=rangcount($row->id,$row->posts,$row->cpoints,$row->fwarn);
$rang=userrang($rangcount,$row->id);
$spezrank=spezrang($row->id);
if(!empty($spezrank)){$rang=$rang.'<br/>und '.$spezrank;}
$ar = array (
'NAME' => getgender($row->name,$row->geschlecht).' ('.$age.')',
'RANG' => $rang,
'CLASS' => $class,
'POSTS' => $row->posts,
'UID' => $row->id,
'DATE' => date('d.m.Y',$row->regist),
'RECHT' => getlistrecht($row->recht),
'GAMES' => getteams($row['id']),
'STATE' => $state[$row->status],
'FLAG' => $flag
);
$tpl->set_ar_out($ar,1);
}
$tpl->out(2);
$design->footer();
?>
memb_list.htm
[
<table width="100%" border="0" cellpadding="3" cellspacing="1" class="border">
<tr class="Chead" >
<td width="5%">Land</td>
<td height="15" width="20%">Name</td>
<td align="center" width="10%">Status</td>
<td align="center" width="15%">Rang</td>
<td align="center" width="25%">Forenrang</td>
<td width="10%" align="center">Beiträge</td>
<td width="10%" align="center">Dabei seit</td>
</tr>{EXPLODE}
<tr class="{CLASS}">
<td align="center">{FLAG}</td>
<td><a href="?user-details-{UID}"><b>{NAME}</b></a></td>
<td align="center">{STATE}</td>
<td align="center">{RECHT}</td>
<td class="center">{GAMES}</td>
<td align="center"><font style="font-size: 10px">{RANG}</font></td>
<td align="center">{POSTS}</td>
<td align="center">{DATE}</td>
</tr>
{EXPLODE}
</table>
<br />
<div align="center">{SITELINK}</div>
Bei mir kommt dann nur das raus
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/vhosts/funnetwork/hosting/flaky12/include/includes/func/db/mysql.php on line 61 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/vhosts/funnetwork/hosting/flaky12/include/includes/func/db/mysql.php on line 61 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/vhosts/funnetwork/hosting/flaky12/include/includes/func/db/mysql.php on line 61 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/vhosts/funnetwork/hosting/flaky12/include/includes/func/db/mysql.php on line 61 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/vhosts/funnetwork/hosting/flaky12/include/includes/func/db/mysql.php on line 61 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/vhosts/funnetwork/hosting/flaky12/include/includes/func/db/mysql.php on line 61 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/vhosts/funnetwork/hosting/flaky12/include/includes/func/db/mysql.php on line 61 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/vhosts/funnetwork/hosting/flaky12/include/includes/func/db/mysql.php on line 61 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/vhosts/funnetwork/hosting/flaky12/include/includes/func/db/mysql.php on line 61 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/vhosts/funnetwork/hosting/flaky12/include/includes/func/db/mysql.php on line 61
Bitte um Hilfe
verwendete ilchClan Version: 1.1

