Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Panele

Parašė saudo18· 2008 Kov. 2 21:03:41
#1

Radau panele

openside("Panele");

$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_level>='102' ORDER BY user_level DESC,user_id");
while($data = dbarray($result)) {
echo "<img src='".BASEDIR."images/avatars/".$data['user_avatar']."' height='45' width='45' border='2'> <a href='profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a>\n";

}
$level102 = $locale['user2']; // Administrator
$level103 = $locale['user3']; // Super Administrator
closeside();





Gal galetumet paredaguot koda, kad nika (slapyvardi) rodytu po avataro. Aciu.:)

Redagavo bad_user· 2008 Kov. 2 21:03:16