Вход Регистрация
Файл: defau/head.php
Строк: 108
<?
$set
['web'] = false;
//header("Content-type: application/vnd.wap.xhtml+xml");
//header("Content-type: application/xhtml+xml");
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">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
<head>

<title>
<?=$set['title']?>
</title>

<link rel="shortcut icon" href="/style/themes/<?=$set['set_them']?>/favicon.ico" />
<link rel="stylesheet" href="/style/themes/<?=$set['set_them']?>/style.css" type="text/css" />
<link rel='stylesheet' href='/shared/css/shared.css' type='text/css' />
 <!-- Модальное окно -->
        <link rel="stylesheet" href="/ajax/style/style.css" type="text/css"/>
        <script type="text/javascript" src="/ajax/jquery.js"></script>
        <script type="text/javascript" src="/ajax/facebox.js"></script>
        <script type="text/javascript">
            jQuery(document).ready(function($) {
                $('a[rel*=facebox]').facebox({
                    loading_image: '/ajax/style/icons/loading.gif',
                    close_image: '/ajax/style/icons/closelabel.gif'
                })
            })
        </script>

        <script type="text/javascript" src="/ajax/ajax.js"></script><script type="text/javascript" src="/ajax/form-submit.js"></script>
        
        <!-- Диалоговое окно -->
        <script src="http://code.jquery.com/jquery-1.8.3.js"></script>
        <script src="/ajax/dialog.js"></script>
        <link type="text/css" href="/ajax/style/dialog.css" rel="stylesheet" />
        <script>
            function showContent2(link) {

                var cont = document.getElementById('contentBody');
                var loading = document.getElementById('loading');

                cont.innerHTML = loading.innerHTML;

                var http = createRequestObject();
                if (http)
                {
                    http.open('get', link);
                    http.onreadystatechange = function()
                    {
                        if (http.readyState == 4)
                        {
                            cont.innerHTML = http.responseText;
                        }
                    }
                    http.send(null);
                }
                else
                {
                    document.location = link;
                }
            }

            function createRequestObject()
            {
                try {
                    return new XMLHttpRequest()
                }
                catch (e)
                {
                    try {
                        return new ActiveXObject('Msxml2.XMLHTTP')
                    }
                    catch (e)
                    {
                        try {
                            return new ActiveXObject('Microsoft.XMLHTTP')
                        }
                        catch (e) {
                            return null;
                        }
                    }
                }
            }
        </script> 


</head>
<body>
<?
// Блок для подгрузки смайлов

                                
if (isset($user)):
                                    
?>
                                    <div id="dialog" title="Список смайлов">
                                        <div id="contentBody">  

                                        </div>  

                                        <div id="loading" style="display: none">  
                                            Идет загрузка...  
                                        </div>
                                    </div><?
                                
endif;

?>
<div class="body">
<?
if (isset($_SESSION['message']))
{
    echo 
'<div class="msg">' $_SESSION['message'] . '</div>';
    
$_SESSION['message'] = NULL;
}

if (
$_SERVER['PHP_SELF'] == '/index.php')
{
    
?>
<left>
    <div class="logo">
    <img src="/style/themes/<?=$set['set_them']?>/log.png" alt="logo" /><br />
    
</div>
    </center>

    <?













if (isset(
$user) && $webbrowser == true)
{
    
?><script>  
    function message(msg)  
    {
        var newTxt = msg;
        var oldTxt = "***************";
     
        function message_blink()
        {
            if(document.title == oldTxt)
            {
                document.title = newTxt;
            }else{
                document.title = oldTxt;
            }
        }
        
        if (document.title != oldTxt)
        {
            var timer = setInterval(message_blink,1000);
        }
        
    }
    
    function show()  
    {  
        $.ajax({  
            url: "/ajax/frend.ajax.php",  
            cache: false,  
            success: function(html){  
                $("#frends").html(html);  
            }  
        });  
    }  
  
    $(document).ready(function(){  
        show();  
        setInterval('show()',10000);  
    });  
</script><div style="position:fixed; left: 10px; bottom:15px;" id="frends"></div><?
}

?>
Онлайн: 0
Реклама