core/api/modules/foto_my_albums/index.php

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