Location: PHPKode > scripts > AHM Template Engine > test.tpl
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>

<body>
Welcome to <b>#$myZone#</b><br>
Here's a <b>loop</b> example below
<ul>
#repeat [limit=$myLoop.count] [interval=1] [index=loopIndex]#
<li>#$myLoop.loopIndex#</li>
#xrepeat#
</ul>

Here's a <b>2nd loop</b> example below
<ul>
#repeat [limit=10] [interval=3] [index=loopIndex]#
<li>#$myLoop.loopIndex#</li>
#xrepeat#
</ul>

</body>

</html>
Return current item: AHM Template Engine