Parašė manijakas· 2009 Kov. 23 12:03:12
Melo parašė:
<.?php if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; } require_once INCLUDES."theme_functions_include.php"; / nustatymai $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; /* tai pats viršus jusu saito */ echo "
"; Cia randasi jusu baneris echo "
$header_content
n"; echo "n
".showsublinks("·", "white")." ".showsubdate()."
n"; echo "nn"; } function render_footer($license=false) { global $theme_width,$settings; echo "n
n "; if(!$license){ /* Cia php-fusion teises */ echo ""; } /* cia jusu theme pavadinimas, bei skaitliukas */ echo "
"; echo stripslashes($settings['footer'])."
n Powered by PHP-Fusion v".$settings['version']." ".showcounter()."
n"; } Naujienos cia naujienu turinys ir pacios naujienos... function render_news($subject, $news, $info) { echo "
$subject
$news
n"; echo openform("N",$info['news_id']).newsposter($info,"
").newsopts($info,"·").closeform("N",$info['news_id']); echo "
n"; } function render_article($subject, $article, $info) { echo "
$subject
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
n"; echo openform("A",$info['article_id']).articleposter($info,"
").articleopts($info,"·").closeform("A",$info['article_id']); echo "
n"; } function opentable($title) { echo "
$title
n"; } function closetable() { echo "
n"; } function openside($title) { echo "
$title
n"; } function closeside() { echo "
n"; tablebreak(); } function opensidex($title,$state="on") { $boxname = str_replace(" ", "", $title); echo "
$title ".panelbutton($state,$boxname)."
n"; } function closesidex() { echo "
n"; tablebreak(); } function tablebreak() { echo "nnnn
n"; } ?.>
va tavo tema ;]