Pradinis
Pagalba
Užsisakyk!
- Reklamą
- Hostingą
- El. pašto dėžutę
Užsisakyk!
Įrankiai
Pasidalink
- Visos temos
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai |
Autorius: Paul McCartney | Peržiūrų: 891 |
Paul McCartney Narys Kapitonas Pranešimai: 757 Įstojęs: 2007 Lie. 19 14:07:24 | |
kaip ant php-fusion sucentruoti headeri? |
|
Fanio Garbės narys Viršesnis už Dievą Pranešimai: 5675 Įstojęs: 2006 Sau. 27 23:01:47 | |
Tema perkelta. Atsidaryk subheader.php ir pakeisk šita koda: <?php /*---------------------------------------------------+ | PHP-Fusion 6 Content Management System +----------------------------------------------------+ | Copyright Ā© 2002 - 2006 Nick Jones | http://www.php-fusion.co.uk/ +----------------------------------------------------+ | Released under the terms & conditions of v2 of the | GNU General Public License. For details refer to | the included gpl.txt file or visit http://gnu.org +----------------------------------------------------*/ if (!defined("IN_FUSION")) { header("Location: index.php"); exit; } require_once THEME."theme.php"; if ($settings['maintenance'] == "1" && !iADMIN) fallback(BASEDIR."maintenance.php"); if (iMEMBER) $result = dbquery("UPDATE ".$db_prefix."users SET user_lastvisit='".time()."', user_ip='".USER_IP."' WHERE user_id='".$userdata['user_id']."'"); echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"> <html> <head> <title>".$settings['sitename']."</title> <meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."'> <meta name='description' content='".$settings['description']."'> <meta name='keywords' content='".$settings['keywords']."'> <link rel='stylesheet' href='".THEME."styles.css' type='text/css'> <script type='text/javascript' src='".INCLUDES."jscript.js'></script> </head> <body bgcolor='$body_bg' text='$body_text'>\n"; render_header("<center><img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."'></center>"); ?> turėtu veikti ;) |
Peršokti į forumą: |