Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Prisijungimas kairėje.
Parašė Enzo· 2007 Gru. 11 13:12:04
#1
Tai va aš turiu temą su prisijungimu headeryje. Prisijungimas yra dešinėje, o man reikia, kad būtų kairėje. Gal galite padėti?:)
Parašė ramon· 2007 Gru. 11 13:12:20
#2
As nk nematau jokip kodo. :|
Parašė Enzo· 2007 Gru. 11 13:12:24
#3
<?php
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
echo "<tr><td class='header' width='935'>";
// Start banner code / Banerio kodas
echo "<table width='935' cellspacing='0' cellpadding='0'>";
echo "<tr><td height='200' background='".THEME."images/bg.gif' align='left' valign='bottom' style='padding-bottom: 30px;' class='full-header'>
<table width='935' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td> </td>
<td width='220' align='left'>";
// Jei narys, prisijungimas atrodo taip
if (iMEMBER) {
openside ($userdata['user_name']);
$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>
<td>\n";
if ($userdata['user_avatar'] != "") {
echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' height='50'></center>\n";
} else {
echo "<center><img src='".THEME."media/no.png' width='50' height='50'></center>\n";
}
echo "</td>
<td><img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='sonas'>Aprašymas</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='sonas'>Žinutės</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='sonas'>Nariai</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='sonas'>Administracija</a><br>\n";
}
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='sonas'>Atsijungti</a>\n";"
<td><img src='".THEME."images/blank.gif'></td>
</tr>
</table>
\n";
// Jei ne narys
} else {
openside("Prisijungimas");
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' background='".THEME."images/userlogin.gif' align='center' class='side2'><form name='loginform' method='post' action='".FUSION_SELF."'>
<tr>
<td align='right'>Nikas: </td>
<td> <input type='text' name='user_name' class='textbox2' style='width:100px;filter:alpha(opacity=50)'></td>
</tr>
<tr>
<td align='right'>Slaptažodis: </td>
<td> <input type='password' name='user_pass' class='textbox2' style='width:100px;filter:alpha(opacity=50)'></td>
</tr>
<tr>
<td align='right'><input type='checkbox' name='remember_me' value='y'></td>
<td> <input type='submit' name='login' value='Prisijungti' class='button2'></td>
</tr>
</form>\n";
if ($settings['enable_registration']) {
echo "<a href=".BASEDIR."register.php>Registracija</a> | <a href=".BASEDIR."lostpassword.php>Slaptažodis</a>\n";
}
echo"</div>\n";
}
closeside ();
echo "</td>
<td><img src='".THEME."images/blank.gif'></td>
</tr>
</table>
</td>";
echo "</tr></table></td></tr></table>\n";
// End banner code / Banerio kodo pabaiga
echo "";
echo "<td>\n";
echo "</td></tr></table>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
</table>\n";
?>
Parašė mXt· 2007 Gru. 11 14:12:35
#4
visur kur align left keisk i right
Parašė Enzo· 2007 Gru. 11 14:12:41
#5
mXt parašė:
visur kur align left keisk i right
Keičiau, bet kažkaip neišėjo.
P.S. Right dešinė?|
Parašė mXt· 2007 Gru. 11 14:12:12
#6
Oi :D T.y. is right i left :D
Parašė Enzo· 2007 Gru. 11 14:12:46
#7
mXt parašė:
Oi :D T.y. is right i left :D
nope. Nieko nesigauna:[
Parašė Ptycka· 2007 Gru. 15 05:12:48
#8
Bandyk turetu buti viskas gerai.Čia is qrmio CS theme ?
<?php
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
echo "<tr><td class='header' width='935'>";
// Start banner code / Banerio kodas
echo "<table width='935' cellspacing='0' cellpadding='0'>";
echo "<tr><td height='200' background='".THEME."images/bg.gif' align='left' valign='bottom' style='padding-bottom: 30px;' class='full-header'>
<table width='935' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td> </td>
<td width='220' align='right'>";
// Jei narys, prisijungimas atrodo taip
if (iMEMBER) {
openside ($userdata['user_name']);
$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>
<td>\n";
if ($userdata['user_avatar'] != "") {
echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' height='50'></center>\n";
} else {
echo "<center><img src='".THEME."media/no.png' width='50' height='50'></center>\n";
}
echo "</td>
<td><img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='sonas'>Aprašymas</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='sonas'>Žinutės</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='sonas'>Nariai</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='sonas'>Administracija</a><br>\n";
}
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='sonas'>Atsijungti</a>\n";"
<td><img src='".THEME."images/blank.gif'></td>
</tr>
</table>
\n";
// Jei ne narys
} else {
openside("Prisijungimas");
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' background='".THEME."images/userlogin.gif' align='left' class='side2'><form name='loginform' method='post' action='".FUSION_SELF."'>
<tr>
<td align='left'>Nikas: </td>
<td> <input type='text' name='user_name' class='textbox2' style='width:100px;filter:alpha(opacity=50)'></td>
</tr>
<tr>
<td align='left'>Slaptažodis: </td>
<td> <input type='password' name='user_pass' class='textbox2' style='width:100px;filter:alpha(opacity=50)'></td>
</tr>
<tr>
<td align='left'><input type='checkbox' name='remember_me' value='y'></td>
<td> <input type='submit' name='login' value='Prisijungti' class='button2'></td>
</tr>
</form>\n";
if ($settings['enable_registration']) {
echo "<a href=".BASEDIR."register.php>Registracija</a> | <a href=".BASEDIR."lostpassword.php>Slaptažodis</a>\n";
}
echo"</div>\n";
}
closeside ();
echo "</td>
<td><img src='".THEME."images/blank.gif'></td>
</tr>
</table>
</td>";
echo "</tr></table></td></tr></table>\n";
// End banner code / Banerio kodo pabaiga
echo "";
echo "<td>\n";
echo "</td></tr></table>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
</table>\n";
?>
Redagavo Ptycka· 2007 Gru. 15 05:12:11