<?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$$$$]-->

