<?php session_start();?>
<?php require_once('open_connection.php');?>
<link href="css/gridtable.css" rel="stylesheet" type="text/css" />
<link href="css/imagetable.css" rel="stylesheet" type="text/css" />					
<!DOCTYPE html>
<html>
<head>
      <title>PICCSB e-Directory System</title>

</head>
<body bgcolor="#333333"> 
<table width="100%" border="0" align="center"> 
<tr>
<td width="15%" bgcolor="#333333">&nbsp;</td>
<td width="70%" align="center" bgcolor="#FFFFFF" > 

<table width="100%" border="0" align="center">

<!-- row for header picc 1 -->
<tr>  
     <th width="30%" colspan="4"><img src="images/header-cox.jpg" width="100%" height="auto"></th>
</tr>

<!-- row for header picc 2 -->
<tr>
     <th width="40%" colspan="4"><img src="images/eoffice-cox.jpg" width="100%" height="auto"></th>
</tr>
<!-- calling frame -->	
<tr>
    <td colspan="1" width="10%" align="center"><!--?php include("header.php");?--></td>
	
</tr>
<tr>

<td colspan="3" width="90%" align="center" >
<tr><td align="left">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<?php
$username=$_SESSION['username'];
echo 'Welcome: '.$username;
?>
<?php
       $cust_id = $_REQUEST['cust_id'];	 
			//echo $cust_id;
       $customer= "SELECT * FROM tbl_dir_fnb_customer WHERE cust_id ='$cust_id'";
		$result = mysql_query($customer);
			$row=mysql_fetch_array($result);
		$cust_id=$row['cust_id'];	
		?>
 <?php
                    $userid=mysql_query("select * from tbl_dir_user where user_name='$username'")or die(mysql_errno());
                    $row2=mysql_fetch_array($userid);
                    $user_id=$row2['user_id'];
					
                ?>	       <!--div align="right"><a href="cust_FnB_view.php" class="mybutton">Quotation List </a--> &nbsp;
							<a href="cust_FnB_Login.php"><img src="images/logout3.gif" align="right"></a></div>
							</td>
</tr>
<tr><td>
<h2 align="center" style="font-family:Verdana, Arial, Helvetica, sans-serif;"><a href="http://eDirectory.picc.com.my/cust_FnB_view.php">FOOD AND BEVERAGE QUOTATION</a></h2>
<form method="post">
		<?php
       $cust_id = $_REQUEST['cust_id'];	 
			//echo $cust_id;
       $customer= "SELECT * FROM tbl_dir_fnb_customer WHERE cust_id ='$cust_id'";
		$result = mysql_query($customer);
			$row=mysql_fetch_array($result);
		$cust_id=$row['cust_id'];	
		?>

<table width="56%" align=center border="0" >
          <tr>
            <!--td width="26%" align="center"><a href="quotation_chooseDate.php?cust_id=<?php echo $cust_id;?>"><img src="images/gstsst.jpg" width="120" height="86" border="0"></a></td-->
            <td width="36%" align="center"><a href="quotation_chooseDate_zerogst.php?cust_id=<?php echo $cust_id;?>"><img src="images/zerogst.jpg" width="151" height="138" border="0" ></a></td>
            <!--td>Cafe@picc <input type="text" size="5" maxlength="5" name="quotation_id"></td-->
            <td width="38%" align="center"><a href="quotation_chooseDate_Ramadhan.php?cust_id=<?php echo $cust_id;?>"><img src="images/ramadhan.jpg" width="174" height="138" border="0" ></a></td>
          </tr>
</table>

</form>
<br>



 </td></tr>
<!-- row for footer -->	
<tr>
	<th align="center" colspan="4">
	<?php include ('footer.php'); ?>
		
	</th>
</tr>

<!--- end for ruang kerja 80% -->
</table> 

</td>

<td width="15%" bgcolor="#333333">&nbsp;</td>

</tr>

<!--- end for ruang kerja 100% -->
</table>
</body>
</html>
