Parašė Ginciuss· 2009 Kov. 11 20:03:31
#23
Gal kas gali padėti įkišt į theme.php prisijungimą headeryje..
Atrodo jau įkišu, tačiau būna ne headeryje o po juo, ir tada ten jis užsideda ant panašiai puse headerio ir ant BG.
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk |
| email: nick@php-fusion.co.uk |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| Revision Theme for PHP-Fusion v6 |
|---------------------------------------------|
| author: UworldIRC - Riadi © 2006 |
| web: http://www.uworldirc.com/ |
| email: riadi@gcinet.org |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
define('IN_REVISION', true);
require_once(INCLUDES.'theme_functions_include.php');
require_once(THEME.'includes/navigationbar.class.php');
require_once(THEME.'theme_config.php');
function render_header() {
global $theme_width, $rtNavbar, $rtHeader, $settings, $locale, $userdata, $aidlink;
if ((isset($rtHeader['logo_url'])) && (!empty($rtHeader['logo_url'])))
$url = $rtHeader['logo_url'];
else
$url = false;
if ((isset($rtHeader['logo_url_title'])) && (!empty($rtHeader['logo_url_title'])))
$title = $rtHeader['logo_url_title'];
else
$title = false;
echo "<script language='javascript' src='".THEME."includes/revision.js' type='text/javascript'></script>\n"
."<table align='center' border='0' cellpadding='0' cellspacing='0' width='945'>\n"
."<tr><td class='pageLeft'></td><td width='100%' class='pageCenter' valign='top'>\n"
."<table border='0' cellpadding='0' cellspacing='0' id='header' width='100%'><tr>\n"
."<td class='logo' height='258' valign='top' width='945'>"
.($url ? "<a href='$url' onmousedown='return false;'".($title ? " title='".$title."'" : "").">" : "")
.($url ? "</a>" : "")
.((isset($rtHeader['slogan']) && !empty($rtHeader['slogan'])) ? "<br><span class='slogan'>".$rtHeader['slogan']."</span>" : "")."</td>\n";
if ((iMEMBER) && (isset($rtHeader['rightside_member'])) && (!empty($rtHeader['rightside_member']))) {
echo "<td class='rightside' nowrap='nowrap' valign='bottom'>".$rtHeader['rightside_member']."</td>\n";
} elseif ((!iMEMBER) && (isset($rtHeader['rightside_guest'])) && (!empty($rtHeader['rightside_guest']))) {
echo "<td class='rightside' nowrap='nowrap' valign='bottom'>".$rtHeader['rightside_guest']."</td>\n";
}
echo "</tr></table>\n";
$rtNavbar->generate();
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center'><a href='http://Dwad3Studija.nkk.lt/'><img src='".THEME."images/footer.gif' border='0'><br>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='647'>
<tr>
<td class='capmain' height='46' align='center' >$subject</td>
</tr>
<tr>
<td background='".THEME."images/vidurys1.gif' class='main-body'>$news</td>
</tr>
<tr>
<td height='38' background='".THEME."images/apacia1.gif' align='center' class='news-footer' align='right'>\n";
echo openform("N",$info['news_id']).newsopts($info,"·");
echo "</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain' height='24' align='left' >$subject</td>
</tr>
<tr>
<td background='".THEME."images/vidurys1.gif' class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td height='38' background='".THEME."images/apacia1.gif' align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='647'>
<tr>
<td class='capmain' height='24' align='left' >$title</td>
</tr>
<tr>
<td background='".THEME."images/vidurys1.gif' class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
<td height='1' background='".THEME."images/apacia.gif' </td>
</table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='279' class='border'>
<tr>
<td height='35' class='scapmain'>$title</td>
</tr>
<tr>
<td background='".THEME."images/vidurys.gif' class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
<td height='1' background='".THEME."images/apacia1.gif'</td>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
Va theme.php turinys..
Manau dar yra čia žmonių,kurie gali padėt, o ne vaikų flooderių :]