Ich habe meine Memberliste ein wenig verändert nun habe ich allerdings zwei fragen
1.Frage
Wie bekomme ich die Spalte Nickname kleiner ??
2.Frage
Ich würde gerne in der Memberliste in der Spalte Kontakt das Homepage mit Steam ersetzten was muss ich verändern das es mir steam anstatt Homepage in der Memberliste anzeigt und dann hätte ich das noch gerne so wenn man auf den in der Memberliste angezeigten Steam Icon draufklickt das man auf das Steamprofil des jeweiligen Users weitergeleitet wird (Ist das überhaupt machbar ? )
Hier mal meine omember.htm
<table width="100%" border="0" cellpadding="3" cellspacing="1" class="border"> {EXPLODE} <tr> <!-- hier das gruppenbild! (bspw. group-9.jpg für alle admins)--> <td class="Cnorm" colspan="9"><img src="include/images/rangs/group{group_id}.png" alt="{group_name}"/></td> </tr> <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="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="15%" valign="middle" class="Chead"><strong>{_lang_regtime}</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"><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="5%" valign="middle">{DATE}</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>
Hier meine 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.$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 = 30; // Limit $page = ($menu->getA(1) == 'p' ? $menu->getE(1) : 1 ); $MPL = db_make_sites ($page , "" , $limit , '?omember' , 'user' ); $anfang = ($page - 1) * $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="50" height="50">'; } elseif ($row->avatar == "" && $row->geschlecht == "1") { $avatar = '<img src="include/images/avatars/maennlich.jpg" align="center" border="0" width="50" height="50">'; } elseif ($row->avatar == "" && $row->geschlecht == "2") { $avatar = '<img src="include/images/avatars/weiblich.jpg" align="center" border="0" width="50" height="50">'; } else { $avatar = '<img src="include/images/avatars/wurstegal.jpg" align="center" border="0" width="50" height="50">'; } 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' => get_tagname($row->id), '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: externer Link