PHP Classes

File: examples/template256.tpl

Recommend this page to a friend!
  Classes of Victor Akinyemi   Lint   examples/template256.tpl   Download  
File: examples/template256.tpl
Role: Auxiliary data
Content type: text/plain
Description: The template file for the example.
Class: Lint
PHP compiling template engine
Author: By
Last change: Changed 'Content Type' to match the contents of the file.
Date: 11 years ago
Size: 612 bytes
 

Contents

Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>{{title}}</title> <style type="text/css"> {{css}} </style> </head> <body> <div id="pageContent"> <div class="content"> {{c1}} </div> <div class="content"> {% $narray = array('A','B','C','D','E','F','G','H','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','1','2','3','4','5','6','7','8','9','0',' '); $num = rand(1, 50); $text = ''; for($i;$i<=$num;$i++) { $letter = $narray[rand(0,sizeof($narray))]; $text .= $letter; } %} <p>{*$text; *}</p> </div> </div> </body> </html>