7 lines
399 B
PHP
7 lines
399 B
PHP
<?php
|
||
@mkdir('img/' . $_SESSION['SERVER_NAME'] . '/pages_category', 0700);
|
||
$smarty -> assign( 'page_info', \DB::getAll( "SELECT * FROM `pages_category` WHERE `id`=?", $_GET['id'] ) );//получаем инфо о категории
|
||
$list= \DB::getAll ( "SELECT * FROM `pages` WHERE `category`=?", $_GET['id'] );
|
||
$smarty -> assign( 'list', $list );
|
||
$smarty -> assign( 'sliders', $sliders );
|
||
?>
|