<?php if($type=='banner_form'){?>

<form action="code.php" method="post" onsubmit="return checkform(this);">
  <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
  <div class="form-group">
    <input type="text" name="b_name" class="form-control" placeholder="Name" required="required" onkeypress="return Validate_name(event);">
  </div>
</div>
  <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
  <div class="form-group">
    <input type="email" name="b_email" class="form-control" placeholder="Email" required="required" onkeypress="return Validate_email(event);">
  </div>
</div>
  <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
  <div class="form-group">
    <input type="number" name="b_num" class="form-control" placeholder="Number" required="required" onkeypress="return Validate_number(event);">
  </div>
</div>
  <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
  <div class="form-group">
    <textarea class="form-control" placeholder="Message" name="b_msg"></textarea>
  </div>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
  <div class="form-group">
    <button type="submit" class="ban_btn" name="banner_btn">Activate Offer Now</button>
  </div>
</div>
</form>
<?php } ?>


<?php if($type=='basic_form'){?>
  <form action="code.php" method="post" onsubmit="return checkform(this);">
    <div class="form-group">
        <input type="text" name="b_name" placeholder="Enter Your Name" class="form-control" required="required">
      </div>
    <div class="form-group">
      <input type="email" name="b_email" placeholder="Enter Your Email Address" class="form-control" required="required">
    </div>
    <div class="form-group">
      <input type="number" name="b_num" placeholder="Enter Your Phone No" class="form-control" required="required">
    </div>
    <div class="form-group">
      <textarea class="form-control" placeholder="Message" name="b_msg"></textarea>
    </div>
    <div class="form-group">
      <button type="submit" class="form_btn" name="banner_btn">Submit</button>
    </div>
  </form>
<?php } ?>

<?php if($type=='footer_form'){?>

<form method="post" action="code.php" onsubmit="return checkform2(this);">
  <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
    <div class="form-group wow slideInRight">
      <input type="text" class="form-control" required="required" placeholder="First Name" name="f_name">
    </div>
  </div>
  <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
    <div class="form-group wow slideInLeft">
      <input type="text" class="form-control" required="required" placeholder="Last Name" name="l_name">
    </div>
  </div>
  <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
    <div class="form-group wow slideInLeft">
      <input type="email" class="form-control" required="required" placeholder="Enter Your Email Address" name="foot_email">
    </div>
  </div>
  <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
    <div class="form-group wow slideInRight">
      <input class="form-control" type="number" placeholder="Phone Number" required="required" name="foot_num">
    </div>
  </div>
  <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
    <div class="form-group wow slideInDown">
      <textarea class="form-control" placeholder="Enter Your Topic" name="foot_msg" required="required"></textarea>
    </div>
  </div>
  <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
    <div class="form-group wow fadeInUpBig">
      <button type="submit" name="foot_btn" class="main_btn1">Get Help Now</button>
    </div>
  </div>
  
</form>
<?php } ?>

<?php 
if($type=='contact_form'){
?>
 <form method="post" action="code.php" onsubmit="return checkform0(this);">
     <div class="form-group sec_6_form">
        <label>Your name *</label>
        <input type="text" class="form-control" required="required" name="contact_name" onkeypress="return Validate_name(event);">
     </div>
     <div class="form-group sec_6_form">
        <label>Your email address *</label>
        <input type="email" class="form-control" required="required" name="contact_email" onkeypress="return Validate_email(event);">
     </div>
     <div class="form-group sec_6_form">
        <label>Phone Number *</label>
        <input class="form-control" type="number" required="required" name="contact_number" onkeypress="return Validate_number(event);">
     </div>
     <div class="form-group sec_6_form">
        <label>Message *</label>
        <textarea class="form-control" rows="3" name="contact_msg" onkeypress="return Validate_message(event);"></textarea>
     </div>
<!--
     <div class="form-group">
      <div class="capbox0">
          <div id="CaptchaDiv0"></div>
          <div class="capbox-inner0">
           Type the above number:
           <input type="hidden" id="txtCaptcha0">
           <input type="text" name="CaptchaInput0" id="CaptchaInput0" size="15">
          </div>
      </div>
    </div>
-->
    <button type="submit" class="cont_but" name="contact_sbmit_btn"><span>Submit</span></button>
</form>

<?php } ?>
<?php if($type=='popup_form'){?>

 <form action="code.php" method="post">
  <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
    <div class="field">
      <span class="pop_icon"><i class="fa fa-user" aria-hidden="true"></i></span>
      <input type="text" name="pop_name" placeholder="Name" class="form-control" required="required" onkeypress="return Validate_name(event);">
    </div>
  </div>
  <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
    <div class="field">
      <span class="pop_icon"><i class="fa fa-envelope" aria-hidden="true"></i></span>
      <input type="email" name="pop_email" placeholder="Email" class="form-control" required="required" onkeypress="return Validate_email(event);">
    </div>
  </div>
  <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
    <div class="field">
      <span class="pop_icon"><i class="fa fa-phone" aria-hidden="true"></i></span>
      <input type="number" name="pop_phone"  placeholder="Phone Number" class="form-control" required="required" onkeypress="return Validate_number(event);">
    </div>
  </div>
  <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
    <div class="field">
      <span class="pop_icon"><i class="fa fa-commenting" aria-hidden="true"></i></span>
      <textarea class="form-control" onkeypress="return Validate_message(event);" name="pop_msg"></textarea>
    </div>
  </div>
  <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
    <div class="field">
      <button type="submit" class="pop_btn" name="popup_form">Sign-Up Now</button>
    </div>
  </div>
</form>

            <?php } ?>