<?php

	$path_to_root=".";
	if (!file_exists($path_to_root.'/config_db.php'))
		header("Location: ".$path_to_root."/install/index.php");

	$page_security = 'SA_OPEN';
	ini_set('xdebug.auto_trace',1);
	include_once("includes/session.inc");
	
	
	include_once($path_to_root . "/includes/ui.inc");
	include_once($path_to_root . "/includes/page/header.inc");
	$company_code = $_SESSION['wa_current_user']->company;



?>




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Dash board</title>
<link rel="stylesheet" href="style.css" />
</head>

<body>
<div id="wrapper">
<div id="content">
	<div id="header">
    	<a href="http://www.evolve-sl.com/" class="evolve_logo"><img src="images/logo.png" /></a>
        <span>EvolveAccounting Dashboard</span>
        <div class="company_name"><?php echo $db_connections[$company_code]["name"];?></div>
        
    </div>
    <div id="left"></div>
    <hr />
    <div id="middle">
    	<div id="row1">
   
            <div class="icon">
                <a href="index.php?application=orders"><img src="images/sales.png" /></a>
                <span>Accounts Receivable</span>
            </div>
    
            <div class="icon">
                <a href="index.php?application=AP"><img src="images/purches.png" /></a>
                <span>Accounts Payable</span>
            </div>
    
            <div class="icon">
                <a href="index.php?application=stock"><img src="images/inventory.png" /></a>
                <span>Inventory Control</span>
            </div>
            <div class="icon">
                <a href="index.php?application=CB"><img src="images/cashbook.png" /></a>
                <span class="home">Cashbook</span>
            </div>
		</div>
        <div id="row2">
            <div class="icon">
                <a href="index.php?application=GL"><img src="images/banking.png" /></a>
                <span>General Ledger</span>
            </div>
            <div class="icon">
               <a href="index.php?application=proj"> <img src="images/dimenstion.png" /></a>
               <span>Dimension</span>
            </div>
            <div class="icon">
                <a href="index.php?application=manuf"><img src="images/manufac.png" /></a>
                <span>manufacturing</span>
            </div>
             <div class="icon">
               <a href="index.php?application=fixed"> <img src="images/fixed.png" /></a>
                <span>Fixed Assets</span>
            </div>
        </div>

   		<div id="row2">
            <div class="icon1">
               <a href="index.php?application=system"> <img src="images/settings.png" /></a>
                <span>Settings</span>
            </div>
        </div>
    </div>
    <div id="right"></div>
    <div id="footer"></div>
</div>
</div>
</body>
</html>
