Вход Регистрация
Файл: mob-lave.ru/core/head.php
Строк: 53
<?php
header
("Content-type: text/html");
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">
<?php
echo '
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
    <head>
        <title>'
.$set['title'].'</title>
        <link rel="shortcut icon" href="http://'
.$set['site'].'/design/theme/'.$system['design'].'/favicon.ico"/>
        <meta name="description" content="'
.$system['description'].'"/>
        <meta name="keywords" content="'
.$set['title'].', '.$system['keywords'].'"/>';
        

        if(isset(
$user['id']) && $user['design'] != NULL) {
             echo 
'<link rel="stylesheet" href="http://'.$set['site'].'/design/theme/'.$user['design'].'/style.css" type="text/css"/>';
             echo 
'<link rel="stylesheet" href="http://'.$set['site'].'/design/theme/'.$user['design'].'/sprite.css" type="text/css"/>';
             
        }

        if(!isset(
$user['id']) or $user['design'] == NULL) {
             echo 
'<link rel="stylesheet" href="http://'.$set['site'].'/design/theme/'.$system['design'].'/style.css" type="text/css"/>';
             echo 
'<link rel="stylesheet" href="http://'.$set['site'].'/design/theme/'.$system['design'].'/sprite.css" type="text/css"/>';
        }

    
    echo 
'</head>
    
    <body>
        <div class="body">'
;
        if(isset(
$user['id']) && $user['design'] != NULL) {
            if (
$_SERVER['PHP_SELF'] == '/index.php')echo '<div class="logotip"><a href="/" title="На главную"><img style="margin:0; padding:0" src="/design/theme/'.$user['design'].'/logo.png" alt="'.$system['description'].'"/></a></div>';
        }
        
        if(!isset(
$user['id']) or $user['design'] == NULL) {
            if (
$_SERVER['PHP_SELF'] == '/index.php') echo '<div class="logotip"><a href="/" title="На главную"><img style="margin:0; padding:0" src="/design/theme/'.$system['design'].'/logo.png" alt="'.$system['description'].'"/></a></div>';
        }
        
        if(
$system['invite'] == && !isset($user['id']) && $_SERVER['PHP_SELF'] != '/auth.php' && $_SERVER['PHP_SELF'] != '/reg.php' && $_SERVER['PHP_SELF'] != '/wellcome.php'header('Location: /wellcome.php');
?>
Онлайн: 0
Реклама