Location: PHPKode > scripts > EasyTemplate > easytemplate/templates/example.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="ar">
<head>
<title>EasyTemplate - {example}</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1256">
</head>
<body>
<INCLUDE NAME="header.html">

<IF NAME="{arr.name}">
$arr[name] = {arr.name} <br />
$arr[version] = {arr.version}
<ELSE>
$arr Not found
</IF>
<table border="1" width="400px">
	<tr>
		<td>ID</td>
		<td>User</td>
	</tr>
<LOOP NAME="{rows}" LIMIT="10">
	<tr bgcolor="#CCCCCC|#EEEEEE|#FFFFFF">
		<td>{{id}}</td>
		<td>{{user}}</td>
	</tr>
<LOOP NAME="{rows2}">
	<tr bgcolor="#CCCCCC|#EEEEEE|#FFFFFF">
		<td>{{id}}</td>
		<td>{{user}}</td>
	</tr>
</LOOP>
</LOOP>

<tr>
<IF NAME="{rows_paging}">
	<td colspan="2">Pages: [{rows_paging}]</td>
<ELSE>
	<td colspan="2">No Pages</td>
</IF>
</tr>
</table>


</body>
</html>
Return current item: EasyTemplate