Login   Register  
PHP Classes
elePHPant
Icontem

File: example.html

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Gregory  >  Cached TemplatEze  >  example.html  >  Download  
File: example.html
Role: Auxiliary data
Content type: text/plain
Description: templates/example.html
Class: Cached TemplatEze
Template engine based on replacement with caching
Author: By
Last change:
Date: 9 years ago
Size: 1,585 bytes
 

Contents

Class file image Download
<html>

<head>
<meta http-equiv="Content-Language" content="en-gb">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>TemplateEze Example</title>
</head>

<body>

<table border="0" cellpadding="5" cellspacing="0" width="100%" bordercolorlight="#808080" bordercolordark="#000000" id="table1">
	<tr>
		<td colspan="2"><tpl:template_head></td>
	</tr>
	<tr>
		<td width="17%" valign="top"><tpl:template_side></td>
		<td width="81%">In this example both the header and sidebar contents are 
		pulled from 2 seperate html files.<p><b>Basic Variable Replacers</b></p>
		<p><tpl:var1><br><tpl:var2><br><tpl:var3></p>
		<b>Loop Replacer</b><p>
		<div align="center">
			<TABLE BORDER="0" BGCOLOR="#000000" STYLE="font-family: monospace; font-size: 10pt" CELLSPACING="1" width="40%">
        <TR>
                <TH BGCOLOR="#000080"><font face="Arial" color="#FFFFFF">
				ID</font></TH>
                <TH BGCOLOR="#000080"><font face="Arial" color="#FFFFFF">First Name</font></TH>
                <TH BGCOLOR="#000080"><font face="Arial" color="#FFFFFF">Surname</font></TH>
        </TR>


        <tpl:table_rows>
        <TR>
                <TD BGCOLOR="#FFFFCC" align="center"><font face="Arial"><tpl:id></font></TD>
                <TD BGCOLOR="#FFFFCC" align="center"><font face="Arial"><tpl:first_name></font></TD>
                <TD BGCOLOR="#FFFFCC" align="center"><font face="Arial"><tpl:surname></font></TD>
        </TR>
        </tpl:table_rows></TABLE></div>
		</td>
	</tr>
</table>

</body>

</html>