Witam.
Jestem zielony w tych sprawach, wiec jak ktoś by był tak uprzejmy i pomógł mi dodać oryginalną stopkę do mojego szablonu?
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "<span class='bullet'></span>");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $settings, $main_style, $locale, $userdata, $aidlink ;
//Header
echo" <div id='top'>";
echo" <div id='logiinbox'>";
include(INFUSIONS."user_info_panel/user_info_panel.php");
echo" </div>";
echo"</div>";
echo" <div id='main'>";
//Content
if (LEFT) { echo "<div id='left'>"; echo"".LEFT."</div>"; }
echo "<div id='center'>".U_CENTER.CONTENT.L_CENTER."</div>";
if (RIGHT) { echo "<div id='right'>".RIGHT."</div>"; }
//Footer
echo " <div id='bottom'><center>Copyright © 2010 <a href=\"http://[cenzura]\">[cenzura]</a></center></div>";
}
function render_news($subject, $news, $info) {
echo"<div class='news'>";
echo"<h1>".$subject."</h1>
<p>"; echo"".$news."";
echo"</p>
<div class='newsfooter'>
"; echo newsposter($info," ").newsopts($info,"").itemoptions("N",$info['news_id']); echo"
</div>
</div>";
}
function render_article($subject, $article, $info) {
echo"<div class='news'>";
echo"<h1>".$subject."</h1>
<p>"; echo"".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
echo"</p><div class='newsfooter'>
Dodal:"; echo articleposter($info," ").articleopts($info,"").itemoptions("A",$info['article_id']); echo"
</div>
</div>";
}
function opentable($title) {
echo"<div class='news'>";
echo"<h1>$title</h1>";
echo"<div class='newsfooter'>
</div>";
}
function closetable() {
echo"</div>";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo" <div class='box'>
<h2>$title</h2>";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "".panelbutton($state, $boxname)."";
}
if ($collapse == true) { echo panelstate($state, $boxname); }
echo"
";
}
function closeside() {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</div>";
}
?>
PW od moderatora:
- Przeniesienie tematu - Pieka 28.08.2011 21:14
Edytowane przez Pieka dnia 28.08.2011 21:19:14
|