Location: PHPKode > projects > PHP OpenTailorShop > phpopentailorshop/reports/index.php
<?php session_start();
include ("../settings.php");
include ("../language/$cfg_language");
include ("../classes/db_functions.php");
include ("../classes/security_functions.php");

$lang=new language();
$dbf=new db_functions($cfg_server,$cfg_username,$cfg_password,$cfg_database,$cfg_tableprefix,$cfg_theme,$lang);
$sec=new security_functions($dbf,'Report Viewer',$lang);


if(!$sec->isLoggedIn())
{
	header ("location: ../login.php");
	exit();
}
?>
<?php
echo "
<html>
<head>
</head>
<body>
<table border=\"0\" width=\"600\">
  <tr>
    <td><img border=\"0\" src=\"../images/reports.gif\" width=\"30\" height=\"31\" valign='top'><font color='#005B7F' size='4'>&nbsp;<b>$lang->reports</b></font><br>
      <br>
      <font face=\"Verdana\" size=\"2\">$lang->reportsWelcomeMessage</font>
        <ul>
        <li><font face=\"Verdana\" size=\"2\"><a href=\"form.php?report=$lang->allBrandsReport\">$lang->allBrandsReportMenu</a></font></li>
        <li><font face=\"Verdana\" size=\"2\"><a href=\"form.php?report=$lang->allCategoriesReport\">$lang->allCategoriesReportMenu</a></font></li>
        <li><font face=\"Verdana\" size=\"2\"><a href=\"form.php?report=$lang->allCustomersReport\">$lang->allCustomersReportMenu</a></font></li>
	<li><font face=\"Verdana\" size=\"2\"><a href=\"form.php?report=$lang->allItemsReport\">$lang->allItemsReportMenu</a></font></li>
	<li><font face=\"Verdana\" size=\"2\"><a href=\"form.php?report=$lang->allItemsReportDateRange\">$lang->allItemsReportDateRangeMenu</a></font></li>
	<li><font face=\"Verdana\" size=\"2\"><a href=\"form.php?report=$lang->allEmployeesReport\">$lang->allEmployeesReportMenu</a></font></li>
      </ul>
      <ul>
	<li><font face=\"Verdana\" size=\"2\"><a href=\"form.php?report=$lang->brandReport\">$lang->brandReportMenu</a></font></li>
	<li><font face=\"Verdana\" size=\"2\"><a href=\"form.php?report=$lang->categoryReport\">$lang->categoryReportMenu</a></font></li>
	<li><font face=\"Verdana\" size=\"2\"><a href=\"form.php?report=$lang->customerReport\">$lang->customerReportMenu</a></font></li>
        <li><font face=\"Verdana\" size=\"2\"><a href=\"form.php?report=$lang->customerReportDateRange\">$lang->customerReportDateRangeMenu</a></font></li>
	<li><font face=\"Verdana\" size=\"2\"><a href=\"form.php?report=$lang->itemReport\">$lang->itemReportMenu</a></font></li>
        <li><font face=\"Verdana\" size=\"2\"><a href=\"form.php?report=$lang->itemReportDateRange\">$lang->itemReportDateRangeMenu</a></font></li>
	<li><font face=\"Verdana\" size=\"2\"><a href=\"form.php?report=$lang->employeeReport\">$lang->employeeReportMenu</a></font></li>
      </ul>
      <ul>
	<li><font face=\"Verdana\" size=\"2\"><a href=\"daily.php\">$lang->dailyReportMenu</a></font></li>
	<li><font face=\"Verdana\" size=\"2\"><a href=\"form.php?report=$lang->dateRangeReport\">$lang->dateRangeReportMenu</a></font></li>
	<li><font face=\"Verdana\" size=\"2\"><a href=\"form.php?report=$lang->profitReport\">$lang->profitReportMenu</a></font></li>
	<li><font face=\"Verdana\" size=\"2\"><a href=\"form.php?report=$lang->taxReport\">$lang->taxReportMenu</a></font></li>

      </ul>

    </td>
  </tr>
</table>
</body>
</html>";

$dbf->closeDBlink();


?>
Return current item: PHP OpenTailorShop