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/components/com_jlexreview/models/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/components/com_jlexreview/models/embed.php
<?php
/**
 * @package		JLex Review
 * @version		4.2.3
 * @copyright	Copyright (c) 2013-2018 JLexArt. All rights reserved
 * @license		GNU General Public License version 2 or later;
 * @author		www.jlexart.com
 */

defined ( "_JEXEC" ) or die;

class JLexReviewModelEmbed extends JModelLegacy
{
	public function loadEntry($obj, $id)
	{
		$config = JLexReviewHelperAdmin::getConfig();
		$query 	= $this->_db->getQuery(true);
		$query->select('*')
			  ->from('#__jlexreview_entry')
			  ->where(array(
			  		$this->_db->quoteName('object') . '=' . $this->_db->quote($obj),
			  		$this->_db->quoteName('object_id') . '=' . $this->_db->quote($id),
			  	));

		$row 	= $this->_db->setQuery($query,0,1)->loadObject();

		if (!$row) return false;

		if ($config->def("link_type",0)=="1")
		{
			$up     = JLexReviewHelperAdmin::getItemDetail($row->object, $row->object_id, $row->object_name, $row->url);
            $row->url    = str_replace(JUri::root(true), '', $up->url);
            $row->object_name = $up->title;
		}

		$row->url 	= trim($row->url,'/');
		$row->url 	= preg_match('/^https?:\/\//', $row->url) ? $row->url : JUri::root() . $row->url;
		$row->object_name = htmlspecialchars($row->object_name);

		return $row;
	}
}

Anon7 - 2022
AnonSec Team