<?php
include("../session.php");
include("../connect.php");
//echo $_SESSION['session_id'];
$user=$_SESSION['company'];
?>
<html>
<head>
<title>User Page(Company profile)</title>
<link href="header.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" href="facebox/facebox.css" />
<script language="javascript" src="jquery.js"></script>
<script language="javascript" src="facebox/facebox.js"></script>

<script type="text/javascript">

function comingsoon(){
	alert("Waiting Android application to support this function");
	return false;
}
</script>

</head>
<body>
<div id="content2">
<!-----------------Outer table--------------->
<table width=1000 border=0 cellspacing=10 cellpadding=3  >
<tr>
	<td colspan=2>
	<?php include("head.php");?>
	</td>
	</tr>
<tr>
	<td colspan=2>
	<div class=main>&nbsp;&nbsp;>>
			<a href="<?php echo"company.php";?>">&nbsp;Home&nbsp;</a>
			</div></td>
	</tr>
<tr>
	<td width=280 valign=top>
	<!-----------Inner table 1----------------->
	<?php include("companySide.php");?>
	<!-----------------End inner table 1----------------------->
	</td>
	<td valign=top>
	<!--------------------Inner table 2----------------------->
	<div id="inner">
	<table class=corners cellspacing=1 cellpadding=10 width=98% align=right>
	<tr>
		<td>
				<div class="panel2">
					<table border=0 cellpadding=5 valign=top>
					<tr>
						<td width=100 align=center>
							<a href = "insertproduct.php" style="text-decoration: none">
							<img src="../images/form.png" width=70 height=50 border=none /><br/>
							Insert</a></td>
						<td width=100 align=center>
							<a href = "editproduct.php" style="text-decoration: none">
							<img src="../images/edit.png" width=60 height=50 border=none /><br/>
							Edit</a></td>
						<td width=100 align=center>
							<a href = "removeproduct.php" style="text-decoration: none">
							<img src="../images/delete.png" width=50 height=50 border=none /><br/>
							Delete</a>
							</td>
						<td width=100 align=center>
							<a href = "trash.php" style="text-decoration: none">
							<img src="../images/removed.png" width=60 height=50 border=none /><br/>
							Trash</a>
							</td>
						
						<td width=100 align=center>
							<a href = "viewproduct.php" style="text-decoration: none">
							<img src="../images/promotion.gif" width=60 height=50 border=none /><br/>
							Promotion</a>
							</td>
						<td width=100 align=center>
							<a href = "storecontrol.php" style="text-decoration: none">
							<img src="../images/store.png" width=60 height=50 border=none /><br/>
							Store</a>
							</td>
						</tr>
					</table>
					</div>
				<p class="flip2" id="setting2"><b>Product Panal</b></p>
		</td>
		</tr>
	<tr>
		<td>
				<div class="panel3">
					<table border=0 cellpadding=5 valign=middle>
					<tr>
						<!--<td width=100 align=center>
						<!--<a href=<?php //echo "editHistory.php?user=$user";?>>Edit History</a></td>-->
						<td width=130 align=center>
							<a href = "notice/inboxFeed.php" style="text-decoration: none">
							<img src="image/bmail.png" width=60 height=50 border=none /></br>
							Company Message</a></td>
						<td width=130 align=center>
							<a href = "notice/bFeedback.php" style="text-decoration: none" onclick="return comingsoon()">
							<img src="image/cmail.png" width=60 height=50 border=none /></br>
							Customer Message</a></td>
						<td width=130 align=center>
							<a href = "rate.php" style="text-decoration: none">
							<img src="../images/rate.png" width=60 height=50 border=none /><br/>
							Rating Report</a>
							</td>
						</tr>
					</table>
					</div>
				<p class="flip3" id="setting3"><b>Interactive Panel</b></p>
		</td>
		</tr>
	<tr>
		<td>
				<div class="panel3">
					<table border=0 cellpadding=5 valign=middle>
					<tr>
						<!--<td width=100 align=center>
						<!--<a href=<?php //echo "editHistory.php?user=$user";?>>Edit History</a></td>-->
						<td width=100 align=center>
							<a href = "sales.php" style="text-decoration: none" onclick="return comingsoon()">
							<img src="image/chart2.png" width=60 height=50 border=none /><br/>
							Sales Report</a></td>
						</tr>
					</table>
					</div>
				<p class="flip3" id="setting3"><b>Transaction Panel</b></p>
		</td>
		</tr>
	</table>
	</div>
	<!----------------------End inner table 2-------------------->
	
	</td>
	</tr>
</table>
<!-----------------------End outer table-------------------------->

<center><address><?php include("../online/copyright.php")?></address></center>

</div>
<?php 
include("../closeconnection.php");
?>

</body>
</html>