moin,
weiß einer von euch ob es für diese modul ein update gibt...
externer Link
den mygamercard.net ist nicht mehr online
danke
Hier kann eine Notiz zum Merk-Eintrag hinzugefügt werden (optional)
Geschlossen |
<?php # Copyright by: XxMaTzExX # Support: www.ilch.de defined ('main') or die ( 'no direct access' ); $title = $allgAr['title'].' :: Gamercards'; $hmenu = 'Gamercards'; $design = new design ( $title , $hmenu ); $design->header(); $tpl = new tpl ( 'gamercard_1.htm' ); $tpl->out(0); $class = 'Cnorm'; $erg = db_query("SELECT name FROM `prefix_user` ORDER by name"); while($row = db_fetch_assoc($erg) ) { if ($row['name'] == ""){ }else{ $class = ( $class == 'Cmite' ? 'Cnorm' : 'Cmite' ); $row['name'] = '<img src="http://www.xboxlc.com/cards/sig/simpleblue/'.$row['name'].'.jpg" border=0>'; $row['class'] = $class; $tpl->set_ar_out($row,1); };} $tpl->out(2); $design->footer(); ?>
<a href="http://www.xboxlc.com/profile/PST_BLACK_Viper"><br> <img src="http://www.xboxlc.com/cards/black/PST%20BLACK%20Viper.jpg" border="0"></a>
<?php # Support: www.ilch.de defined ('main') or die ( 'no direct access' ); $title = $allgAr['title'].' :: Gamercards'; $hmenu = 'Gamercards'; $design = new design ( $title , $hmenu ); $design->header(); $tpl = new tpl ( 'gamercard_1.htm' ); $tpl->out(0); $erg = db_query("SELECT name FROM `prefix_user` ORDER BY name LIMIT 10"); while($row = db_fetch_assoc($erg) ) { $bild = 'http://www.xboxlc.com/cards/sig/simpleblue/'.$row['name'].'.jpg'; $row['class'] = ( $row['class'] == 'Cmite' ? 'Cnorm' : 'Cmite' ); if($row['name'] and @getimagesize($bild)) { $row['name'] = '<img src="'.$bild.'" alt="Gamercard von '.$row['name'].'" border="0">'; } else { $row['name'] = 'Keine Gamercard von '.$row['name'].' gefunden'; } $tpl->set_ar_out($row,1); } $tpl->out(2); $design->footer(); ?>
<table width="100%" border="0" cellpadding="5" cellspacing="1" class="border"> <tr class="Chead"> <td align="center"><strong>Gamercards</strong></td> </tr>{EXPLODE}<tr class="{class}"> <td align="center" valign="top"> {name}</td> </tr>{EXPLODE} </table>
<?php if (!defined('main')) {die("no direct access");} $dif = date('Y-m-d H:i:s', time() - 60); $abf = "SELECT uid FROM `prefix_online` WHERE uptime > '". $dif."'"; $resultID = db_query($abf); $brk=''; $uid = array(); $guests = 0; $guestn = $lang['guests']; $content=''; while ($row = db_fetch_object($resultID)) { if ($row->uid != 0 AND $brk!=$row->uid) { $name=@db_result(db_query('SELECT name FROM prefix_user WHERE id='.$row->uid),0); // $bild = 'http://www.xboxlc.com/cards/sig/simpleblue/'.$name.'.jpg'; if(@getimagesize($bild)) { $card = '<span title="Gamercard gefunden" style="color:green">X</span>'; } else { $card = '<span title="Gamercard nicht gefunden" style="color:red">X</span>'; } // $content.= '<tr><td><img src="include/images/icons/online.gif" border="0" alt="online"></td>'; $content.='<td><a href="index.php?user-details-'.$row->uid.'">'.$name.'</a> '.$card.'</td></tr>'."\n"; $uid[] = $row->uid; } if ($row->uid == 0) { $guests++; } $brk=$row->uid; } if ($guests == 1) { $guestn = $lang['guest']; } if (empty($content)) { $content.='<tr><td><img src="include/images/icons/offline.gif" border="0" alt="offline"></td><td><font color="#003366">0 User </font></td></tr>'."\n"; } $content.='<tr><td colspan="2"><hr style="height: 0px; border: dashed #9AB1C8 0px; border-top-width: 1px;"></td></tr>'."\n"; $where = (count($uid)>0) ? 'WHERE id NOT IN ('.implode(', ', $uid).')' : ''; $abf2 = 'SELECT * FROM prefix_user '.$where.' ORDER BY llogin DESC LIMIT 0,5'; $erg2 = db_query($abf2); while ($row2 = db_fetch_object($erg2)) { $datum = date('H:i d.m.y',$row2->llogin); $user = $row2->name; // $bild = 'http://www.xboxlc.com/cards/sig/simpleblue/'.$user.'.jpg'; if(@getimagesize($bild)) { $card = '<span title="Gamercard gefunden" style="color:green">X</span>'; } else { $card = '<span title="Gamercard nicht gefunden" style="color:red">X</span>'; } // $content.='<tr><td><img src="include/images/icons/offline.gif" border="0" alt="offline"></td><td><a href="index.php?user-details-'.$row2->id.'" title="'.$lang['lasttimeonline'].$datum.'">'.$user.'</a> '.$card.'</td></tr>'."\n"; } if ($guests == 0) { $content.= '<tr><td colspan="2"><hr style="height: 0px; border: dashed #9AB1C8 0px; border-top-width: 1px";></td></tr>'."\n".' <tr><td><img src="include/images/icons/offline.gif" border="0" alt="offline"></td><td><font size="-1" color="#003366">0 '.$lang['guests'].'</td></tr>'."\n"; } else { $content.= '<tr><td colspan="2"><hr style="height: 0px; border: dashed #9AB1C8 0px; border-top-width: 1px;"></td></tr>'."\n".' <tr><td><img src="include/images/icons/online.gif" border="0" alt="online"></td><td><font size=-1>'.$guests.' '.$guestn.'</font></td></tr>'."\n"; } ?> <table align="center" border="0" cellpadding="0" cellspacing="0" > <?php echo $content; ?> </table>
<?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 = 20; // 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); // Mein Code Anfang $abf = 'SELECT * FROM prefix_user WHERE id = "'.$uid.'"'; $erg1 = db_query($abf); while ($row = db_fetch_object($erg1)) { $name=@db_result(db_query('SELECT name FROM prefix_user WHERE id='.$row->uid),0); // $bild = 'http://www.xboxlc.com/cards/sig/simpleblue/'.$name.'.jpg'; if(@getimagesize($bild)) { $card = '<span style="color:green">X</span>'; } else { $card = '<span style="color:red">X</span>'; } // } $class = ''; $erg = db_query("SELECT posts, prefix_user.id, prefix_grundrechte.name as recht_name, regist, prefix_user.name 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 ($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, 'GC' => $row->card ); $tpl->set_ar_out($ar,1); } $tpl->set_out('filtername',$filtername ? $filtername : '',2); $design->footer(); ?>
<?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 = 20; // 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, prefix_user.id, prefix_grundrechte.name as recht_name, regist, prefix_user.name 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)) { // GAMERCARD PRUEFUNG $bild = 'http://www.xboxlc.com/cards/sig/simpleblue/'.$row->name.'.jpg'; if(@getimagesize($bild)) { $card = '<span title="Gamercard gefunden" style="color:green">X</span>'; } else { $card = '<span title="Gamercard nicht gefunden" style="color:red">X</span>'; } // 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, 'GC' => $row->card, 'CARD' => $card ); $tpl->set_ar_out($ar,1); } $tpl->set_out('filtername',$filtername ? $filtername : '',2); $design->footer(); ?>
Geschlossen | ||
Zurück zu Fehlersuche und Probleme |