ich würde in diesem Script,
<table width="100%" border="0" cellpadding="3" cellspacing="1" class="border"> <tr class="Chead" > <th height="100" width="80px">{_lang_avatar}</th> <th align="center" height="30" width="30%">{_lang_name}</th> <th align="center" width="20%">{_lang_Clan}</th> <th align="center" width="20%">{_lang_group}</th> <th align="center" width="5%">{_lang_Contact}</th> <th align="center" width="30%">{_lang_lasttimeonline}</th> <th align="center" width="15%">{_lang_regtime}</th> <th align="center" width="15%">{_lang_posts}</th> <th align="center" width="5%">{_lang_Land}</th> </tr>{EXPLODE}<tr class="{CLASS}"> <td><a href="index.php?user-details-{UID}"><align="center">{AVATAR}</td> <td align="center"><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 align="center" width="20%"><a href="mailto:{EMAIL}"><img src="include/images/icons/email_small.png" border="0"></a></td> <td align="center">{LLOGIN}</td> <td align="center">{DATE}</td> <td align="center">{POSTS}</td> <th align="center"><img src="include/images/flags/{STAAT}" alt="" border="0"></th> </tr>{EXPLODE} </table> <br /> <div align="center">{SITELINK} <form method="GET" action="index.php"><input type="hidden" name="user" value="" /><input type="text" name="filtername" size="15" value="{filtername}" /> <input type="submit" value="{_lang_filter}" /></form> </div>
<?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 = 50; // Limit $tpl = new tpl ( 'user/memb_list.htm' ); if($menu->exists('filtername')){ $page = ($menu->getA(3) == 'p' ? $menu->getE(3) : 1 ); $filtername = escape($menu->get(2), 'string'); }else{ $page = ($menu->getA(1) == 'p' ? $menu->getE(1) : 1 ); } $anfang = ($page - 1) * $limit; $tpl = new tpl ( 'user/memb_list.htm' ); if(isset($_GET['filtername']) AND !empty($_GET['filtername'])){ $filtername = escape($_GET['filtername'], 'string'); } if(!empty($filtername)){ $sql_search=" WHERE prefix_user.name LIKE '%".$filtername."%'"; $MPL = db_make_sites ($page , $sql_search , $limit , '?user-filtername-'.$filtername , 'user' ); }else{ $sql_search=""; $MPL = db_make_sites ($page , "" , $limit , '?user' , 'user' ); } $tpl->set_out ( 'SITELINK', $MPL, 0); $class = ''; $erg = db_query("SELECT posts, staat, email, llogin, prefix_user.id, prefix_grundrechte.name as recht_name, regist, prefix_user.name, prefix_user.geschlecht, prefix_user.avatar FROM prefix_user LEFT JOIN prefix_grundrechte ON prefix_user.recht = prefix_grundrechte.id $sql_search ORDER by recht,prefix_user.posts DESC LIMIT ".$anfang.",".$limit); while ($row = db_fetch_object($erg)) { if ($row->geschlecht == 1) { $geschlecht = 'maennlich.jpg'; }elseif ($row->geschlecht == 2) { $geschlecht = 'weiblich.jpg'; }else{ $geschlecht = 'wurstegal.jpg'; } if ( file_exists($row->avatar)) { $avatar = '<img src="'.$row->avatar.'" width="80px" height="80px" border="0">'; }else{ $avatar = '<img src="include/images/avatars/'.$geschlecht.'" width="80px" height="80px" border="0">'; } 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, 'AVATAR' => $avatar, 'STAAT' => $row->staat, 'EMAIL' => $row->email, 'LLOGIN' => date('d.m.Y <b\r> H:i',$row->llogin).' Uhr' ); $tpl->set_ar_out($ar,1); } $tpl->set_out('filtername',$filtername ? $filtername : '',2); $design->footer(); ?>
externer Link
das man nicht nur emails direkt verschicken kann sondern durch einen anderen button auch die nachricht an den User per PN schicken kann. Kann mir jemand dabei helfen ??
betroffene Homepage: recordsextended.de
Zuletzt modifiziert von BL4CKB0RNE am 01.02.2014 - 18:57:09