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/administrator/components/com_jlexreview/views/cm/tmpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/administrator/components/com_jlexreview/views/cm/tmpl/default.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;
$app = JFactory::getApplication();
?>
<div id="jlexreview">
	<form action="<?=JUri::base(true)."/index.php?option=com_jlexreview&view=cm"?>" method="post" name="adminForm" id="adminForm">
		<?php if(JE_JVERSION=="J4"):?>
		<div class="btn-toolbar" style="margin-bottom:10px">
			<div class="btn-group">
				<div class="input-group">
					<input type="text" name="q" class="form-control" placeholder="Search" value="<?php echo $this->lists["query"] ;?>">
					<span class="input-group-append">
						<button type="submit" class="btn btn-primary"><span class="fas fa-search" aria-hidden="true"></span></button>
					</span>
				</div>

				<div style="margin-left:8px">
					<?php echo $this->lists['state'] ; ?>
				</div>
			</div>
		</div>
		<?php else:?>
		<div class="filter-box">
			<div class="pull-left js-stools">
				<div class="btn-wrapper input-append">
					<input type="text" name="q" value="<?php echo $this->lists["query"] ;?>" placeholder="Search">
					<button type="submit" class="btn">
						<span class="icon-search"></span>
					</button>
				</div>
			</div>
			<div class="pull-right">
				<?php echo $this->lists['state'] ; ?>
			</div>
			<div class="clearfix"></div>
		</div>
		<?php endif;?>

		<div class="reviewBox nopadding">
			<table class="adminlist mftable" >
				<thead>
					<tr>
						<th width="25">#</th>
						<th width="20"><input type="checkbox" name="toggle" value="" onclick="Joomla.checkAll(this)" /></th>
						<th width="20%"><?php echo JText::_('JR_COMMENT') ?></th>
						<th width="13%"><?php echo JHTML::_('grid.sort' , JText::_('JR_CREATED_BY') , 'cm.created_by' , $this->lists['order_Dir'] , $this->lists['order']) ?></th>
						<th><?php echo JHTML::_('grid.sort' , JText::_('JR_CREATED') , 'cm.created' , $this->lists['order_Dir'] , $this->lists['order']) ?></th>
						<th><?php echo JText::_("JR_INFORMATION") ?></th>
						<th><?php echo JHTML::_('grid.sort' , JText::_('JR_PUBLISHED') , 'cm.published' , $this->lists['order_Dir'] , $this->lists['order']) ?></th>
						<th><?php echo JText::_("JR_LIKE_DISLIKE") ?></th>
						<th width="25"><?php echo JHTML::_('grid.sort' , "ID" , 'cm.id' , $this->lists['order_Dir'] , $this->lists['order']) ?></th>
					</tr>
				</thead>
				<tbody>
				<?php if (!empty ($this->comments)) : ?>
					<?php
					$k = 0 ;
					$i = 0 ;
					$pub_states = [
						1 => [
							'unpublish',
							'JR_PUBLISHED',
							'','',
							false,
							'publish',
						],
						0 => [
							'publish',
							'JR_UNPUBLISHED',
							'','',
							false,
							'unpublish',
						],
					];
					foreach ($this->comments as $cm ) : 
						$checked = JHTML::_('grid.id' , $i , $cm->id);
						$published = JHtml::_('jgrid.state', $pub_states, $cm->published, $i);
					?>
					<tr class="<?php echo "row$k" ?>" >
						<td><?php echo $i+1; ?></td>
						<td align="center"><?php echo $checked; ?></td>
						<td><?php echo JLexReviewHelperAdmin::subwords($cm->comment, 20) ?></td>
						<td align="center">
							<?php if(!$cm->created_by): ?>
							<span><?php echo $cm->author ?> (<?php echo $cm->author_email ?>)</span>
							<?php else: ?>
							<a href="#" target="_blank"><?php echo $cm->author ?></a>
							<?php endif; ?>
						</td>
						<td align="center"><?php echo $cm->created ?></td>
						<td>
							<ul class="jr-meta-review">
								<li>In <a href="<?php echo $cm->entry_url ?>"><b><?php echo $cm->entry_name!=''?$cm->entry_name:JText::_("JR_UNKNOWN") ?></b></a></li>
								<li><a href="<?php echo $cm->urlPreview ?>"><?php echo JText::_("JR_VIEW_IN_FRONT_END")?></a></li>
								<li><a href="<?php echo $cm->urlEdit ?>"><?php echo JText::_("JR_EDIT") ?></a></li>
								<li><?php echo JText::_('JR_IP_ADDRESS').":".$cm->ip_address ?></li>
							</ul>
						</td>
						<td align="center"><?php echo $published ?>
						<td align="center" class="jr-text-large"><?php echo $cm->count_like . "/" . $cm->count_dislike ?></td>
						<td align="center"><?php echo $cm->id ?></td>
					</tr>
					<?php 
					$k = 1- $k;
					$i++ ;
					endforeach; ?>
				<?php else: ?>
				<tr>
					<td colspan="9" align="center"><?php echo JText::_("JR_NO_RECORD_FOUND") ?></td>
				</tr>
				<?php endif; ?>
				</tbody>
			</table>
		</div>
		<div align="center" style="margin-top:15px"><?php echo $this->page->getListFooter(); ?></div>
		<input type="hidden" name="filter_order" value="<?php echo $this->lists['order'] ; ?>">
		<input type="hidden" name="filter_order_Dir" value="<?php echo $this->lists['order_Dir'] ; ?>">
		<input type="hidden" name="task" value="">
		<input type="hidden" name="boxchecked" value="0">
		
		<input type="hidden" name="review_id" value="<?php echo $app->getInput()->getInt("review_id",0); ?>">
		<input type="hidden" name="uid" value="<?php echo $app->getInput()->getInt("uid",0); ?>">
	</form>
</div>

Anon7 - 2022
AnonSec Team