<?php 
 $role=$_REQUEST['role'];
 $email=$_REQUEST['email'];

 if($role=="user"){ ?>
<section class="bg-primary-gradient">
         <div class="container">
            <div class="row">
               <div class="col-md-7 mx-auto ptb-50">
                  <!--form Sign in to our platform-->
                 <form class="form-sign" action="./forms/reset_password" method="post" enctype="multipart/form-data">
                     <div class="col-md-12">
                        <div class="mb-3">
                        <label for="email" class="fw-bold form-label">Type Password: <span class="text-danger ps-1">*</span></label>
                           <input class="form-control form-control-lg validate[required,minSize[3],maxSize[16]] text-input" maxlength="15"  id="txtPassword" type="password" name="<?=SESS_MASTER?>newpassword"  required="" placeholder="*****">
                           <span id="toggle_pwd" class="fa fa-fw cursor-pointer field-icon fa-eye"></span>
                        </div>
                     </div>
                     <div class="col-md-12">
                        <div class="mb-3">
                        <label for="password" class="fw-bold form-label">Retype Password: <span class="text-danger ps-1">*</span></label>
                           <input class="form-control form-control-lg validate[required,equals[txtPassword]] text-input" maxlength="15" name="<?=SESS_MASTER?>newpasswords" id="retypetxtPassword"  type="password"  required="" placeholder="*****">
                           <span id="retype_pwd" class="fa fa-fw cursor-pointer field-icon fa-eye"></span>
                        </div>
                     </div>
                
                     <div class="col-md-12 my-3">
                        <div class="d-grid text-center">
                            <input   type="hidden" name="<?=SESS_MASTER?>emailid" value="<?=$email?>" required="" placeholder="*****">
                            <input   type="hidden" name="<?=SESS_MASTER?>role" value="<?=$role?>" required="" placeholder="*****">
                           <button type="submit" class="btn btn-secondary">Save</button>
                        </div>
                     </div>
                     
                  </form>
  
     
               </div>
               <div class="col-md-12">
        
                 
               </div>
            </div>
         </div>
      </section>

      <?php } ?>
<?php if($role=="merchant"){ ?>
     <section class="bg-primary-gradient">
         <div class="container">
            <div class="row">
               <div class="col-md-7 mx-auto ptb-50">
                  <!--form Sign in to our platform-->
                  <form class="form-sign" action="./forms/reset_password" method="post" enctype="multipart/form-data">
                     <div class="col-md-12">
                        <div class="mb-3">
                        <label for="email" class="fw-bold form-label">Type Password: <span class="text-danger ps-1">*</span></label>
                           <input class="form-control form-control-lg validate[required,minSize[3],maxSize[16]] text-input" maxlength="15"  id="txtPassword" type="password" name="<?=SESS_MASTER?>newpassword"  required="" placeholder="*****">
                           <span id="toggle_pwd" class="fa fa-fw cursor-pointer field-icon fa-eye"></span>
                        </div>
                     </div>
                     <div class="col-md-12">
                        <div class="mb-3">
                        <label for="password" class="fw-bold form-label">Retype Password: <span class="text-danger ps-1">*</span></label>
                           <input class="form-control form-control-lg validate[required,equals[txtPassword]] text-input" maxlength="15" name="<?=SESS_MASTER?>newpasswords" id="retypetxtPassword"  type="password"  required="" placeholder="*****">
                           <span id="retype_pwd" class="fa fa-fw cursor-pointer field-icon fa-eye"></span>
                        </div>
                     </div>
                
                     <div class="col-md-12 my-3">
                        <div class="d-grid text-center">
                             <input   type="hidden" name="<?=SESS_MASTER?>emailid" value="<?=$email?>" required="" placeholder="*****">
                            <input   type="hidden" name="<?=SESS_MASTER?>role" value="<?=$role?>" required="" placeholder="*****">
                           <button type="submit" class="btn btn-secondary">Save</button>
                        </div>
                     </div>
                     
                  </form>
                 
  
     
               </div>
               <div class="col-md-12">
        
                 
               </div>
            </div>
         </div>
      </section>


      <?php } ?>