Файл: _modules/admin/objects/items/index.php
Строк: 13
<?php
# mark core v1.0
# author Drk in
# date 24.10.19
# core
require_once ( $_SERVER['DOCUMENT_ROOT']."/_core/system.php" );
# admin
system::adm(1);
# get
$id = isset( $_GET['id'] ) ? system::abs($_GET['id']): 0;
# check
if (cache_itm_cat::ch($id) == false)system::header('/admin/objects','Ошибка ID не найден');
$act = cache_itm_cat::get($id);
# meta
$title = ''.system::check($act['name']).' - Предметы :: '.domain;
# head
require_once ( head );
echo '
<div class="fights-link" style="margin: 5px"><a href="/admin/objects">Вернуться назад</a></div>
<div class="line"></div>';
# foot
require_once ( foot );
?>