Location: PHPKode > scripts > Formallin > formallin/outLine.php
<?php
include("classes/FA_Sql.class.php");
include("classes/FA_Form.class.php");
include("classes/FA_Fieldset.class.php");
include("classes/FA_FieldsetLegend.class.php");
include("classes/FA_Element.class.php");
include("classes/FA_Error.class.php");
include("classes/FA_Attribute.class.php");
include("classes/FA_AttributeValue.class.php");
include("classes/FA_ChildNode.class.php");
include("classes/FA_Label.class.php");
include("classes/FA_LabelText.class.php");
include("classes/FA_SourceEditor.class.php");
include("classes/FA_Item.class.php");
include("classes/FA_ItemValue.class.php");
include("classes/FA_Extension.class.php");
include("classes/FA_Design.class.php");
include("classes/FA_Lang.class.php");
include("includes/formall_framework.php");
include("config/const_system.php");

// ACCES BASE DE DONNEES
include("../connectors/formallin_connector_bddAcces.php");
// connexion
global $db;
include("../db.php");
$db=new DB;
$db->_connectar();

$shortName=FA_Lang::getSyslangById($_GET['langId']);

$form = new FA_Form(); // initialisation de l'objet formulaire

header("Content-Type: text/html; charset=UTF-8");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php echo $shortName; ?>" xml:lang="<?php echo $shortName; ?>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>FORMALLIN - <?php echo _OUTLINE_TITLE; ?></title>
<style type="text/css">
<?php echo FA_Design::getCss($form->getFormId(fa_str_get('sfe'))); ?>
</style>
<script type="text/javascript" src="js/jquery-1.4.1.min.js"></script>
<script type="text/javascript" src="js/jquery.easing.1.3.js "></script>
<script type="text/javascript" src="js/jquery.color.js"></script>
<script type="text/javascript" src="js/jquery.ui.js"></script>
<script type="text/javascript">
$(function(){ $(".datepicker").datepicker(); });
</script>

</head>
<body>
<?php $form->generateOutline(fa_str_get('sfe'),$_GET['langId']); // langue du systeme, à remplacer par une requète sql ?>
</body>
</html>
Return current item: Formallin