| 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/dcb/application/controllers/ |
Upload File : |
<?php
/***************************************************************
* Catabatic Technology Pvt. Ltd.
* File Name :RemittancesController.php
* File Description :Remittances controller for manage Nri Banking pages
* Created By : Praveen Kumar
* Created Date: 01-December-2016
***************************************************************/
class UrlController extends Zend_Controller_Action
{
public $redirectURL;
public function init()
{
/* Initialize action controller here */
$aConfig = $this->getInvokeArg('bootstrap')->getOptions();
$this->deviceBasePath = $aConfig['deviceBasePath'];
$this->view->deviceBasePath = $aConfig['deviceBasePath'];
$this->siteUrl = $aConfig['bootstrap']['siteUrl'];
$this->smtpUserName = $aConfig['smtpUserName'];
$this->smtpPassword = $aConfig['smtpPassword'];
$this->smtpPort = $aConfig['smtpPort'];
$this->smtpHost = $aConfig['smtpHost'];
$this->fromEmail = $aConfig['fromEmail'];
$this->fromName = $aConfig['fromName'];
$this->nriFromEmail = $aConfig['nriFromEmail'];
$cms = new Application_Model_Cms();
$page_details = $cms->getPageDetails();
$this->page_title = $page_details['page_title'];
$this->page_description = $page_details['page_description'];
$this->page_keywords = $page_details['page_keywords'];
//Zend_Session::start();
//$controller_name = Zend_Controller_Front::getInstance()->getRequest()->getControllerName();
//$action_name = Zend_Controller_Front::getInstance()->getRequest()->getActionName();
require_once $this->deviceBasePath.'library/Catabatic/MobileDetect.php';
//require_once 'library/Catabatic/MobileDetect.php';
$this->mobile_detect = new Catabatic_MobileDetect();
$this->redirectURL = "https://www.dcbbank.com/lms/nri-leave-your-number";
}
/**
* index() method is used
* @param content_menu_link_id string
* @return object
*/
public function indexAction()
{
$this->_helper->layout()->disableLayout('');
//Start leave your number lms from code here
$this->view->headTitle()->prepend($this->page_title);
$this->view->headMeta()->appendName("description", $this->page_description);
$this->view->headMeta()->appendName("keyword", $this->page_keywords);
$this->view->siteUrl = $this->siteUrl;
$this->view->redirectURL = $this->redirectURL;
//End leave your number lms from code here
}
public function dcbNriServiceAction()
{
$this->_helper->layout()->disableLayout('');
//Start leave your number lms from code here
$this->view->headTitle()->prepend($this->page_title);
$this->view->headMeta()->appendName("description", $this->page_description);
$this->view->headMeta()->appendName("keyword", $this->page_keywords);
$this->view->siteUrl = $this->siteUrl;
$this->view->redirectURL = $this->redirectURL;
//End leave your number lms from code here
}
}