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

Parašė ire· 2011 Bal. 8 11:04:18
#4


<?php
 
if (!defined("IN_FUSION")) { die("Access Denied"); }
/*--------------------------------------------+
| <span style="border-bottom: 1px dotted black;">PHP</span>-Fusion v7 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: <a href='http://www.php-fusion.co.uk' target='_blank'><span style='color:005C5B'>http://www.php-fusion.co.uk</span></a> |
| email: <a href="mailto:nick@php-fusion.co.uk"><span style="color:005C5B">nick@php-fusion.co.uk</span></a> |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU Affero GPL v3. |
+--------------------------------------------*/
/*--------------------------------------------+
| Revision Theme for <span style="border-bottom: 1px dotted black;">PHP</span>-Fusion v7 |
|---------------------------------------------|
| author: UworldIRC - Riadi © 2006 |
| web: <a href='http://www.uworldirc.com/' target='_blank'><span style='color:005C5B'>http://www.uworldirc.com/</span></a> |
| email: <a href="mailto:riadi@gcinet.org"><span style="color:005C5B">riadi@gcinet.org</span></a> |
|---------------------------------------------|
| Converted to V7 by Harly Petersen |
| web: <a href='http://php-fusion.openworld.dk' target='_blank'><span style='color:005C5B'>http://php-fusion.openworld.dk</span></a> |
|---------------------------------------------|
| 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"
"<table border='0' cellpadding='0' cellspacing='0' id='header' width='100%'><tr>\n"
"<td class='logo' height='100' valign='middle' width='100%'>
<img src='paveiksliuko adresas' />
</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";
 
}
 
?>
 




Ten apie 41 eilutėje yra:
<img src='paveiksliuko adresas' />
paveiksliuko adresas - įrašyk paveiksliuko adresą , kurį nori matyti headeryje
Dar įdomu ar tą temą žiūri... nes laiko aš kode nematau...

Redagavo ire· 2011 Bal. 8 11:04:59