<?php    $role=$_REQUEST['role'];  ?>
<!--vendor profile-->
<?php    if($role=='user'){                 ?>

	<section class="bg-primary-gradient">
         <div class="container">
            <div class="row">
               <div class="col-md-7 mx-auto ptb-50">
                  <!--form Create an account Begin-->
                  <form class="form-sign" action="./forms/register-user.php" method="post" enctype="multipart/form-data">
                     <div class="col-md-12">
                        <div class="mb-3">
                           <label class="fw-bold form-label">Email Address:<span class="text-danger ps-1">*</span></label>
                           <input type="email" placeholder="Type Email" class="form-control validate[required,custom[email],ajax[userValidAtion],maxSize[50]] text-input" name="<?=SESS_MASTER?>emailid">
                        </div>
                     </div>
                     <div class="col-md-12">
                        <div class="mb-3">
                           <label class="fw-bold form-label">Password:<span class="text-danger ps-1">*</span></label>
                           <input type="password" name="<?=SESS_MASTER ?>userpass" placeholder="*******" class="form-control validate[required,minSize[3],maxSize[16]] text-input" id="pass">
                        </div>
                     </div>
                     <div class="col-md-12">
                        <div class="mb-3">
                           <label class="fw-bold form-label">Confirm Password:<span class="text-danger ps-1">*</span></label>
                           <input type="password" placeholder="*******" class="form-control   validate[required,equals[pass]] text-input">
                        </div>
                     </div>
                     <div class="col-md-12">
                        <div class="mb-3">
                           <div class="form-check">
                              <input type="checkbox" class="form-check-input" id="exampleCheck1" required>
                              <label class="form-check-label" for="exampleCheck1"><small>I agree to the terms and conditions</small></label>
                           </div>
                        </div>
                     </div>
                     <div class="col-md-12 my-3">
                        <div class="d-grid text-center">
                           <button type="submit" class="btn btn-secondary">Registered</button>
                        </div>
                     </div>
                     <div class="col-md-12 mt-4">
                        <p class="lead text-center not-registered mb-0">Already have an account? <a href="login-role/user">Login here</a></p>
                     </div>
                  </form>
                   <!--form Create an account End-->
               </div>
                <!--Banner Begin-->
               <div class="col-md-12">
                   <?php    if(!empty($google_adar )){
                echo $google_adar ;
            }else{
                echo ' <img src="admin/forms/'.$adimg4.'" alt="Horizontal Banner" title="Horizontal Banner" class="img-fluid w-100 rounded-3 mb-30">';
            }
            
            ?>
               </div>
                <!--Banner End-->
            </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">
                  <!--register Form Begin-->
                  <form class="form-sign" action="./forms/register" method="post" enctype="multipart/form-data">
                     <div class="col-md-12">
                        <div class="mb-3">
                           <label class="fw-bold form-label">Email Address:<span class="text-danger ps-1">*</span></label>
                           <input type="email" placeholder="Type Email" class="form-control validate[required,custom[email],ajax[adminValidAtion],maxSize[50]] text-input" name="<?=SESS_MASTER?>emailid">
                        </div>
                     </div>
                     <div class="col-md-12">
                        <div class="mb-3">
                           <label class="fw-bold form-label">Password:<span class="text-danger ps-1">*</span></label>
                           <input type="password" placeholder="*******" name="<?=SESS_MASTER ?>userpass"  class="form-control validate[required,minSize[3],maxSize[16]] text-input" id="pass">
                        </div>
                     </div>
                     <div class="col-md-12">
                        <div class="mb-3">
                           <label class="fw-bold form-label">Confirm Password:<span class="text-danger ps-1">*</span></label>
                           <input type="password" placeholder="*******" class="form-control   validate[required,equals[pass]] text-input">
                        </div>
                     </div>
                     <div class="col-md-12">
                        <div class="mb-3">
                           <div class="form-check">
                              <input type="checkbox" class="form-check-input" id="exampleCheck1" required>
                              <label class="form-check-label" for="exampleCheck1"><small>I agree to the terms and conditions</small></label>
                           </div>
                        </div>
                     </div>
                     <div class="col-md-12 my-3">
                        <div class="d-grid text-center">
                           <button type="submit" class="btn btn-secondary">Registered</button>
                        </div>
                     </div>
                     <div class="col-md-12 mt-4">
                        <p class="lead text-center not-registered mb-0">Already have an account? <a href="login-role/merchant">Login here</a></p>
                     </div>
                  </form>
                   <!--register Form End-->
               </div>
                <!--Banner Begin-->
               <div class="col-md-12">
                    <?php    if(!empty($google_adar )){
                echo $google_adar ;
            }else{
                echo ' <img src="admin/forms/'.$adimg4.'" alt="Horizontal Banner" title="Horizontal Banner" class="img-fluid w-100 rounded-3 mb-30">';
            }
            
            ?>
               </div>
                <!--Banner End-->
            </div>
         </div>
      </section>
<?php } ?>