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

Parašė Karolis· 2008 Rugs. 25 19:09:46
#1

Kasko nerodo temos headerio kaip nustatai tema, gal galit kas sutvarkyt? va theme.php
?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#6aa311";
$body_bg = "#000000";
$theme_width = "951";
$theme_width_l = "175";
$theme_width_r = "175";

function render_header($header_content) {

global $theme_width;

echo "<table class='forumline' align='center' width='951' cellspacing='0' cellpadding='0'><tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'><tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'><tr><td class='header' width='100%'><table align=center width=951 height=295 background='http://119.lt/files/ewvea0vdf7i94l22c7fi.gif' border=0 cellspacing=0 cellpadding=0></div>
</td>
<td   height=0 border=0 align=right>
<script type='text/javascript'>LKT_init();</script></td></tr></table></td></tr></table><table width='100%' cellpadding='2' bgcolor='#F9F9F9' cellspacing='0' border='0'>\n";

}

function render_footer($license=false) {

global $theme_width,$settings;

echo "</td>
</tr>
</table>
<table cellSpacing='0' cellPadding='2' width='100%' border='0' background='".THEME."images/footer.gif' style='border-right: solid #c1d2ec 1px; border-left: solid #c1d2ec 1px;'>
<td width='20%' height='40' class='white' align='left'><b><a href='http://php-fusion.co.uk' target='_blank'></a></b></td>
<td width='40%' class='white' align='center'>
<b><center><a target='_blank' href='http://www.hey.lt/details.php?id=musiclife'><img width=88 height=31 border=0 src='http://www.hey.lt/count.php?id=musiclife' alt='Hey.lt - Interneto reitingai, lankomumo statistika, lankytojų skaitliukai'></a> <a href = http://www.skaitliukas.com target = _blank><img src=http://www.skaitliukas.com/counter/counter.php?id=musiclife height = 31 width = 88 border = 0></a> <a href='http://www.skaitiklis.lt/index.php?a=stats&amp;u=musiclife' target='_blank'><img src='http://www.skaitiklis.lt/button.php?u=musiclife' alt='Skaitiklis.lt - nemokama lankomumo statistika' border='0' /></a> <a href='http://www.stats.lt/counter11337.html' target='_blank'><img id='statslt_cnt' src='' border='0' alt='www.stats.lt - Lankomumo statistika, reitingai, skaitliukas' style='display: none'></a>
<a href='http://www.stats.lt/counter11398.html' target='_blank'><img id='statslt_cnt' src='' border='0' alt='www.stats.lt - Lankomumo statistika, reitingai, skaitliukas' style='display: none'></a></center><td align='right'><b><font color='#000000'>Copyright © Cario </font>
</font></b></td>

</b></td><td width='26%' class='white' align='right'><b><a href=''></a></b></td><div align='center'></tr></table></td></tr></table></div>\n";

}

function render_news($subject, $news, $info) {

echo "<table border='0' style=': 1px solid #000000' cellspacing='1' width='100%' cellpadding='3'>
<tr><td background='".THEME."images/cellpic_news.gif' height='30'><font class='block-title'><a name='news_".$info['news_id']."' id='news_".$info['news_id']."'></a>$subject</font></td></tr>
</table>
<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr><td><table width='100%' cellpadding='0' cellspacing='0'>
<tr><td class='main-body'>$news</td></tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr><td class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info," &middot;").newsopts($info,"&middot;").closeform("N",$info['news_id']);
echo "</td></tr>
</table>
</td></tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table border='0' cellspacing='1' width='100%' cellpadding='3'>
<tr><td background='".THEME."images/cellpic_news.gif' height='30'><font class='block-title'>$subject</font></td></tr>
</table>
<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr><td><table width='100%' cellpadding='0' cellspacing='0'>
<tr><td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td></tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr><td class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," &middot;").articleopts($info,"&middot;").closeform("A",$info['article_id']);
echo "</td></tr>
</table>
</td></tr>
</table>\n";

}

function opentable($title) {

echo "<table width='100%' cellpadding='3' cellspacing='1' style='border: 1px solid #c1d2ec'>
<tr><td bgcolor='#ffffff' background='".THEME."images/cellpic1.gif' height='25'><font class='head-title'>$title</font></td></tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr><td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>\n";

}

function openside($title) {
   
echo "<table border='0' style='border: 1px solid #c1d2ec' cellspacing='1' width='100%' cellpadding='3'>
<tr><td height='27' width='100%' background='".THEME."images/cellpic3.gif'><font class='block-title'>$title</font></td></tr>
<tr><td bgcolor='#ffffff' class='side-body' width='100%'>\n";

}

function closeside() {

echo "</td></tr></table>\n";
tablebreak();

}

function opensidex($title,$state="on") {

$boxname = str_replace(" ", "", $title);
echo "<table border='0' style='border: 1px solid #c1d2ec' cellspacing='1' width='100%' cellpadding='3'>
<tr>
<td height='27' width='100%' background='".THEME."images/cellpic3.gif'><font class='block-title'>$title</font></td>
<td height='27' width='120%' background='".THEME."images/cellpic3.gif'>".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";

}
?>



Parašė Brodger· 2008 Rugs. 25 20:09:27
#2

Sita koda:

function render_header($header_content) {

global $theme_width;

echo "<table class='forumline' align='center' width='951' cellspacing='0' cellpadding='0'><tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'><tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'><tr><td class='header' width='100%'><table align=center width=951 height=295 background='http://119.lt/files/ewvea0vdf7i94l22c7fi.gif' border=0 cellspacing=0 cellpadding=0></div>
</td>
<td   height=0 border=0 align=right>
<script type='text/javascript'>LKT_init();</script></td></tr></table></td></tr></table><table width='100%' cellpadding='2' bgcolor='#F9F9F9' cellspacing='0' border='0'>\n";

}




Keiti i :


function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink,$db_prefix;

 echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' >";
 echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
 echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
 echo "<tr><td class='header' width='100%'>";

 echo "<tr><table align=center width=100% height=165 background='".THEME."images/headeris.jpg' border=0 cellspacing=0 cellpadding=0>";
echo"<tr><td height=50 class='nuorodos' align='center' style='padding-right:50px; padding-top:130px;'><br>";
echo"</td></tr><tr></tr><tr><td></td></tr></table>";


 echo "<table width='100%' cellpadding='4' bgcolor='#1d485b' cellspacing='0' border='0'><tr>";
}




Parašė Karolis· 2008 Rugs. 25 20:09:04
#3

Aciu, bet nerodo vistiek :(

Parašė Fanio· 2008 Rugs. 25 20:09:41
#4

O gal nesi įkėles? ?|

Parašė Karolis· 2008 Rugs. 25 20:09:34
#5

yra headeris ikeltas.

Parašė Brodger· 2008 Rugs. 25 20:09:34
#6

THEME."images/headeris.jpg ta pakeisk i sawo headerio pavadinima xD ;)

Parašė Karolis· 2008 Rugs. 25 21:09:18
#7

aciu padejai ;)