Login   Register  
PHP Classes
elePHPant
Icontem

File: example6.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Richard Munroe  >  dm.IS Layout  >  example6.php  >  Download  
File: example6.php
Role: Example script
Content type: text/plain
Description: example
Class: dm.IS Layout
Fork of the IS layout template engine
Author: By
Last change:
Date: 2005-01-18 04:20
Size: 362 bytes
 

Contents

Class file image Download
<?php
require_once "class.IS_Layout.php";

$lay  = new IS_Layout('example6.htm');
$slay = new IS_Layout('example6.1.htm');

$month=date("m");
$day=date("d");
$year=date("Y");

$slay->replace('month',$month);
$slay->replace('day',$day);
$slay->replace('year',$year);

// Includes the object $slay in $lay
$lay->inc($slay);

$lay->display();

?>