Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Del login

Parašė Ralkis· 2009 Kov. 7 11:03:04
#1

Sveiki,
Taigi as turiu koda prisijunigmui ant banerio (cia ne php-fusion panele), tiesiog kodas. Bet jam reikia atskiro backgroundo
Tarkim jei baneris yra 935ilgio tai reikia ji padalyti i 684ilgi ir 251ilgi. 684ilgio eina baneris, o 251ilgio login backgroundas.
Kaip padaryti kad login uzsidetu ant banerio?
stai kodas:

echo '<tr>';
if (iMEMBER) {
echo '<td class="MemberForm" background="'.THEME.'images/header_04.jpg" width="251" height="208" style="padding-left:40px">';
echo THEME_BULLET." <a href='".BASEDIR."edit_profile.php' class='side'><b>Profilis</b></a><br />\n";
echo THEME_BULLET." <a href='".BASEDIR."messages.php' class='side'><b>&#381inut&#279s</b></a><br />\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo THEME_BULLET." <a href='".ADMIN."index.php".$aidlink."' class='side'><b>Control Panel</b></a><br />\n";
}
echo THEME_BULLET." <a href='".BASEDIR."setuser.php?logout=yes' class='side'><b>Atsijungti</b></a>\n";

//Quest Header Start

} else {
if (isset($_POST['Regh'])) {
redirect('register.php');
}
echo '<td class="LoginForm" background="'.THEME.'images/header_04.jpg" width="251" height="208" style="paddin-top:8px">';
include LOCALE.LOCALESET."global.php";
echo "<div style='text-align:center'>\n";
echo "<form name='loginform' method='post' action='".FUSION_SELF."'>\n";
echo "<font color='white'>Login</font> <input type='text' name='user_name' class='textbox' style='width:100px' /><br />\n";
echo "<font color='white'>Pass</font> <input type='password' name='user_pass' class='textbox' style='width:100px;margin-left:4px;margin-top:2px' /><br />\n";
echo "<input type='submit' name='login' value='".$locale['global_104']."' class='buttonHeader' style='margin-top:4px;margin-right:4px;width:45px' /><input type='submit' name='Regh' value='Registruotis' class='buttonReg' style='margin-top:4px;width:118px' /><br />\n";
echo "<font color='white'><small>Prisiminti</small></font><input type='checkbox' name='remember_me' value='y' title='".$locale['global_103']."' style='vertical-align:middle;margin-top:3px' />\n";
echo "</form>\n";


echo '<a href="'.BASEDIR.'lostpassword.php" title="Request One Here!" class="side">Pamir&#353au Slapta&#382od&#303</a></div>';

}

Parašė Ralkis· 2009 Kov. 8 16:03:23
#2

Prasau padekit. Kaip uzdeti kad butu ant banerio, ir nereiktu atskiro backroundo

Parašė arturas88· 2009 Kov. 8 16:03:58
#3

kartais straipsniuose nera? :?

Parašė Ralkis· 2009 Kov. 8 16:03:07
#4

Ten aprasyta kaip visai atskira panele ten uzdet. Bet man reikia sita uzsideti. Nes dabar jei nuimi logino backgrouda ji nusislenka uz banerio ir buna sone banerio