Sindbad~EG File Manager
<?php $__env->startSection('content'); ?>
<div class="col-12">
<h4>Update Your Profile Infromation</h4>
<hr/>
<form id="reg" name="register" action="<?php echo url('/profile/'.$session_id.'/'.$session_key); ?>" method="post">
<div class="form-group">
<label>Prefix:<span class="text-danger">*</span></label>
<?php echo Form::select('prefix',array(''=>'--select--', 'Dr' => 'Dr', 'Mr' => 'Mr', 'Mrs' => 'Mrs', 'Ms' => 'Ms','Prof'=>'Prof'),$user->prefix,array("id"=>"prefix","class"=>"form-control prefix")); ?>
<label class="red"> <?php echo $errors->first('prefix'); ?></label>
</div>
<div class="form-group">
<label>Full Name:<span class="text-danger">*</span></label>
<input type="text" id="full_name" name="full_name" class="form-control" placeholder="Full Name" required="" autofocus="" value="<?php echo Input::old('full_name') !==null ? Input::old('full_name'): $user->full_name; ?>">
<label class="red"> <?php echo $errors->first('full_name'); ?></label>
</div>
<div class="form-group">
<label>Email Id:<span class="text-danger">*</span></label>
<input type="text" id="email" name ="email" class="form-control " placeholder="Email Id" required="" autofocus=""
value="<?php echo Input::old('email') !==null ? Input::old('email'): $user->email; ?>" >
<label class="red"> <?php echo $errors->first('email'); ?></label>
</div>
<div class="form-group">
<label>Mobile:<span class="text-danger">*</span></label>
<input type="text" id="mobile" name="mobile" class="form-control " placeholder="Mobile Number" required="" autofocus=""
value="<?php echo Input::old('mobile') !==null ? Input::old('mobile'): $user->mobile; ?>"
>
<label class="red"> <?php echo $errors->first('mobile'); ?></label>
</div>
<div class="form-group">
<label>City:<span class="text-danger">*</span></label>
<input type="text" id="city" name="city" class="form-control " placeholder="City" required="" autofocus=""
value="<?php echo Input::old('city') !==null ? Input::old('city'): $user->city; ?>">
<label class="red"> <?php echo $errors->first('city'); ?></label>
</div>
<div class="form-group">
<label>State:<span class="text-danger">*</span></label>
<input type="text" id="state" name="state" class="form-control " placeholder="State" required="" autofocus=""
value="<?php echo Input::old('state') !==null ? Input::old('state'): $user->state; ?>">
<label class="red"> <?php echo $errors->first('state'); ?></label>
</div>
<div class="form-group" style="display:none;">
<label>IAGES Membership number:</label>
<input type="text" id="affiliation" name="affiliation" class="form-control" placeholder="Please Enter your IAGES Membership number"
autofocus=""
value="<?php echo Input::old('affiliation') !==null ? Input::old('affiliation'): $user->affiliation; ?>">
<label class="red"> <?php echo $errors->first('affiliation'); ?></label>
</div>
<!--<div class="form-group">-->
<!-- <label>Do you belong to non-examination category ? <span class="text-danger">*</span></label>-->
<!-- <label><input type="radio" id="Yes" name="is_non_exam_category" class="ml-5 mr-1" value="1" autofocus=""> Yes </label>-->
<!-- <label><input type="radio" id="No" name="is_non_exam_category" class="ml-5 mr-1" value="0" autofocus=""> No</label>-->
<!-- <label class="red"> <?php echo $errors->first('is_exam_category'); ?></label>-->
<!--</div>-->
</div>
<div class="col-12 text-center">
<a href="<?php echo url('/'.$session_id.'/'.$session_key); ?>" class="btn btn-warning" id="btnlogin">Back</a>
<button class="btn btn-primary" id="btnSubmit" type="Submit">Submit</button>
</div>
<script type="text/javascript">
$(document).ready(function() {
$("#btnSubmit").click(function(e)
{
});
$("#reg").validate({
rules: {
prefix: {
required: true
},
full_name:{
required: true
},
email:{
required: true,
email:true,
},
mobile:{
required: true,
},
city:{
required: true
},
state:{
required: true
},
// is_non_exam_category:{
// required: true
// },
},
messages: {
},
invalidHandler: function(form, validator) {
if (!validator.numberOfInvalids())
return;
try {
$('html, body').animate({
scrollTop: $(validator.errorList[0].element).offset().top-200
}, 1000);
}
catch(err) {
}
}
});
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists