AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.112
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/brest/components/com_djcatalog2/views/order/tmpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/brest/components/com_djcatalog2/views/order/tmpl/rating.php
<?php
/**
 * @package DJ-Catalog2
 * @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('Restricted access');
use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\FileLayout;
use Joomla\CMS\Router\Route;
?>
<h1 class="componentheading<?php echo $this->params->get( 'pageclass_sfx' ) ?>">
	<?php echo $this->escape($this->params->get('page_heading')); ?>
</h1>

<div id="djcatalog" class="djc_order_rating<?php echo $this->params->get( 'pageclass_sfx' ).' djc_theme_'.$this->params->get('theme','default') ?>">
	<?php if ($this->rating_items == false) {?>
		<div class="alert djc_order_rating--alert">
			<?php echo Text::_('COM_DJCATALOG2_ORDER_RATING_ITEMS_ALERT')?>
		</div>
	<?php } else { ?>
	<div class="djc_order_rating--items">
		<?php foreach($this->rating_items as $item) {?>
			<div class="djc_order_rating--item row row-fluid">
				<div class="djc_order_rating--item-details col-md-6">
					<?php if ((int)$this->params->get('image_link_item', 0) != -1) { ?>
						<?php 
						$variant = 'img';
						$layout = new FileLayout('com_djcatalog2.listimage', DJCatalog2ThemeHelper::getLayoutBasePath(), array('component'=> 'com_djcatalog2'));
						$imageData = array(	'item' => &$item, 
											'type' => 'item', 
											'size' => 'medium', 
											'variant' => $variant, 
											'hover_img' => false,
											'context' => 'com_djcatalog2.items.list', 
											'params' => &$this->params);
						echo $layout->render($imageData);
						?> 
					<?php } ?>
					<h3 class="djc_title">
						<a href="<?php echo Route::_(DJCatalogHelperRoute::getItemRoute($item->slug, $item->catslug))?>"><?php echo $item->name; ?></a>
					</h3>
				</div>
				<div class="djc_order_rating--item-rating col-md-6">
					<?php 
					
					$canVote = Djcatalog2HelperRating::canVote($item->id);
					
					$voteData = array('item' => $item, 'params' => $this->params, 'context' => 'com_djcatalog2.order_item', 'can_vote' => $canVote, 'not_hidden'=>true);
					$layout = new FileLayout('com_djcatalog2.item.rating', DJCatalog2ThemeHelper::getLayoutBasePath(), array('component' => 'com_djcatalog2'));
					echo $layout->render($voteData);
					
					if ($canVote) {
						$layout = new FileLayout('com_djcatalog2.item.vote', DJCatalog2ThemeHelper::getLayoutBasePath(), array('component' => 'com_djcatalog2'));
						echo $layout->render($voteData);
					} else {?>
						<span class="badge djc_order_rating--item-rating-badge"><?php echo Text::_('COM_DJCATALOG2_ORDER_RATING_ALREADY_RATED');?></span>
					<?php }
					?>
				</div>
			</div>
		<?php } ?>
	</div>
	<?php } ?>
</div>

Anon7 - 2022
AnonSec Team