{include file="header2.tpl"}
<!-- Contact -->
 <div id="contact" class="one-contact-area">
     <div class="container-fluid p-0">
         <div class="row m-0">
             <div class="col-lg-5 p-0">
                 <div class="contact-img">
                     <img src="assets/img/home-one/contact.jpg" alt="Conatact">
                 </div>
             </div>
             <div class="col-lg-7 p-0">
                 <div class="contact-content">
                     <div class="one-section-title">
                         <span class="sub-title">LET’S CONTACT</span>
                         <h2>Contact With Us</h2>
                     </div>

{if $say eq 'send'}
Message has been successfully sent. We will back to you in next 24 hours. Thank you.<br><br>
{else}

<script language=javascript>
{if $userinfo.logged == 1}
{literal}
function checkform() { 
  if (document.mainform.message.value == '') {
    alert("Please type your message!");
    document.mainform.message.focus();
    return false;
  }
  return true;
}
{/literal}
{else}
{literal}
function checkform() {
  if (document.mainform.name.value == '') {
    alert("Please type your full name!");
    document.mainform.name.focus();
    return false;
  }
  if (document.mainform.email.value == '') {
    alert("Please enter your e-mail address!");
    document.mainform.email.focus();
    return false;
  }
  if (document.mainform.message.value == '') {
    alert("Please type your message!");
    document.mainform.message.focus();
    return false;
  }
  return true;
}
{/literal}
{/if}
</script>

<form method=post name=mainform onsubmit="return checkform()">
<input type=hidden name=a value=support>
<input type=hidden name=action value=send>
<div class="row m-0">
                             <div class="col-sm-6 col-lg-6">
                                 <div class="form-group">
                                     <label>
                                         <i class='bx bx-user'></i>
                                     </label>
<input type="text" name="name" value="{$frm.name|escape:htmlall}" class="form-control" placeholder="Name">
                                     <div class="help-block with-errors"></div>
                                 </div>
                             </div>
                             
 <div class="col-sm-6 col-lg-6">
                                 <div class="form-group">
                                     <label>
                                         <i class='bx bx-mail-send'></i>
                                     </label>
<input type="text" name="email"  value="{$frm.email|escape:htmlall}" class="form-control"  placeholder="Email">
                                     <div class="help-block with-errors"></div>
                                 </div>
                             </div>

   <div class="col-md-12 col-lg-12">
                                 <div class="form-group">
                                     <label>
                                         <i class='bx bx-message-square-detail'></i>
                                     </label>
<textarea name="message" class="form-control"  cols="30" rows="8" placeholder="Message">{$frm.message|escape:htmlall}</textarea>
                                     <div class="help-block with-errors"></div>
                                 </div>
                             </div>

{include file="captcha.tpl" action="support"}
 <div class="col-md-12 col-lg-12">
                                 <div class="row m-0">
                                     <div class="col-sm-4 col-lg-4 pl-0">
<button type="submit" class="contact-btn btn">
<i class='bx bx-plus'></i>
Send Message
</button>
<div id="msgSubmit" class="h3 text-center hidden"></div>
<div class="clearfix"></div>
</div>
                                     
                                 </div>
                             </div>
                         </div>
</form>

{/if}

</div>
             </div>
         </div>
     </div>
 </div>

 <!-- End Contact -->
{include file="footer2.tpl"}