15 lines
318 B
PHP
Executable File
15 lines
318 B
PHP
Executable File
<?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) );
|
|
?>
|