Soo-2
Narys
Generolas
Pranešimai: 932
Įstojęs: 2007 Kov. 17 15:03:05
sveiki.. gal kas zinote kaip panaikinti tarpus tarp paveikliuku headerija.. man gaunasii taip, tai ta raudonai apvesta vieta http://img152.imageshack.us/img1...imomu0.jpg o header.php kodas va: <?php
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
echo "<body bgcolor='#ffffff' text='#8d8d8d'>";
echo "<td colspan='5'><img src='".THEME."images/head_09.png' width='283' height='141' alt=''></td>
<td colspan='7'><img src='".THEME."images/head_10.png' width='296' height='141' alt=''></td>
<td colspan='3' background='".THEME."images/head_11.png' width='212' height='141' align='center' alt=''><div align='center'>";
if (iMEMBER) {
openside2($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 "</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/head_12.png' width='19' height='141' alt=''></td></tr><tr>
</tr>
</table>
\n";
// Jei ne narys
} else {
openside2("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'>Login name: </td>
<td> <input type='text' name='user_name' class='textbox2' style='width:100px;filter:alpha(opacity=70)'></td>
</tr>
<tr>
<td align='right'>Password: </td>
<td> <input type='password' name='user_pass' class='textbox2' style='width:100px;filter:alpha(opacity=70)'></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";
}
closeside2();
echo "</td>
<td><img src='".THEME."images/head_12.png' width='19' height='141' alt=''></td></tr><tr>
</tr>
</table>
</td>";
echo "</tr></table></td></tr></table>\n";
// End banner code / Banerio kodo pabaiga
echo "<table width='100%' cellspacing='0' cellpadding='0' class='sub-header'>\n<tr>";
echo "<td>\n";
if ($settings['admin_activation'] == "1") echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['015'].dbcount("(user_id)", "users", "user_status='2'")."\n";
echo ($i == 0 ? " " : "")."</td>";
echo "<td align='right'>".ucwords(showdate($settings['subheaderdate'], time()))."";
echo "</td></tr></table>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
</table>\n";
?>
Redagavo
Soo-2 2008 Sau. 3 22:01:24
Soo-2
Narys
Generolas
Pranešimai: 932
Įstojęs: 2007 Kov. 17 15:03:05
man tarp pirmo, antro ir trecio paveiksliuko yra tarpai.. kaip padaryti kad ju nebeliktu?
eXtazY
Narys
Tankas
Pranešimai: 2050
Įstojęs: 2006 Bir. 8 09:06:32
Čia tikrai ne expert klausimas...
Soo-2
Narys
Generolas
Pranešimai: 932
Įstojęs: 2007 Kov. 17 15:03:05
jau puse sutvarkiau.. bet toliau zn kaip bus.. kai zmogus online rodo taip Tai yra labai GERAI : http://img242.imageshack.us/img2...inewp3.png
bet kai atsijungi rodo taip, tai nėra labai gerai , kaip sutvarkyti? : http://img242.imageshack.us/img2...inemq2.png
Soo-2
Narys
Generolas
Pranešimai: 932
Įstojęs: 2007 Kov. 17 15:03:05
o štai header.php :
<?php
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
echo "<body bgcolor='#ffffff' text='#8d8d8d'>";
echo "<table class='forumline' align='center' width='810' cellspacing='0' cellpadding='0' ><tr><td><table align='center' width='810' cellspacing='0' cellpadding='0'><tr><td><table align='center' width='810' cellspacing='0' cellpadding='0'><tr><td width='810'><table width='810' height='231' border='0' cellpadding='0' cellspacing='0'><tr>
<td colspan='5'><img src='".THEME."images/head_09.png' width='283' height='141' alt=''></td>
<td colspan='7'><img src='".THEME."images/head_10.png' width='296' height='141' alt=''></td>
<td colspan='3' background='".THEME."images/head_11.png' width='212' height='141' align='center' alt=''>";
if (iMEMBER) {
openside2($userdata['user_name']);
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "
<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 "</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><td><img src='".THEME."images/head_12.png' width='19' height='141' alt=''></td></tr><tr>
</tr>
</table>
\n";
// Jei ne narys
} else {
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'>Login name: </td>
<td> <input type='text' name='user_name' class='textbox2' style='width:100px;filter:alpha(opacity=70)'></td>
</tr>
<tr>
<td align='right'>Password: </td>
<td> <input type='password' name='user_pass' class='textbox2' style='width:100px;filter:alpha(opacity=70)'></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";
}
closeside2();
echo "</td>
</td><td><img src='".THEME."images/head_12.png' width='19' height='141' alt=''></td></tr><tr>
</tr>
</table>
</td>";
echo "</tr></table></td></tr></table>\n";
// End banner code / Banerio kodo pabaiga
echo "<table width='100%' cellspacing='0' cellpadding='0' class='sub-header'>\n<tr>";
echo "<td>\n";
if ($settings['admin_activation'] == "1") echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['015'].dbcount("(user_id)", "users", "user_status='2'")."\n";
echo ($i == 0 ? " " : "")."</td>";
echo "<td align='right'>".ucwords(showdate($settings['subheaderdate'], time()))."";
echo "</td></tr></table>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
</table>\n";
?>
Soo-2
Narys
Generolas
Pranešimai: 932
Įstojęs: 2007 Kov. 17 15:03:05
o dabar kai atsijungiu rodo vataip: http://img507.imageshack.us/img5.../57de3.png o man reik kad tie laukeliai kur reikia vesti varda ir pass butu ant to melino laukelio.. kai prisijungi tai viskas normaliai: http://img242.imageshack.us/img2... tai noriu kad ir atsijungus taip pat roditu. kaip tai padaryti?
EDIT: va kodas header.php
<?php
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
echo "<body bgcolor='#ffffff' text='#8d8d8d'>";
echo "<table class='forumline' align='center' width='810' cellspacing='0' cellpadding='0' >
<tr><td><table align='center' width='810' cellspacing='0' cellpadding='0'>
<tr><td><table align='center' width='810' cellspacing='0' cellpadding='0'>
<tr><td width='810'><table width='810' height='231' border='0' cellpadding='0' cellspacing='0'><tr>
<td colspan='5'><img src='".THEME."images/head_09.png' width='283' height='141' alt=''></td>
<td colspan='7'><img src='".THEME."images/head_10.png' width='296' height='141' alt=''></td>
<td colspan='3' background='".THEME."images/head_11.png' width='212' height='141' align='center' alt=''>";
if (iMEMBER) {
openside2($userdata['user_name']);
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "
<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 "</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><td><img src='".THEME."images/head_12.png' width='19' height='141' alt=''></td></tr><tr>
</tr>
</table>
\n";
// Jei ne narys
} else {
echo "<table class='forumline' align='center' width='810' cellspacing='0' cellpadding='0' >
<td colspan='3' background='".THEME."images/head_11.png' width='212' height='141' align='center' alt=''>
<form name='loginform' method='post' action='".FUSION_SELF."'>
<tr>
<td align='right'>Login name: </td>
<td> <input type='text' name='user_name' class='textbox2' style='width:100px;filter:alpha(opacity=70)'></td>
</tr>
<tr>
<td align='right'>Password: </td>
<td> <input type='password' name='user_pass' class='textbox2' style='width:100px;filter:alpha(opacity=70)'></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";
}
closeside2();
echo "</td>
</td><td><img src='".THEME."images/head_12.png' width='19' height='141' alt=''></td></tr><tr>
</tr>
</table>
</td>";
echo "</tr></table></td></tr></table>\n";
// End banner code / Banerio kodo pabaiga
echo "<table width='100%' cellspacing='0' cellpadding='0' class='sub-header'>\n<tr>";
echo "<td>\n";
if ($settings['admin_activation'] == "1") echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['015'].dbcount("(user_id)", "users", "user_status='2'")."\n";
echo ($i == 0 ? " " : "")."</td>";
echo "<td align='right'>".ucwords(showdate($settings['subheaderdate'], time()))."";
echo "</td></tr></table>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
</table>\n";
?>
Redagavo
Soo-2 2008 Sau. 4 18:01:09
Peršokti į forumą:
Žaliems
Nebeegzistuojančios svetainės
Bendri PHP-F klausimai
WordPress
Kiti PHP, HTML, MySQL klausimai
Expert PHP, MySQL klausimai
Kitos TVS
C#, Python, Java, JS, C++ klausimai
Naujų modų pristatymai
Mods, Panels & Infusions
Themes
Jūsų saitai
Dalinuosi, dovanoju!
Klausimai apie domenus ir hostingus
VPS/DS serverių konfigūravimas ir valdymas
Viskas apie skaitliukus, top'us ir lankomumą
Dizaino konkursai
Parduodu - perku dizainą, banerį
Parduodu - perku - keičiuosi reklama
Parduodu - perku domeną, tinklapį
Siūlau - ieškau hostingo/VPS serverio
Parduodu - perku skriptą, modifikaciją, tvs
Socialiniai tinklai - Facebook ir kiti
Legalus verslas, teisiniai klausimai
Visa kita kas susiję su darbu ir pinigais
LTStartups.com - Lietuvos startuolių bendruomenė
Off-Topic diskusijos
IT naujienos
Portalo informacija
Narių pasiūlymai
Geležis ir programinė įranga
Grafika
Out Of Place
Su e-verslu nesusijęs darbas ir prekyba
Dalinuosi, dovanoju!