Login   Register  
PHP Classes
elePHPant
Icontem

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 Jose Maria Rodriguez Millan  >  Siviglia Templating  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Simple example
Class: Siviglia Templating
Template engine that uses PHP as template language
Author: By
Last change:
Date: 2010-07-15 19:02
Size: 217 bytes
 

Contents

Class file image Download
<?php

  
include_once("SivigliaTemplates.php");
  
$o=new CTemplateParser();
  
$content=file_get_contents("templates/CONTAINER.html");
  
$st=& $o->solveTemplate($content);
  eval(
"?>".$st->nodesToText());

?>