Размер файла: 2.32Kb
<?php
////////////////////////////////////////
///// Kyber ApiCMS 2013 apicms.ru //////
///// Запрещается продажа данной CMS ///
///// Автор Евгений Медянкин Kyber /////
///// ICQ 626-000-895 или 37-22-47 /////
////////////////////////////////////////
////////////////////////////////////////
header('Cache-control: no-cache');
echo '<?xml version="1.0" encoding="utf-8" core="api"?>
<!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'].'/favicon.ico"/>';
////////////////////////////////////////
if ($user['id']){
echo '<link rel="stylesheet" href="http://'.$set['site'].'/design/styles/'.$user['style'].'/style.css" type="text/css"/>';
}else{
echo '<link rel="stylesheet" href="http://'.$set['site'].'/design/styles/'.$api_settings['style'].'/style.css" 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'].'">
<meta name="description" content="'.$api_settings['Description'].'">
<meta name="revisit" content="'.$api_settings['revisit'].' minutes">
<meta name="Generator" content="APICMS, http://apicms.ru" />
<meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8"/>
<meta http-equiv="Content-Style-Type" content="text/css" />';
}else{
echo '<title>'.$title.'</title></head><body>';
}
echo '<div class="loghead"><center><strong>ApiCMS.Ru</strong></br>Мобильное управление сайтом</center></div>';
///////////////////записываем активность
if ($user['id'] && $_SERVER['PHP_SELF']!='/index.php'){
mysql_query("UPDATE `users` SET `activity` = '$time', `my_place` = '$title' WHERE `id` = '$user[id]' LIMIT 1");
}
include_once 'ads_up.php';
////////////////////////////////////////
include_once 'user_panel.php';
////////////////////////////////////////
if ($_SERVER['PHP_SELF']!='/index.php'){
echo '<div class="subhead"><center>'.htmlspecialchars($title).'</center></div>';
}
////////////////////////////////////////
?>