Просмотр файла wapik/index.php

Размер файла: 2.71Kb
<?php
#-----------------------------------------------------#
#          ********* ROTORCMS *********               #
#              Made by  :  VANTUZ                     #
#               E-mail  :  [email protected]         #
#                 Site  :  http://pizdec.ru           #
#             WAP-Site  :  http://visavi.net          #
#                  ICQ  :  36-44-66                   #
#  Вы не имеете право вносить изменения в код скрипта #
#        для его дальнейшего распространения          #
#-----------------------------------------------------#	
header("Content-type:text/html; charset=utf-8");
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';
echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru"><head>';
echo '<title>%TITLE%</title>';
echo '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';
echo '<link rel="shortcut icon" href="' . $config['home'] . '/themes/wapik/favicon.ico" type="image/x-icon" />';
echo '<link rel="stylesheet" href="' . $config['home'] . '/themes/wapik/style.css" type="text/css" />';
echo '<link rel="alternate" href="' . $config['home'] . '/news/rss.php" title="RSS News" type="application/rss+xml" />';
echo '<meta name="keywords" content="%KEYWORDS%" />';
echo '<meta name="description" content="%DESCRIPTION%" />';
echo '<meta name="generator" content="RotorCMS" />';
echo '</head><body>';
echo '<!--Themes by wap.imgstudio.ru-->';

function myhtml($myhtml) {
    $myhtml = str_replace('<img src="' . BASEDIR . 'images/img/act.gif" alt="image" />', '<img src="' . BASEDIR . 'themes/wapik/b.png" alt="image" />', $myhtml);
    $myhtml = str_replace('<img src="' . BASEDIR . 'images/img/act1.gif" alt="image" />', '<img src="' . BASEDIR . 'themes/wapik/b.png" alt="image" />', $myhtml);
    $myhtml = str_replace('<img src="' . BASEDIR . 'images/img/act2.gif" alt="image" />', '<img src="' . BASEDIR . 'themes/wapik/b.png" alt="image" />', $myhtml);
    $myhtml = str_replace('<img src="' . BASEDIR . 'images/img/act3.gif" alt="image" />', '<img src="' . BASEDIR . 'themes/wapik/b.png" alt="image" />', $myhtml);
    $myhtml = str_replace('<img src="' . BASEDIR . 'images/img/act_home.gif" alt="image" />', '<img src="' . BASEDIR . 'themes/wapik/b.png" alt="image" />', $myhtml);
    return $myhtml;
} 
ob_start('myhtml');

echo '<div class="c" id="up"><a href="' . BASEDIR . 'index.php?' . SID . '"><img src="' . BASEDIR . 'themes/wapik/logo.gif" alt="' . $config['title'] . '" /></a><br />' . $config['logos'] . ' </div>';
echo '<div>';

include_once(BASEDIR . 'includes/note.php');
?>