Hi alle .. nachdem ich bissle an allem rumgeschraubt hatte, funktioniert nun unter der memp_list das ICQ blümchen,dass Xfire funktioniert immer noch nich .. un ich weiss immer noch net an was es liegt,bitte helft mir einer
hier erstma zum anguckn clanadmins.cl.funpic.de/?m=user
Code (memp_list.php)
<?php
# Copyright by: Manuel
# Support: www.ilch.de
defined ('main') or die ( 'no direct access' );
$title = $allgAr['title'].' :: Mitglieder';
$hmenu = 'User <b> » </b> Mitglieder Übersicht';
$design = new design ( $title , $hmenu );
$design->header();
$limit = 15; // Limit
if(empty($_GET['page'])) { $_GET['page'] = 1; }
$MPL = db_make_sites ($_GET['page'] , "" , $limit , '?m=user' , 'user' );
$anfang = ($_GET['page'] - 1) * $limit;
$tpl = new tpl ( 'forum/user/memb_list.htm' );
$tpl->set_out ( 'SITELINK', $MPL, 0);
$rAr = getFuerAr();
$class = '';
$erg = db_query("SELECT * FROM `prefix_user` ORDER by recht,posts DESC LIMIT ".$anfang.",".$limit);
while ($row = db_fetch_object($erg)) {
$abf1 = "SELECT * FROM prefix_userfields where uid = $row->id and fid = 7";
$erg1 = db_query($abf1);
$row1 = db_fetch_object($erg1);
if ($row1){
$icq = '<a href="http://www.icq.com/whitepages/cmd.php?uin='.$row1->val.'&action=add"><img src="http://web.icq.com/whitepages/online?icq='.$row1->val.'&img=5" border="0"></a>';
}else{
$icq = "";
}
$abf2 = "SELECT * FROM prefix_userfields where uid = $row->id and fid = 13";
$erg1 = db_query($abf2);
$row1 = db_fetch_object($erg1);
if ($erg1){
$xfire = '<a href=xfire:add_friend?user='.$erg1->val.'><img src=http://de.miniprofile.xfire.com/bg/co/type/3/'.$erg1->val.'.png width=149 height=29 border="0"></a>';
}else{
$xfire = "";
}
if ($class == 'Cmite') { $class = 'Cnorm'; } else { $class = 'Cmite'; }
$ar = array ( 'NAME' => $row->name,
'RANG' => userrang($row->posts),
'CLASS' => $class,
'ICQ' => $icq,
'xfire' => $xfire,
'POSTS' => $row->posts,
'UID' => $row->id,
'DATE' => date('d.m.Y',$row->regist),
'GRUPE' => $rAr[$row->recht]
);
$tpl->set_ar_out($ar,1);
}
$tpl->out(2);
$design->footer();
?>
Vielen Dank schonma