Ich möchte gern die memberliste so wie sie bei mir grade ist anpassen. Und zwar möchte ich den ramen also wo avatar name etc. drin steht, nur noch oben stehen haben auf jeder seite.
hier mal die codes
omember htm
<table width="100%" border="0" cellpadding="3" cellspacing="1" class="border"> {EXPLODE} <tr> <td align="center" width="10%" valign="middle" class="Chead"><strong>Avatar</strong></td> <td align="center" height="30" width="25%" valign="middle" class="Chead"><strong>{_lang_name}</strong></td> <td align="center" width="20%" valign="middle" class="Chead"><strong>{_lang_rank}</strong></td> <td align="center" width="15%" valign="middle" class="Chead"><strong>{_lang_group}</strong></td> <td align="center" width="10%" valign="middle" colspan="3" class="Chead"><strong>{_lang_Kontakt}</strong></td> <td align="center" width="15%" valign="middle" class="Chead"><strong>Last Login</strong></td> <td align="center" width="5%" valign="middle" class="Chead"><strong>{_lang_posts}</strong></td> </tr> {EXPLODE} <tr class="{CLASS}"> <td align="center" width="10%" valign="middle">{AVATA}</td> <td align="center" width="20%" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="5%" align="left" valign="middle"><img src="include/images/flags/{STAAT}" alt="" border="0"></td> <td width="95%"align="center" valign="middle"><a href="index.php?user-details-{UID}" alt="" border="0">{NAME}</a></td> </tr> </table> </td> <td align="center" width="10%" valign="middle"><img src="include/images/rangs/{RANG}.png" width="26" height="26" border="0" /></font></td> <td align="center" width="10%" valign="middle">{GRUPE}</td> <td align="center" width="10%" valign="middle"><a href="index.php?forum-privmsg-new=0&empfid={UID}"><img src="include/images/icons/opm.png" border="0"></a></td> <td align="center" width="10%" valign="middle"><a href="mailto:{EMAIL}"><img src="include/images/icons/oemail.png" border="0"></a></td> <td align="center" width="10%" valign="middle">{WWW}</td> <td align="center" width="10%" valign="middle">{LLOGIN}</td> <td align="center" width="10%" valign="middle">{POSTS}</td> </tr> {EXPLODE} </table> <div align="center"> {SITELINK} <br /> <form method="get" action=""><input type="hidden" name="user" value="" /><input type="text" name="filtername" size="15" value="{filtername}" /> <input type="submit" value="Suchen" /></form> </div>
omember php
<?php # Copyright by: Manuel Staechele # Support: www.ilch.de # Modified by: IRvD / CapDesigns.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(); $tpl = new tpl ( 'omember.htm' ); # für die geordnete memberliste gibts keine sites! $limit = 5; // Limit $page = ($menu->getA(1) == 'p' ? $menu->getE(1) : 1 ); $MPL = db_make_sites ($page , "" , $limit , '?omember' , 'user' ); $anfang = ($page - 1) * $limit = 5; // Limit $tpl->set_out ( 'SITELINK', $MPL, 0); $filtername = isset($_GET['filtername']) ? " AND prefix_user.name LIKE '%".escape($_GET['filtername'],'string')."%'" : ""; $tpl->out(0); # alle anzuzeigenden rechte holen: $qry = db_query('SELECT `id`, `name` FROM `prefix_grundrechte` WHERE `show` = 1 ORDER BY `id` ASC'); while ($gr = db_fetch_assoc($qry)) { $erg = db_query("SELECT posts, icq, staat, homepage, email, llogin, avatar, prefix_user.id, prefix_grundrechte.name as recht_name, regist, prefix_user.name, recht FROM prefix_user LEFT JOIN prefix_grundrechte ON prefix_user.recht = prefix_grundrechte.id WHERE recht = ".$gr['id'].$filtername." ORDER by prefix_user.posts DESC LIMIT ".$anfang.",".$limit); # wenn die gruppe leer ist, wird sie automatisch ausgeblendet: if(db_num_rows($erg)==0) continue; $tpl->set('group_id', $gr['id']); $tpl->set('group_name', $gr['name']); $tpl->out(1); $class = ''; while ($row = db_fetch_object($erg)) { if (file_exists($row->avatar)) { $avatar ='<img src="'.$row->avatar.'" align="center" border="0"width="40" height="40">'; } elseif ($row->avatar == "" && $row->geschlecht == "1") { $avatar = '<img src="include/images/avatars/maennlich.jpg" align="center" border="0" width="40" height="40">'; } elseif ($row->avatar == "" && $row->geschlecht == "2") { $avatar = '<img src="include/images/avatars/weiblich.jpg" align="center" border="0" width="40" height="40">'; } else { $avatar = '<img src="include/images/avatars/wurstegal.jpg" align="center" border="0" width="40" height="40">'; } if ( $row->homepage ) { $homepage = '<a href="'.$row->homepage.'" target="_blank"><img src="include/images/icons/owww.png" border="0"></a>'; }else{ $homepage = '<img src="include/images/icons/nowww.png" 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, 'STAAT' => ($row->staat!="" ? $row->staat : "na.gif"), 'EMAIL' => $row->email, 'LLOGIN' => date('d.m.Y <br> H:i',$row->llogin).' Uhr', 'AVATA' => $avatar, 'WWW' => $homepage, ); $tpl->set_ar_out($ar,2); } } $tpl->set_out('filtername',escape(isset($_GET['filtername'])?$_GET['filtername']:'','string'),3); $design->footer(); ?>
verwendete ilch Version: 1.1 P
betroffene Homepage: the-guardian-of-elonia.de/