Spade
Mini Shell
default.php000064400000007465151170300110006702 0ustar00<?php
/*----------------------------------------------------------------------------------|
www.vdm.io |----/
fdsh
/-------------------------------------------------------------------------------------------------------/
@version 1.0.39
@build 4th April, 2023
@created 17th December, 2020
@package Reservation
@subpackage default.php
@author farhad shahbazi <http://farhad.com>
@copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later -
http://www.gnu.org/licenses/gpl-2.0.html
____ _____ _____ __ __ __ __ ___ _____ __ __ ____
_____ _ _ ____ _ _ ____
(_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \(
_ )( \( )( ___)( \( )(_ _)
.-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/
)(_)( ) ( )__) ) ( )(
\____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__)
(_____)(_)\_)(____)(_)\_) (__)
/------------------------------------------------------------------------------------------------------*/
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
?>
<?php echo $this->toolbar->render(); ?>
<!--[JCBGUI.site_view.default.32.$$$$]-->
<section id="comment">
<div class="row">
<div class="col-md-4">
<div class="card text-center">
<div class="card-header">
<img style="width: 62px; height: 62px;
border-radius: 50%" src="<?php echo $this->item->image;
?>" alt="<?php echo $this->item->alt;
?>">
</div>
<div class="card-body">
<p class="card-text">لطفا نظر
خود را درباره دکتر</p>
<h5 class="card-title"><?php echo
$this->item->users_name; ?></h5>
<p
class="card-text">بنویسید</p>
</div>
</div>
</div>
<div class="col-md-8">
<form action="" method="post"
id="adminForm">
<div class="form-group">
<?=
$this->form->getLabel('text');?>
<?=
$this->form->getInput('text');?>
</div>
<div class="form-group">
<?=
$this->form->getLabel('rate');?>
<?=
$this->form->getInput('rate');?>
</div>
<input class="btn btn-primary"
type="submit" value="ثبت" >
<?= JHtml::_('form.token');?>
<input type="hidden" name="task"
value="comment.save">
</form>
</div>
</div>
<div class="modal fade" id="cmModal"
tabindex="-1" role="dialog"
aria-labelledby="exampleModalCenterTitle"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered"
role="document">
<div class="modal-content">
<div class="modal-header
justify-content-center">
<svg xmlns="http://www.w3.org/2000/svg"
width="16" height="16" fill="currentColor"
class="bi bi-check2-circle" viewBox="0 0 16 16"
style="transform: scale(2.5); color:
#35e135" >
<path d="M2.5 8a5.5 5.5 0 0 1
8.25-4.764.5.5 0 0 0 .5-.866A6.5 6.5 0 1 0 14.5 8a.5.5 0 0 0-1 0 5.5 5.5 0
1 1-11 0z"/>
<path d="M15.354 3.354a.5.5 0 0
0-.708-.708L8 9.293 5.354 6.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708
0l7-7z"/>
</svg>
</div>
<div class="modal-body">
نظر شما با موفقیت ثبت شد
</div>
<div class="modal-footer">
<a href="<?=
JRoute::_(JUri::root(),false);?>" class="btn
btn-primary">ادامه</a>
</div>
</div>
</div>
</div>
</section><!--[/JCBGUI$$$$]-->
integer.php000064400000000712151170573520006720 0ustar00<?php
/**
* @package Joomla.Plugin
* @subpackage Fields.Integer
*
* @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All
rights reserved.
* @license GNU General Public License version 2 or later; see
LICENSE.txt
*/
defined('_JEXEC') or die;
$value = $field->value;
if ($value == '')
{
return;
}
if (is_array($value))
{
$value = implode(', ', array_map('intval', $value));
}
else
{
$value = (int) $value;
}
echo $value;
file_entry.php000064400000002705151171351550007425 0ustar00<?php
/**
* @package HikaShop for Joomla!
* @version 2.2.3
* @author hikashop.com
* @copyright (C) 2010-2013 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><div>
<?php
if(!empty($this->params->delete) &&
!empty($this->params->uploader_id)) {
$p = '';
if(!empty($this->params->field_name))
$p = ',\'' . $this->params->field_name .
'\'';
?>
<a href="#delete" class="deleteImg"
onclick="return window.hkUploaderList['<?php echo
$this->params->uploader_id; ?>'].delImage(this<?php echo
$p;?>);"><img src="<?php echo HIKASHOP_IMAGES;
?>cancel.png" border="0"></a>
<?php
}
if(!empty($this->params->file_name)) {
?>
<span class="file_name"
style="white-space:nowrap"><?php echo
$this->params->file_name; ?></span><br/>
<span class="file_size"><?php
$u =
array('B','KB','MB','GB','TB','PB');
echo sprintf('%01.2f',
@round($this->params->file_size/pow(1024,($i=floor(log($this->params->file_size,1024)))),2)).' '.$u[$i];
?></span>
<?php
}
if(!empty($this->params->field_name))
echo '<input type="hidden"
name="'.$this->params->field_name.'"
value="'.$this->escape(@$this->params->file_path).'"/>';
if(!empty($this->params->extra_fields)) {
foreach($this->params->extra_fields as $key => $value) {
echo '<input type="hidden"
name="'.$this->escape($key).'"
value="'.$this->escape($value).'"/>';
}
}
?>
</div>
galleryimage.php000064400000011027151171351550007724 0ustar00<?php
/**
* @package HikaShop for Joomla!
* @version 2.2.3
* @author hikashop.com
* @copyright (C) 2010-2013 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="window.hikamarket.submitform('galleryselect','adminForm');"><img
style="vertical-align: middle" src="<?php echo
HIKASHOP_IMAGES; ?>save.png"/><?php echo
JText::_('OK'); ?></button>
</div>
</fieldset>
<form action="<?php echo
hikamarket::completeLink('upload&task=galleryimage', true);
?>" method="post" name="adminForm"
id="adminForm">
<table width="100%" height="100%"
class="adminlist" style="width:100%;height:100%;">
<thead>
<tr>
<th></th>
<th>
<?php echo JText::_('FILTER');?>:
<input type="text" name="search"
value="<?php echo
$this->escape($this->pageInfo->search);?>"
class="text_area"
onchange="document.adminForm.submit();" />
<button class="btn"
onclick="document.adminForm.limitstart.value=0;this.form.submit();"><?php
echo JText::_( 'GO' ); ?></button>
<button class="btn"
onclick="document.adminForm.limitstart.value=0;document.getElementById('search').value='';this.form.submit();"><?php
echo JText::_( 'RESET' ); ?></button>
</th>
</tr>
</thead>
<tfoot>
<tr>
<td></td>
<td>
<?php echo $this->pagination->getListFooter(); ?>
<?php echo $this->pagination->getResultsCounter(); ?>
</td>
</tr>
</tfoot>
<tr>
<td width="130px" height="100%"
style="width:130px;vertical-align:top;">
<div style="width:130px;height:100%;overflow:auto;">
<?php
echo $this->treeContent;
?>
<script type="text/javascript">
hikashopGallery.callbackSelection = function(tree,id) {
var d = document, node = tree.get(id);
if( node.value && node.name ) {
var url = "<?php
$params = '';
if(!empty($this->uploadConfig['extra'])) {
foreach($this->uploadConfig['extra'] as $uploadField =>
$uploadFieldValue) {
$params .= '&' . urlencode($uploadField) . '='
. urlencode($uploadFieldValue);
}
}
echo
hikamarket::completeLink('upload&task=galleryimage&folder={FOLDER}&uploader='.$this->uploader.'&field='.$this->field.$params,
true, true) ;
?>";
document.location = url.replace('{FOLDER}',
node.value.replace('/', '|'));
}
}
</script>
</div>
</td>
<td>
<ul id="hikaGallery">
<?php
if(!empty($this->dirContent)) {
foreach($this->dirContent as $k => $content) {
$chk_uid = 'hikaGalleryChk_' . $k . '_' . uniqid();
?>
<li class="hikaGalleryItem">
<a class="hikaGalleryPhoto" href="#"
onclick="return window.hikagallery.select(this, '<?php echo
$chk_uid; ?>');">
<img src="<?php echo $content->thumbnail->url;
?>" alt="<?php echo $content->filename;
?>"/>
<span style="display:none;"
class="hikaGalleryChk"><input type="checkbox"
id="<?php echo $chk_uid ;?>" name="files[]"
value="<?php echo $content->path; ?>"/></span>
<div class="hikaGalleryCommand">
<span class="photo_name"><?php echo
$content->filename; ?></span>
<span><?php echo $content->width . 'x' .
$content->height; ?></span>
<span style="float:right"><?php echo
$content->size; ?></span>
</div>
</a>
</li>
<?php
}
}
?>
</ul>
</td>
</tr>
</table>
<script type="text/javascript">
window.hikagallery = {};
window.hikagallery.select = function(el, id) {
var d = document, w = window, o = w.Oby, chk = d.getElementById(id);
if(chk) {
if(chk.checked) {
o.removeClass(el.parentNode, 'selected');
} else {
o.addClass(el.parentNode, 'selected');
}
chk.checked = !chk.checked;
}
return false;
}
</script>
<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="task"
value="galleryimage" />
<input type="hidden" name="ctrl"
value="upload" />
<input type="hidden" name="folder"
value="<?php echo $this->destFolder; ?>" />
<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>
image_entry.php000064400000002067151171351550007571 0ustar00<?php
/**
* @package HikaShop for Joomla!
* @version 2.2.3
* @author hikashop.com
* @copyright (C) 2010-2013 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><div>
<?php if(!empty($this->params->delete) &&
!empty($this->params->uploader_id)) { ?>
<a href="#delete" class="deleteImg"
onclick="return window.hkUploaderList['<?php echo
$this->params->uploader_id;
?>'].delImage(this);"><img src="<?php echo
HIKASHOP_IMAGES; ?>cancel.png" border="0"></a>
<?php } ?>
<div class="hikashop_image"><?php
$img =
$this->imageHelper->getThumbnail(@$this->params->file_path,
array(100, 100), array('default' => true));
if($img->success) {
$content = '<img src="'.$img->url.'"
alt="'.$img->filename.'" />';
echo $this->popup->image($content, $img->origin_url);
}
if(!empty($this->params->field_name))
echo '<input type="hidden"
name="'.$this->params->field_name.'"
value="'.$this->escape(@$this->params->file_path).'"/>';
?></div>
</div>
index.html000064400000000054151171351550006544 0ustar00<html><body
bgcolor="#FFFFFF"></body></html>sendfile.php000064400000004424151171351550007056
0ustar00<?php
/**
* @package HikaShop for Joomla!
* @version 2.2.3
* @author hikashop.com
* @copyright (C) 2010-2013 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');"><img
style="vertical-align:middle" src="<?php echo
HIKASHOP_IMAGES; ?>save.png"/><?php echo
JText::_('OK'); ?></button>
</div>
</fieldset>
<form action="<?php echo
hikamarket::completeLink('upload&task=image'); ?>"
method="post" name="hikashop_form"
id="hikashop_form" enctype="multipart/form-data">
<table width="100%">
<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>
default.xml000064400000000365151171557430006727 0ustar00<?xml
version="1.0" encoding="utf-8" ?>
<metadata>
<layout title="COM_RESERVATION_MENU_COMMENT_TITLE"
option="COM_RESERVATION_MENU_COMMENT_OPTION">
<message>
<![CDATA[COM_RESERVATION_MENU_COMMENT_DESC]]>
</message>
</layout>
</metadata>