core/api/modules/foto_my_albums/index.php

15 lines
326 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['user_id']=$_SESSION['user_id'];
$smarty -> assign( 'albums', $db -> get_massiv('foto_albums', $a) );
?>