<td style="margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; height: 20px">
{if $smarty.foreach.pages.last}
<img src="images/L.gif" alt="L" width="12" height="21" />
<td style="margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; height: 20px">
{if $smarty.foreach.pages.last}
<img src="images/L.gif" alt="L" width="12" height="21" />