46 lines
1.1 KiB
PHP
Executable File
46 lines
1.1 KiB
PHP
Executable File
<?php
|
|
|
|
ini_set('display_errors', 0);
|
|
|
|
|
|
|
|
|
|
class modClass
|
|
{
|
|
static $content='';
|
|
|
|
/*
|
|
|
|
14.03.2025 Получаем картинки
|
|
|
|
*/
|
|
static function getList()
|
|
{
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if ($_GET['id']){
|
|
|
|
$smarty->assign('h1', \DBmysql::getValue("SELECT `txt` FROM `oproslist` WHERE `id`=?", $_GET['id']));
|
|
$smarty->assign('list', \DBmysql::getAll("SELECT `id`, `txt`, `sort` FROM `opros` WHERE `oproslist`=?", $_GET['id']));
|
|
}
|
|
|
|
else
|
|
$smarty->assign('list', \DBmysql::getAll("SELECT `id`, `txt`, `status`, `sort` FROM `oproslist` WHERE `status`=1"));
|
|
|
|
|
|
|
|
/* ----------------------------------------------------------------------
|
|
07.01.20223
|
|
Получаем список категорий
|
|
---------------------------------------------------------------------- */
|
|
$smarty->assign('pages_category', \DBmysql::getAll("SELECT * FROM `content` WHERE `status`=1 AND `content_type`=? AND `site`=? ORDER BY `title`", ['page', $_SERVER['SERVER_NAME']]));
|
|
|
|
|
|
//e1cib/data/Документ.КассоваяСмена?ref=96644cedfb5e97e811f01361bf753638
|
|
|
|
?>
|