Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: reikia pagalbos su header

Parašė gh00st· 2009 Rugp. 12 16:08:23
#1

sveiki noreciau ykelt 468x60 reklama sioja vietoja bet nemoku gal galiet padeti? stai reklamos kodas
<script language=javascript src="http://www.468x60.lt/serve.php?11215,1,1"></script><br><a target=_blank href="http://www.468x60.lt/refer.php?14317">468x60.lt</a>




image kodas:





ir theme.php kodas
<?php
if (!defined('e107_INIT')) { exit; }

include_lan(e_THEME."R/languages/Lithuanian.php");

$themename = "liuxx_tema 0.1 V";
$themeversion = "01";
$themeauthor = "Liuxx [Lukas]";
$themeemail = "lukas265@gmail.com";
$themewebsite = "www.rsmzone.net";
$themedate = "27/06/2008";
$themeinfo = "";
$xhtmlcompliant = TRUE;
$csscompliant = TRUE;
$pref['no_rightclick'] = TRUE;
define("IMODE", "lite");
define("THEME_DISCLAIMER", "<br /><i>".LAN_THEME_6."</i>");


$layout = "_default";
$logo = THEME_ABS."images/bullet1.png";

if (isset($_COOKIE['unikalus'])) {
     $bg_q = mysql_query("SELECT * FROM e107_big_advert");
     $cnt = mysql_num_rows($bg_q);     
     
     if (!isset($_COOKIE["big_advert"])) {
        $start = 0;
     } else if ($_COOKIE["big_advert"] >= $cnt) {
        $start = 0;
     } else {
        $start = $_COOKIE["big_advert"];
     }
     $bg_q = mysql_query("SELECT * FROM e107_big_advert LIMIT " . $start . ", 1");
     $bg_t = mysql_fetch_array($bg_q);
     $start = $start + 1;
     setcookie("big_advert", ($start), time() + 36000, "/");
} else {
     $bg_q = mysql_query("SELECT * FROM e107_big_advert WHERE fb_title = 'top_yes'");
     $bg_t = mysql_fetch_array($bg_q);
     setcookie("unikalus", "taip", time() + 36000, "/");
}

$HEADER .=
"<table width='100%' border='0' cellpadding='0' cellspacing='0'>
  <tr>
    <td width='99%' style='background: url(".THEME_ABS."images/hbg.jpg) repeat-x'>
   
        <table width='100%' border='0' cellpadding='0' cellspacing='0'>
        <tr><td valign='middle' style='height: 165px; background: url(".THEME_ABS."images/head1.jpg) repeat-y'>
       <table align='right' border='0' width='100%' style='float: right;'><tr><td width='100%'></td><td>".$bg_t['fb_text']."</td></tr></table></td></tr></table>   
       
    </td></td>
  </tr>
  {BANNER}
</table>
<table style='width:100%;' cellspacing='3'>
<tr>
<td style='width:10%;'></td>
<td style='width:70%;'><img src='".THEME_ABS."http://rsmzone.net/banner-rsmz.gif' width='1' height='1' alt='' /></td>
<td style='width:20%;'></td>
</tr>
<tr>
<td style='width:10%; vertical-align: top;'>
{SITELINKS=menu}
{MENU=1}
</td><td style='width:70%; vertical-align: top;'>";

$FOOTER =
"</td><td style='width:20%; vertical-align:top'>
{MENU=2}
</td></tr>
<tr>
<td colspan='3' style='text-align:center' class='smalltext'>
".$bg_t['fb_text']."<br/>
RSMzone.net 2008-2009 - Visos teisės saugomos
</td>
</tr>
</table>
<div style='text-align:center'>
<table style='width:100%'>
<tr>
<td style='width:30%; vertical-align:top'>
&nbsp;
{MENU=3}
</td>
<td style='width:40%; vertical-align:top'>
{MENU=4}
</td>
<td style='width:30%; vertical-align:top'>
&nbsp;
{MENU=5}
</td>
</tr>
</table>
</div>";



function rand_tag(){
        $tags = file(e_BASE."files/taglines.txt");
        return stripslashes(htmlspecialchars($tags[rand(0, count($tags))]));
}

//        [newsstyle]

$NEWSSTYLE = "
<div class='spacer'>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='captiontopmiddle'></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='captionleft'><img src='".THEME_ABS."images/blank.gif' width='89' height='26' alt='' style='display: block;' /></td>
<td class='captionbar' style='white-space:nowrap; text-align:center'>
{STICKY_ICON}{NEWSTITLE}
</td>
<td class='captionmain'><img src='".THEME_ABS."images/blank.gif' width='13' height='26' alt='' style='display: block;' /></td>
<td class='captionright'><img src='".THEME_ABS."images/blank.gif' width='89' height='26' alt='' style='display: block;' /></td>
</tr>
</td>
</table>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='virsusl'><img src='".THEME_ABS."images/blank.gif' width='54' height='62' alt='' style='display: block;' /></td>
<td class='virsuse'><img src='".THEME_ABS."images/blank.gif' width='5' height='22' alt='' style='display: block;' /></td>
<td class='virsus2'><img src='".THEME_ABS."images/blank.gif' width='54' height='62' alt='' style='display: block;' /></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='bodyleft'><img src='".THEME_ABS."images/blank.gif' width='27' height='1' alt='' style='display: block;' /></td>
<td class='bodymain'>
{NEWSBODY}
{EXTENDED}
<div class='alttd' style='text-align:right'>
".LAN_THEME_4." {NEWSAUTHOR} ".LAN_THEME_5." {NEWSDATE}
 |
{NEWSCOMMENTS}
 |
