Hier kann eine Notiz zum Merk-Eintrag hinzugefügt werden (optional)
require_once ('include/includes/func/pointsys.php');
require_once ('include/includes/func/pointsys.php');
$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 ); $tpl->set_ar_out($ar,1);
$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), 'GAMES' => getteams($row->id), 'GRUPE' => $row->recht_name ); $tpl->set_ar_out($ar,1);
<tbody> <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 align="center" width="15%">{_lang_posts}</th> </tr> <tr class="{CLASS}"> <td><a href="index.php?user-details-%7BUID%7D">{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> </tbody>
<tbody> <tr class="Chead"> <th height="30" width="25%">{_lang_name}</th> <th align="center" width="15%">Games</th> <th align="center" width="15%">{_lang_rank}</th> <th align="center" width="15%">{_lang_group}</th> <th width="15%">{_lang_regtime}</th> <th align="center" width="15%">{_lang_posts}</th> </tr> <tr class="{CLASS}"> <td><a href="index.php?user-details-%7BUID%7D">{NAME}</a></td> <td align="center">{GAMES}</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> </tbody>
<?php # Copyright by Manuel # Support www.ilch.de # codeedit by Rolf Berleth defined ('main') or die ( 'no direct access' ); ##teamsals bildausgeben function getteams ($id) { $games=''; $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) ) { if(file_exists('include/images/wargames/'.$rowg['name'].'.gif')){ $games.='<a href="?teams-show-'.$rowg['id'].'"><img src="include/images/wargames/'.$rowg['name'].'.gif" title="'.$rowg['name'].'" alt="'.$rowg['name'].'" border="0"></a> '; } else { $games.='<a href="?teams-show-'.$rowg['id'].'">'.$rowg['name'].'</a> '; } } } return ($games); } ?>