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_CBody
{
var $output=array();
function showNational()
{
include_once('classes/Controller/CHeader.php');
include_once('classes/Controller/CFooter.php');
include_once('classes/Model/MBody.php');
include_once('classes/Display/DBody.php');
include_once('classes/Lib/Paging.php');
include_once('classes/Controller/CLeft.php');
$output['header']=Controller_CHeader::showHeader();
$output['left']=Controller_CLeft::showLeft();
$output['user']=Model_MBody::showNational();
Bin_Template::createTemplate('body_national.html',$output);
$output['footer']=Controller_CFooter::showFooter();
}
function showState()
{
include_once('classes/Controller/CHeader.php');
include_once('classes/Controller/CFooter.php');
include_once('classes/Model/MBody.php');
include_once('classes/Display/DBody.php');
include_once('classes/Lib/Paging.php');
include_once('classes/Controller/CLeft.php');
$output['header']=Controller_CHeader::showHeader();
$output['left']=Controller_CLeft::showLeft();
$output['user']=Model_MBody::showState();
Bin_Template::createTemplate('body_state.html',$output);
$output['footer']=Controller_CFooter::showFooter();
}
function showDistrict()
{
include_once('classes/Controller/CHeader.php');
include_once('classes/Controller/CFooter.php');
include_once('classes/Model/MBody.php');
include_once('classes/Display/DBody.php');
include_once('classes/Lib/Paging.php');
include_once('classes/Controller/CLeft.php');
$output['header']=Controller_CHeader::showHeader();
$output['left']=Controller_CLeft::showLeft();
$output['user']=Model_MBody::showDistrict();
Bin_Template::createTemplate('body_district.html',$output);
$output['footer']=Controller_CFooter::showFooter();
}
function showTehsil()
{
include_once('classes/Controller/CHeader.php');
include_once('classes/Controller/CFooter.php');
include_once('classes/Model/MBody.php');
include_once('classes/Display/DBody.php');
include_once('classes/Lib/Paging.php');
include_once('classes/Controller/CLeft.php');
$output['header']=Controller_CHeader::showHeader();
$output['left']=Controller_CLeft::showLeft();
$output['user']=Model_MBody::showTehsil();
Bin_Template::createTemplate('body_tehsil.html',$output);
$output['footer']=Controller_CFooter::showFooter();
}
function showBlock()
{
include_once('classes/Controller/CHeader.php');
include_once('classes/Controller/CFooter.php');
include_once('classes/Model/MBody.php');
include_once('classes/Display/DBody.php');
include_once('classes/Lib/Paging.php');
include_once('classes/Controller/CLeft.php');
$output['header']=Controller_CHeader::showHeader();
$output['left']=Controller_CLeft::showLeft();
$output['user']=Model_MBody::showBlock();
Bin_Template::createTemplate('body_block.html',$output);
$output['footer']=Controller_CFooter::showFooter();
}
function showCity()
{
include_once('classes/Controller/CHeader.php');
include_once('classes/Controller/CFooter.php');
include_once('classes/Model/MBody.php');
include_once('classes/Display/DBody.php');
include_once('classes/Lib/Paging.php');
include_once('classes/Controller/CLeft.php');
$output['header']=Controller_CHeader::showHeader();
$output['left']=Controller_CLeft::showLeft();
$output['user']=Model_MBody::showCity();
Bin_Template::createTemplate('body_city.html',$output);
$output['footer']=Controller_CFooter::showFooter();
}
}
?>