Итак, господа, кто знает, как это сделать: нужно, чтобы шапка сайта была только на главной странице, на остальных - не было!!!
PHP: <?php require_once"template/start.php"; require_once"template/regglobals.php"; require_once"template/config.php"; require_once"template/functions.php"; require_once"template/antidos.php"; require_once"template/cookies.php"; require_once"template/gzip.php"; require_once"template/header.php"; require_once"template/referer.php"; include_once"themes/$config_themes/index.php"; i nclude_once"template/isset.php"; итак, это загружается В КАЖДОЙ странице сайта.. include_once"themes/$config_themes/index.php" это отвечает за ШАПКУ каждой страницы PHP: <?php header("Content-type:text/html; charset=utf-8"); echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>'; echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="shortcut icon" href="'.$config_home.'/favicon.ico">'; if($config_rssicon==1){echo '<link rel="alternate" type="application/rss+xml" title="RSS" href="'.$config_home.'/news/rss_news.php">';} echo '<title>'.site_title($php_self).'</title> <link rel="stylesheet" type="text/css" href="/style.css">: echo '<meta name="keywords" content="'.$config_keywords.'">'; echo '<meta name="description" content="'.$config_description.'">'; echo '</head><body>'; echo '<!--Themes by xoxa99-->'; echo '<div class="up"> <div class="inside3"> <font color="red">бла бла</font><br> <img src="http:///logo.png" alt="logo"><br> бла<br> <font color="white"><small>http:/бла<small></font> </div></div>'; if($config_rekhead==1){include_once BASEDIR."local/datamain/reklama_head.dat";} ?> Это, что лежит в файле hemes/$config_themes/index.php Мне надо, чтоб загружалось только (на др. страницах) PHP: <?php header("Content-type:text/html; charset=utf-8"); echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>'; echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="shortcut icon" href="'.$config_home.'/favicon.ico">'; if($config_rssicon==1){echo '<link rel="alternate" type="application/rss+xml" title="RSS" href="'.$config_home.'/news/rss_news.php">';} echo '<title>'.site_title($php_self).'</title> <link rel="stylesheet" type="text/css" href="/style.css">: echo '<meta name="keywords" content="'.$config_keywords.'">'; echo '<meta name="description" content="'.$config_description.'">'; echo '</head><body>'; echo '<!--Themes by xoxa99-->'; if($config_rekhead==1){include_once BASEDIR."local/datamain/reklama_head.dat";} ?> я попробывал создать данный файл index2.php и вставить во все страницы начало вместо include_once"themes/$config_themes/index.php"; вот это include_once"themes/$config_themes/index2.php"; естесственно без самой шапки PHP: echo '<div class="up"> <div class="inside3"> <font color="red">бла бла</font><br> <img src="http:///logo.png" alt="logo"><br> бла<br> <font color="white"><small>http:/бла<small></font> </div></div>; Но, при открытии страниц ничего не отображалось....