<?php
if (!defined('IN_CRONLITE')) {
    exit('Access Denied');
}

$section = empty($_GET["s"]) ? "uiisc" : $_GET["s"];
$enable_section = array(
    "crogram" => array("title" => "Crogram"),
    "ifastnet" => array("title" => "iFastNet"),
    "uiisc" => array("title" => "UIISC")
);

$section_page = ROOT . "/core/views/about/{$section}.php";

if (is_file(($section_page))) {
    $page_title = $page_title . ' - ' . $lang->I18N('about') . ' ' . $enable_section[$section]['title'];
} else {
    $page_title = $page_title . ' - ' . $lang->I18N('about');
    $section_page = ROOT . "/core/views/about/uiisc.php";
}

require ROOT . '/public/views/common/header.php';
require ROOT . '/public/views/common/navbar.php';
require ROOT . '/public/views/about.php';
require ROOT . '/public/views/common/footer.php';
