403Webshell
Server IP : 104.21.17.213  /  Your IP : 216.73.217.141
Web Server : Apache
System : Linux hosting01.arsenalhost.com 4.18.0-425.13.1.lve.el8.x86_64 #1 SMP Mon Feb 27 15:23:24 EST 2023 x86_64
User : corbizre ( 1013)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/corbizre/gotofindhomes.com3/components/LogSystem/Controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/corbizre/gotofindhomes.com3/components/LogSystem/Controllers/ActionController.php
<?php
/**
 * Documentation
 * @author [email protected]
 * @category
 * @package
 * @subpackage
 * @copyright  Copyright (c) 2005-2009 ITCrimea Ukraine Inc. (http://www.itcrimea.com)
 * @license
 */
class LogSystem_ActionController extends System_Controller_Db_Table
{
    /**
    * Модель для работы контроллера
    *
    * @var LogSystem_Action_Table
    */
    protected $_model;
    
    /**
    * Documentation
    * @author [email protected]
    * @return mixed
    */
    function init()
    {
        parent::init();
        $this->_select->setIntegrityCheck(false);
    }

    /**
    * Documentation
    * @author [email protected]
    * @return mixed
    */
    function indexAction()
    {

    }
    
    
    function addAction()
    {
        /*print_r(Zend_Controller_Front::getInstance()->getRequest()->getParams());
        exit('asdas');
        
        $paramRequests = $this->getRequest()->getParams();
		*/

        LogSystem_Action::add();
        
        $this->_helper->viewRenderer->setNoRender(true);
    }
    
    function getlistAction()
    {
    	$paramSort       = $this->getRequest()->getParam('sort', 'DateAdd');
    	$paramDir        = $this->getRequest()->getParam('dir', 'desc');
    	$paramResults    = $this->getRequest()->getParam('results', 5);
    	$paramUserID     = $this->getRequest()->getParam('userid');
    	$paramAction     = $this->getRequest()->getParam('action');
    	$paramModule     = $this->getRequest()->getParam('module');
    	$paramController = $this->getRequest()->getParam('controller');
    	$paramSection    = $this->getRequest()->getParam('section');
    	
    	$this->getRequest()->setParam('sort', $paramSort);
    	$this->getRequest()->setParam('dir', $paramDir);
    	$this->getRequest()->setParam('results', $paramResults);
    	
    	
    	
    	$this->_select->where($this->_model->getTableName().'.User_ID = ?', $paramUserID);
    	$this->_selectCount->where($this->_model->getTableName().'.User_ID = ?', $paramUserID);
    	
    	if($paramAction){
    		$this->_select->where($this->_model->getTableName().'.Action = ?', $paramAction);
    		$this->_selectCount->where($this->_model->getTableName().'.Action = ?', $paramAction);
    	}
    	if($paramModule){
    		$this->_select->where($this->_model->getTableName().'.Module = ?', $paramModule);
    		$this->_selectCount->where($this->_model->getTableName().'.Module = ?', $paramModule);
    	}
    	if($paramController){
    		$this->_select->where($this->_model->getTableName().'.Controller = ?', $paramController);
    		$this->_selectCount->where($this->_model->getTableName().'.Controller = ?', $paramController);
    	}
    	if($paramSection){
    		$this->_select->where($this->_model->getTableName().'.Section = ?', $paramSection);
    		$this->_selectCount->where($this->_model->getTableName().'.Section = ?', $paramSection);
    	}
    	
    	parent::getlistAction();
    }
    
}

Youez - 2016 - github.com/yon3zu
LinuXploit