Parašė ZW· 2011 Bal. 7 15:04:43
#100
Sveiki.
Kas galetu padet iterp stai si koda:
if (checkvip($data['user_vip'])) echo "<img src='".IMAGES."vip.png' alt='VIP Narys' title='VIP Narys'>";
Stai i sia panele:
} else {
$lastseen = $iH.":".$iM.":".$iS;
}
echo "<tr>\n<td class='side-small' align='left'>*\n";
if($data['user_level'] == 103){ $color="<font color='red'>";
$color2="</font>";}
if($data['user_level'] == 102){ $color="<font color='green'>";
$color2="</font>";}
if($data['user_level'] == 101){ $color="";
$color2="";}
if($data['user_level'] == 103){ $pavadinimas=$locale['OUP12'];}
if($data['user_level'] == 102){ $pavadinimas=$locale['OUP13'];}
if($data['user_level'] == 101){ $pavadinimas=$locale['OUP14'];}
echo "<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='".$pavadinimas."' class='side'>\n";
echo $color.trimlink($data['user_name'], 15).$color2."</a></td><td class='side-small'
align='right'>".$lastseen."</td>\n</tr>\n";
}
}
Buciau dekingas. :)