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

Размер файла: 3.28Kb
<?php
if (strtok($_SERVER['HTTP_USER_AGENT'],'/')!="Mozilla") {
header("Content-type:application/vnd.wap.xhtml+xml; charset=utf-8");
}else{
header("Content-type:text/html; charset=utf-8");}
echo '<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
<head>
<meta http-equiv="Content-Type" content="application/vnd.wap.xhtml+xml; charset=UTF-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link rel="shortcut icon" href="'.$config_home.'/favicon.ico" />
<style type="text/css">
body, td, tr {text-decoration: none; font-family: comic sans ms; font-size: 9pt; cursor: default; color: #666;}
body {margin: 5px; padding: 5px; background: #000033; color: #CCFFFF;}
form {margin: 0px; padding: 0px;}
a:link,a:active,a:visited {
	color: #6E7B8B;
	text-decoration: underline;;

}
div {
	font-size: 11px;
	margin: 3px 3px 3px 3px;
	padding: 3px 3px 3px 3px;
	font-family: "Courier New", Courier, monospace;
	background-color: #00CC99;
}
img {border: 0; margin: 0;}
textarea {
	width: 70%;
	font-size: 10pt;
	font-weight: bold;
	background-color: #006633;

}
h4 {
	margin: 0;
	text-decoration: underline;
	background-color: #009900;
}
.a,.c {background-color: #009933; color: #FFFFFF; font-size: 11px; 
margin: 0px; padding: 4px 4px 4px 4px; vertical-align: middle;}
.b {background-color: #006633; margin-top: 0px; padding: 4px 4px 4px 4px; vertical-align: middle;}
.c a:link, .c a:visited{ color: #FFFFFF; text-decoration: none;}
.c a:hover{
	text-decoration: underline;
	background-color: #3333CC;
}
.a,.c {background-color: #6FA9F3; color: #FFFFFF; font-size: 11px; 
margin: 0px; padding: 4px 4px 4px 4px; vertical-align: middle;}
.b {background-color: #A0C8FB; margin-top: 0px; padding: 4px 4px 4px 4px; vertical-align: middle;}
.d {background-color: #FF0000; color: #87CEEB; font-size: 11px; text-align: left;}
.c a:link, .c a:visited{ color: #FFFFFF; text-decoration: none;}
.c a:hover{text-decoration: underline;}
</style>
<title>'.$config_title.$my_title.'</title>
</head><body bgcolor="white" text="gray"><!--Themes by GLUKAN(мая тема и ниипет)-->';
echo '<div class="a" id="up"><img src="../themes/novs/5.gif" alt=""> '.$config_logos.' </div><div>';
function htmltoxhtml($skinxhtml) {
$skinxhtml = str_replace("<img src=\"../smiles/","<img src=\"../images/smiles/",$skinxhtml);
$skinxhtml = str_replace("images/img/act1.gif","themes/novs/6.gif",$skinxhtml);
$skinxhtml = str_replace("images/img/act2.gif","themes/novs/10.gif",$skinxhtml);
$skinxhtml = str_replace("images/img/act3.gif","themes/novs/10.gif",$skinxhtml);
$skinxhtml = str_replace("<br>","<br />",$skinxhtml);
$skinxhtml = str_replace("<div class=a>","<div class=\"a\">",$skinxhtml);
$skinxhtml = str_replace("<div class=b>","<div class=\"b\">",$skinxhtml);
$skinxhtml = str_replace("<div class=c>","<div class=\"c\">",$skinxhtml);
$skinxhtml = str_replace("alt=\"\">","alt=\"\" />",$skinxhtml);
$skinxhtml = str_replace("checked>","checked=\"checked\" />",$skinxhtml);
$skinxhtml = str_replace("selected>","selected=\"selected\">",$skinxhtml);
$skinxhtml = str_replace("<hr>","<hr />",$skinxhtml);
return $skinxhtml; }
ob_start(htmltoxhtml);
?>