Location: PHPKode > scripts > plato > plato/index.tpl
{plato_include=header&type=tpl&ref=1}
<br>
{test1}<br>
<br>
{test2}<br>
<br>
<br>
<table width="300" cellpadding="0" cellspacing="0" bgcolor="#000000">
<tr>
<td colspan="2" bgcolor="#EEEEEE"><h1><b>Working on a looping condition...</b></h1></td>
</tr>
<tr>
<td colspan="2">
<table width="100%" cellpadding="0" cellspacing="1">
<tr>
<td bgcolor="#CCCCCC" align="center"><h1><b>Name:</b></h1></td>
<td bgcolor="#CCCCCC" align="center"><h1><b>Age:</b></h1></td>
<td bgcolor="#CCCCCC" align="center"><h1><b>Title:</b></h1></td>
</tr>
{plato_loop=name&id=outer}
<tr>
<td bgcolor="#EEEEEE" align="center"><h1 style="color:GREEN;">{name}</h1></td>
<td bgcolor="#EEEEEE" align="center"><h1>{age}</h1></td>
<td bgcolor="#EEEEEE" align="center"><h1>{position}</h1></td>
</tr>
{/outer}
</table>
</td>
</tr>
</table>
<br><br>
<b>All 3 function calls below are down with plato plugins...</b><br>
<b>Function Call</b> _test()<hr>
{plato_func=_test&var=argVal&ref=1}
<br>
<br>
<b>Function Call</b> _date()<hr>
{plato_func=_date&var[format]=F d, Y&var[date]=2004-03-27&var[message]=: My Birthday}
<br>
<br>
<b>Function Call</b> _stateSel()<hr>
{plato_func=_stateSel&var=state&ref=1}
{plato_include=footer.tpl&type=tpl}
Return current item: plato