core/api/modules/set_img/index.php

22 lines
395 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/*
05.06.2021
Категории магазинов
*/
$mod = new main( $smarty, $settings, $db );
//инфо о магазине
unset($a);
$a['type']='mag';
$a['id']=ID;
$smarty->assign('info', $db->get_massiv('content', $a, '', 1));
//список категорий
unset($a);
$a['type']='mag_cat';
$smarty->assign('list', $db->get_massiv('content', $a));
?>