Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Headeryje beda

Parašė Kiwii· 2011 Bal. 8 11:04:46
#3

7-00-07 versija, o kodas stai cia:

<?php

if (!defined("IN_FUSION")) { die("Access Denied"); }
/*--------------------------------------------+
| PHP-Fusion v7 - 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 Affero GPL v3. |
+--------------------------------------------*/
/*--------------------------------------------+
| Revision Theme for PHP-Fusion v7 |
|---------------------------------------------|
| author: UworldIRC - Riadi © 2006 |
| web: http://www.uworldirc.com/ |
| email: riadi@gcinet.org |
|---------------------------------------------|
| Converted to V7 by Harly Petersen |
| web: http://php-fusion.openworld.dk |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
define('IN_REVISION', true);
define("THEME_BULLET", "<img class='bullet' src='".THEME."images/bullet.gif' alt='->' border='0' />");
require_once INCLUDES."theme_functions_include.php";
require_once THEME."includes/navigationbar.class.php";
require_once THEME."theme_config.php";

function render_page($license=false) {

global $locale, $theme_width, $rtNavbar, $rtHeader, $userdata, $settings, $main_style;

echo "<table align='center' border='0' cellpadding='0' cellspacing='0' width='920' id='main'>\n"
."<tr><td class='pageLeft'></td><td width='100%' class='pageCenter' valign='top'>\n"
."<div id='clock'><noscript><div id='noscript'></div></noscript>".showsubdate()."</div>\n"
."<table border='0' cellpadding='0' cellspacing='0' id='header' width='100%'><tr>\n"
."<td class='logo' height='100' valign='middle' width='100%'>".showbanners()."</td>\n";


echo "</tr></table>\n";
$rtNavbar->generate();

echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>\n";
global $settings;
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></table>\n";

// copyrighted line must stay intact and visible.
echo "<table cellpadding='0' cellspacing='0' id='footer' width='100%'><tr><td align='left' nowrap='nowrap' valign='top' style='text-align:left;'>Theme name: <strong>Revision</strong><br/>Designed by: <a href='http://www.uworldirc.com/' target='_blank'>Riadi</a><br/>Converted to V7 by: <a href='http://php-fusion.openworld.dk/' target='_blank'>Harly</a></td><td align='center' width='60%' style='padding-left:10px;padding-right:10px;'>".$settings['footer']."<br/>".showcopyright()."</td><td align='right' valign='top'>".showcounter()."</td></tr></table>\n";
echo "</td><td class='pageRight'></td></tr></table>\n";

}

function render_news($subject, $news, $info) {
global $locale;
opentable($subject);
echo $locale['global_070'].newsposter($info)."\n"
."<br/>\n<hr/>\n<br/>\n".$news."<br/><br/>\n<hr/>\n"
.newsopts($info,"&middot;").itemoptions("N",$info['news_id'])."\n";
closetable();
}

function render_article($subject, $article, $info) {
global $locale;
opentable($subject);
echo "".articleposter($info)."\n"
."<br/>\n<hr/>\n<br/>\n".$article."<br/><br/>\n<hr/>\n"
.articleopts($info," &middot;").itemoptions("A",$info['article_id'])."\n";
closetable();
}


function opentable($title) {
echo "<table border='0' cellpadding='0' cellspacing='0' class='centerTitle' width='100%'><tr><td class='centerTitleOverlay' height='40' width='100%' valign='top'>".$title."</td></tr></table>\n";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td class='centerContent' width='100%'>\n";

}

function closetable() {
echo "</td></tr></table>\n";

}


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

global $panel_collapse; $panel_collapse = $collapse;

echo "<table border='0' cellpadding='0' cellspacing='0' class='sideTitle' width='100%'><tr>";
echo "<td class='sideTitleOverlay' height='40' width='100%' valign='top'>".$title."\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='sideTitleMinMax' align='right'>".panelbutton($state,$boxname)."</td>\n";
}
echo "</td></tr>\n<tr>\n";
echo "<td".($collapse == true ? " colspan='2'" : "")." class='sideContent'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }

}

function closeside($collapse = false) {

global $panel_collapse;

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

}

?>



Bet nemanau kad tas kodas prie ko cia, nes uzdejus kita orginalia tema kuri yra jau fusione irgi tos raides uzsideda

Redagavo Kiwii· 2011 Bal. 8 11:04:25