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

Parašė arnas120· 2010 Bir. 3 22:06:37
#3

<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }

$font_mode = TRUE;
define("THEME_WIDTH", "934px");
define("THEME_BULLET", "<img src='".THEME."images/bullet.png' alt='' style='border:0' />");

require_once INCLUDES."theme_functions_include.php";
require_once THEME."core.php";

function render_page($license=false) {

if(TRUE & FALSE){ echo "neki";}

global $settings, $userdata, $main_style, $font_mode, $aidlink;
//main frame
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center'><tr><td>";
//header
echo "<table align='center' id='Table_01' width='934' height='298' border='0' cellpadding='0' cellspacing='0' align='center' >
<tr>
<td colspan='10'>
<img src='".THEME."images/header_01.png' width='934' height='14' alt=''></td>
</tr>
<tr>
<td colspan='3'>
<img src='".THEME."images/header_02.png' width='404' height='183' alt=''></td>
<td colspan='3' background='".THEME."images/header_03.png' width='219' height='183' alt=''><div align='center'>TOP muzika</div></td>
";
echo "<td colspan='3' background='".THEME."images/header_04.png' width='218' height='183'><div align='center'>Naujausia muzika</div></td>
";
echo "<td>
<img src='".THEME."images/header_05.png' width='93' height='183' alt=''></td>
</tr>
<tr>
<td colspan='10'>
<img src='".THEME."images/header_06.png' width='934' height='32' alt=''></td>
</tr>
<tr>
<td>
<a href='".BASEDIR."index.php'><img src='".THEME."images/header_07.png' width='158' height='68' border='0' alt=''></a></td>
<td>
<a href='".BASEDIR."index.php'><img src='".THEME."images/header_08.png' width='142' height='68' border='0' alt=''></a></td>
<td colspan='2'>
<a href='".BASEDIR."index.php'><img src='".THEME."images/header_09.png' width='118' height='68' border='0' alt=''></a></td>
<td>
<a href='".BASEDIR."index.php'><img src='".THEME."images/header_10.png' width='98' height='68' border='0' alt=''></a></td>
<td>
<a href='".BASEDIR."index.php'><img src='".THEME."images/header_11.png' width='107' height='68' border='0' alt=''></a></td>
<td>
<a href='".BASEDIR."index.php'><img src='".THEME."images/header_12.png' width='111' height='68' border='0' alt=''></a></td>
<td>
<a href='".BASEDIR."index.php'><img src='".THEME."images/header_13.png' width='76' height='68' border='0' alt=''></a></td>
<td colspan='2'>
<a href='".BASEDIR."index.php'><img src='".THEME."images/header_14.png' width='124' height='68' border='0' alt=''></a></td>
</tr>
<tr>
<td>
<img src='spacer.gif' width='158' height='1' alt=''></td>
<td>
<img src='spacer.gif' width='142' height='1' alt=''></td>
<td>
<img src='spacer.gif' width='104' height='1' alt=''></td>
<td>
<img src='spacer.gif' width='14' height='1' alt=''></td>
<td>
<img src='spacer.gif' width='98' height='1' alt=''></td>
<td>
<img src='spacer.gif' width='107' height='1' alt=''></td>
<td>
<img src='spacer.gif' width='111' height='1' alt=''></td>
<td>
<img src='spacer.gif' width='76' height='1' alt=''></td>
<td>
<img src='spacer.gif' width='31' height='1' alt=''></td>
<td>
<img src='spacer.gif' width='93' height='1' alt=''></td>
</tr>
</table><br>";
//Content
echo "<table cellpadding='0' cellspacing='0' width='100%' class='$main_style'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
echo "
</table>";

echo newline(10);
//footer
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='foot_l'></td>
<td class='foot_copyright' align='center'>Kodavimas: <a href='http://pramogos.gardusmaistas.lt/phpfusion/'>Mindaugas</a><br>".showcopyright()."<br>".showcounter()."</td>
<td class='foot_r'></td>
</tr>
</table>";
//main frame
echo "</td>\n</tr>\n</table>\n";

}

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

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='news'>".$subject."</td>\n";
echo "<td class='newsr' align='right'>".avtornovice($info)."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body' colspan='2'>".$news."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer' colspan='2'>\n";
echo opcijenovice($info).dodatno("N",$info['news_id']);
echo "</td>\n</tr>\n</table>\n";

}

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

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='news'>".$subject."</td>\n";
echo "<td class='newsr'></td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer' colspan='2'>\n";
echo articleposter($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
echo "</td>\n</tr>\n</table>\n";

}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'>".$title."</td>\n";
echo "<td class='capmainr'></td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body' colspan='2'>\n";

}

function closetable() {

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

}

function openside($title, $collapse = false, $state = "on") {

global $panel_collapse; $panel_collapse = $collapse;

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='scapmain'>".$title."</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='scapmainr' align='right'>".panelbutton($state,$boxname)."</td>\n";
}else { echo "<td class='scapmainr' align='right'></td>\n"; }
echo "</tr>\n<tr>\n";
echo "<td colspan='2' class='side-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }

}

function closeside($collapse = false) {

global $panel_collapse;

if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>\n</tr>\n</table>\n";

}
?>

Redagavo arnas120· 2010 Bir. 3 22:06:53