Exemple #1
0
 public function home()
 {
     $this->__lib('Picture', 'Gallery', 'UserManagement');
     $pic = new Picture();
     $g = new Gallery();
     $um = new UserManagement();
     $this->__view("Home/header.php");
     $p_list = $pic->select_new_pic(18);
     $g_list = $g->select_new_gallery(8, true);
     $u_list = $um->get_new_users(5);
     $this->__view("Show/home.php", ['pic_list' => $p_list, 'gallery_list' => $g_list, 'user_list' => $u_list]);
     $this->__view("Home/footer.php");
 }