<?php /* Smarty version 2.6.20, created on 2011-11-15 07:38:42
         compiled from contact_us.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'list_categories', 'contact_us.tpl', 9, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.tpl', 'smarty_include_vars' => array('p' => 'general')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
<br />
<table width="886" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="150" valign="top">
	<div id="reg_box">
	<h3 class="captions"><?php echo $this->_tpl_vars['lang']['genre']; ?>
</h3>
		<div id="list_cats">
		<?php echo list_categories(array(), $this);?>
		
		</div>
	</div>
	<br />
	<div id="reg_box">
	<h3 class="captions"><?php echo $this->_tpl_vars['lang']['members']; ?>
</h3>
	<?php if ($this->_tpl_vars['logged_in'] == '1'): ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'loggedin_body.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
	<?php else: ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'login_body.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
	<?php endif; ?>	</div>	</td>
    <td valign="top">
	<div id="browse_main">
	<h1 class="h1_default"><?php echo $this->_tpl_vars['lang']['contact_us']; ?>
</h1>

	<?php if (isset ( $this->_tpl_vars['confirm_send'] )): ?>
	<div class="confirm_send"><?php echo $this->_tpl_vars['lang']['contact_msg1']; ?>
</div>
	<?php endif; ?>
  <form action="<?php echo @_URL; ?>
/contact_us.php" method="post">
  <table width="100%" border="0" cellspacing="1" cellpadding="3">
    <tr>
      <td width="20%" valign="top"><?php echo $this->_tpl_vars['lang']['your_name']; ?>
:</td>
      <td width="80%"><input class="inputtext" type="text" name="your_name" size="25" maxlength="200" value="<?php if ($this->_tpl_vars['logged_in']): ?><?php echo $this->_tpl_vars['s_name']; ?>
<?php else: ?><?php echo $_POST['your_name']; ?>
<?php endif; ?>" /></td>
    </tr>
    <tr>
      <td valign="top"><?php echo $this->_tpl_vars['lang']['your_email']; ?>
:</td>
      <td><input class="inputtext" type="text" name="your_email" size="25" maxlength="100" value="<?php if ($this->_tpl_vars['logged_in']): ?><?php echo $this->_tpl_vars['s_email']; ?>
<?php else: ?><?php echo $_POST['your_email']; ?>
<?php endif; ?>" /> <div class="error_msg"><?php echo $this->_tpl_vars['err_email']; ?>
</div></td>
    </tr>
    <tr>
      <td valign="top"><?php echo $this->_tpl_vars['lang']['importance']; ?>
:</td>
      <td>
		<select class="inputtext" name="importance">
		<option value="<?php echo $this->_tpl_vars['lang']['low']; ?>
"><?php echo $this->_tpl_vars['lang']['low']; ?>
</option>
		<option value="<?php echo $this->_tpl_vars['lang']['normal']; ?>
" selected="selected"><?php echo $this->_tpl_vars['lang']['normal']; ?>
</option>
		<option value="<?php echo $this->_tpl_vars['lang']['high']; ?>
"><?php echo $this->_tpl_vars['lang']['high']; ?>
</option>
		<option value="<?php echo $this->_tpl_vars['lang']['urgent']; ?>
"><?php echo $this->_tpl_vars['lang']['urgent']; ?>
</option>
		</select>
	</td>
    </tr>
    <tr>
      <td valign="top"><?php echo $this->_tpl_vars['lang']['in_regard']; ?>
:</td>
      <td>
		<select class="inputtext" name="select">
		<option selected="selected"><?php echo $this->_tpl_vars['lang']['select']; ?>
</option>
		<option><?php echo $this->_tpl_vars['lang']['bug_report']; ?>
</option>
		<option><?php echo $this->_tpl_vars['lang']['suggestions']; ?>
</option>
		<option><?php echo $this->_tpl_vars['lang']['general_q']; ?>
</option>
		<option><?php echo $this->_tpl_vars['lang']['other']; ?>
</option>
		</select>	  </td>
    </tr>
    <tr>
      <td valign="top"><?php echo $this->_tpl_vars['lang']['your_message']; ?>
:</td>
      <td><textarea class="inputtext" id="msg" name="msg" cols="60" rows="14"><?php echo $_POST['msg']; ?>
</textarea>
	  <div class="error_msg"><?php echo $this->_tpl_vars['err_msg']; ?>
</div>
	  </td>
    </tr>
	<?php if ($this->_tpl_vars['logged_in'] == 0): ?>
    <tr>
      <td valign="top"><?php echo $this->_tpl_vars['lang']['type_captcha']; ?>
:</td>
      <td>
			
		<img src="<?php echo @_URL; ?>
/include/securimage_show.php?sid=<?php  echo md5(uniqid(time()));  ?>" id="image" align="absmiddle" />
		<a href="#" onclick="document.getElementById('image').src = '<?php echo @_URL; ?>
/include/securimage_show.php?sid=' + Math.random(); return false"><img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['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"><?php echo $this->_tpl_vars['err_captcha']; ?>
</div>	  </td>
    </tr>
	<?php endif; ?>
    <tr>
      <td></td>
      <td><input class="inputbutton" type="submit" name="Submit" value="<?php echo $this->_tpl_vars['lang']['submit_send_msg']; ?>
" /> </td>
    </tr>
  </table>
</form>
	</div>	</td>
  </tr>
</table>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 