Parašė House· 2009 Rugp. 19 10:08:53
#49
if (iMEMBER) {
opensides($userdata['user_name']);
$msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<div style='text-align:top'>\n";
echo "<img border='0' src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' align='left'>\n";
echo " <img src='uses/profilis.gif'><a href='".BASEDIR."edit_profile.php' class='user'> Mano profilis<br></a>\n";
echo " <img src='uses/redaguoti.gif'><a href='".BASEDIR."edit_profile.php' class='user'> Keisti profilį</a><br></>\n";
echo " <img src='uses/draugai.gif'><a href='".BASEDIR."members.php' class='user'> Nariai</a><br>\n";
echo " <img src='uses/az.gif'><a href='".BASEDIR."messages.php' class='user'> Asmeninės žinutės</a><br>\n";
echo " <img src='uses/galerija.gif'><a href='".BASEDIR."galerija.php' class='user'> Mano Galerija</a><br>\n";
echo " <img src='uses/iseiti.gif'><a href='".BASEDIR."setuser.php?logout=yes' class='user'> Atsijungti</a><br></div>\n";
if ($msg_count) { echo "<br /><br /><div style='text-align:center'><strong><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['global_125'], $msg_count).($msg_count == 1 ? $locale['global_126'] : $locale['global_127'])."</a></strong></div>\n"; }
} else {