| 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/nice/components/com_hikashop/views/upload/tmpl/ |
Upload File : |
<?php
/**
* @package HikaShop for Joomla!
* @version 6.1.0
* @author hikashop.com
* @copyright (C) 2010-2025 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><fieldset>
<div class="toolbar" id="toolbar" style="float: right;">
<button class="btn" type="button" onclick="hikamarket.submitform('addimage','hikashop_form');"><i class="fa fa-save"></i> <?php echo JText::_('OK'); ?></button>
</div>
</fieldset>
<form action="<?php echo hikashop_completeLink('upload&task=image'); ?>" method="post" name="hikashop_form" id="hikashop_form" enctype="multipart/form-data">
<table>
<tr>
<?php
if(empty($this->element->file_path)) {
?>
<td class="key">
<label for="files"><?php echo JText::_('HIKA_IMAGE'); ?></label>
</td>
<td>
<input type="file" name="files[]" size="30" />
<?php echo JText::sprintf('MAX_UPLOAD',(hikashop_bytes(ini_get('upload_max_filesize')) > hikashop_bytes(ini_get('post_max_size'))) ? ini_get('post_max_size') : ini_get('upload_max_filesize')); ?>
</td>
<?php
} else {
?>
<td class="key">
<label for="files"><?php echo JText::_( 'HIKA_IMAGE' ); ?></label>
</td>
<td><?php
$image = $this->imageHelper->getThumbnail($this->element->file_path, array(100, 100), array('default' => true));
?><img src="<?php echo $image->url ;?>" alt="<?php echo $image->filename ;?>" /></td>
<?php
}
?>
</tr>
</table>
<div class="clr"></div>
<input type="hidden" name="option" value="<?php echo HIKASHOP_COMPONENT; ?>" />
<input type="hidden" name="tmpl" value="component" />
<input type="hidden" name="ctrl" value="upload" />
<input type="hidden" name="task" value="addimage" />
<input type="hidden" name="uploader" value="<?php echo $this->uploader; ?>" />
<input type="hidden" name="field" value="<?php echo $this->field; ?>" />
<?php
if(!empty($this->uploadConfig['extra'])) {
foreach($this->uploadConfig['extra'] as $uploadField => $uploadFieldValue) {
?>
<input type="hidden" name="<?php echo $uploadField; ?>" value="<?php echo $uploadFieldValue; ?>" />
<?php
}
}
?>
<?php echo JHTML::_( 'form.token' ); ?>
</form>