core/api/modules/user/index.php

9 lines
307 B
PHP

<?php
$mod = new main($smarty, $settings);
//$mod->db=$db;
$smarty -> assign( 'user', $mod->user_info(ID) );
$smarty -> assign( 'albums', $mod->get_albums(ID) );
$smarty -> assign( 'best_foto', $mod->get_best_foto(ID, 50) );
//print_r($mod->get_best_foto(ID, 50));
//print_r($mod->user_info(ID));
?>