ich habe noch ein alte Modifikation der memb_list.php und ich wollte mal Fragen ob die mir wer auf 1.1 anpassen kann ?
<?php # Copyright by: Manuel # Support: www.ilch.de defined ('main') or die ( 'no direct access' ); function getgames ($id) { $ergg = db_query("SELECT b.name,b.id FROM prefix_groupusers a left join prefix_groups b ON a.gid = b.id WHERE uid =".$id); if ( db_num_rows($ergg) == 0 ) { $games="keine"; } else { while ($rowg = db_fetch_assoc($ergg) ) { $che=db_query("SELECT * FROM `prefix_teams` WHERE gid = '".$rowg['id']."'"); $che2=db_num_rows($che); if($che2==1){ if(file_exists('include/images/warteams/'.$rowg['name'].'.gif')){ $games.='<a href="?m=teams&show='.$rowg['id'].'"><img src="include/images/warteams/'.$rowg['name'].'.gif" title="'.$rowg['name'].'" alt="'.$rowg['name'].'" border="0"></a> '; } else { $games.='<a href="?m=teams&show='.$rowg['id'].'">'.$rowg['name'].'</a> '; } } else { } } } return ($games); } $title = ' :: User'; $hmenu = 'User <b> » </b> Mitglieder Übersicht'; $design = new design ( $title , $hmenu ); $design->header(); $limit = 50; // Limit if(empty($_GET['page'])) { $_GET['page'] = 1; } $MPL = db_make_sites ($_GET['page'] , "" , $limit , '?m=user' , 'user' ); $anfang = ($_GET['page'] - 1) * $limit; $tpl = new tpl ( 'forum/user/memb_list.htm' ); $tpl->set_out ( 'SITELINK', $MPL, 0); $rAr = getFuerAr(); $class = ''; $erg = db_query("SELECT * FROM `prefix_user` ORDER by recht,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), 'CLASS' => $class, 'POSTS' => $row->posts, 'GAMES' => getgames($row->id), 'UID' => $row->id, 'LAND' => $flagge, 'DATE' => date('d.m.Y',$row->regist), 'GRUPE' => $rAr[$row->recht] ); $tpl->set_ar_out($ar,1); } $tpl->out(2); /*Only User Tabelle Mod by TC77 $sql = 'SELECT u.* ' . 'FROM ilchclan_user AS u ' . // 'LEFT JOIN ilchclan_groupusers AS gu ON (gu.uid = u.id) ' . 'WHERE (u.recht = -1) '; $tpl = new tpl ( 'forum/user/memb_list.htm' ); $tpl->set_out ( 'SITELINK', $MPL, 0); $rAr = getFuerAr(); $class = ''; $erg = db_query($sql); while ($row = db_fetch_object($erg)) { if ($class == 'Cmite') { $class = 'Cnorm'; } else { $class = 'Cmite'; } $ar = array ( 'NAME' => $row->name, 'RANG' => userrang($row->posts), 'CLASS' => $class, 'POSTS' => $row->posts, 'UID' => $row->id, 'DATE' => date('d.m.Y',$row->regist), 'GRUPE' => $rAr[$row->recht] ); $tpl->set_ar_out($ar,1); } $tpl->out(2); END Only User Tabelle Mod by TC77 */ $design->footer(); ?>