Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: kaip temoje nuimti prisijungima headeryje?

Parašė Mantas_· 2008 Lie. 23 23:07:17
#1

kaip temoje nuimti prisijungima headeryje?

Redagavo Mantas_· 2008 Lie. 23 23:07:39

Parašė Mantas_· 2008 Lie. 23 23:07:51
#2

tai kaip nuimti?

Parašė Žmogus· 2008 Lie. 23 23:07:26
#3

Duok savo theme.php...

Parašė Mantas_· 2008 Lie. 23 23:07:24
#4

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,"&middot;").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,"&middot;").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 Mantas_· 2008 Lie. 23 23:07:34

Parašė Žmogus· 2008 Lie. 23 23:07:44
#5

Pakeisk šitą į header.php...

Parašė Mantas_· 2008 Lie. 23 23:07:14
#6

neina eror meta

Parašė Žmogus· 2008 Lie. 23 23:07:21
#7

B.l ne taip supratai
duok header.php

Parašė Mantas_· 2008 Lie. 23 23:07:03
#8

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>";
?>



Parašė Žmogus· 2008 Lie. 23 23:07:15
#9

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>";
?>



Redagavo Žmogus· 2008 Lie. 23 23:07:30

Parašė Mantas_· 2008 Lie. 23 23:07:07
#10

dabar banerio nerodo:s

Parašė Child· 2008 Lie. 24 00:07:12
#11

pamegink pavadinimus pasikeist theme.php arba header.php(as kalbu apie headerio pavadinimas ,pakeisk ji i toki kokiu esi uzsivardines)

Parašė Mantas_· 2008 Lie. 24 00:07:45
#12

vistiek

Parašė Child· 2008 Lie. 24 00:07:25
#13

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;)

Parašė Mantas_· 2008 Lie. 24 00:07:36
#14

ieskau ir nieko nerandu:(

Parašė Mantas_· 2008 Lie. 24 10:07:44
#15

tai kaip nuimti?:s

Parašė iNeT· 2008 Lie. 24 10:07:24
#16

dgl nefloodink eilini karta :[

Parašė Mantas_· 2008 Lie. 24 10:07:17
#17

tai man lb reikia

Parašė Žmogus· 2008 Lie. 24 10:07:56
#18

<?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...

Redagavo Žmogus· 2008 Lie. 24 10:07:58

Parašė Mantas_· 2008 Lie. 24 10:07:04
#19

meta eror
Parse error: syntax error, unexpected '<' in /home/majaika/dgl.xz.lt/themes/orange cs theme/header.php on line 7



Parašė Žmogus· 2008 Lie. 24 10:07:19
#20

Paredagavau :|

Parašė Mantas_· 2008 Lie. 24 10:07:42
#21

tai ka dartyti?

Parašė Žmogus· 2008 Lie. 24 10:07:40
#22

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>";
?>



Parašė Mantas_· 2008 Lie. 24 10:07:30
#23

o kur cia pakeisti banerio matmenys?

Parašė Toonis· 2008 Lie. 24 10:07:41
#24

Kiekvienoje temoje vis kitaip.

Parašė sydow· 2008 Lie. 24 11:07:54
#25

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