Файл: vk.com_vhllam/style/themes/default/head.php
Строк: 63
<?
$set['web']=false;
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>
<?echo $set['title'];?>
</title>
<?
if ($webbrowser=='web')
{
echo '<script src="http://yandex.st/jquery/1.7.2/jquery.min.js"></script>
<script src="/ajax/js/arcticmodal/jquery.arcticmodal-0.2.min.js"></script>
<link rel="stylesheet" href="/ajax/js/arcticmodal/jquery.arcticmodal-0.2.css">';
}
//Друг вошел на сайте
if (isset($user) && $webbrowser == true)
{
?><script>
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><?
}
//Новые смс
if (isset($user) && $webbrowser == true)
{
?><script>
function show()
{
$.ajax({
url: "/ajax/mails.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><?
}
?>
<link rel="shortcut icon" href="/style/themes/<?echo $set['set_them'];?>/favicon.ico" />
<link rel="stylesheet" href="/style/themes/<?echo $set['set_them'];?>/style.css" type="text/css" />
</head>
<body><div class='body'>
<?
//Друг вошел на сайте
if (isset($user) && $webbrowser == true)
{
?><script>
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><?
}
//Новые смс
if (isset($user) && $webbrowser == true)
{
?><script>
function show()
{
$.ajax({
url: "/ajax/mails.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><?
}?>
<?
if (isset($_SESSION['message'])){
echo "<div class='msg'>$_SESSION[message]</div>";
$_SESSION['message']=NULL;
}
if ($_SERVER['PHP_SELF']=='/index.php')
{
}
?>