<?php
    $title="Contact Us";
	require 'templates/'.$tfold.'/header.php';
?>
<table width="980" cellpadding="0" cellspacing="0" align="center">
	<tr>
<tr><td width="1%" height="24" valign="top"><img src=templates/<?=$tfold?>/img_files/t_header_l_bl.gif></td>
<td class="tdhead_main_bl" width="30%" height="24" valign="middle">

<table width="250" cellpadding="0" cellspacing="0" >
<tr><td width="1%" height="24" valign="top"><img src=templates/<?=$tfold?>/img_files/heading-left-bl.gif></td>
<td class="head_main_bl" width="98%" height="24" valign="middle">&nbsp;<B>Contact Us</b></td>
<td width="1%" height="24" valign="top"><img src=templates/<?=$tfold?>/img_files/heading-right-bl.gif></td></tr>
	</table>
</td>
<td class="tdhead_main_bl" width="68%" height="24" valign="middle">&nbsp;</td>
<td width="1%" height="24" valign="top"><img src=templates/<?=$tfold?>/img_files/t_header_r_bl.gif></td></tr>
	</table>
<table align="center" border="0" cellpadding="4" cellspacing="0" width="980" class="ft_right_bl" style="border-collapse: collapse" bordercolor="#111111">
        <form name="frmContact" action="contact.php" method="post">
		
		<tr><td colspan=3 align=right>
<font color=red><? echo "$lang_174" ?>&nbsp;&nbsp;</td></tr>
<?
if($err_flag==1)
{
?>
<tr><td><blockquote>&nbsp;&nbsp;
<img src="templates/<? echo "$tfold" ?>/img_files/xclabid.gif"></td>
<td><font class="head_font" color="red"><? echo "$lang_17" ?></font></td>
</tr>
<?
if(!empty($nameflag))
{
?>
<tr><td>&nbsp;</td><td><a href="contact.php#txtName">Your Name</a> - <?= $nameflag; ?></td></tr>
<?
}
if(!empty($emailflag))
{
?>
<tr><td>&nbsp;</td><td><a href="contact.php#txtemail">Email Id</a> - <?= $emailflag; ?></td></tr>
<?
}
if(!empty($err_email))
{
?>
<tr><td>&nbsp;</td><td><a href="contact.php#txtemail">Email Id</a> - <?= $err_email; ?></td></tr>
<?
}
if(!empty($subjectflag))
{
?>
<tr><td>&nbsp;</td><td><a href="contact.php#txtSubject">Subject</a> - <?= $subjectflag; ?></td></tr>
<?
}
if(!empty($messageflag))
{
?>
<tr><td>&nbsp;</td><td><a href="contact.php#textfield">Message</a> - <?= $messageflag; ?></td></tr>
<?
}
?>
<? if(!empty($err_captcha))
 {
 ?>
<tr><td>&nbsp;</td><td>&nbsp;<?= $err_captcha; ?></td></tr>
<? 
}
?>
<tr><td colspan="2"  align="center"><hr noshade class="hr_color" size="1" width=70%></td></tr>
<?
}
?>	
          <tr> 
            <td><blockquote><? if(!empty($nameflag)){?><font color="red"><b>&nbsp;&nbsp;<? echo "$lang_175" ?>*</b></font><? }else{?><b>&nbsp;&nbsp;<? echo "$lang_175" ?><font color="red">*</font></b><? }?> </td>
            <td>
            <div class="h_text_cell_mid"><input type="text" name="txtName" class="h_text_mid" value="<? echo $cname; ?>"></div></td>
          </tr>
          <tr> 
            <td><blockquote><? if(!empty($emailflag) || !empty($err_email)){?><font color="red"><b>&nbsp;&nbsp;<? echo "$lang_176" ?>*</b></font><? } else {?></b><b>&nbsp;&nbsp;<? echo "$lang_176" ?><font color="red">*</font></b><? }?></td>
            <td>
            <div class="h_text_cell_mid"><input type="text" name="txtEmail" class="h_text_mid" value="<? echo $email; ?>"></div></td>
          </tr>
          <tr> 
            <td><blockquote><b>&nbsp;&nbsp;<? echo "$lang_177" ?></b></td>
            <td>
            <div class="h_text_cell_mid"><input type="text" name="txtCname" class="h_text_mid"  value="<? echo $company; ?>"></div></td>
          </tr>
          <tr> 
            <td><blockquote><b>&nbsp;&nbsp;<? echo "$lang_553" ?></b></td>
            <td> <select name="cboPurpose" style="width:170;height:20;font-size=12;font-family:verdana">
               	<option value="">Select</option>
                <option value="Login">Login</option>
                <option value="Registration">Registration</option>
				<option value="Sell">Sell</option>
				<option value="Buy">Buy</option>
                <option value="<? echo "$lang_178" ?>"><? echo "$lang_178" ?></option>
                <option value="<? echo "$lang_179" ?>"><? echo "$lang_179" ?></option>
              </select> </td>
          </tr>
          <tr> 
            <td><blockquote>&nbsp;&nbsp;<b>Priority</b></td>
            <td> <select name="cboPriority" style="width:170;height:20;font-size=12;font-family:verdana">
                <option value="">Select</option>
                <option value="High">High</option>
                <option value="Normal">Normal</option>
                <option value="Low">Low</option>
              </select> </td>
          </tr>
          <tr> 
            <td><blockquote><? if(!empty($subjectflag)){?><font color="red">&nbsp;&nbsp;<b>Subject  *</b></font><? } else {?>&nbsp;&nbsp;<b>subject <font color="red">*</font></b><? }?></td>
            <td>
            <div class="h_text_cell_mid"><input type="text" name="txtSubject" class="h_text_mid" value="<? echo $subject; ?>"></div></td>
          </tr>
          <tr> 
            <td valign="top"><blockquote><? if(!empty($messageflag))
			{
			?><font color="red">&nbsp;&nbsp;<b>Message *</b></font><? } else {?></b>&nbsp;&nbsp;<b>Message <font color="red">*</font></b><? }?></td>
            <td><textarea name="textfield" cols="50" rows="10"  ><? echo $message; ?></textarea></td>
          </tr>

