Location: PHPKode > scripts > Templateze > templateze/example.html
<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">~header~</td>
	</tr>
	<tr>
		<td width="17%" valign="top">~sidebar~</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>~var1~<br>%var2%<br>@@var3@@<p>Variable tags can be easily changed.<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>


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

</body>

</html>
Return current item: Templateze