Login   Register  
PHP Classes
elePHPant
Icontem

File: Example3/index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Volkan Küçükçakar  >  DEV Template Class  >  Example3/index.php  >  Download  
File: Example3/index.php
Role: Example script
Content type: text/plain
Description: Example 3
Class: DEV Template Class
Template engine with theme and insert support
Author: By
Last change:
Date: 2006-02-16 07:43
Size: 327 bytes
 

Contents

Class file image Download
<?
    
//Example 3 - Complex Usage

    
require('../class.DevTemplate.php');
    
$template=new DevTemplate();
    
$date=date("F j, Y, g:i a");//date to insert
    
$template->express("_template.html","_page1.html","mainpart",array("hello=HELLO WORLD !","date=$date","title=This page title inserted dynamically..!"));

?>