Spade
Mini Shell
PKAc�[�#o,,
index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKAc�[�^VRRtmpl/default.phpnu�[���<?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');
?>
<form action="<?php echo
JRoute::_('index.php?option=com_reservation'); ?>"
method="post" name="adminForm"
id="adminForm">
<?php echo $this->toolbar->render(); ?>
<!--[JCBGUI.site_view.default.44.$$$$]-->
<style>
#doctors .card ul li{
margin: 5px 0;
font-size: 14px;
}
#doctors .card:hover{
color: #000 !important;
}
h1{
font-size: 1.6rem;
}
</style>
<section id="doctors">
<div class="row justify-content-center">
<div class="col-md-10">
<div class="row">
<div class="col-md-12 mb-4">
<span></span>
<h1>نوبت دهی آنلاین مشاوران
سامانه ارم مشاور</h1>
</div>
<?php foreach ($this->items as $item):
if ( ( ! file_exists( JPATH_SITE .
'/libraries/CBLib/CBLib/Core/CBLib.php' ) ) || ( ! file_exists(
JPATH_ADMINISTRATOR .
'/components/com_comprofiler/plugin.foundation.php' ) ) ) {
// echo 'CB not installed';
$imgurl = '';
}
else
{
include_once( JPATH_ADMINISTRATOR .
'/components/com_comprofiler/plugin.foundation.php' );
cbimport( 'cb.html' );
global $_CB_framework, $_PLUGINS, $ueConfig;
$cbUser =& CBuser::getInstance( (int)
$item->userid );
$user = $cbUser->getUserData();
$imgurl = '/images/comprofiler/' .
$user->avatar;
}
?>
<div class="col-md-12 mb-4">
<a href="<?=
JRoute::_('index.php?option=com_reservation&view=consultantitem&id='.$item->id,false)
?>">
<div class="card"
style="box-shadow: 2px 6px 9px -2px #ccc;border-radius: 15px;overflow:
hidden;">
<div class="card-body"
style="display: flex">
<div style="display: flex;
justify-content: start; flex: 2">
<div style="margin-left:
10px">
<img style="border:3px
solid #ccc;width: 62px; height: 62px; border-radius: 50%"
src="<?= $imgurl; ?>" alt="">
</div>
<div>
<ul style="list-style:
none">
<li
class="card-title" style="font-weight: 600; font-size:
15px"><?php echo $item->users_name; ?></li>
<li style="margin:
13px 0;">
<span
style="font-size: 12px; color: gray">تخصص : </span>
<span><?php echo
$item->categories_title; ?></span>
</li>
<li>
<span><svg style="color:
red" xmlns="http://www.w3.org/2000/svg" width="16"
height="16" fill="currentColor" class="bi
bi-geo-alt" viewBox="0 0 16 16">
<path d="M12.166 8.94c-.524 1.062-1.234 2.12-1.96 3.07A31.493
31.493 0 0 1 8 14.58a31.481 31.481 0 0
1-2.206-2.57c-.726-.95-1.436-2.008-1.96-3.07C3.304 7.867 3 6.862 3 6a5 5 0
0 1 10 0c0 .862-.305 1.867-.834 2.94zM8 16s6-5.686 6-10A6 6 0 0 0 2 6c0
4.314 6 10 6 10z"/>
<path d="M8 8a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm0 1a3 3 0 1 0 0-6 3 3
0 0 0 0 6z"/>
</svg></span>
<span> <?php
echo $item->address; ?></span>
</li>
</ul>
</div>
</div>
<div style="flex: 1">
<ul style="list-style:
none">
<li>
<span>شماره
نظام پزشکی:</span>
<span><?=
$item->msn; ?></span>
</li>
<li style="margin: 13px
0;">
<span>تجربه:</span>
<span><?=
$item->experience; ?> سال</span>
</li>
<li>
<span>مشاوره
موفق:</span>
<span><?=
ReservationHelper::getSessionCount($item->id)->count?></span>
</li>
</ul>
</div>
</div>
<div class="card-footer"
style="background-color: #fff">
<span class="btn btn-success
btn-sm" style="float: left">دریافت
مشاوره</span>
</div>
</div>
</a>
</div>
<?php endforeach; ?>
</div>
</div>
</div>
</section>
<!--[/JCBGUI$$$$]-->
<?php if (isset($this->items) && isset($this->pagination)
&& isset($this->pagination->pagesTotal) &&
$this->pagination->pagesTotal > 1): ?>
<div class="pagination">
<?php if
($this->params->def('show_pagination_results', 1)) : ?>
<p class="counter pull-right"> <?php echo
$this->pagination->getPagesCounter(); ?> <?php echo
$this->pagination->getLimitBox(); ?></p>
<?php endif; ?>
<?php echo $this->pagination->getPagesLinks(); ?>
</div>
<?php endif; ?>
<input type="hidden" name="task" value=""
/>
<?php echo JHtml::_('form.token'); ?>
</form>
PKAc�[i�z��tmpl/default.xmlnu�[���<?xml
version="1.0" encoding="utf-8" ?>
<metadata>
<layout title="COM_RESERVATION_MENU_RES_LIST_TITLE"
option="COM_RESERVATION_MENU_RES_LIST_OPTION">
<message>
<![CDATA[COM_RESERVATION_MENU_RES_LIST_DESC]]>
</message>
</layout>
</metadata>PKAc�[�#o,,tmpl/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKAc�[
呣��
view.html.phpnu�[���<?php
/*----------------------------------------------------------------------------------|
www.vdm.io |----/
fdsh
/-------------------------------------------------------------------------------------------------------/
@version 1.0.39
@build 4th April, 2023
@created 17th December, 2020
@package Reservation
@subpackage view.html.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');
/**
* Reservation View class for the Res_list
*/
class ReservationViewRes_list extends JViewLegacy
{
// Overwriting JView display method
function display($tpl = null)
{
// get combined params of both component and menu
$this->app = JFactory::getApplication();
$this->params = $this->app->getParams();
$this->menu = $this->app->getMenu()->getActive();
// get the user object
$this->user = JFactory::getUser();
// Initialise variables.
$this->items = $this->get('Items');
$this->pagination = $this->get('Pagination');
// Set the toolbar
$this->addToolBar();
// set the document
$this->_prepareDocument();
// Check for errors.
if (count($errors = $this->get('Errors')))
{
throw new Exception(implode(PHP_EOL, $errors), 500);
}
parent::display($tpl);
}
/**
* Prepares the document
*/
protected function _prepareDocument()
{
// always make sure jquery is loaded.
JHtml::_('jquery.framework');
// Load the header checker class.
require_once( JPATH_COMPONENT_SITE.'/helpers/headercheck.php'
);
// Initialize the header checker.
$HeaderCheck = new reservationHeaderCheck;
// add the document default css file
$this->document->addStyleSheet(JURI::root(true)
.'/components/com_reservation/assets/css/res_list.css',
(ReservationHelper::jVersion()->isCompatible('3.8.0')) ?
array('version' => 'auto') : 'text/css');
}
/**
* Setting the toolbar
*/
protected function addToolBar()
{
// set help url for this view if found
$help_url = ReservationHelper::getHelpUrl('res_list');
if (ReservationHelper::checkString($help_url))
{
JToolbarHelper::help('COM_RESERVATION_HELP_MANAGER', false,
$help_url);
}
// now initiate the toolbar
$this->toolbar = JToolbar::getInstance();
}
/**
* Escapes a value for output in a view script.
*
* @param mixed $var The output to escape.
*
* @return mixed The escaped value.
*/
public function escape($var, $sorten = false, $length = 40)
{
// use the helper htmlEscape method instead.
return ReservationHelper::htmlEscape($var, $this->_charset, $sorten,
$length);
}
}
PKAc�[�#o,,
index.htmlnu�[���PKAc�[�^VRRftmpl/default.phpnu�[���PKAc�[i�z���tmpl/default.xmlnu�[���PKAc�[�#o,,0tmpl/index.htmlnu�[���PKAc�[
呣��
�view.html.phpnu�[���PK��+