AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.94
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/administrator/components/com_jlexreview/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/nice2/administrator/components/com_jlexreview//jlexreview.php
<?php
/**
 * @package		JLex Review
 * @version		5
 * @copyright	Copyright JLexArt. All rights reserved
 * @license		GNU General Public License version 2 or later;
 * @author		www.jlexart.com
 */

defined("_JEXEC") or die;

// b/c plugin - apply for J5
if(version_compare(JVERSION, "5.0.0-alpha", ">="))
{
	$classmap = JPATH_ROOT.'/plugins/behaviour/compat/compat.xml';
	if(!file_exists($classmap))
		require_once dirname(__FILE__).'/libs/classmap.php';
}

$app = JFactory::getApplication();
$view = strtolower($app->input->getCmd("view", "dashboard"));
$app->input->set("view", $view);

if(!file_exists(dirname(__FILE__)."/controllers/".$view.".php"))
{
	throw new Exception(JText::_("JR_PAGE_NOT_FOUND"), 404);
	return;
}

if(!defined("JE_JVERSION")) 
{
    if (version_compare(JVERSION, "4.0.0-alpha", ">=")) {
		define("JE_JVERSION", "J4");
	} elseif (version_compare(JVERSION, "3.0.0", ">=")) {
        define("JE_JVERSION", "J3");
    } else {
        define("JE_JVERSION", "J25");
    }
}

if(!defined("JR_SERVER"))
{
	define("JR_SERVER", "https://www.jlexart.com/connect/jlexreview");
}

JHtml::_("behavior.keepalive");
JHtml::_("jquery.framework");

if(JE_JVERSION=="J3" && $view!="filesection") JHtml::_('formbehavior.chosen', 'select');

jimport("joomla.filesystem.folder");
jimport("joomla.filesystem.file");

require_once dirname(__FILE__)."/libs/helper.php";

// css & js
$doc = JFactory::getDocument();
$layout = $app->input->getCmd("layout", "default");
$assets = JUri::base(true)."/components/com_jlexreview/assets";

$doc->addStyleSheet($assets."/style.css?v=6.1.7");
if(JE_JVERSION=="J4") $doc->addStyleSheet($assets."/j4.css");
JLexReviewHelperAdmin::ls();

$loader = [];
switch($view)
{
	case "dashboard":
		$doc->setTitle(JText::_('JR_DASHBOARD'));
		$doc->addScript($assets."/chart.min.js");

		$loader[]='dashboard';
		break;

	case "rating":
		$loader[]='ratingform';
		break;

	case "user":
		$loader[]='user';
		break;

	case "reviews":
		$loader[]='reviewlist';
		break;

	case "import":
		$loader[]=$layout=='3rd'?'import_3rd':'import_column';
		break;

	case "items":
		$loader[]='entry_form';
		break;

	case "sync":
		$loader[]='sync';
		break;
}

$jsConfig = [
	"url" => JUri::base(true),
	"jversion" => JE_JVERSION,
	"menu" => array(
		"list" => array(
				"dashboard" => JText::_("JR_DASHBOARD"),
				"items" => JText::_('JR_ITEMS'),
				"reviews" => JText::_('JR_REVIEW_RATING'),
				"cm" => JText::_('JR_COMMENTS'),
				"section" => JText::_('JR_SECTION'),
				"config" => JText::_('JR_CONFIG'),
				"report" => JText::_('JR_REPORT'),
				"subscribe" => JText::_('JR_SUBSCRIBER'),
				"blacklist" => JText::_('JR_BLACKLIST'),
				"user" => JText::_("JR_USER"),
				"roles" => JText::_("JR_ROLES"),
				"replacer" => JText::_("JR_REPLACER"),
				"mailq" => JText::_("JR_MAIL_ACTIVITIES"),
				"sync" => JText::_("JR_SYNC"),
				"integration" => JText::_("JR_INTEGRATION"),
				"import" => JText::_('JR_IMPORT_MIGRATION')
			),
		"active" => $view,
		"hide" => $app->input->getCmd("tmpl")=="component"
	)
];

$js = '(function($){
	$(document).ready(function(){
		JLexReviewAdmin($, '.json_encode($jsConfig).', '.json_encode($loader).');
	});
})(jQuery);';

$doc->addScriptDeclaration($js);

$doc->addScript($assets."/script.js?v=6.1.7");

require_once dirname(__FILE__)."/controllers/".$view.".php";

$nameClass = 'JLexReviewController' . $view;
$controller = new $nameClass();
$controller->execute($app->input->getCmd("task", "display"));
$controller->redirect();

Anon7 - 2022
AnonSec Team