PHP Classes

File: conditions.html

Recommend this page to a friend!
  Classes of nanou morgan  >  noticeboard  >  conditions.html  >  Download  
File: conditions.html
Role: ???
Content type: text/plain
Description: Enter your own terms and conditions of use
Class: noticeboard
Author: By
Last change:
Date: 19 years ago
Size: 1,079 bytes



Class file image Download

include  ('');
include  ('');
$title ="Terms and Conditions";
$content .="
      <p> <font face=\"Arial, Helvetica, sans-serif\" size=\"2\"><b>Here you will post your tems and conditions.</b></font><center><img src=\"\" width=\"1\" height=\"1\"></center></p>

/*  parse to template */ 

$t = new Template( $path);
                                  // create a template object named $t 

$t->set_file( "MyFileHandle", "$template");
                                  // set MyFileHandle = our template file 
$t->set_var(array( "TITLE" => $title,
					"FOOTER" => $bot,
				   "CONTENT" =>  $content));

                                  // set template variable 
$t->parse( "MyOutput", "MyFileHandle"); 
                                  // set template variable MyOutput = parsed file 
$t->p( "MyOutput");  // output the value of MyOutput (our parsed data)