meine 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 = 20;  // 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);
$eint = array(); 
$eint[] = array('recht' => -10, 
                'name' => 'Admins'); 
$eint[] = array('recht' => -5, 
                'name' => 'Member'); 
$eint[] = array('recht' => -4, 
                'name' => 'Trialmember'); 
$eint[] = array('recht' => -3, 
                'name' => 'Freunde und Bekannte'); 
$eint[] = array('recht' => -1, 
                'name' => 'dummy'); 
$i = 0; 
$class = '';
$erg = db_query("SELECT
  posts,
  prefix_user.id,
  prefix_grundrechte.name as recht_name,
  regist,
  prefix_user.name
FROM prefix_user
 LEFT JOIN prefix_grundrechte ON prefix_user.recht = prefix_grundrechte.id
ORDER by recht,prefix_user.posts DESC LIMIT ".$anfang.",".$limit);
while ($row = db_fetch_object($erg)) {
	if ($class == 'Cmite') { $class = 'Cnorm'; } else { $class = 'Cmite'; }
	$ar = array ( 'NAME' => $row->name,
	                'RANG' => userrang($row->posts,$row->id),
									'CLASS' => $class,
									'POSTS' => $row->posts,
									'UID'   => $row->id,
									'DATE' => date('d.m.Y',$row->regist),
									'GRUPE' => $row->recht_name
	);while ($row->recht > $eint[$i+1]['recht']) $i++; 
    if ($row->recht > $eint[$i]['recht']) {$tpl->set_out('TMP',$eint[$i]['name'],3); $i++;} 
	$tpl->set_ar_out($ar,1);
}
$tpl->out(2);
$design->footer();
?>
und memb_list.htm:
<table width="100%" border="0" cellpadding="3" cellspacing="1" class="border">
  <tr class="Chead" >
    <th height="30" width="30%">{_lang_name}</th>
		<th align="center" width="20%">{_lang_rank}</th>
		<th align="center" width="20%">{_lang_group}</th>
		<th width="15%">{_lang_regtime}</th>
		<th width="15%" align="center">{_lang_posts}</th>
  </tr>{EXPLODE}<tr class="{CLASS}">
    <td><a href="index.php?user-details-{UID}">{NAME}</a></td>
		<td align="center"><font style="font-size: 10px">{RANG}</font></td>
		<td align="center">{GRUPE}</td>
		<td>{DATE}</td>
		<td align="center">{POSTS}</td>
  </tr>{EXPLODE}
</table>
<br />
<div align="center">{SITELINK}</div>
{EXPLODE}<tr><td colspan="5" align="center"><b style="color:#FFFFFF;">{TMP}</b></td></tr> 
web32.serverdrome.eu/Rambo/index.php?news
                
                    Es ist erst dann vorbei wenn es vorbei ist!!