Login   Register  
PHP Classes

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Philipp v. Criegern  >  SmartTemplate  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example Script
Class: SmartTemplate
Enterprise Class Template Compiler
Author: By
Last change:
Date: 11 years ago
Size: 523 bytes


Class file image Download
require_once "class.smarttemplate.php";
$page = new SmartTemplate("example.html");

$title 'SmartTemplate Usage Example';

$links = array(
'TITLE' => 'PHP',     'URL' => 'http://www.php.net'    ),
'TITLE' => 'Apache',  'URL' => 'http://www.apache.org' ),
'TITLE' => 'MySQL',   'URL' => 'http://www.mysql.com'  ),

$page->assign'TITLE',  $title );
$page->assign'links',  $links );