| 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/ptcfinance/application/controllers/ |
Upload File : |
<?php
/* * *************************************************************
* Catabatic Technology Pvt. Ltd.
* File Name :UserController.php
* File Description :User controller for manage User Login
* Created By : Pooja Choudhary
* Created Date: 13-November-2015
* ************************************************************* */
class UserController extends Zend_Controller_Action {
public function init() {
/* Initialize action controller here */
$aConfig = $this->getInvokeArg('bootstrap')->getOptions();
$this->deviceBasePath = $aConfig['deviceBasePath'];
$cms = new Application_Model_Cms();
$menu = new Application_Model_Menu();
$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'];
//Start Code for tiled list menu on home page
$headerMenuData = $menu->getAllTopMenuList('content_menu');
$this->view->headerMenu = $headerMenuData;
$footerMenuData = $menu->getAllTopMenuList('footer_menu_column1');
// echo "<pre>";print_r($footerMenuData);die;
$this->view->footerMenu = $footerMenuData;
}
public function loginAction() {
$form = new Application_Form_Loginform();
$form->setAction("user/login");
$form->setMethod("POST");
// echo '<pre>';print_r($form); die;
$this->view->form = $form;
$this->view->headTitle()->prepend($this->page_title);
$this->view->headMeta()->appendName("description", $this->page_description);
$this->view->headMeta()->appendName("keyword", $this->page_keywords);
//Start Code for home slider
$slider = new Application_Model_Slider();
$this->view->slider_list = $slider->getAllSliderList('slider');
$this->view->logo_list = $slider->getAllSliderList('logo');
// echo '<pre>'; print_r($this->view->logo_list); die;
}
public function signupAction() {
}
public function logoutAction() {
}
public function homeAction() {
}
}