Done !
| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/zenit/administrator/components/com_hikashop/views/plugins/tmpl/ |
Upload File : |
<?php
/**
* @package HikaShop for Joomla!
* @version 4.5.1
* @author hikashop.com
* @copyright (C) 2010-2022 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><div class="iframedoc" id="iframedoc"></div>
<?php if(!empty($this->filters)) { ?>
<div style="float:right"><?php echo implode(' ', $this->filters); ?></div>
<div style="clear:right"></div>
<?php } ?>
<table class="adminlist table table-striped" cellpadding="1">
<thead>
<tr>
<th class="title titlenum"><?php echo JText::_('HIKA_NUM');?></th>
<th class="title titlebox">
<input type="checkbox" name="toggle" value="" onclick="hikashop.checkAll(this);" />
</th>
<th class="title"><?php echo JText::_('HIKA_NAME');?></th>
<th class="title titleorder" style="width:10%;"><?php
if (@$this->data['order']->ordering) {
$keys = array_keys($this->rows);
$rows_nb = end($keys);
$href = "javascript:saveorder(".$rows_nb.", 'saveorder')";
?><a href="<?php echo $href; ?>" rel="tooltip" class="saveorder btn btn-sm btn-secondary float-end" title="Save Order">
<button class="button-apply btn btn-success" type="button">
<!-- <span class="icon-apply" aria-hidden="true"></span> -->
<i class="fas fa-save"></i>
</button>
</a><?php
}
echo JText::_( 'HIKA_ORDER' );
?></th>
<th class="title" style="width:2%;"><?php echo JText::_('HIKA_DELETE');?></th>
<th class="title" style="width:2%;"><?php echo JText::_('HIKA_PUBLISHED');?></th>
</tr>
</thead>
<tbody>
<?php
$p_id = $this->plugin_type.'_id';
$p_name = $this->plugin_type.'_name';
$p_order = $this->plugin_type.'_ordering';
$p_published = $this->plugin_type.'_published';
$k = 0;
$i = 0;
$a = count($this->elements);
$plugins = array();
if(!empty($this->elements))
$plugins = array_values($this->elements);
foreach($plugins as $plugin){
$published_id = $this->plugin_type.'_published-' . $plugin->$p_id;
$id = $this->plugin_type.'_' . $plugin->$p_id;
?>
<tr class="row<?php echo $k;?>" id="<?php echo $id;?>">
<td class="hk_center"><?php
echo $i+1;
?></td>
<td class="hk_center"><?php
echo JHTML::_('grid.id', $i, $plugin->$p_id );
?></td>
<td>
<a href="<?php echo hikashop_completeLink('plugins&plugin_type='.$this->plugin_type.'&task=edit&name='.$this->data['pluginName'].'&subtask='.$this->plugin_type.'_edit&'.$p_id.'='.$plugin->$p_id);?>"><?php echo $plugin->$p_name;?></a>
</td>
<td class="order">
<span><?php
echo $this->data['pagination']->orderUpIcon(
$i,
$this->data['order']->reverse XOR ($plugin->$p_order >= @$plugins[$i-1]->$p_order),
$this->data['order']->orderUp,
'Move Up',
$this->data['order']->ordering
);
?></span>
<span><?php
echo $this->data['pagination']->orderDownIcon(
$i,
$a,
$this->data['order']->reverse XOR ($plugin->$p_order <= @$plugins[$i+1]->$p_order),
$this->data['order']->orderDown,
'Move Down',
$this->data['order']->ordering
);
?></span>
<input type="text" name="order[]" size="5" <?php if(!$this->data['order']->ordering) echo 'disabled="disabled"'; ?> value="<?php echo $plugin->$p_order; ?>" class="text_area" style="text-align: center" />
</td>
<td class="hk_center">
<span class=""><?php
echo $this->data['toggleClass']->delete($id, $this->name.'-'.$plugin->$p_id, $this->plugin_type, true);
?></span>
</td>
<td class="hk_center">
<span id="<?php echo $published_id;?>" class="spanloading"><?php echo $this->data['toggleClass']->toggle($published_id, (int)$plugin->$p_published, $this->plugin_type);?></span>
</td>
</tr>
<?php
$k = 1-$k;
$i++;
}
?>
</tbody>
</table>
<input type="hidden" name="boxchecked" value="0" />
<input type="hidden" name="subtask" value=""/>
<input type="hidden" name="option" value="<?php echo HIKASHOP_COMPONENT;?>" />
<input type="hidden" name="task" value="edit"/>