<?php /** * Test script demostrating the using of Drafter class * * @autor Juan Prada * @version 1.0 29/10/2006 */ $ls_cpath = ''; include($ls_cpath.'class_drafter.php'); $data = array( "menu_ancho" => 150, "menu_alto" => 50, "pagina_titulo"=> "Drafter Test Window Title", "titulo" => "Drafter Test", "descrip" => "Example of Drafter class", "primero" => "", "superior" => "", "lateral" => "", "contenidos" => "", "classpath" => $ls_cpath, // Allows to specify some route if you use to store the class in some dir "lang" => "", // 'en'|'es'; If empty, picks the browser settings "pertenencia" => "test", "dbtabla" => 'drafter_test', "dblogin" =>array( 0 => array( // Here you can define your PRODUCTION database settings 'DBHostName' => 'localhost.localdomain', 'DBdb_name' => '', 'DBUserName' => '', 'DBPWD' => '', ), 1 => array( // Here you can define your TEST database installation settings 'DBHostName' => 'localhost', 'DBdb_name' => 'silueth_db', 'DBUserName' => 'root', 'DBPWD' => '', ), ), ); $drafter= new Drafter($data); $drafter->run(); ?>