Mantas_
Narys
Antras po Dievo
Pranešimai: 4009
Įstojęs: 2008 Geg. 30 21:05:48
|
kaip temoje nuimti prisijungima headeryje?
Redagavo MaFetas 2012-03-29 14:14
Redagavo Mantas_ 2008 Lie. 23 23:07:39 |
Mantas_
Narys
Antras po Dievo
Pranešimai: 4009
Įstojęs: 2008 Geg. 30 21:05:48
|
tai kaip nuimti?
Redagavo MaFetas 2012-03-29 14:14 |
Žmogus
Narys
Viršesnis už Dievą
Pranešimai: 5621
Įstojęs: 2006 Gru. 8 17:12:08
|
Duok savo theme.php...
|
Mantas_
Narys
Antras po Dievo
Pranešimai: 4009
Įstojęs: 2008 Geg. 30 21:05:48
|
wa <?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#555555";
$body_bg = "#F8F8F8";
$theme_width = "940";
$theme_width_l = "175";
$theme_width_r = "175";
function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink;
echo "<table align=center class='mainsite-border' align='left' width='910' cellspacing='0' cellpadding='0'>
<tr><td class='outer-border'>
<table align='center' width='100%' cellspacing='0' cellpadding='0'>
<tr><td class='inner-border'>
<table align='center' width='100%' cellspacing='0' cellpadding='0'>
<tr align=left><td>";
include_once "header.php";
echo "</td></tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0' background='".THEME."images/footer.gif' style='padding-left: 50px;'><tr><td height='20' class='white' align='center'><b>Dizainas pagal <a href='http://www.dgl.xz.lt'>Deagle</a></b></td></tr></table>";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info,"<br>").newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info,"<br>").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
Redagavo MaFetas 2012-03-29 14:14
Redagavo Mantas_ 2008 Lie. 23 23:07:34 |
Žmogus
Narys
Viršesnis už Dievą
Pranešimai: 5621
Įstojęs: 2006 Gru. 8 17:12:08
|
Pakeisk šitą į header.php...
|
Mantas_
Narys
Antras po Dievo
Pranešimai: 4009
Įstojęs: 2008 Geg. 30 21:05:48
|
neina eror meta
Redagavo MaFetas 2012-03-29 14:14 |
Žmogus
Narys
Viršesnis už Dievą
Pranešimai: 5621
Įstojęs: 2006 Gru. 8 17:12:08
|
B.l ne taip supratai
duok header.php
|
Mantas_
Narys
Antras po Dievo
Pranešimai: 4009
Įstojęs: 2008 Geg. 30 21:05:48
|
aaa
<?php
global $theme_width,$settings,$aidlink,$locale,$userdata;
echo "<table width='$theme_width' border='0' align='center' cellpadding='0' cellspacing='0' background='".THEME."images/header.png' height='200' style='background-repeat: no-repeat;'>
<tr>
<td width='235' style='padding-right: 0px; padding-left: 700px; padding-bottom: 50px; padding-top:10px;' valign='middle'>";
if (iMEMBER) {
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<table width='235' border='0' cellspacing='2' cellpadding='2'>
<tr>
<td>\n";
if ($userdata['user_avatar'] != "") {
echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='100' height='100' style='border:1px solid #999999'></center>\n";
} else {
echo "<center><img src='".THEME."images/noavatar.PNG' width='100' height='100' border='0'></center>\n";
}
echo "</td>
<td valign='top'><img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Profilis</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>zinutes [nauju: <b><span style='color:#990000'>".sprintf($msg_count)."</span></b>]</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>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='side'>Administracija</a><br>\n";
}
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a><br><br>
<b><span class='ip'>IP: </span></b>";
$userip = $_SERVER['REMOTE_ADDR'];
$host = gethostbyaddr($userip);
echo "<span class='ip'>".$userip."</span><br /></td></tr></table>\n";
} else {
echo "<table width='170' border='0' cellspacing='0' cellpadding='0' align='center'><form name='loginform' method='post' action='".FUSION_SELF."'>
<tr>
<td align='right' class='ip'>Vardas: </td>
<td> <input type='text' name='user_name' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
</tr>
<tr>
<td align='right' class='ip'>".$locale['062'].": </td>
<td> <input type='password' name='user_pass' class='textbox' 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='button'></td>
</tr>
</form>\n";
if ($settings['enable_registration']) {
echo "<a href= register.php>Registracija</a> / <a href= lostpassword.php>Slaptazodis</a>\n";
}
echo"</table>\n";
}
echo "</td>
</tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0' class='sub-header' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>\n<tr>";
echo "<td>\n";
echo ($i == 0 ? " " : "")."</td>";
echo "</td></tr></table>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
</table>\n";
echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
?>
Redagavo MaFetas 2012-03-29 14:14 |
Žmogus
Narys
Viršesnis už Dievą
Pranešimai: 5621
Įstojęs: 2006 Gru. 8 17:12:08
|
header.php pakeisk šituo
<?php
global $theme_width,$settings,$aidlink,$locale,$userdata;
echo "<table width='$theme_width' border='0' align='center' cellpadding='0' cellspacing='0' background='".THEME."images/header.png' height='200' style='background-repeat: no-repeat;'>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0' class='sub-header' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>\n<tr>";
echo "<td>\n";
echo ($i == 0 ? " " : "")."</td>";
echo "</td></tr></table>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
</table>\n";
echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
?>
|
Mantas_
Narys
Antras po Dievo
Pranešimai: 4009
Įstojęs: 2008 Geg. 30 21:05:48
|
dabar banerio nerodo
Redagavo MaFetas 2012-03-29 14:14 |
Child
Narys
Tankas
Pranešimai: 1719
Įstojęs: 2008 Vas. 14 19:02:16
|
pamegink pavadinimus pasikeist theme.php arba header.php(as kalbu apie headerio pavadinimas ,pakeisk ji i toki kokiu esi uzsivardines)
|
Mantas_
Narys
Antras po Dievo
Pranešimai: 4009
Įstojęs: 2008 Geg. 30 21:05:48
|
vistiek
Redagavo MaFetas 2012-03-29 14:14 |
Child
Narys
Tankas
Pranešimai: 1719
Įstojęs: 2008 Vas. 14 19:02:16
|
seip zinau kad sitame saite tikrai rasi toki straipsni kai uzsideti logina ant headerio ,tai patarciau paskaityti ir pameginti viska daryti priesingai t.y. nuimti logina;)
www.stylingparts.eu-viskas jūsų automobiliams už geriausią kainą. |
Mantas_
Narys
Antras po Dievo
Pranešimai: 4009
Įstojęs: 2008 Geg. 30 21:05:48
|
ieskau ir nieko nerandu
Redagavo MaFetas 2012-03-29 14:14 |
Mantas_
Narys
Antras po Dievo
Pranešimai: 4009
Įstojęs: 2008 Geg. 30 21:05:48
|
tai kaip nuimti?
Redagavo MaFetas 2012-03-29 14:14 |
iNeT
VIP narys
Kapitonas
Pranešimai: 505
Įstojęs: 2008 Kov. 3 17:03:29
|
dgl nefloodink eilini karta
|
Mantas_
Narys
Antras po Dievo
Pranešimai: 4009
Įstojęs: 2008 Geg. 30 21:05:48
|
tai man lb reikia
Redagavo MaFetas 2012-03-29 14:14 |
Žmogus
Narys
Viršesnis už Dievą
Pranešimai: 5621
Įstojęs: 2006 Gru. 8 17:12:08
|
<?php
global $theme_width,$settings,$aidlink,$locale,$userdata;
echo "<table width='$theme_width' border='0' align='center' cellpadding='0' cellspacing='0' background='".THEME."images/header.png' height='200' style='background-repeat: no-repeat;'>
<tr>
<td width='235' valign='middle'>
</td>
</tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0' class='sub-header' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>\n<tr>";
echo "<td>\n";
echo ($i == 0 ? " " : "")."</td>";
echo "</td></tr></table>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
</table>\n";
echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
?>
Bandyk...
|
Mantas_
Narys
Antras po Dievo
Pranešimai: 4009
Įstojęs: 2008 Geg. 30 21:05:48
|
meta eror Parse error: syntax error, unexpected '<' in /home/majaika/dgl.xz.lt/themes/orange cs theme/header.php on line 7
Redagavo MaFetas 2012-03-29 14:14 |
Žmogus
Narys
Viršesnis už Dievą
Pranešimai: 5621
Įstojęs: 2006 Gru. 8 17:12:08
|
Paredagavau
|
Mantas_
Narys
Antras po Dievo
Pranešimai: 4009
Įstojęs: 2008 Geg. 30 21:05:48
|
tai ka dartyti?
Redagavo MaFetas 2012-03-29 14:14 |
Žmogus
Narys
Viršesnis už Dievą
Pranešimai: 5621
Įstojęs: 2006 Gru. 8 17:12:08
|
O boža...
Perdiek šituo kodu:
<?php
global $theme_width,$settings,$aidlink,$locale,$userdata;
echo "<table width='$theme_width' border='0' align='center' cellpadding='0' cellspacing='0' background='".THEME."images/header.png' height='200' style='background-repeat: no-repeat;'>
<tr>
<td width='235' valign='middle'>
</td>
</tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0' class='sub-header' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>\n<tr>";
echo "<td>\n";
echo ($i == 0 ? " " : "")."</td>";
echo "</td></tr></table>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
</table>\n";
echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
?>
|
Mantas_
Narys
Antras po Dievo
Pranešimai: 4009
Įstojęs: 2008 Geg. 30 21:05:48
|
o kur cia pakeisti banerio matmenys?
Redagavo MaFetas 2012-03-29 14:14 |
Toonis
VIP narys
Viršesnis už Dievą
Pranešimai: 5741
Įstojęs: 2006 Spa. 17 14:10:03
|
Kiekvienoje temoje vis kitaip.
[galingų saliutų foto] |
sydow
Narys
Buldozeris
Pranešimai: 206
Įstojęs: 2008 Geg. 16 07:05:42
|
dgl parašė:
o kur cia pakeisti banerio matmenys?
echo "<table width='$theme_width' border='0' align='center' cellpadding='0' cellspacing='0' background='".THEME."images/header.png' height='200' style='background-repeat: no-repeat;'>
<tr>
Kur pazimejau ten keisk i toki dydi kokio nori
Redagavo sydow 2008 Lie. 24 11:07:13 |