| Server IP : 103.234.187.230 / Your IP : 216.73.216.216 Web Server : Apache System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/prathamtour.com/application/modules/visa/controllers/ |
Upload File : |
<?php
/* * ***********************************************************
* Catabatic Technology Pvt. Ltd.
* File Name : IndexController.php
* File Desc. : Index controller for Visa front end
* Created By : Mangal Katiyar <mangal@catpl.co.in>
* Created Date : 12 October 2018
* Updated Date : 12 October 2018
* *************************************************************
*/
class Visa_IndexController extends Zend_Controller_Action {
public $baseUrl = '';
public $AgencyId;
protected $objMdl;
protected $objHelperGeneral;
protected $tablename;
public function init() {
$aConfig = $this->getInvokeArg('bootstrap')->getOptions();
$BootStrap = $aConfig['bootstrap'];
$this->siteName = $BootStrap['siteName'];
$this->baseUrl = $BootStrap['siteUrl'];
$this->AgencyId = $BootStrap['gtxagencysysid'];
$this->objMdl = new Admin_Model_CRUD();
$this->tablename = "tb_tbb2c_packages_master";
$this->objHelperGeneral = $this->_helper->General;
}
public function indexAction() {
// code here
$myCookies=isset($_COOKIE['myCookies']) ? $_COOKIE['myCookies'] : "";
$this->view->myCookies = $myCookies;
$geoCityData = $this->objMdl->getAllCountyDetailForHomePage();
$this->view->countryNameArray = $geoCityData;
$resultsetDestination = $this->objMdl->rv_select_all('tb_tbb2c_destinations', ['*'] ,['DisplayOnVisa'=>1,'IsMarkForDel'=>0], ['Title'=>'DESC'] );
$this->view->resultsetDestination = $resultsetDestination;
}
public function uploadDocsAction(){
$this->view->baseUrl = $this->baseUrl;
}
}