Parašė MaFetas· 2008 Rugp. 12 14:08:03
#2
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
if (iMEMBER) {
echo "<b>Sveikas(a), ".$userdata['user_name']."!</b> <br><br>
<a href='".BASEDIR."edit_profile.php'>Tavo anketa</a> <br>
<a href='".BASEDIR."messages.php'>Žinutės [naujų: <b><span style='color:#ff0000'>".sprintf($msg_count)."</span></b>]</a> <br>
<a href='".BASEDIR."members.php'>Portalo vartotojai</a> <br>";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo " <a href='".ADMIN."index.php".$aidlink."'>Administracija</a> <br>";
}
Redagavo MaFetas· 2008 Rugp. 12 14:08:13