
{include file="header.tpl"}

        <!-- .....:::::: Start Breadcrumb Section :::::.... -->
        <div class="breadcrumb-section">
            <div class="breadcrumb-wrapper">
                <div class="image"><img src="assets/images/background/breadcrumb.png" alt=""></div>
                <div class="container">
                    <div class="row">
                        <div class="col-12">
                            <div class="content">
                                <h2 class="title">contact us</h2>
                                <ol class="breadcrumb-link">
                                    <li><a href="?a=home">Home</a></li>
                                    <li class="active" aria-current="page">Contact</li>
                                </ol>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- .....:::::: End Breadcrumb Section :::::.... -->

        <!-- .....:::::: Start Contact Details Section :::::.... -->
        <div class="contact-section section-top-space">
            <div class="container">
                <div class="row">
                    <div class="col-12">
                        <div class="contact-box-wrapper">
                            <!-- Start Contact Box Wrapper - Left -->
                            <div class="contact-box-single-item contact-box-info left">
                                <!-- Start Contact Info Single Item -->
                                <div class="contact-info-single-item">
                                    <div class="icon">
                                        <img src="assets/images/icons/phone-call.png" alt="">
                                    </div>
                                    <div >
                                        <span class="title-tag">phone</span>
                                        <h3 class="info-text"><a href="#">0123 456 789</a></h3>
                                    </div>
                                </div>
                                 <!-- End Contact Info Single Item -->
                                <!-- Start Contact Info Single Item -->
                                <div class="contact-info-single-item">
                                    <div class="icon">
                                        <img src="assets/images/icons/email.png" alt="">
                                    </div>
                                    <div >
                                        <span class="title-tag">email</span>
                                        <h3 class="info-text"><a href="#">demo@{$settings.site_name}.com</a></h3> 
                                    </div>
                                </div>
                                 <!-- End Contact Info Single Item -->
                                <!-- Start Contact Info Single Item -->
                                <div class="contact-info-single-item">
                                    <div class="icon">
                                        <img src="assets/images/icons/domain.png" alt="">
                                    </div>
                                    <div >
                                        <span class="title-tag">website</span>
                                        <h3 class="info-text"><a href="#">www.{$settings.site_name}.com</a></h3>
                                    </div>
                                </div>
                                 <!-- End Contact Info Single Item -->
                                <!-- Start Contact Info Single Item -->
                                <div class="contact-info-single-item">
                                    <div class="icon">
                                        <img src="assets/images/icons/location.png" alt="">
                                    </div>
                                    <div>
                                        <span class="title-tag">location</span>
                                        <h3 class="info-text">Your address goes here</h3>
                                    </div>
                                </div>
                                 <!-- End Contact Info Single Item -->
                            </div>
                            <!-- End Contact Box Wrapper - Left -->

                            <!-- Start Contact Box Wrapper - Right -->
                            <div class="contact-box-single-item contact-box-contact-form right">
                                <!-- Start Section Content -->
                                <div class="section-content section-content-space-small">
                                    <h3 class="sub-title">get in touch</h3>
                                </div>
                                <!-- End Section Content -->

                                <div class="default-form-wrapper">
                                    {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 class="form-group contact-form" name=mainform onsubmit="return checkform()">
<input type=hidden name=a value=support>
<input type=hidden name=action value=send>

 {if $errors}
  <ul style="color:red">
   {if $errors.turing_image == 1}
    <li>Invalid turing image</li>
   {/if}
   {if $errors.invalid_email == 1}
    <li>Invalid email address</li>
   {/if}
  </ul>
 {/if}
                                  <div class="row mb-n6">
                                            <div class="col-xl-12 col-lg-4 col-12 mb-6">
                                                <!-- Start Form Group Single Item -->
                                                <div class="form-group-single-item form-group-single-item-inner-bg">
                                                    {if $userinfo.logged}
                                                    <input name="name" type="text" placeholder="{$userinfo.name} *" disabled="">
                                                    {else}
                                                    <input type="text" name="name" value="{$frm.name|escape:htmlall}" placeholder="Name *">
                                                    {/if}
                                                </div>
                                                <!-- End Form Group Single Item -->
                                            </div>
                                            <div class="col-xl-12 col-lg-4 col-12 mb-6">
                                                <!-- Start Form Group Single Item -->
                                                <div class="form-group-single-item form-group-single-item-inner-bg">
                                                    {if $userinfo.logged}
                                                    <input name="email" type="email" placeholder="{$userinfo.email} *" disabled="">
                                                    {else}
                                                    <input type="text" name="email" value="{$frm.email|escape:htmlall}" placeholder="Email *"> 
                                                    {/if}
                                                </div>
                                                <!-- End Form Group Single Item -->
                                            </div>
                                             <div class="col-12 mb-6">
                                                <!-- Start Form Group Single Item -->
                                                <div class="form-group-single-item form-group-single-item-inner-bg">
                                                    <textarea name="message" rows="6" placeholder="Type your comment">{$frm.message|escape:htmlall}</textarea>
                                                </div>
                                                <!-- End Form Group Single Item -->
                                            </div>
                                            {include file="captcha.tpl" action="support"}
                                            <div class="col-12 mb-6 text-center">
                                                <button type="submit" class="btn btn-lg btn-primary">Submit Comment </button>
                                            </div>
                                            <p class="form-messege"></p>
                                        </div>
                                    </form>
                                    {/if}
                                </div>
                            </div>
                            <!-- Start Contact Box Wrapper - Right -->
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- .....:::::: End Contact Details Section :::::.... -->

         <!-- .....:::::: Start Google Map Section :::::.... -->
         <div class="google-map-section section-inner-gap">
             <div class="container">
                 <div class="row">
                     <div class="col-12">
                         <div class="gmap-box">
                            <iframe id="gmap_canvas" src="https://maps.google.com/maps?q=121%20King%20St%2C%20Melbourne%20VIC%203000%2C%20Australia&t=&z=13&ie=UTF8&iwloc=&output=embed"></iframe>
                         </div>
                     </div>
                 </div>
             </div>
         </div>
         <!-- .....:::::: End Google Map Section :::::.... -->

        {include file="footer.tpl"}