- <?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">';
- echo '<link rel="shortcut icon" href="'.$config_home.'/themes/CS_1-6/icons/favicon.ico">';
- if($config_rssicon==1){
- echo '<link rel="alternate" type="application/rss+xml" title="RSS" href="'.$config_home.'/news/rss_news.php">';
- }
- echo'<link rel="stylesheet" href="'.$config_home.'/themes/CS_Wap/style.css" type="text/css" media="screen">';
- echo '<title>'.site_title($php_self).'</title>';
- include_once BASEDIR."template/rh.php";
- echo '<meta http-equiv="Content-Language" content="ru-RU">';
- echo '<meta name="robots" content="index,follow">';
- echo '<meta name="rating" content="Global">';
- echo '<meta name="category" content="Computer & Internet">';
- echo '<meta name="REVISIT-AFTER" content="7 days">';
- echo '<meta name="description" content="'.$config_description.'">';
- echo '<meta name="keywords" content="'.$metatags.'">';
- echo '<meta name="author" content="KoT[T] aka sw.East - CMS-Design Amateur">';
- echo '<meta name="copyright" content="CMS-Design Amateur - Web Дизайн Wap Сайтов">';
- echo '<meta name="Identifier-url" CONTENT="http://www.cms-design.co.cc">';
-
- echo'
-
- <!--
- Ko[T] aka sw.East design
- http://www.cms-design.co.cc
-
- Name : CS_Wap
- Description: wap-версия в стиле web2.0, фиксированная ширина, pda дизайн со светлой цветовой схемой.
- Version : 1.0
- Released : 20100519
-
- -->
-
- </head>
- <body>';
- echo '<!--Themes by CMS-Design Amateur-->';
-
-
- //-- Функция замены некоторых графических элементов --//
-
- function myhtml($myhtml) {
-
- $myhtml = str_replace('<img src="'.BASEDIR.'images/img/rss.gif" alt="">',
- '<img src="'.BASEDIR.'themes/CS_Wap/icons/rss.png" alt="">',$myhtml);
- $myhtml = str_replace('<img src="'.BASEDIR.'images/img/act.gif" alt="">',
- '<img src="'.BASEDIR.'themes/CS_Wap/icons/comments.png" alt="">',$myhtml);
- $myhtml = str_replace('<img src="'.BASEDIR.'images/img/act1.gif" alt="">',
- '<img src="'.BASEDIR.'themes/CS_Wap/icons/comments.png" alt="">',$myhtml);
- $myhtml = str_replace('<img src="'.BASEDIR.'images/img/act2.gif" alt="">',
- '<img src="'.BASEDIR.'themes/CS_Wap/icons/comments.png" alt="">',$myhtml);
- $myhtml = str_replace('<img src="'.BASEDIR.'images/img/act3.gif" alt="">',
- '<img src="'.BASEDIR.'themes/CS_Wap/icons/comments.png" alt="">',$myhtml);
- $myhtml = str_replace('<img src="'.BASEDIR.'images/img/act.png" alt="">',
- '<img src="'.BASEDIR.'themes/CS_Wap/icons/comments.png" alt="">',$myhtml);
- $myhtml = str_replace('<img src="'.BASEDIR.'images/img/homepage.gif" alt="">',
- '<img src="'.BASEDIR.'themes/CS_Wap/icons/homepage.png" alt="">',$myhtml);
- $myhtml = str_replace('<img src="'.BASEDIR.'images/img/themes.gif" alt="">',
- '<img src="'.BASEDIR.'themes/CS_Wap/icons/themes.png" alt="">',$myhtml);
- $myhtml = str_replace('<font color="#FF0000">','<font color="#CC6666">',$myhtml);
- $myhtml = str_replace('<font color=#FF0000>','<font color="#CC6666">',$myhtml);
- $myhtml = str_replace('<font color=red>','<font color="#CC6666">',$myhtml);
- $myhtml = str_replace('<font color="red">','<font color="#CC6666">',$myhtml);
- $myhtml = str_replace('<font color=Red>','<font color="#CC6666">',$myhtml);
- $myhtml = str_replace('<font color="Red">','<font color="#CC6666">',$myhtml);
- $myhtml = str_replace('<font color="#00FF00">','<font color="#339933">',$myhtml);
- $myhtml = str_replace('<font color=#00FF00>','<font color="#339933">',$myhtml);
- $myhtml = str_replace('<font color=green>','<font color="#336633">',$myhtml);
- $myhtml = str_replace('<font color=Green>','<font color="#336633">',$myhtml);
-
- return $myhtml; }
- ob_start('myhtml');
-
- //--------------------- Фон ( обложка ) ----------------------//
-
- echo'
- <div align="center">
- <div id="wrapper">
- ';
-
- //------- Логотип (меняйте как хотите- для Вашего удобства сделал Некартинкой) ---//
-
- echo'
- <div id="header">
- <div id="logo">
- <a href="'.$config_home.'/" title="Перейти на Главную">CmS - Design Amateur</a>
- <h2>
- <a href="http://www.cms-design.co.cc/" title="CmS - Design Amateur - motoR deSigN">Web Дизайн Wap Сайтов</a>
- </h2>
- </div>
- </div>
- ';
-
- echo'
- <div id="content">
- <div class="post">
- ';
-
- ?>