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

Размер файла: 2.78Kb
<?php
#-----------------------------------------------------#
#          *********  WAP-FOOBALL *********           #
#             Made by   :  X-ray                      #
#               E-mail  :  [email protected]           #
#                 Site  :  http://www.zugdidi.us      #
#             WAP-Site  :  http://geowap.mobi         #
#                  ICQ  :  49-47-485-47               #
#  Вы не имеете право вносить изменения в код скрипта #
#      ЗАПРЕЩЕННО ПЕРЕПРОДАВАТЬ ДАННЫЙ СКРИПТ!!!      #
#-----------------------------------------------------#
if (strtok($_SERVER['HTTP_USER_AGENT'],'/')!="Mozilla") {
header("Content-type:application/vnd.wap.xhtml+xml; 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><title>'.$title.'</title>
<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="'.$football_href.'/images/favicon.gif" />';
}else{                    
header("Content-type:text/html; charset=utf-8");
echo '<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>'.$title.'</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link rel="shortcut icon" href="'.$football_href.'/images/favicon.gif" />';}
echo '<style type="text/css">
a:link,a:visited {color: #000000; text-decoration: underline;}
a:hover,a:active {color: red; text-decoration: none; font-weight: bold;}
body {background-color: #FAFAAA; color: #000000;}
div {font-size: 12px; 
border-top: 3px solid #FF0077;
border-bottom: 3px solid #FF0077;
border-left: 3px solid #FF0077;
border-right: 3px solid #FF0077; 
margin: 3px 3px 3px 3px; 
padding: 3px 3px 3px 3px; 
font-family: "Courier New", Courier, monospace;}
img {border: 0; margin: 0;}
.a,.c {background-color: #003399; color: #FFFFFF;  font-size: 12px;
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;}
.c a:link, .c a:visited{ color: #FFFFFF; text-decoration: none;}
.c a:hover{text-decoration: underline;}
</style>
</head><body bgcolor="white" text="black"><!--WAP-NEWS by X-ray-->';
echo "<div class=\"a\" id=\"up\"><img src=\"$logotip\" alt=\"$alt_logotip\"/><br/>$text_logo</div><div>";
?>