isLoggedIn())
{
header ("location: ../login.php");
exit();
}
if(isset($_POST['date_range']))
{
$date_range=$_POST['date_range'];
$dates=explode(':',$date_range);
$date1=$dates[0];
$date2=$dates[1];
}
$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang);
$display->displayTitle("$cfg_company $lang->allEmployeesReport");
$tableheaders=array("$lang->employee $lang->name","$lang->totalItemsSold","$lang->moneySoldBeforeTax","$lang->moneySoldAfterTax");
$display->displayTotalsReport($cfg_tableprefix,'employees',$tableheaders,$date1,$date2,'','')
?>