<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Form Builder</title>
<meta http-equiv="Content-Language" content="English" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- Include Core CSS Files -->
<link rel="stylesheet" type="text/css" href="html/css/lib/Builder.css" media="screen" />
<link rel="stylesheet" type="text/css" href="html/css/lib/validationEngine.jquery.css" media="screen" />
<!-- Include Core Javascript Files -->
<script src="html/javascript/lib/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="html/javascript/lib/jquery.validationEngine.js" type="text/javascript"></script>
<script src="html/javascript/lib/grid.js" type="text/javascript"></script>
<script src="html/javascript/lib/form.js" type="text/javascript"></script>
</head>
<body>
<div id="wrapper">
<?php
// Load the Builder Library
include 'includes/Builder.php';
// Load our example meta data
include 'demo.php';
try
{
$oForm = new BuilderForm();
$oGrid = new BuilderGrid();
echo $oForm->Render($aMeta['company.form.add']);
echo $oGrid->Render($aMeta['company.grid'], $aCompanies);
echo $oForm->Render($aMeta['auth.personal.update']);
}
catch (Exception $oException)
{
echo $oException->GetMessage();
}
?>
</div>
</body>
</html>