<?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 (isset($newtablename)) {
$tablename = $newtablename;
}
$menu= "table";
include("hd_inc.php");
/**** global : tablename ***/
session_register("tablename") ;
?>
<!---- Debut du contenue de la page principal ---->
<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">
<? echo $tablename ; ?>
</td><TD width="15" height="25" align="center">
||
</td>
</tr>
</table><BR>
<DIV align="center"> <a href="ffadfield.php"><?php echo $strAddField ; ?></a></DIV>
<?php
$formb = new mydataForm;
$conx->table = $tablename;
// $conx->table = "FClient";
$formb->tblEditForm = true ;
$formb->submitPage= "mydataproced.php";
$formb->resultPage = "formbuilder.php";
$formb->requiredPage = "error.php";
$formb->tblLabelEdit = $strFBLabelEdit;
$formb->tblLabelDelete = $strFBLabelDelete;
$formb->frmSubmitButton = $strFBTestForm ;
$formb->requiredLegend = $strRequiredLegend;
// $form->frmFormId = $numform;
$formb->printform($conx, "") ;
?>
<!--- Fin du contenue de la page Principale --->
<?
include("ft_inc.php");
?>