Ekspert
Postów: 2451 Pomógł: 164
v7.02.07 Data rejestracji: 21.07.2009 12:55
|
Siemanko :)
Nie potrafię dodać w stopce w/w skórki czasu ładowania strony.
Albo mi stopka się dubluje (jedna pod drugą), albo mi pokazuje dodany kod.
Jest jakoś "inaczej" pisany plik jak dla mnie.
Jakby ktoś mógł mi doradzić, to będę... się cieszył :D
Kod pliku theme.php:
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright © 2002 - 2011 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Name: Redux Theme
| Filename: theme.php
| Author: Fangree Productions
| Developer: Mangee
| Site: http://www.fangree.co.uk
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at http://www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "");
set_image("folder", THEME."forum/folder.png");
set_image("foldernew", THEME."forum/foldernew.png");
set_image("folderlock", THEME."forum/folderlock.png");
set_image("stickythread", THEME."forum/stickythread.png");
set_image("newthread", THEME."forum/newthread.png");
set_image("reply", THEME."forum/reply.png");
set_image("forum_edit", THEME."forum/edit.png");
set_image("quote", THEME."forum/quote.png");
set_image("pm", THEME."forum/pm.png");
set_image("web", THEME."forum/web.png");
require_once INCLUDES."theme_functions_include.php";
if(function_exists('add_to_head')){
add_to_head("<script type='text/javascript' src='".THEME."UICore.js'></script>");
add_to_head("<script type='text/javascript' src='".THEME."UIWidget.js'></script>");
add_to_head("<script type='text/javascript' src='".THEME."UITabs.js'></script>");
add_to_head("<script type='text/javascript' src='".THEME."script.js'></script>");
}
function render_page($license=false) {
global $locale, $main_style, $settings, $userdata, $aidlink, $tabs, $ddmenu, $footmenu, $foottype;
$tabs = 0 ; // tabs on 1 -- tabs off 0
$ddmenu = 1 ; // ddmenu on 1 -- ddmenu off 0
$footmenu = 0 ; // footmenu on 1 -- footmenu off 0
$foottype = 1 ; // foottype multi column 1 -- standard menu 0
echo "<div id='fpage'><div id='opage'>\n";
if ($ddmenu == 1){echo "
<div id='logo' class='csize'>
<a href='".$settings['siteurl']."'><img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' style='position:absolute;top:40px;right:50px;border:0' /></a>
<div id='navbardd'>
<div id='navi'>
<ul class='navi'>
<li><a href='".BASEDIR."news.php'><span>Home</span></a></li>
<li><a href='#' class='parent'><span>Main Menu<span class='indicator'>»</span></span></a>
<div>".showsublinks(" ")."</div>
</li>
<li><a href='#' class='parent'><span>Custom Title<span class='indicator'>»</span></span></a>
<div><ul>
<li><a href='#'><span>Sub Item</span></a></li>
<li><a href='".BASEDIR."search.php'><span>Search</span></a></li>
</ul></div>
</li>
<li><a href='#' class='parent'><span>Custom Title<span class='indicator'>»</span></span></a>
<div><ul>
<li><a href='#' class='parent'><span>Flyout Title</span></a>
<div><ul>
<li><a href='#'><span>Sub Item</span></a></li>
<li><a href='#'><span>Sub Item</span></a></li>
</ul></div>
</li>
<li><a href='#'><span>Sub Item</span></a></li>
<li><a href='".BASEDIR."search.php'><span>Search</span></a></li>
</ul></div>
</li></ul>
</div></div></div>
<div class='info'>
<div class='info-top'> </div>
<div class='info-out'>
<div class='info-in csize'>
<div class='infoslice floatL'><div class='slicesearch'><h4>".$settings['sitename']."".$locale['global_202']."</h4>
<form id='searchbox' action='".BASEDIR."search.php'><input id='search' type='text' name='stext' value='' /><input id='submit' class='buttona' type='submit' value='Search' /></form>
</div></div>
<div class='infoslice floatR'>
\n";
if (!iMEMBER) {echo "<h4>".$locale['global_104']." | ".$locale['global_107']."</h4>
<div style='font-size:12px;color:#fff;text-weight:bold'>
<form name='loginhome' method='post' action='".$action_url."'>
".$locale['global_101']." <input type='text' name='user_name' class='textbox' style='width:100px' />
".$locale['global_102']." <input type='password' name='user_pass' class='textbox' style='width:100px' />
<input type='submit' name='login' value='".$locale['global_104']."' class='buttona' /></form><br />
".($settings['enable_registration'] ? "<a href='".BASEDIR."register.php'>Register </a> | \n" : "");
echo "<a href='".BASEDIR."lostpassword.php'> Lost password</a><label style='padding-left:100px'><input type='checkbox' name='remember_me' value='y' /> ".$locale['global_103']." </label><br /></div>\n";
}else{
echo "<h4>".$locale['global_035']." <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'>".$userdata['user_name']."</a></h4><div id='log-reg'>";
$msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0' AND message_folder='0'");
if ($msg_count !=0) { echo "<a href='".BASEDIR."messages.php' title='".sprintf($locale['global_125'], $msg_count).($msg_count == 1 ? $locale['global_126'] : $locale['global_127'])."' class='buttona'>".$locale['global_127']."</a>\n"; }
else{
echo "<a href='".BASEDIR."messages.php' title='You have 0 new messages' class='buttona'>".$locale['global_127']."</a>";}
echo "<a href='".BASEDIR."edit_profile.php' title='Edit Profile' class='buttona'>".$locale['global_120']."</a>\n";
echo "<a href='".BASEDIR."setuser.php?logout=yes' title='Logout' class='buttona'>".$locale['global_124']."</a>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) { echo "<a href='".ADMIN."index.php".$aidlink."' title='Admin' class='buttona'>".$locale['global_123']."</a>\n";}
echo "</div>";
}
echo "
</div><div class='cfix'></div>
</div></div><div class='info-bot'> </div></div>\n";}
else {echo "<div id='logo' class='csize'>
<a href='".$settings['siteurl']."'><img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' style='position:absolute;top:40px;left:0;border:0' /></a></div>
<div id='info'>
<div class='info-top'> </div>
<div class='info-in'>
<div id='navbar'>
<div class='navis csize'>".showsublinks(" ")."\n";
if (iMEMBER){
echo "<ul class='floatR'><li><a href='".BASEDIR."setuser.php?logout=yes'><span>".$locale['global_124']."</span></a></li></ul><div id='navR'><span>".$locale['global_035']." ".$userdata['user_name']."</span></div>\n";
}else{
echo "<ul class='floatL'><li><a href='".BASEDIR."login.php'><span>".$locale['global_104']."</span></a></li>
".($settings['enable_registration'] ? "<li><a href='".BASEDIR."register.php'><span>".$locale['global_107']."</span></a></li>\n" : "");
echo "</ul>\n";
}
echo "</div></div>
</div></div><div class='info-bot'> </div>\n";}
echo "<div id='cts' class='$main_style'><div class='csize clearfix'>
".(LEFT ? "<div id='side-border-left'>".LEFT."</div>" : "")."
".(RIGHT ? "<div id='side-border-right'>".RIGHT."</div>" : "")."
<div id='main-bg'>\n";
if ($tabs == 1){
if(FUSION_SELF == 'news.php') {echo "
<div><div class='tt'><h4>About The Site</h4></div>
<div class='tabs'>
<div class='tab_wrap'>
<ul class='nav'>
<li class='first'><a title='Tab One' href='#tab-1'>Tab Title</a></li>
<li class=''><a title='Tab Two' href='#tab-2'>Tab Title</a></li>
<li class=''><a title='Tab Three' href='#tab-3'>Tab Title</a></li>
</ul>
<div class='tab' id='tab-1'><div class='padder'><a href='".BASEDIR."downloads.php'>First tab</a>. Nulla vitae elit libero, a pharetra augue. Nullam id dolor id nibh ultricies vehicula ut id elit. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. </div></div>
<div class='tab' id='tab-2'><div class='padder'><img src='".THEME."forum/folder.png' alt='' />Second tab. Nulla vitae elit libero, a pharetra augue. Nullam id dolor id nibh ultricies vehicula ut id elit. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. </div></div>
<div class='tab' id='tab-3'><div class='padder'>Third tab. Nulla vitae elit libero, a pharetra augue. Nullam id dolor id nibh ultricies vehicula ut id elit. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Nulla vitae elit libero, a pharetra augue. Nullam id dolor id nibh ultricies vehicula ut id elit. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. </div></div>
</div></div></div>\n";}
}else{}
echo "<div id='container'>".U_CENTER.CONTENT.L_CENTER."
</div></div></div></div>
<div id='foot'><div class='foot-top'> </div>
<div id='fout' class='csize'>\n";
if ($footmenu == 1){
if ($foottype == 1){
echo "
<div id='submenu'>
<div class='menuslice'><h3>Your Title</h3>
<ul>
<li><a href='#' target='_blank'><span>Your Link</span></a></li>
<li><a href='#' target='_blank'><span>Your Link</span></a></li>
<li><a href='#' target='_blank'><span>Your Link</span></a></li>
<li><a href='#' target='_blank'><span>Your Link</span></a></li>
</ul>
</div>
<div class='menuslice'><h3>Your Title</h3>
<ul>
<li><a href='".BASEDIR."downloads.php'><span>Downloads</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
</ul>
</div>
<div class='menuslice'><h3>Your Title</h3>
<ul>
<li><a href='".BASEDIR."forum/index.php'><span>Forum</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
</ul>
</div>
<div class='menuslice'><h3>Your Title</h3>
<ul>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
</ul>
</div>
<div class='menuslice'><h3>Your Title</h3>
<ul>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
</ul>
</div><div class='menuslice'><h3>Your Title</h3>\n";
if (iMEMBER){echo "
<ul>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
</ul>
\n";} echo "</div><div class='cfix'></div>
</div>\n";}else
{echo "
<div id='footnav' class='navis'>".showsublinks(" ")."</div><div class='cfix'></div>
\n";}
}echo "
<div class='copy'>".(!$license ? "<div class='floatL' style='padding-top:4px'>".showcopyright()."</div><div class='floatR' style='padding-top:4px'>".stripslashes($settings['footer'])."</div>" : "")."</div>
<div class='copy'><div class='floatL' >A Theme Released by <a href='http://www.fangree.co.uk/'>Fangree Productions</a> Designed by <a href='http://www.fangree.co.uk/'>Mangee</a><br />Based on work by <a href='http://www.premiumpixels.com/'>premiumpixels</a></div><div class='floatR'>".showcounter()."</div></div>
</div></div></div></div>\n";
}
function render_news($subject, $news, $info) {
global $locale;
opentable($subject);
echo "<div class='floatfix'>".$info['cat_image'].$news."</div>
<div class='news-footer'>
".newsposter($info," ·").newsopts($info,"·").itemoptions("N",$info['news_id'])."
</div>\n";
closetable();
}
function render_article($subject, $article, $info) {
global $locale;
opentable($subject);
echo "<div class='floatfix'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div>
<div class='news-footer'>
".articleposter($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id'])."
</div>\n";
closetable();
}
function render_comments($c_data, $c_info){
global $locale;
opentable($locale['c100']);
if (!empty($c_data)){
echo "<div class='comments floatfix'>\n";
$c_makepagenav = '';
if ($c_info['c_makepagenav'] !== false) {
echo $c_makepagenav = "<div style='text-align:center;margin-bottom:5px;'>".$c_info['c_makepagenav']."</div>\n";
}
foreach($c_data as $data) {
echo "<div class='tbl2'>\n";
if ($data['edit_dell'] !== false) {
echo "<div style='float:right' class='comment_actions'>".$data['edit_dell']."\n</div>\n";
}
echo "<a href='".FUSION_REQUEST."#c".$data['comment_id']."' id='c".$data['comment_id']."' name='c".$data['comment_id']."'>#".$data['i']."</a> |
<span class='comment-name'>".$data['comment_name']."</span>
<span class='small'>".$data['comment_datestamp']."</span>
</div>\n<div class='tbl1 comment_message'>".$data['comment_message']."</div>\n";
}
echo $c_makepagenav;
if ($c_info['admin_link'] !== false) {
echo "<div style='float:right' class='comment_admin'>".$c_info['admin_link']."</div>\n";
}
echo "</div>\n";} else {echo $locale['c101']."\n";}
closetable();
}
function opentable($title) {
echo "<div class='tt'>".$title."</div><div class='panel'>
<div class='tbody'>\n";
}
function closetable() {
echo "</div></div>\n";
}
$panel_collapse = true;
function openside($title, $collapse = false, $state = "on") {
static $box_id = 0; $box_id++;
global $panel_collapse; $panel_collapse = $collapse;
echo "<div class='st'>".($collapse ? panelbutton($state,$box_id) : "")."$title</div><div class='panel'>
<div class='tbody'>".($collapse ? panelstate($state, $box_id) : "");
}
function closeside() {
global $panel_collapse;
echo ($panel_collapse ? "</div>" : "")."</div></div>\n";
}
?>
Nie szukaj Szczęścia, lecz dawaj Je innym, a wtedy samo do Ciebie przyjdzie.
Nie ma mnie na GG.
|
Bywalec
Postów: 639 Pomógł: 21
v7.02.04 Data rejestracji: 05.02.2008 21:16
|
W 244 linijce masz zmianę :).
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright 2002 - 2011 Nick Jones
| http://www.php-fu...
+--------------------------------------------------------+
| Name: Redux Theme
| Filename: theme.php
| Author: Fangree Productions
| Developer: Mangee
| Site: http://www.fangre...
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at http://www.gnu.or...agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "");
set_image("folder", THEME."forum/folder.png");
set_image("foldernew", THEME."forum/foldernew.png");
set_image("folderlock", THEME."forum/folderlock.png");
set_image("stickythread", THEME."forum/stickythread.png");
set_image("newthread", THEME."forum/newthread.png");
set_image("reply", THEME."forum/reply.png");
set_image("forum_edit", THEME."forum/edit.png");
set_image("quote", THEME."forum/quote.png");
set_image("pm", THEME."forum/pm.png");
set_image("web", THEME."forum/web.png");
require_once INCLUDES."theme_functions_include.php";
if(function_exists('add_to_head')){
add_to_head("<script type='text/javascript' src='".THEME."UICore.js'></script>");
add_to_head("<script type='text/javascript' src='".THEME."UIWidget.js'></script>");
add_to_head("<script type='text/javascript' src='".THEME."UITabs.js'></script>");
add_to_head("<script type='text/javascript' src='".THEME."script.js'></script>");
}
function render_page($license=false) {
global $locale, $main_style, $settings, $userdata, $aidlink, $tabs, $ddmenu, $footmenu, $foottype;
$tabs = 0 ; // tabs on 1 -- tabs off 0
$ddmenu = 1 ; // ddmenu on 1 -- ddmenu off 0
$footmenu = 0 ; // footmenu on 1 -- footmenu off 0
$foottype = 1 ; // foottype multi column 1 -- standard menu 0
echo "<div id='fpage'><div id='opage'>\n";
if ($ddmenu == 1){echo "
<div id='logo' class='csize'>
<a href='".$settings['siteurl']."'><img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' style='position:absolute;top:40px;right:50px;border:0' /></a>
<div id='navbardd'>
<div id='navi'>
<ul class='navi'>
<li><a href='".BASEDIR."news.php'><span>Home</span></a></li>
<li><a href='#' class='parent'><span>Main Menu<span class='indicator'>»</span></span></a>
<div>".showsublinks(" ")."</div>
</li>
<li><a href='#' class='parent'><span>Custom Title<span class='indicator'>»</span></span></a>
<div><ul>
<li><a href='#'><span>Sub Item</span></a></li>
<li><a href='".BASEDIR."search.php'><span>Search</span></a></li>
</ul></div>
</li>
<li><a href='#' class='parent'><span>Custom Title<span class='indicator'>»</span></span></a>
<div><ul>
<li><a href='#' class='parent'><span>Flyout Title</span></a>
<div><ul>
<li><a href='#'><span>Sub Item</span></a></li>
<li><a href='#'><span>Sub Item</span></a></li>
</ul></div>
</li>
<li><a href='#'><span>Sub Item</span></a></li>
<li><a href='".BASEDIR."search.php'><span>Search</span></a></li>
</ul></div>
</li></ul>
</div></div></div>
<div class='info'>
<div class='info-top'> </div>
<div class='info-out'>
<div class='info-in csize'>
<div class='infoslice floatL'><div class='slicesearch'><h4>".$settings['sitename']."".$locale['global_202']."</h4>
<form id='searchbox' action='".BASEDIR."search.php'><input id='search' type='text' name='stext' value='' /><input id='submit' class='buttona' type='submit' value='Search' /></form>
</div></div>
<div class='infoslice floatR'>
\n";
if (!iMEMBER) {echo "<h4>".$locale['global_104']." | ".$locale['global_107']."</h4>
<div style='font-size:12px;color:#fff;text-weight:bold'>
<form name='loginhome' method='post' action='".$action_url."'>
".$locale['global_101']." <input type='text' name='user_name' class='textbox' style='width:100px' />
".$locale['global_102']." <input type='password' name='user_pass' class='textbox' style='width:100px' />
<input type='submit' name='login' value='".$locale['global_104']."' class='buttona' /></form><br />
".($settings['enable_registration'] ? "<a href='".BASEDIR."register.php'>Register </a> | \n" : "");
echo "<a href='".BASEDIR."lostpassword.php'> Lost password</a><label style='padding-left:100px'><input type='checkbox' name='remember_me' value='y' /> ".$locale['global_103']." </label><br /></div>\n";
}else{
echo "<h4>".$locale['global_035']." <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'>".$userdata['user_name']."</a></h4><div id='log-reg'>";
$msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0' AND message_folder='0'");
if ($msg_count !=0) { echo "<a href='".BASEDIR."messages.php' title='".sprintf($locale['global_125'], $msg_count).($msg_count == 1 ? $locale['global_126'] : $locale['global_127'])."' class='buttona'>".$locale['global_127']."</a>\n"; }
else{
echo "<a href='".BASEDIR."messages.php' title='You have 0 new messages' class='buttona'>".$locale['global_127']."</a>";}
echo "<a href='".BASEDIR."edit_profile.php' title='Edit Profile' class='buttona'>".$locale['global_120']."</a>\n";
echo "<a href='".BASEDIR."setuser.php?logout=yes' title='Logout' class='buttona'>".$locale['global_124']."</a>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) { echo "<a href='".ADMIN."index.php".$aidlink."' title='Admin' class='buttona'>".$locale['global_123']."</a>\n";}
echo "</div>";
}
echo "
</div><div class='cfix'></div>
</div></div><div class='info-bot'> </div></div>\n";}
else {echo "<div id='logo' class='csize'>
<a href='".$settings['siteurl']."'><img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' style='position:absolute;top:40px;left:0;border:0' /></a></div>
<div id='info'>
<div class='info-top'> </div>
<div class='info-in'>
<div id='navbar'>
<div class='navis csize'>".showsublinks(" ")."\n";
if (iMEMBER){
echo "<ul class='floatR'><li><a href='".BASEDIR."setuser.php?logout=yes'><span>".$locale['global_124']."</span></a></li></ul><div id='navR'><span>".$locale['global_035']." ".$userdata['user_name']."</span></div>\n";
}else{
echo "<ul class='floatL'><li><a href='".BASEDIR."login.php'><span>".$locale['global_104']."</span></a></li>
".($settings['enable_registration'] ? "<li><a href='".BASEDIR."register.php'><span>".$locale['global_107']."</span></a></li>\n" : "");
echo "</ul>\n";
}
echo "</div></div>
</div></div><div class='info-bot'> </div>\n";}
echo "<div id='cts' class='$main_style'><div class='csize clearfix'>
".(LEFT ? "<div id='side-border-left'>".LEFT."</div>" : "")."
".(RIGHT ? "<div id='side-border-right'>".RIGHT."</div>" : "")."
<div id='main-bg'>\n";
if ($tabs == 1){
if(FUSION_SELF == 'news.php') {echo "
<div><div class='tt'><h4>About The Site</h4></div>
<div class='tabs'>
<div class='tab_wrap'>
<ul class='nav'>
<li class='first'><a title='Tab One' href='#tab-1'>Tab Title</a></li>
<li class=''><a title='Tab Two' href='#tab-2'>Tab Title</a></li>
<li class=''><a title='Tab Three' href='#tab-3'>Tab Title</a></li>
</ul>
<div class='tab' id='tab-1'><div class='padder'><a href='".BASEDIR."downloads.php'>First tab</a>. Nulla vitae elit libero, a pharetra augue. Nullam id dolor id nibh ultricies vehicula ut id elit. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. </div></div>
<div class='tab' id='tab-2'><div class='padder'><img src='".THEME."forum/folder.png' alt='' />Second tab. Nulla vitae elit libero, a pharetra augue. Nullam id dolor id nibh ultricies vehicula ut id elit. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. </div></div>
<div class='tab' id='tab-3'><div class='padder'>Third tab. Nulla vitae elit libero, a pharetra augue. Nullam id dolor id nibh ultricies vehicula ut id elit. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Nulla vitae elit libero, a pharetra augue. Nullam id dolor id nibh ultricies vehicula ut id elit. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. </div></div>
</div></div></div>\n";}
}else{}
echo "<div id='container'>".U_CENTER.CONTENT.L_CENTER."
</div></div></div></div>
<div id='foot'><div class='foot-top'> </div>
<div id='fout' class='csize'>\n";
if ($footmenu == 1){
if ($foottype == 1){
echo "
<div id='submenu'>
<div class='menuslice'><h3>Your Title</h3>
<ul>
<li><a href='#' target='_blank'><span>Your Link</span></a></li>
<li><a href='#' target='_blank'><span>Your Link</span></a></li>
<li><a href='#' target='_blank'><span>Your Link</span></a></li>
<li><a href='#' target='_blank'><span>Your Link</span></a></li>
</ul>
</div>
<div class='menuslice'><h3>Your Title</h3>
<ul>
<li><a href='".BASEDIR."downloads.php'><span>Downloads</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
</ul>
</div>
<div class='menuslice'><h3>Your Title</h3>
<ul>
<li><a href='".BASEDIR."forum/index.php'><span>Forum</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
</ul>
</div>
<div class='menuslice'><h3>Your Title</h3>
<ul>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
</ul>
</div>
<div class='menuslice'><h3>Your Title</h3>
<ul>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
</ul>
</div><div class='menuslice'><h3>Your Title</h3>\n";
if (iMEMBER){echo "
<ul>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
<li><a href='#'><span>Your Link</span></a></li>
</ul>
\n";} echo "</div><div class='cfix'></div>
</div>\n";}else
{echo "
<div id='footnav' class='navis'>".showsublinks(" ")."</div><div class='cfix'></div>
\n";}
}echo "
<div class='copy'>".(!$license ? "<div class='floatL' style='padding-top:4px'>".showcopyright()."</div><div class='floatR' style='padding-top:4px'>".stripslashes($settings['footer'])."</div>" : "")."</div>
<div class='copy'><div class='floatL' >A Theme Released by <a href='http://www.fangree.co.uk/'>Fangree Productions</a> Designed by <a href='http://www.fangree.co.uk/'>Mangee</a><br />Based on work by <a href='http://www.premiumpixels.com/'>premiumpixels</a></div><div class='floatR'>".showcounter()."<br/>".sprintf($locale['global_172'], substr((get_microtime() - START_TIME),0,4))."</div></div>
</div></div></div></div>\n";
}
function render_news($subject, $news, $info) {
global $locale;
opentable($subject);
echo "<div class='floatfix'>".$info['cat_image'].$news."</div>
<div class='news-footer'>
".newsposter($info," ·").newsopts($info,"·").itemoptions("N",$info['news_id'])."
</div>\n";
closetable();
}
function render_article($subject, $article, $info) {
global $locale;
opentable($subject);
echo "<div class='floatfix'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div>
<div class='news-footer'>
".articleposter($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id'])."
</div>\n";
closetable();
}
function render_comments($c_data, $c_info){
global $locale;
opentable($locale['c100']);
if (!empty($c_data)){
echo "<div class='comments floatfix'>\n";
$c_makepagenav = '';
if ($c_info['c_makepagenav'] !== false) {
echo $c_makepagenav = "<div style='text-align:center;margin-bottom:5px;'>".$c_info['c_makepagenav']."</div>\n";
}
foreach($c_data as $data) {
echo "<div class='tbl2'>\n";
if ($data['edit_dell'] !== false) {
echo "<div style='float:right' class='comment_actions'>".$data['edit_dell']."\n</div>\n";
}
echo "<a href='".FUSION_REQUEST."#c".$data['comment_id']."' id='c".$data['comment_id']."' name='c".$data['comment_id']."'>#".$data['i']."</a> |
<span class='comment-name'>".$data['comment_name']."</span>
<span class='small'>".$data['comment_datestamp']."</span>
</div>\n<div class='tbl1 comment_message'>".$data['comment_message']."</div>\n";
}
echo $c_makepagenav;
if ($c_info['admin_link'] !== false) {
echo "<div style='float:right' class='comment_admin'>".$c_info['admin_link']."</div>\n";
}
echo "</div>\n";} else {echo $locale['c101']."\n";}
closetable();
}
function opentable($title) {
echo "<div class='tt'>".$title."</div><div class='panel'>
<div class='tbody'>\n";
}
function closetable() {
echo "</div></div>\n";
}
$panel_collapse = true;
function openside($title, $collapse = false, $state = "on") {
static $box_id = 0; $box_id++;
global $panel_collapse; $panel_collapse = $collapse;
echo "<div class='st'>".($collapse ? panelbutton($state,$box_id) : "")."$title</div><div class='panel'>
<div class='tbody'>".($collapse ? panelstate($state, $box_id) : "");
}
function closeside() {
global $panel_collapse;
echo ($panel_collapse ? "</div>" : "")."</div></div>\n";
}
?> Kliknij i zaczekaj na załadowanie kodu ... |