<? require_once('../includes/main.inc.php');

if($_REQUEST['f_id']!='' && $_REQUEST['f_id']!=0) {

	$sql = "select * from tbl_feedback where f_id = '$f_id'";

	$result = db_query($sql);

	if ($line_raw = mysql_fetch_array($result)) {

		$line = ms_form_value($line_raw);

		@extract($line);

	}

}





?>

<link href="styles.css" rel="stylesheet" type="text/css">

<? include("top.inc.php");?>

<script language="javascript" src="../js/ajax.js"></script>

<table width="100%" border="0" cellspacing="0" cellpadding="0">

  <tr>

    <td id="pageHead"><div id="txtPageHead">

      View Your Feedback</div></td>

  </tr>

</table>

<div align="right"><a href="feedback_list.php">Back to 

  Feedback  List</a>&nbsp;</div>

  <table width="95%" border="0" align="center" cellpadding="2" cellspacing="0">

	  <tr >

	    <td valign='top'  height="25" colspan="4" align="left" class="xrep"><strong class="mainLink"> </strong></td>

	  </tr>

	  <tr>

	    <td valign='top'  width="15" align="left" class="xrep">&nbsp;</td>

	    <td valign='top'  height="25" align="left" class="tdLabel"><strong>Name</strong> </td>

	    <td valign='top'  align="left" class="xrep">:</td>

	    <td valign='top'  align="left" class="tdLabel"><?=$f_name?></td>

	  </tr>

	  <tr>

	    <td valign='top'  align="left" class="xrep">&nbsp;</td>

	    <td valign='top'  height="25" align="left" class="tdLabel"><strong>Email</strong></td>

	    <td valign='top'  align="left" class="xrep">:</td>

	    <td valign='top'  align="left" class="tdLabel"><?=$f_email?></td>

	  </tr>

	  <tr>

	    <td valign='top'  align="left" class="xrep">&nbsp;</td>

	    <td valign='top'  height="25" align="left" class="tdLabel"><strong>Phone no.</strong> </td>

	    <td valign='top'  align="left" class="xrep">:</td>

	    <td valign='top'  align="left" class="tdLabel"><?=$f_phone?></td>

	  </tr>

	 <?

	 if(strlen($f_address)){

	?>

		<tr>

	      <td valign='top'  align="left" class="xrep">&nbsp;</td>

	      <td valign='top'  height="25" align="left" class="tdLabel"><strong>Address </strong></td>

	      <td valign='top'  align="left" class="xrep">:</td>

	      <td valign='top'  align="left" class="tdLabel"><?=$f_address?></td>

	    </tr>

	<?   

	 }

	 if(strlen($f_city)){

	?>

	<tr>

	    <td valign='top'  align="left" class="xrep">&nbsp;</td>

	    <td valign='top'  height="25" align="left" class="tdLabel"><strong>County </strong></td>

	    <td valign='top'  align="left" class="xrep">:</td>

	    <td valign='top'  align="left" class="tdLabel"><?=$f_city?></td>

	  </tr>

	<?   

	 }

	 if(strlen($f_state)){

	?>

	<tr>

	    <td valign='top'  align="left" class="xrep">&nbsp;</td>

	    <td valign='top'  height="25" align="left" class="tdLabel"><strong>State </strong></td>

	    <td valign='top'  align="left" class="xrep">:</td>

	    <td valign='top'  align="left" class="tdLabel"><?=$f_state?></td>

	  </tr>

	<?   

	 }

	 if(strlen($f_zipcode)){

	?>

	<tr>

	    <td valign='top'  align="left" class="xrep">&nbsp;</td>

	    <td valign='top'  height="25" align="left" class="tdLabel"><strong>Post Code </strong></td>

	    <td valign='top'  align="left" class="xrep">:</td>

	    <td valign='top'  align="left" class="tdLabel"><?=$f_zipcode?></td>

	  </tr>

	<?   

	 }

	 if($f_country!='' && $f_country!='0'){

	 ?>

	 <tr>

	    <td valign='top'  align="left" class="xrep">&nbsp;</td>

	    <td valign='top'  height="25" align="left" class="tdLabel"><strong>Country </strong></td>

	    <td valign='top'  align="left" class="xrep">:</td>

	    <td valign='top'  align="left" class="tdLabel"><?=$f_country?></td>

	  </tr>

	  <?

	}

	  if(strlen($f_fax)){

	 ?>

	 <tr>

	    <td valign='top'  align="left" class="xrep">&nbsp;</td>

	    <td valign='top'  height="25" align="left" class="tdLabel"><strong>Fax </strong></td>

	    <td valign='top'  align="left" class="xrep">:</td>

	    <td valign='top'  align="left" class="tdLabel"><?=$f_fax?></td>

	  </tr>

	 <?   

	  }

	  ?>

	  

	  

	  <tr>

	    <td valign='top'  align="left" class="xrep">&nbsp;</td>

	    <td valign='top'  height="25" align="left" class="tdLabel"><strong>Comments </strong></td>

	    <td valign='top'  align="left" class="xrep">:</td>

	    <td valign='top'  align="left" class="tdLabel"><?=nl2br($f_comments)?></td>

	  </tr>

	  <tr>

	    <td valign='top'  align="left" class="xrep">&nbsp;</td>

	    <td valign='top'  height="25" align="left"  class="tdLabel">&nbsp;</td>

	    <td valign='top'  height="25" align="left"  class="tdLabel">&nbsp;</td>

	    <td valign='top'  height="25" align="left"  class="tdLabel"></td>

	  </tr>

	</table>

  <? include("bottom.inc.php");?>