Parašė Rasmitas· 2009 Vas. 4 17:02:52
#1
Bl is kur istraukt sena navarota kai visas prisijungimas virsui
Vardas |________| Slaptazodis |___________| |Login|
Redagavo Rasmitas· 2009 Vas. 4 17:02:42
Parašė Peacemaker· 2009 Vas. 4 17:02:10
#2
Pasiimk kodą iš Default. Tiesiog nuimk visus <br> ir sudėk tarpus. Aš taip daryčiau.
Parašė ---· 2009 Vas. 4 17:02:59
#3
Kaip tik isijungiau senai kurta dizaina tai ir kodas ten:
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td class='sub-header'><table width='100%' border='0' cellpadding='0' cellspacing='0' style='background-color: #000000;'><tr>";
if (iMEMBER) {
echo"<td height='35' background='".THEME."images/linija.jpg' class='sub-header'><center>
<a href='".BASEDIR."edit_profile.php' target=''>Profilis</a> |
<a href='".BASEDIR."messages.php' 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' target='_blank'>Atsijungti</a></td>";
} else {
echo" <td height='35' background='".THEME."images/linija.jpg' class='sub-header' style='padding-top:1px;'><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><br>\n";
}
echo"</div>\n";
}
Redagavo ---· 2009 Vas. 4 17:02:16