Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Reklama header'yje

Parašė Kižas· 2010 Sau. 29 14:01:42
#1

Sveiki. Bandau ideti i headeri reklama (468x60 C-SEKTORIUS) bet niekaip nepavyksta
Gal kas galit padeti nors koki koda reikia rasyti i theme.php?
Turi taip atrodyti http://one.our.lt/images/reklama...
Theme.php failas stai:

<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#000000";
$body_bg = "#2e2e2e";
$theme_width = "960";
$theme_width_l = "190";
$theme_width_r = "190";

function render_header($header_content) {

global $theme_width,$locale,$data,$aidlink,$db_prefix;

echo "<table align='center' cellspacing='0' cellpadding='0' width='960' class='border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
</table>
</td>
</tr>
</table>";

echo "<table cellpadding='0' cellspacing='0' width='$theme_width' class='paneles'>\n<tr>
<td align='center' width='15'>";
echo "</td>
<td align='center' width='180'>";
include THEME."code/user_info_panel.php";

echo "</td>
<td align='center' width='430'>";
echo "</td>
<td align='center' width='180'>";
echo "</td>
<td align='center' width='30'>";
echo "</td>
</tr>
</table>";


echo "<table cellpadding='0' cellspacing='0' width='$theme_width' class='paneles2'>\n<tr>
<td align='center' width='465'>";
echo "</td>
</tr>
</table>";

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td class='sub-header'><a href='http://one.our.lt'><img src='http://one.our.lt/images/pagrindinis.png'<right><a href='http://one.our.lt/viewpage.php?page_id=4'><img src='http://one.our.lt/images/reklama.png'</right><a href='http://one.our.lt/forum/index.php'><img src='http://one.our.lt/images/forumas.png'<right><a href='http://one.our.lt/contact.php'><img src='http://one.our.lt/images/kontaktai.png'</right></td>
<td align='right' class='sub-header'><b>".showsubdate()."</b></td>
</tr>
</table>\n";



echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";

}


function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='left' class='footer'>&nbsp;&nbsp;&nbsp;<span><img src='".THEME."images/xz.gif' alt=''> Varikliukas: <a href='http://www.fileden.com/files/2008/6/23/1972328/Mods/PHP-FUSION(V6.01.19).rar' class='white'>PHP-Fusion</a></span><br><span>&nbsp;&nbsp;&nbsp;<span><img src='".THEME."images/xz.gif' alt=''> WAP: <a href='http://one.our.lt/wap' class='white'>WML Versija</a></span><br>&nbsp;&nbsp;&nbsp;<span><img src='".THEME."images/xz.gif' alt=''> Dizainas:<a href='http://one.our.lt' class='white'> One.our.lt</a></span>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &copy By Irmantas Pilypas 2009-2010 Visos teis&#279s saugomos ONE.OUR.LT - Portale.
</span>

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

}

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

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td height='28' 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," &middot;").newsopts($info,"&middot;").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";
echo "<a href='".INFUSIONS."report_errors_panel/report_error.php?er_type=N&er_tid=".$info['news_id']."'><b><span style='color:red'>Klaida? Prane&#353k!</span></b></a>";

}

function render_article($subject, $article, $info) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td height='28' 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," &middot;").articleopts($info,"&middot;").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td height='28' 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 background='".THEME."images/sbc.jpg' height='28' class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

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

}

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

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

}
?>