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
cmd: 

Direktori : /home/pfhr/public_html/classes/Controller/
Upload File :
Current File : /home/pfhr/public_html/classes/Controller/CContactus.php

<?php

class Controller_CContactus
{
	
	function showContactUs()
	{
		//include('classes/Model/MDemo.php');
		//include('classes/Display/DDemo.php');	
		include_once('classes/Controller/CHeader.php');
		include_once('classes/Controller/CFooter.php');
		include_once('classes/Controller/CLeft.php');
		include_once('classes/Controller/CMleft.php');
		include_once('classes/Model/MContactus.php');
		include_once('classes/Display/DContactus.php');
		include_once('classes/Lib/HandleErrors.php');
		
		$output = array();
		$output['header']=Controller_CHeader::showHeader();
		
		$output['left']=Controller_CLeft::showLeft();
		$output['contactsuc']=$_SESSION['contactsuc'];
		unset($_SESSION['contactsuc']);
		$output['message'] = $Err->messages;
		$output['values'] = $Err->values;
		//$output['index'] = Model_MDemo::showIndex();
		//$output['popularTopics'] = Model_CPolls::showTopics();
		
		Bin_Template::createTemplate('contactus.html',$output);
		$output['footer']=Controller_CFooter::showFooter();
	}
	
	function contact()
	{
		include_once('classes/Controller/CHeader.php');
		include_once('classes/Controller/CFooter.php');
		include_once('classes/Controller/CLeft.php');
		include_once('classes/Controller/CMleft.php');
		include_once('classes/Model/MContactus.php');
		include_once('classes/Display/DContactus.php');
		include_once('classes/Lib/ValidateInputs.php');
		
		new Lib_ValidateInputs('contact');
		Model_MContactus::contact();
	
	}
	function showSuggestion()
	{
		//include('classes/Model/MDemo.php');
		//include('classes/Display/DDemo.php');	
		include_once('classes/Controller/CHeader.php');
		include_once('classes/Controller/CFooter.php');
		include_once('classes/Controller/CLeft.php');
		include_once('classes/Controller/CMleft.php');
		include_once('classes/Model/MContactus.php');
		include_once('classes/Display/DContactus.php');
		include_once('classes/Lib/HandleErrors.php');
		
		$output = array();
		$output['header']=Controller_CHeader::showHeader();
		$output['left']=Controller_CLeft::showLeft();
		$output['suggestionsuc']=$_SESSION['suggestionsuc'];
		unset($_SESSION['suggestionsuc']);
		$output['message'] = $Err->messages;
		$output['values'] = $Err->values;

		
		Bin_Template::createTemplate('suggestion.html',$output);
		$output['footer']=Controller_CFooter::showFooter();
	}
	function suggestion()
	{
		include_once('classes/Controller/CHeader.php');
		include_once('classes/Controller/CFooter.php');
		include_once('classes/Controller/CLeft.php');
		include_once('classes/Controller/CMleft.php');
		include_once('classes/Model/MContactus.php');
		include_once('classes/Display/DContactus.php');
		include_once('classes/Lib/ValidateInputs.php');
		
		new Lib_ValidateInputs('suggestion');
		Model_MContactus::suggestion();
	
	}
	
}

?>