{capture name="title"} - {l}Contact Us{/l}{/capture}
{capture assign="in_page_title"}{l}Contact Us{/l}{/capture}
{capture assign="description"}{l}Contact us with queries you might have.{/l}{/capture}
{include file="header.tpl"}
{include file="top_bar.tpl"}
{include file="../Core/messages.tpl"}


{if $error}

<div class="err">There was a problem sending the email. Please try again later.</div>


{else}

{if not $success}
<div id="bar"><h3>{$in_page_title}</h3></div>


<div class="navbar">
<form action="contact.php" method="post" name="contactform">
<table width="98%" border="0" cellspacing="2" cellpadding="2" align="center">
  <tr> 
    <td width="120" valign="middle">Full Name:</td>
    <td>
	<input type="text" name="name" value="{$name}" id="name" size="40" maxlength="100" class="text" /><br />
  	{validate form="contact_form" id="v_name" message=$smarty.capture.field_char_required}
	</td>
  </tr>
  <tr> 
    <td valign="middle">Email Address:</td>
    <td>
  	<input type="text" name="email" value="{$email}" id="email" size="40" maxlength="100" class="text" /><br />
  	{validate form="contact_form" id="v_email" message=$smarty.capture.invalid_email}
	
	</td>
  </tr>
  <tr> 
    <td valign="middle">Contact Reason:</td>
    <td>
	
			<select name="reason">
			<option selected="selected"> - - select a contact reason - - </option>
			<option value="advertising" label="advertising">Advertising Inquiry</option>
			<option value="general" label="general">General Inquiry</option>
			<option value="suggestion" label="category">New Category Suggestion</option>
			<option value="other" label="other">Other (please specify)</option>
			<option value="report" label="problem">Reporting a Problem</option>
			<option value="feedback" label="feedback">Website Feedback</option>
		</select>
		{validate form="contact_form" id="v_reason" message=$smarty.capture.no_contact_reason}
	
	
	</td>
  </tr>
  <tr> 
    <td valign="top">Message:</td>
    <td>
	<textarea name="message" id="message" rows="5" cols="32" class="textarea">{$message}</textarea><br />
	{validate form="contact_form" id="v_message" message=$smarty.capture.field_char_required}
	</td>
  </tr>
  <tr> 
    <td>&nbsp;</td>
    <td><input type="submit" name="submit" value="Continue" /></td>
  </tr>
</table>
</form>
</div>

{else}
<div class="msg">Thank You, Your email has been sent.</div>

  {/if}
{/if}
{include file="footer.tpl"}