{include file='header.tpl' p="general"} 
<br />
<table width="886" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="150" valign="top">
	<div id="reg_box">
	<h3 class="captions">{$lang.genre}</h3>
		<div id="list_cats">
		{list_categories}		
		</div>
	</div>
	<br />
	<div id="reg_box">
	<h3 class="captions">{$lang.members}</h3>
	{if $logged_in == '1'}
	{include file='loggedin_body.tpl'} 
	{else}
	{include file='login_body.tpl'} 
	{/if}	</div>	</td>
    <td valign="top">
	<div id="browse_main">
	<h1 class="h1_default">{$lang.contact_us}</h1>

	{if isset($confirm_send)}
	<div class="confirm_send">{$lang.contact_msg1}</div>
	{/if}
  <form action="{$smarty.const._URL}/contact_us.php" method="post">
  <table width="100%" border="0" cellspacing="1" cellpadding="3">
    <tr>
      <td width="20%" valign="top">{$lang.your_name}:</td>
      <td width="80%"><input class="inputtext" type="text" name="your_name" size="25" maxlength="200" value="{if $logged_in}{$s_name}{else}{$smarty.post.your_name}{/if}" /></td>
    </tr>
    <tr>
      <td valign="top">{$lang.your_email}:</td>
      <td><input class="inputtext" type="text" name="your_email" size="25" maxlength="100" value="{if $logged_in}{$s_email}{else}{$smarty.post.your_email}{/if}" /> <div class="error_msg">{$err_email}</div></td>
    </tr>
    <tr>
      <td valign="top">{$lang.importance}:</td>
      <td>
		<select class="inputtext" name="importance">
		<option value="{$lang.low}">{$lang.low}</option>
		<option value="{$lang.normal}" selected="selected">{$lang.normal}</option>
		<option value="{$lang.high}">{$lang.high}</option>
		<option value="{$lang.urgent}">{$lang.urgent}</option>
		</select>
	</td>
    </tr>
    <tr>
      <td valign="top">{$lang.in_regard}:</td>
      <td>
		<select class="inputtext" name="select">
		<option selected="selected">{$lang.select}</option>
		<option>{$lang.bug_report}</option>
		<option>{$lang.suggestions}</option>
		<option>{$lang.general_q}</option>
		<option>{$lang.other}</option>
		</select>	  </td>
    </tr>
    <tr>
      <td valign="top">{$lang.your_message}:</td>
      <td><textarea class="inputtext" id="msg" name="msg" cols="60" rows="14">{$smarty.post.msg}</textarea>
	  <div class="error_msg">{$err_msg}</div>
	  </td>
    </tr>
	{if $logged_in == 0}
    <tr>
      <td valign="top">{$lang.type_captcha}:</td>
      <td>
			
		<img src="{$smarty.const._URL}/include/securimage_show.php?sid={php} echo md5(uniqid(time())); {/php}" id="image" align="absmiddle" />
		<a href="#" onclick="document.getElementById('image').src = '{$smarty.const._URL}/include/securimage_show.php?sid=' + Math.random(); return false"><img src="{$smarty.const._URL}/templates/{$template_dir}/images/reload.gif" border="0" align="absmiddle" /></a>
			
      <br /><input class="inputtext" name="image_text" type="text" id="email" size="15" maxlength="15" />
	  <br /><div class="error_msg">{$err_captcha}</div>	  </td>
    </tr>
	{/if}
    <tr>
      <td></td>
      <td><input class="inputbutton" type="submit" name="Submit" value="{$lang.submit_send_msg}" /> </td>
    </tr>
  </table>
</form>
	</div>	</td>
  </tr>
</table>
{include file='footer.tpl'} 