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
Parašė bad_user· 2008 Kov. 2 21:03:11
#2
Bandyk:
openside("Panele");
echo"<table border="0" align="center"><tr>";
$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_level>='102' ORDER BY user_level DESC,user_id");
while($data = dbarray($result)) {
echo "
<td align='center'><img src='".BASEDIR."images/avatars/".$data['user_avatar']."' height='45' width='45' border='2'></td>";
echo"</tr><tr>";echo"
<td align='center'> <a href='profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a>\n
";
}
$level102 = $locale['user2']; // Administrator
$level103 = $locale['user3']; // Super Administrator
echo"</tr></tr>
</table>"
closeside();
Redagavo bad_user· 2008 Kov. 2 21:03:29
Parašė MAnjack· 2008 Kov. 2 21:03:16
#3
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'><br/> <a href='profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a>\n";
}
$level102 = $locale['user2']; // Administrator
$level103 = $locale['user3']; // Super Administrator
closeside();
Parašė saudo18· 2008 Kov. 2 21:03:56
#4
Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or ';' in .....panel_editor.php(110) : eval()'d code on line 2
Bet aciu uz bandyma padeti.
Parašė saudo18· 2008 Kov. 2 21:03:24
#5
Manjack dekoju uz koda (veikia), bet nikas (slapyvardis) nera lygus avatarui, taciau susiprotejau ikist center. Dekoju uz pagalba.
Redagavo saudo18· 2008 Kov. 2 21:03:24