Location: PHPKode > projects > l2jweb > skins/default/announce.tpl
<link href="assets/styles/style.css" rel="stylesheet" type="text/css" />
<table width="190" border="0" class="table">
  <tr>
    <td class="normal" bgcolor="#336699" colspan="2"><div align="center" class="normalwhite">Announcements</div></td>
  </tr>
{foreach from=$sql_fetch key=myId item=item}

  <tr>
    <td class="normalred"><div align="center">Date:</div></td>
    <td class="normalred"><div align="center">{$myId}</div></td>
  </tr>
  <tr class="normal">
    <td colspan="2"><div align="justify">{$item}</div></td>
  </tr>
{/foreach}
</table>
</body>
</html>
Return current item: l2jweb