<?
/*************************************************************
* The MyDB librairy and applications are product of SQLFusion
* It may be used and/or distributed under the terms of the Q Public
* License (QPL) version 1.0, enclosed in the file licence.txt.
****************************************************************/
/** MyDB IDE Version 0.4 **/
/** Author Philippe Lewicki **/
require("mydbconfig.inc.php");
if (isset($globalvars)) {
for ($i=1; $i<= count($globalvars) ; $i++) {
$$globalvars[$i]["name"] = $globalvars[$i]["value"] ;
}
}
$menu = "report" ;
?>
<html>
<head><title>Report</title>
</head>
<body>
<?
$sreport = new ReportTable ;
list($var, $idreport)= explode("=", stripslashes($wherequery)) ;
$idreport = ereg_replace("'", "", $idreport) ;
trim($idreport);
// echo ".reportid :".$idreport."-";
$sreport->id = $idreport ;
// $sreport->recprow = 9 ;
$sreport->pos = $pos ;
echo $sreport->display($conx);
?>
</body>
</html>