<tr><td colspan="3" align="center">
<table border="0" width="40%"  style="padding-left:10px; padding-top:20px;text-align:center;">
<TR>
<td style="font-size: 14px;" valign="top" width="36%" height="20"><p><font class="head_font">Enter Text in the box below: (not case sensative) </font></p>  </td>
</TR> 
  <tr>
    <td width="36%" height="66">
 <table border="0" width="100%" cellpadding="0" cellspacing="0" style="border-collapse: collapse;">
  <tr>
    <td width="275" rowspan="2" align="center"><img id="captcha" src="securimage_show.php" alt="CAPTCHA Image" /></td>
    <td width="24"><a href="#" onclick="document.getElementById('captcha').src = 'securimage_show.php?' + Math.random(); return false">
    <img src="templates/<? echo "$tfold" ?>/img_files/refresh.gif" border="0"></a></td>
  </tr>
  <tr>
    <td width="24"><a href="securimage_play.php"><img src="templates/<? echo "$tfold" ?>/img_files/audio_icon.gif" border="0"></a></td>
  </tr>
</table>    </td>
  </tr>
  <tr>
    <td width="36%" height="47" align="center"><div class="h_text_cell_mid">
<input class="h_text_mid"  type="text" name="captcha_code" size="40"></div></td>
  </tr>
</table>

          </td></tr><tr> 
            <td colspan="2" valign="top" align="center"><input class="submit_button" type="submit" name="btnSend" value="Send" class="searchbutton"></td>
          </tr>
        </form>
      </table>
<table width="980" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="98%" height="5" align="center"><img src=templates/<?=$tfold?>/img_files/t_bot_bl.gif border="0"></b></td>
</tr>
	</table>