core/api/modules/pe/index.php

15 lines
318 B
PHP

<?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) );
?>