Login   Register  
PHP Classes
elePHPant
Icontem

File: conditions.html

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 13 years ago
Size: 1,079 bytes
 

Contents

Class file image Download
<?

include  ('template.inc');
include  ('variable.inc');
$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=\"http://axis.vmedia.com.au/images/copy.gif\" 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) 


?>