HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers64/klimroosbudel.nl/wwwroot/app/controllers/c_photo_gallery.class.php
<?php
/**
 * c_home.class.php
 * Created by Komma Mediadesign.
 * Author: mike
 * Date: 11/02/14
 */
class Photo_Gallery extends Site_Controller
{
    public function __construct()
    {
        parent::__construct();
    }

    /*
     * Index of the home page
     */
    public function index()
    {
    }

    /*
     * Show album
     */
    public function album()
    {
        $album = $this->Model->getCurrentAlbum();

        // Get list
        $albumList = $this->Model->createAlbumList();
        $this->View->setData('album_list', $albumList);

        // Get albumId
        $albumThumbs = $this->Model->createAlbumThumbs($album);
        $this->View->setData('album_thumbs', $albumThumbs);

        // Set header photos
        $photos = 'fotogallerij/header_fotogallerij.jpg';
        $this->View->setData('header_photos', $photos);

        // Title
        $this->View->setData('page_title', $album['title'].' | Fotogallerij | '.SITE_NAME);

        // Load view
        $this->View->render('v_photogallery');
    }
}