Spade

Mini Shell

Directory:~$ /home/lmsyaran/public_html/components/com_reservation/views/consultantsignup/tmpl/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/public_html/components/com_reservation/views/consultantsignup/tmpl/default.php

<?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');




/***[JCBGUI.site_view.php_view.31.$$$$]***/
$getUserState=
JFactory::getApplication()->getUserState('consultant.data');
$name = isset($getUserState['name']) ?
$getUserState['name'] : '';/***[/JCBGUI$$$$]***/

?>
<?php echo $this->toolbar->render(); ?>

<!--[JCBGUI.site_view.default.31.$$$$]-->
<div class="signUpForm mb-3">
    <div class="row justify-content-center">
        <div class="col-md-6">
            <form action="<?=
JRoute::_('index.php?option=com_reservation&view=consultantSignUp',false)?>"
                id="adminForm" method="post">
                <div class="form-group">
                    <label>
                        <?=
JText::_('COM_RESERVATION_CONSULTANT_NAME_LABEL_SITE');?>
                    </label>
                    <input type="text"
class="form-control" name="jform[name]"
value="<?= $name;?>">
                </div>
                <div class="form-group">
                    <?php //echo
$this->form->renderField('msn');?>
                    <label>
                        <?=
JText::_('COM_RESERVATION_CONSULTANT_MSN_LABEL_SITE');?>
                    </label>
                    <?=
$this->form->getInput('msn');?>
                </div>
                <div class="form-group">
                    <label>
                        <?=
JText::_('COM_RESERVATION_CONSULTANT_NATIONALNUMBER_LABEL_SITE');?>
                    </label>
                    <?=
$this->form->getInput('nationalnumber');?>
                </div>
                <div class="form-group">
                    <input type="hidden"
name="jform[userid]" value="0"
class="form-control">
                </div>
                 <div class="form-group">
                     <label>
                         <?=
JText::_('COM_RESERVATION_CONSULTANT_CATID_LEVELONE_LABEL_SITE');?>
                     </label>
                    <select id="jform_catid_level1"
class="form-control">
                        <option>Default select</option>
                    </select>
                </div>
                <div class="form-group">
                    <select id="jform_catid"
name="jform[catid]" class="form-control">
        
                    </select>
                </div>
                <div class="form-group">
                    <?=
$this->form->renderField('capital');?>
                </div>
                <div class="form-group">
                    <label>
                        <?=
JText::_('COM_RESERVATION_CONSULTANT_PHONENUMBER_LABEL_SITE');?>
                    </label>
                    <?=
$this->form->getInput('phonenumber');?>
                </div>
                <div class="form-group">
                    <label>
                        <?=
JText::_('COM_RESERVATION_CONSULTANT_EXPERIENCE_LABEL_SITE');?>
                    </label>
                    <?=
$this->form->getInput('experience');?>
                </div>
                <div class="form-group">
                    <label>
                        <?=
JText::_('COM_RESERVATION_CONSULTANT_PASSWORD_LABEL_SITE');?>
                    </label>
                    <input type="password"
class="form-control" name="jform[password]"
required>
                </div>
                <div class="form-group">
                    <label>
                        <?=
JText::_('COM_RESERVATION_CONSULTANT_CAPTCHA_LABEL_SITE');?>
                    </label>
                    <input type="text"
class="form-control" name="jform[securityCode]">
                </div>
                <button type="submit" class="btn
btn-primary">ثبت نام</button>
                <input type="hidden" name="task"
value="consultantSignUp.signup">
                 <input type="hidden" name="<?=
JSession::getFormToken();?>" id="token">
            </form>
        </div>
    </div>
</div>



<!--<section id="logintokhorasan">-->
<!--    <div class="row justify-content-center">-->
<!--        <div class="col-md-6">-->
<!--            <form action="">-->
<!--                <div class="form-group">-->
<!--                    <label>نام
کاربری</label>-->
<!--                    <input type="text"
class="form-control" name="uname" id="uname"
value="tes1t">-->
<!--                </div>-->
<!--                <div class="form-group">-->
<!--                    <label>رمز
عبور</label>-->
<!--                    <input type="text"
class="form-control" name="pword" id="pword"
value="password">-->
<!--                </div>-->
<!--                <button type="submit"
id="atwh" class="btn
btn-primary">ورود</button>-->
<!--            </form>-->
<!--        </div>-->
<!--    </div>-->
<!--</section>-->
<!---->
<!---->
<!--<script>-->
<!--    jQuery(document).ready(function ($){-->
<!--        // document.cookie = "khorasan=John Doe;
domain=yaran.lmskaran.com"-->
<!--        // document.cookie = "lmsyaran=John Doe;
domain=lmsyaran.ir"-->
<!---->
<!--        $('#atwh').click(function (e){-->
<!---->
<!--            e.preventDefault();-->
<!--            var uname= $('#uname').val();-->
<!--            var pword= $('#pword').val();-->
<!--            // var url=
'https://yaran.lmskaran.com/administrator/components/com_moojla/testlogin2.php?username='+uname+'&password='+pword+'&forcecreate=1'-->
<!--            var url=
'https://yaran.lmskaran.com/administrator/components/com_moojla/loginAPI.php?username='+uname+'&password='+pword+'&forcecreate=1'-->
<!--            $.ajax({-->
<!--                url: url,-->
<!--                method: 'post',-->
<!--                data: {},-->
<!--                crossDomain:true,-->
<!--                dataType : 'json',-->
<!--                xhrFields: {-->
<!--                    withCredentials: true-->
<!--                },-->
<!--                // headers: {-->
<!--                //     'Content-Type':
'application/json',-->
<!--                //     "Accept":
'application/json',-->
<!--                // },-->
<!--                success: function (msg)-->
<!--                {-->
<!--                    alert('success: you logged in
yaran.lmskaran.com as '+uname);-->
<!--                },-->
<!--                error: function (msg)-->
<!--                {-->
<!--                    alert('error: you logged in
yaran.lmskaran.com as '+uname);-->
<!--                }-->
<!--            });-->
<!--        })-->
<!--    })-->
<!--</script>--><!--[/JCBGUI$$$$]-->