core/api/modules/magazin_edit/index.php

15 lines
318 B
PHP
Raw Permalink Normal View History

2022-12-11 13:55:49 +05:00
<?php
/*
01.05.2021
Личный кабинет
*/
if (!$_SESSION['user_id'] && !ID)header( 'Location: /403/' );
$mod = new main( $smarty, $settings );
$mod -> db = $db;
$mod -> install();
unset($a);
$a['id']=$_SESSION['user_id'];
$smarty -> assign( 'user', $db -> get_massiv('users', $a, '', 1) );
?>