system: Linux mars.sprixweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
<?php
class Controller_CIndex
{
function showHomePage()
{
//Bin_Template::createTemplate('construction.html',$output);
include_once('classes/Controller/CHeader.php');
include_once('classes/Controller/CFooter.php');
include_once('classes/Controller/CLeft.php');
include_once('classes/Model/MCms.php');
include_once('classes/Display/DCms.php');
include_once('classes/Model/MIndex.php');
$output = array();
Model_MIndex::getSponsorName();
Model_MIndex::getPromotionalSite();
$output['header']=Controller_CHeader::showHeader();
$output['newshome']=Model_MCms::showNewsHome();
$output['offices']=Model_MCms::showOffices();
$output['left']=Controller_CLeft::showLeft();
$content=Model_MIndex::getContent();
$disp_mode = $content['disp_mode'];
if($disp_mode == 'on')
{
$output['type'] = $content['type'];
$output['popup_content'] = $content['content'];
}
Bin_Template::createTemplate('index.html',$output);
$output['footer']=Controller_CFooter::showFooter();
}
}
?>