Login   Register  
PHP Classes
elePHPant
Icontem

File: examples/template256.tpl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 1 year 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>