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_CStitching
{
var $output=array();
function showStudents()
{
include_once('classes/Controller/CHeader.php');
include_once('classes/Controller/CFooter.php');
include_once('classes/Model/MStitching.php');
include_once('classes/Display/DStitching.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_MStitching::showStudents();
Bin_Template::createTemplate('students.html',$output);
$output['footer']=Controller_CFooter::showFooter();
}
function showTeachers()
{
include_once('classes/Controller/CHeader.php');
include_once('classes/Controller/CFooter.php');
include_once('classes/Model/MStitching.php');
include_once('classes/Display/DStitching.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_MStitching::showTeachers();
Bin_Template::createTemplate('teachers.html',$output);
$output['footer']=Controller_CFooter::showFooter();
}
function showOfficers()
{
include_once('classes/Controller/CHeader.php');
include_once('classes/Controller/CFooter.php');
include_once('classes/Model/MStitching.php');
include_once('classes/Display/DStitching.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_MStitching::showOfficers();
Bin_Template::createTemplate('officers.html',$output);
$output['footer']=Controller_CFooter::showFooter();
}
}
?>