DaveMurray-3-
New Member
- Messages
- 52
- Reaction score
- 0
- Points
- 0
Code:
<?php
/************************************************************************/
/* PHP-Nuke Platinum: Expect to be impressed COPYRIGHT */
/* */
/* Copyright (c) 2004 - 2006 by http://www.techgfx.com */
/* Techgfx - Graeme Allan (goose@techgfx.com) */
/* */
/* Copyright (c) 2004 - 2006 by http://www.conrads-berlin.de */
/* MrFluffy - Axel Conrads (axel@conrads-berlin.de) */
/* */
/* Copyright (c) 2004 - 2006 by http://www.nukeplanet.com */
/* Loki / Teknerd - Scott Partee (loki@nukeplanet.com) */
/* */
/* Refer to Nukeplanet.com for detailed information on PHP-Nuke Platinum*/
/* */
/* TechGFX: Your dreams, our imagination */
/************************************************************************/
if (stristr(htmlentities($_SERVER['PHP_SELF']), "header.php")) {
Header("Location: index.php");
die();
}
require_once("mainfile.php");
/*****************************************************/
/* Security - Protector System v.1.15b3 START */
/*****************************************************/
global $admin_file;
if(!eregi("".$admin_file.".php",$_SERVER['SCRIPT_NAME'])) {
require_once("includes/blocker.php"); }
/*****************************************************/
/* Security - Protector System v.1.15b3 END */
/*****************************************************/
##################################################
# Include some common header for HTML generation #
##################################################
$header = 1;
define('NUKE_HEADER', true);
function head() {
/*****************************************************/
/* Security - Sentinel v.2.4.2 START */
/*****************************************************/
global $ab_config, $slogan, $sitename, $banners, $nukeurl, $Version_Num, $artpage, $topic, $hlpfile, $user, $hr, $theme, $cookie, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2, $forumpage, $adminpage, $userpage, $pagetitle;
/*****************************************************/
/* Security - Sentinel v.2.4.2 END */
/*****************************************************/
include("includes/ipban.php");
$ThemeSel = get_theme();
include_once("themes/$ThemeSel/theme.php");
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
echo "<html>\n";
echo "<head>\n";
echo "<title>$sitename $pagetitle</title>\n";
include("includes/meta.php");
include("includes/javascript.php");
if (file_exists("themes/$ThemeSel/images/favicon.ico")) {
echo "<link REL=\"shortcut icon\" HREF=\"themes/$ThemeSel/images/favicon.ico\" TYPE=\"image/x-icon\">\n";
}
echo "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS\" href=\"backend.php\">\n";
if (file_exists("modules/User_Guide/sentinel.css.php")) {
include_once("modules/User_Guide/sentinel.css.php");
}
echo "<LINK REL=\"StyleSheet\" HREF=\"themes/$ThemeSel/style/style.css\" TYPE=\"text/css\">\n\n\n";
if (file_exists("includes/custom_files/custom_head.php")) {
include_once("includes/custom_files/custom_head.php");
}
echo "\n\n\n</head>\n\n";
if (file_exists("includes/custom_files/custom_header.php")) {
include_once("includes/custom_files/custom_header.php");
}
/*****************************************************/
/* Security - Sentinel v.2.4.2 START */
/*****************************************************/
if($ab_config['site_switch'] == 1) {
echo "<center><img src='images/nukesentinel/disabled.png' border='0' width='120' height='34'></center><br />\n";
}
/*****************************************************/
/* Security - Sentinel v.2.4.2 END */
/*****************************************************/
themeheader();
}
online();
head();
include("includes/counter.php");
/*****************************************************/
/* Addon - Center Blocks v.2.1.1 START */
/* Addon - Conditional Blocks v.1.1.1 START */
/*****************************************************/
global $home;
if(defined('HOME_FILE') || $home == 1) {
message_box();
include("includes/cblocks1.php");
blocks(Center);
}
/*****************************************************/
/* Addon - Conditional Blocks v.1.1.1 END */
/* Addon - Center Blocks v.2.1.1 END */
/*****************************************************/
?>
<div align="center"><script type="text/javascript" src="http://x10hosting.com/adserve.js?dave"></script></div>
src=<div align="center"><script type="text/javascript""http://x10hosting.com/adserve.js?corporate"
Here is my header.php. I follow the instructions in the tuttorial. And Nothing hapens. You can show me another way for i can add some ads of x1-hosting? i dont want to have a suspend, and i want to follow 100& the TOS and the lwas of x1-hosting... I tried in the top, before <?php and in bottom, after the ?>. Candanyone show me alternatives solutions, or solution in this? i use php-Nuke Platinum 7.6.b.4v2
Edit:
Anyone?
Last edited: