<{if $op eq 'default'}>
<div id="contactusform">

<form class="form-horizontal" role="form" action='<{$xoops_url}>/modules/<{$xoops_dirname}>/contactusform.php' method='post' >
<{if $contactusform.remarkstextbox}><div class="alert alert-info" role="alert"><{$contactusform.remarkstextbox}></div><{/if}>
  <div class="form-group">

   <label class="col-md-2 col-xs-12 control-label"><{$smarty.const._MD_CONTACTNAME}></label>
    <div class="col-sm-8 col-xs-12">
 <{$contactusform.name_user}>
  
    </div>
     <div class="col-sm-2 col-xs-12">  <span id="helpBlockname_user" class="help-block blockeach1"><{$smarty.const._MD_CONTACTREQUIRED}></span></div>
  </div>	
    
  
   <div class="form-group">
   <label class="col-sm-2 col-xs-12 control-label"><{$smarty.const._MD_CONTACTEMAIL}></label>
    <div class="col-sm-8 col-xs-12">
   <{$contactusform.email_user}>
 
    </div>
     <div class="col-sm-2 col-xs-12">    <span id="helpBlockemail_user" class="help-block blockeach1"><{$smarty.const._MD_CONTACTREQUIRED}></span></div>
  </div>	
  
     <div class="form-group">
   <label class="col-sm-2 col-xs-12 control-label"><{$smarty.const._MD_CONTACTTELEPHONE}></label>
    <div class="col-sm-8 col-xs-12">
     <{$contactusform.tel_user}>

    </div>
     <div class="col-sm-2 col-xs-12">     <span id="helpBlocktel_user" class="help-block blockeach1"><{$smarty.const._MD_CONTACTREQUIRED}></span>  </div>
  </div>	
    
     <div class="form-group">
   <label class="col-sm-2 col-xs-12 control-label"><{$smarty.const._MD_CONTACTTELECITYPHONE}></label>
    <div class="col-sm-8 col-xs-12">
     <{$contactusform.citytel_user}>
 
    </div>
  </div>	  
 
   <div class="form-group">
 
 <label class="col-sm-2 col-xs-12 control-label"><{$smarty.const._MD_CONTACTGENDER}></label>
     <div class="col-sm-10 col-xs-12">
   <{$contactusform.radiog}>
  </div>  </div>	 
 
 <{if $contactusform.contactmatters}>
    <div class="form-group">
 
 <label class="col-sm-2 col-xs-12 control-label"><{$smarty.const._MD_CONTACTUSADMIN01}></label>
     <div class="col-sm-8 col-xs-12">
  <select  class='form-control' name='contactmatters' >
    <option value='0'  data-id='1' ><{$smarty.const._MD_CONTACTUSADMIN02}></option>
  <{$contactusform.contactmatters}>
  </select>
  </div>  </div>	
  <{/if}>
 
    <div class="form-group">
   <label class="col-sm-2 col-xs-12 control-label"><{$smarty.const._MD_CONTACTTEXT}></label>
    <div class="col-sm-8 col-xs-12">
   <{$contactusform.texe_user}>
 
    </div>
     <div class="col-sm-2 col-xs-12">    <span id="helpBlocktexe_user" class="help-block blockeach1"><{$smarty.const._MD_CONTACTREQUIRED}></span></div>
  </div>	
 
  
  <div id="notarobotboxname1" name="1"><div id='notarobotbox1'  name="blockeach1"></div></div>
  
  
        
<input type='hidden' name='op' value='contactustosend'>

<button type='submit' disabled="disabled"  class="contentbtn btn btn-primary btn-lg btn-block">  <{$smarty.const._MD_CONTACTSENTOUT}></button>
<div id='help-blocktext' class='text-center'><span id='helpBlock' class='help-block'><span  class='red'><{$smarty.const._MS_SHARED30}></span></span></div></form>

</div>




<script>neothemesadmin_contactusform();</script>
<{/if}>

<{if $op eq 'usercontent'}>


<form class="form-horizontal" role="form" action='<{$xoops_url}>/modules/<{$xoops_dirname}>/contactusform.php' method='post' >
   <div class='page-header'>

 
  <h2><{$smarty.const._MD_CONTACTUSTABLEPHP26}><small> &nbsp;Contact us for the letter</small>&nbsp;&nbsp; <{if $xoops_isadmin}><a class='btn btn-warning active'  href='<{$xoops_url}>/modules/<{$xoops_dirname}>/admin/contactustable.php'><{$smarty.const._MD_GOCONTACTUSTABLEPHP}></a><{/if}></h2>
</div>
	
    


<div class="row">
  <div class="col-md-4"><{$contactusform.cfidtimebox}></div>
  <div class="col-md-4"><{$contactusform.name_userbox}></div>
    <div class="col-md-4"><{$contactusform.email_userbox}></div>
</div>
<hr />
<div class="row">
  <div class="col-md-4"><{$contactusform.tel_userbox}></div>
  <div class="col-md-4"><{$contactusform.citytel_userbox}></div>
    <div class="col-md-4"><{$contactusform.genderbox}></div>
</div>
<hr />
<div class="row">
  <div class="col-md-4"><{$contactusform.contactmattersbox}></div>
    <div class="col-md-8"><{$contactusform.texe_userbox}></div>
     
     <{if !$contactusform.replytextbox && $contactusform.id eq '128'}>
       <div class="col-md-12"><label class='control-label'><{$smarty.const._MD_CONTACTUSTABLEPHP39}>&nbsp;&nbsp;</label><{$contactusform.enablebox}><br /><br />  </div>
       <{/if}>
       
</div>


<div id='replycenterbox' name='<{$contactusform.id}>,<{$contactusform.cfid}>,<{$xoops_dirname}>'></div>

     	 
     		 </form>
<{/if}>



<{if $xoops_isadmin}>
<br />
<a class="btn btn-default btn-lg btn-block"href="<{xoAppUrl}>modules/neothemesadmin/admin/contactustable.php"><{$smarty.const._MD_CONTACTUSADMIN}></a>
<{/if}>