<?php
/*----------------------------------------------------------------------------------|  www.vdm.io  |----/
				fdsh 
/-------------------------------------------------------------------------------------------------------/

	@version		1.0.39
	@build			4th April, 2023
	@created		17th December, 2020
	@package		Reservation
	@subpackage		default_register.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');

?>

<!--[JCBGUI.template.template.19.$$$$]-->
<section id="login" class="mb-5">
    <div class="row justify-content-center">
        <div class="col-md-4">
            <div>
                <p style="font-weight: bold">ثبت نام</p>
                <p style="font-size: 12px">برای ثبت نام ، فیلد های زیر را پر نمایید</p>
            </div>
            <div class="card">
                <div class="card-body">
                    <form method="post" name="adminForm" id="adminForm">
                                              <a href="<?= JRoute::_('index.php?option=com_reservation&view=login',false); ?>" style="position:absolute;left: 16px;top: 4px;">ویرایش شماره</a>

                        <div class="form-group">
                            <label for="name">نام و نام خانوادگی</label>
                            <?php $data= JFactory::getApplication()->getUserState('owner.data',null); ?>
                            <input type="text" class="form-control" name="jform[name]" aria-describedby="name" placeholder="فرهاد فرهادی" value="<?= empty($data)? '': $data['name']; ?>">
                        </div>
                        <div class="form-group">
                            <label for="password">رمز عبور</label>
                            <input type="password" class="form-control" name="jform[password]" aria-describedby="password" value="<?= empty($data)? '': $data['password']; ?>">
                        </div>
                        <div class="form-group">
                            <label for="verify">کد تایید</label>
                            <input type="text" class="form-control" name="jform[verify]" aria-describedby="verify">
                            <small id="demo"></small>
                        </div>
                        <button class="loginBtn" onclick="Joomla.submitbutton('login.register');">ثبت نام</button>
                        <input type="hidden" name="task">
                        <?= JHtml::_('form.token'); ?>
                    </form>
                </div>
            </div>
        </div>
    </div>
</section><!--[/JCBGUI$$$$]-->

