Location: PHPKode > projects > MyDB > webide/report.php
<?php
/*************************************************************
 * 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($newreport) {
	$report = $newreport; 
	}

	    $conx->table ="report"; 
        $conx->sql_query = stripslashes($sql_query);
        $conx->sql_order = stripslashes($sql_order) ; 
        $conx->max_rows = 30 ; 
	    $conx->pos = $pos ;     


  $menu="report"; 
 require("hd_inc.php"); 
?>
<TABLE width="400" border="0" cellspacing="0" cellpadding="0" align="center">
<tr><TD width="15" height="25" align="center">
||
</td><TD width="370" height="25" bgcolor="#ffcc33" align="center" class="titrearticle">
Report
</td><TD width="15" height="25" align="center">
||
</td>
</tr>
</table><BR>
<?	
    $table = new mydataTable; 
    $table->cfgBgcolorOne = "#D0F5C5" ;
    $table->cfgBgcolorTwo = "#C7F5E7" ;
    $table->cfgShowBlob = true; 
    $table->cfgLinkTableRecord = true ; 
	$table->strLinkedTable = $strPreview ;
	$table->cfgEditPage = "reportedit.php"; 
	$table->cfgAddPage = "reportedit.php"; 
	$table->cfgDeletePage = "mydatadelete.php" ;
	$table->cfgLinkTablePage = "showreport.php";              
	$table->hidefield[header] = 1; 
	$table->hidefield[row] = 1; 
	$table->hidefield[footer] = 1; 
	
	$table->strNoRecords =  $strNoRecords ; 
    $table->strShowingRecords	= $strShowingRecords ;
    $table->strTotal		= $strTotal ;
    $table->strEdit		= $strEdit ;
    $table->strPrevious	=  $strPrevious;
    $table->strNext		= $strNext ; 
    $table->strDelete		= $strDelete  ;
    $table->strDeleted		= $strDeleted ;
    $table->strLinkedTable 	=  $strLinkedTable; 
    $table->strPos1                	=  $strPos1 ;
    $table->strEnd                 	= $strEnd;
    $table->strInsertNewRow	=  $strInsertNewRow ;
    $table->strYes		= $strYes ;
    $table->strNo		=  $strNo ;
    $table->strDoYouReallyDelete =  $strDoYouReallyDelete;  
			  	
	
	
	 
    $result = $conx->query() ; 
    $conx->getnum_rows(); 
    $table->displaytable($conx, $result) ; 
?><BR>


<?
 include("ft_inc.php"); 
   //  page_close() ;
?>
Return current item: MyDB