Parašė Jaunelis· 2009 Kov. 6 17:03:41
#82
kdl man neprisijungia su šiuo kodu idėjau y sub_header tą ir bbs krč viskas ore ten susiderino bet neprisijungia buna prisijungimas nesekmingas o kai per user_info_panel jugiuos viskas zjbs:
echo "<table cellspacing='0' cellpadding='0' width='969'><tr><td class='Linija'></td></tr></table>";
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<table width='$theme_width' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td class='sub-header'><table width='$theme_width' border='0' cellpadding='0' cellspacing='0' style='background-color: #000000;'><tr>";
if (iMEMBER) {
echo"<td height='33' background='".THEME."images/linija.jpg' class='sub-header'><center>
<a href='".BASEDIR."edit_profile.php' class='side'>".$locale['080']."</a> |
<a href='".BASEDIR."messages.php' class='side'>Þinutës [naujø: <b><span style='color:#ff0000'>".sprintf($msg_count)."</span></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' target='_blank'>Atsijungti</a></td>";
} else {
echo" <td height='33' background='".THEME."images/linija.jpg' class='sub-header'><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='ok' class='ok'> <a href=".BASEDIR."register.php>Registracija</a> | <a href=".BASEDIR."lostpassword.php>Priminti</a>";
echo"</div>\n";
}
echo "</td></tr></table></td></tr></table>";
Redagavo Jaunelis· 2009 Kov. 6 18:03:42