Файл: design/styles/default/head.php
Строк: 99
<?php
////////////////////////////////////////
///// Kyber ApiCMS 2013 apicms.ru //////
///// Запрещается продажа данной CMS ///
///// Автор Евгений Медянкин Kyber /////
///// ICQ 626-000-895 или 37-22-47 /////
////////////////////////////////////////
////////////////////////////////////////
$set_dg1 = "g803UE94thOEF";
$set_dg2 = "g803UEef4gGEg";
session_start();
$_SESSION[$set_dg1] = time()+394534293534488;
$_SESSION[$set_dg2] = $set_dg1;
header('Cache-control: no-cache');
echo '<?xml version="1.0" encoding="utf-8" core="api"?>
<meta HTTP-EQUIV="Expires" CONTENT="0">
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
<!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"><head>';
////////////////////////////////////////
echo '<link rel="shortcut icon" href="http://'.$set['site'].'/design/styles/'.$api_design.'/favicon.ico"/>';
////////////////////////////////////////
echo '<link rel="stylesheet" href="http://'.$set['site'].'/design/styles/'.$api_design.'/style.php" type="text/css"/>';
////////////////////////////////////////
if ($_SERVER['PHP_SELF']=='/index.php'){
echo '<title>'.$api_settings['title'].'</title></head><body>';
echo '<meta name="keywords" content="'.$api_settings['Keywords'].'">';
echo '<meta name="description" content="'.$api_settings['Description'].'">';
echo '<meta name="revisit" content="'.$api_settings['revisit'].' minutes">';
echo '<meta name="Generator" content="APICMS v.3.0, http://apicms.ru" />'; ///// не убирайте это для определения сервисами CMS
echo '<meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8"/>';
echo '<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>';
echo '<meta http-equiv="Content-Style-Type" content="text/css" />';
}else{
echo '<title>'.$title.'</title></head><body>';
echo '<meta name="keywords" content="'.$api_settings['Keywords'].'">';
echo '<meta name="description" content="'.$api_settings['Description'].'">';
echo '<meta name="revisit" content="'.$api_settings['revisit'].' minutes">';
echo '<meta name="Generator" content="APICMS v.3.0, http://apicms.ru" />'; ///// не убирайте это для определения сервисами CMS
echo '<meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8"/>';
echo '<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>';
echo '<meta http-equiv="Content-Style-Type" content="text/css" />';
}
echo '<div class="logo"><center><a href="/"><img src="/design/styles/'.$api_design.'/style_images/logo.png" height="35"/></a></center></div>';
if (file_exists(''.$_SERVER['DOCUMENT_ROOT'].'/install/') && $user['level']==1){
echo '<div class="erors">Внимание обнаружена папка install нарушение безопасности! Удалите папку с сервера!</div>';
}
///////////////////записываем активность
if ($user['id'] && $_SERVER['PHP_SELF']!='/index.php'){
mysql_query("UPDATE `users` SET `activity` = '$time', `my_place` = '".htmlspecialchars($title)."' WHERE `id` = '$user[id]' LIMIT 1");
}
include_once H.'/api_core/ads_up.php';
////////////////////////////////////////
include_once H.'/api_core/user_panel.php';
////////////////////////////////////////
if ($_SERVER['PHP_SELF']!='/index.php'){
echo '<div class="apicms_titles"><center>'.htmlspecialchars($title).'</center></div>';
}
////////////////////////////////////////
?>