<?php
session_start();

if (isset($_SESSION['username']) && isset($_SESSION['password'])) {


?>
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>

body{
 margin-top:    0px;
 padding-top:   0px;
 padding-right: 0px;
 padding-left:  0px;
}

#content{
 width:  100%;
  
 border: 0px solid red;
 height: 650px;
}
#sidebar_1{
 width: 100%;
  
 border: 1px solid green;
  
 height: 650px;
 }
 

</style>
</head>
<body style="margin-top: 0px;padding-top: 0px">
     <div id="content">
	     <div id="sidebar_1"> 
		    <table border="1" cellspacing="0" cellpadding="0" style="width: 100%;">
			<tr>
			<td> 
			 <table border="0" style="width: 100%;height: 150px">
			 <tr>
			    <td><a href="dailyTransaction.php"><img src="img/journal.png" style="width: 100px; height: 100px"></a></td>
			    <td><img src="img/moneyVictor.png"></td> 
				
				<td><a href="add_customer.php"><img src="img/customer.png" style="width: 100px; height: 100px"></a></td>
			    <td><img src="img/moneyVictor.png"></td>
				
				
			    <td><a href="customerSearch.php"><img src="img/customerSearch.png" style="width: 100px; height: 100px"></a></td>
			 </tr>
			 </table>
			
			</td>
			</tr>
			<tr>
			<td> 
			 <table border="0" style="width: 100%;height: 150px">
			 <tr>
			    <td><a href="add_currency_unit.php"><img src="img/registerMoney.png" style="width: 100px; height: 100px"></a></td>
			    <td><img src="img/moneyVictor.png"></td>
			    <td><a href="currencyRate.php"><img src="img/registerPrice.png" style="width: 100px; height: 100px"></a></td>
				<td><img src="img/moneyVictor.png"></td>
				<td><a href="assetRegistration.php"><img src="img/asset.png" style="width: 100px; height: 100px"></a></td>
			 </tr>
			 </table>
			
			</td>
			</tr>
			<tr>
			<td> 
			 <table border="0" style="width: 100%;height: 150px">
			 <tr>
			    <td><a href="expensesRegistration.php"><img src="img/defineExpenses.png" style="width: 100px; height: 100px"></a></td>
			    <td><img src="img/moneyVictor.png"></td>
			    <td><a href="defineExpenses.php"><img src="img/detailsExpenses.png" style="width: 100px; height: 100px"></a></td>
				<td><img src="img/moneyVictor.png"></td>
				<td><a href="incomeRegistration.php"><img src="img/incomeDefine.png" style="width: 100px; height: 100px"></a></td>
			    <td><img src="img/moneyVictor.png"></td>
				<td><a href="defineIncome.php"><img src="img/incomeDetails.png" style="width: 100px; height: 100px"></a></td>
			 
			 </tr>
			 </table>
			
			</td>
			</tr>
			<tr>
			<td> 
			 <table border="0" style="width: 100%;height: 150px">
			 <tr>
			    <td><a href="generalReport.php"><img src="img/reports.png" style="width: 100px; height: 100px"></a></td>
			    <td><img src="img/moneyVictor.png"></td>
				 <td><a href="color.php"><img src="img/change_template.png" style="width: 100px; height: 100px"></a></td>
			    <td><img src="img/moneyVictor.png"></td>
				
			    <td><a href="admin.php"><img src="img/adduser.png" style="width: 100px; height: 100px"></a></td>
				<td><img src="img/moneyVictor.png" style="text-align:center"></td>
				<td><a href="backup.php"><img src="img/backup.png" style="width: 100px; height: 100px"></a></td>
			     
			 </tr>
			 </table>
			
			</td>
			</tr>
			
			</tr>
			</table>
		 
		 </div><!--End of sidebar_1 Div-->
		 
	 </div><!--End of content Div-->

</body>
</html>
<?php }

else{
	header("Location: login.php");
}  
 ?>
