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/SBogers13/rie-jeanne.nl/wwwroot/kms/app/controllers/c_main_nav.class.php
<?php
/**
 * c_main_nav.class.php
 * Created by Komma Mediadesign.
 * Author: mike
 * Date: 3/29/13
 */

class Main_Nav extends Controller
{
    private $_nav;

    private $_lang;
    private $_url;

    public function __construct()
    {
        /* Create Navigation */
        $this->_nav = new Navigation();
        if(defined('URL_LANG'))
        {
            $LanguageHandler = new LanguageHandler();
            $LanguageHandler->set(URL_LANG);
            $this->_lang = $LanguageHandler->get();
            $this->_url = $LanguageHandler->getUrls();
        }
    }

    public function get()
    {
        $this->_nav->addLine($this->_lang['welcome'],'_root');
        $this->_nav->addLine($this->_lang['photography'],$this->_url['photography']);
        $this->_nav->addLine($this->_lang['birthday'],$this->_url['birthday']);
        $this->_nav->addLine($this->_lang['party'],$this->_url['party']);

        $this->_nav->addLine($this->_lang['trash']);
        return $this->_nav->display(FALSE);
    }
}