| 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/indoasiaholidays.com/application/modules/testimonial/controllers/ |
Upload File : |
<?php
class Testimonial_IndexController extends Zend_Controller_Action {
public $defaultTourListingImage;
public function init() {
parent::init();
$aConfig = $this->getInvokeArg('bootstrap')->getOptions();
$BootStrap = $aConfig['bootstrap'];
$this->siteName = $BootStrap['siteName'];
$this->baseUrl = $BootStrap['siteUrl'];
$this->tollfreenumber = $BootStrap['tollfreenumber'];
$this->objMdl = new Admin_Model_CRUD();
$this->per_page_record = 10;
$this->_session = new Zend_Session_Namespace('User');
$this->table = 'tbl_blog';
$this->CONST_YEAR_NAME = unserialize(CONST_YEAR_NAME);
$this->objHelperGeneral = $this->_helper->General;
}
public function indexAction()
{
$param = $this->getRequest()->getParams();
$testimonials = $this->objMdl->rv_select_all( 'tbl_testimonials' , ['*'] , [ 'status'=>1 ] , ['id'=>'DESC']);
$this->view->testimonials = $testimonials;
$getPageDetail = $this->objMdl->rv_select_row('tbl_static_pages' , ['*'], ['sid'=>191] , ['sid'=> 'desc'] );
$this->view->getPageDetail = $getPageDetail;
$this->view->baseUrl = $this->baseUrl;
$this->view->CONST_YEAR_NAME = $this->CONST_YEAR_NAME;
$detailLayout['Keyword'] = $getPageDetail['meta_keywords']; // get package Keyword
$detailLayout['Description'] = $getPageDetail['meta_description']; // get package Description
$detailLayout['PackageTitle'] =$getPageDetail['meta_title']; // get package name
$this->view->detailLayout = $detailLayout;
}
}