Файловый менеджер - Редактировать - /home/lmsyaran/public_html/pusher/comment.zip
Назад
PK �D�[�#o, , index.htmlnu �[��� <html><body bgcolor="#FFFFFF"></body></html>PK �D�[秃�� � submitbutton.jsnu �[��� /*----------------------------------------------------------------------------------| www.vdm.io |----/ fdsh /-------------------------------------------------------------------------------------------------------/ @version 1.0.39 @build 4th April, 2023 @created 17th December, 2020 @package Reservation @subpackage submitbutton.js @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 ____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____ (_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _) .-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )( \____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__) /------------------------------------------------------------------------------------------------------*/ Joomla.submitbutton = function(task) { if (task == ''){ return false; } else { var action = task.split('.'); if (action[1] == 'cancel' || action[1] == 'close' || document.formvalidator.isValid(document.getElementById("adminForm"))){ Joomla.submitform(task, document.getElementById("adminForm")); return true; } else { alert(Joomla.JText._('comment, some values are not acceptable.','Some values are unacceptable')); return false; } } }PK �D�[��u5 5 tmpl/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'); ?> <?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$$$$]--> PK �D�[�Y�� � tmpl/default.xmlnu �[��� <?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>PK �D�[�#o, , tmpl/index.htmlnu �[��� <html><body bgcolor="#FFFFFF"></body></html>PK �D�[*I��V V 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 Comment */ class ReservationViewComment 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->item = $this->get('Item'); /***[JCBGUI.site_view.php_jview_display.32.$$$$]***/ $this->form= \Joomla\CMS\Form\Form::getInstance("comment", JPATH_COMPONENT_ADMINISTRATOR . "/models/forms/comment.xml", array("control" => "jform")); $this->form->bind($this->app->getUserState('comment.data')); /***[/JCBGUI$$$$]***/ // 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 View JavaScript File $this->document->addScript(JURI::root(true) . "/components/com_reservation/assets/js/comment.js", (ReservationHelper::jVersion()->isCompatible("3.8.0")) ? array("version" => "auto") : "text/javascript"); /***[JCBGUI.site_view.php_document.32.$$$$]***/ $status= $this->app->getUserState('status',0); $this->document->addScriptOptions('status',$status);/***[/JCBGUI$$$$]***/ // add the document default css file $this->document->addStyleSheet(JURI::root(true) .'/components/com_reservation/assets/css/comment.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('comment'); 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); } } PK �D�[�#o, , index.htmlnu �[��� PK �D�[秃�� � f submitbutton.jsnu �[��� PK �D�[��u5 5 � tmpl/default.phpnu �[��� PK �D�[�Y�� � tmpl/default.xmlnu �[��� PK �D�[�#o, , = tmpl/index.htmlnu �[��� PK �D�[*I��V V � view.html.phpnu �[��� PK � ;'