PHP Classes

File: ClassTestFile/test_libfunz.php

Recommend this page to a friend!
  Classes of Guerrieri Luca   PXAServer   ClassTestFile/test_libfunz.php   Download  
File: ClassTestFile/test_libfunz.php
Role: Example script
Content type: text/plain
Description: Test for Library of fuction
Class: PXAServer
Library to build applications configured with XML
Author: By
Last change:
Date: 17 years ago
Size: 1,225 bytes
 

Contents

Class file image Download
<?php
/*
 * Created on 5-set-2006
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 
require ('../libreria/libfunz.inc.php');
 
     print
"richiamo la funzione : header_html_full();<br>\n";
    
header_html_full();
     print
"\n";
     print
"<br>richiamo la funzione : header_html_simple();\n";
    
header_html_simple();
     print
"\n";
     print
"<br>richiamo la funzione : make_static_template_page();\n";
    
make_static_template_page('template01','test_template_static.tpl','test_data_static.xml');
     print
"\n";
     print
"<br>richiamo la funzione : make_dynamic_template_page();\n";
    
make_dynamic_template_page('template01','test_template_dynamic.tpl','test_data_dynamic.xml',array(array("username" => "luca","password" =>"password","level"=>"1","status" =>"1")));
     print
"\n";
     print
"<br>richiamo la funzione : make_dynamic_template_page();\n";
    
make_dynamic_template_page('template01','test_template_dynamic.tpl','test_data_dynamic.xml',array(0 => array("username" => "luca","password" =>"password","level"=>"1","status" =>"1"),1 => array("username" => "gianni","password" =>"pword","level"=>"0","status" =>"1")));
     print
"\n";
?>