{* This is the w/lcome page, you can delete it *}{block content}<style>
table {
border:1px solid #006699;
border-collapse:collapse;}
table td, table th {
border:1px solid #006699;
padding:5px 5px 5px 5px;
text-align: center;</style><table><tr><th> first
<th> id
<th> flag
<th> name
<th> flg changed
{foreach$dataas$item}<tr>{if!$iterator->first}{ifchanged$item->flag}<td colspan="5"> separator {ifchanged$item->flag}Y{/ifchanged}<tr>{/ifchanged}{/if}<td>{if!$iterator->first}A{else}N{/if}<td>{$item->id}<td>{$item->flag}<td>{$item->name}<td> changed:{ifchanged$item->flag}Y{/ifchanged}<br>{/foreach}