-
-
- year
-
- 2008 -
-
--- a/lib/common.inc.php +++ b/lib/common.inc.php @@ -1,131 +1,546 @@ -$value) - $totale += array_sum_all($value); - return $totale; - } -$agency = mysql_real_escape_string(stripslashes($_REQUEST['agency'])); -if ($agency != "") $agencyQ = "agencyName = '" . $agency . "' AND"; -$supplier = mysql_real_escape_string(stripslashes($_REQUEST['supplier'])); -if ($supplier != "") { - $supplierParts = explode("-", $supplier); - if ($supplierParts[0] > 0) $supplierQ = "supplierABN = '" . $supplierParts[0] . "' AND"; - else $supplierQ = "supplierName LIKE '%" . $supplierParts[1] . "%' AND"; -} -$year = mysql_real_escape_string(stripslashes($_REQUEST['year'])); -if ($year != "") $yearQ = "agencyName = '" . $agency . "' AND"; - -$start =0.0; - -function include_header($title) { - global $start; -?> - - -
-'."Processing time: ". sprintf("%.4f", ($end-$start))." seconds".'