</div>
</td>
<td class='bodyright'><img src='".THEME_ABS."images/blank.gif' width='27' height='1' alt='' style='display: block;' /></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='bottomleft'><img src='".THEME_ABS."images/blank.gif' width='54' height='62' alt='' style='display: block;' /></td>
<td class='bottommain'><img src='".THEME_ABS."images/blank.gif' width='5' height='22' alt='' style='display: block;' /></td>
<td class='bottomright'><img src='".THEME_ABS."images/blank.gif' width='54' height='62' alt='' style='display: block;' /></td>
</tr>
</table>
</div>";



define("ICONSTYLE", "float: left; border:0");
define("COMMENTLINK", LAN_THEME_1);
define("COMMENTOFFSTRING", LAN_THEME_2);
define("PRE_EXTENDEDSTRING", "<br /><br />[ ");
define("EXTENDEDSTRING", LAN_THEME_3);
define("POST_EXTENDEDSTRING", " ]<br />");



// [linkstyle]

define(PRELINK, "");
define(POSTLINK, "");
define(LINKSTART, "<span><img src='".THEME_ABS."images/bullet2.gif' alt='bullet' /> ");
define(LINKSTART_HILITE, "<span style='font-weight:bold'><img src='".THEME_ABS."images/bullet3.png' alt='bullet' /> ");
define(LINKEND, "</span><br />");
define(LINKDISPLAY, 2);
define(LINKALIGN, "left");


//        [tablestyle]

function tablestyle($caption, $text){
        global $style;


        echo "
<div class='spacer'>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='captiontopleft'><img src='".THEME_ABS."images/blank.gif' width='' height='' alt='' style='display: block;' /></td>
<td class='captiontopmiddle'><img src='".THEME_ABS."images/blank.gif' width='' height='' alt='' style='display: block;' /></td>
<td class='captiontopright'><img src='".THEME_ABS."images/blank.gif' width='' height='' alt='' style='display: block;' /></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='captionleft_sm1'><img src='".THEME_ABS."images/blank.gif' width='48' height='26' alt='' style='display: block;' /></td>
<td class='captionbar' style='white-space:nowrap'>".$caption."</td>
<td class='captionmain'><img src='".THEME_ABS."images/blank.gif' width='1' height='26' alt='' style='display: block;' /></td>
<td class='captionright_sm1'><img src='".THEME_ABS."images/blank.gif' width='48' height='26' alt='' style='display: block;' /></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='captionleft_sm'><img src='".THEME_ABS."images/blank.gif' width='14' height='14' alt='' style='display: block;' /></td>
<td class='captionmain_sm'><img src='".THEME_ABS."images/blank.gif' width='1' height='14' alt='' style='display: block;' /></td>
<td class='captionright_sm'><img src='".THEME_ABS."images/blank.gif' width='14' height='14' alt='' style='display: block;' /></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='bodyleft_sm'><img src='".THEME_ABS."images/blank.gif' width='14' height='1' alt='' style='display: block;' /></td>
<td class='bodymain'>".$text."</td>
<td class='bodyright_sm'><img src='".THEME_ABS."images/blank.gif' width='14' height='1' alt='' style='display: block;' /></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='bottomleft_sm'><img src='".THEME_ABS."images/blank.gif' width='14' height='14' alt='' style='display: block;' /></td>
<td class='bottommain_sm'><img src='".THEME_ABS."images/blank.gif' width='1' height='14' alt='' style='display: block;' /></td>
<td class='bottomright_sm'><img src='".THEME_ABS."images/blank.gif' width='14' height='14' alt='' style='display: block;' /></td>
</tr>
</table>
</div>
";

}
$COMMENTSTYLE = "
<div style='text-align:right'>
<table style='width:100%'>
<tr>
<td colspan='2' class='alttd'>
{SUBJECT}
<b>
{USERNAME}
</b>
 |
 {TIMEDATE}
</td>
</tr>
<tr>
<td style='width:30%; vertical-align:right'>
<div class='spacer'>
{AVATAR}
</div>
<span class='smalltext'>
{LEVEL}
{COMMENTS}
<br />
{JOINED}
<br />
{REPLY}
</span>
</td>
<td style='width:70%; vertical-align:right'>
{COMMENT} {COMMENTEDIT}
</td>
</tr>
</table>
</div>
<br />";
?>



Redagavo Karolis· 2009 Rugp. 12 20:08:54