Parašė ___· 2008 Kov. 26 16:03:39
#9
Čia kažkur bandk, pabaigoj šios dalies
echo "</tr></table></td></tr></table>\n";
// End banner code / Banerio kodo pabaiga
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<table width='100%' height='35' cellspacing='0' cellpadding='0' class='sub-header' style='border-right: solid #b5b5b5 0px; border-left: solid #b5b5b5 0px;'>\n<tr>";
echo "<td>\n";
if (iMEMBER) {
echo"<center><a href='".BASEDIR."~".$userdata['user_name']."' >Mano profilis</a>|<a href='".BASEDIR."aprasymas' >Profilis</a> |
<a href='".BASEDIR."members.php' class='side'>Nariai [<b><span style='color:#990000'>".number_format(dbcount("(user_id)", "users", "user_status<='1'"))."</span></b>]</span></a>|<a href='".BASEDIR."zinutes' class='side'>Žinutės [naujų: <b><span style='color:#ff0000'>".sprintf($msg_count)."</span></b>]</a>";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo " | <a href='".ADMIN."index.php".$aidlink."' class='side'>Administracija</a>";
}
echo" | <a href='".BASEDIR."setuser.php?logout=yes'>Atsijungti</a></center></td>";
} else {
echo"<center><form name='loginform' method='post' action='".FUSION_SELF."'>
Vartotojas <input type='text' name='user_name' class='textbox' style='width:100px;filter:alpha(opacity=70)'>
Slaptažodis <input type='password' name='user_pass' class='textbox' style='width:100px;filter:alpha(opacity=70)'>
<input type='submit' name='login' value='Prisijungti' class='button'>";
if ($settings['enable_registration']) {
echo " <a href=".BASEDIR."register.php>Registracija</a> | <a href=".BASEDIR."lostpassword.php>Priminti</a></center>\n";
}
echo"</div>\n";
}
echo "</td></tr></table>\n";
echo "<td>";
Redagavo MAnjack· 2008 Kov. 26 16:03:36