<?php defined('IN_HS') or exit('Access Denied'); ?><table width="100%">

<?php if(is_array($menus)) foreach($menus AS $i => $menu) { ?>
<?php if($i%8==0) { ?><tr><?php } ?>
<td height="22">&nbsp;<a href="<?php echo $menu['url'];?>" title="<?php echo $menu['title'];?>" target="<?php echo $menu['target'];?>" style="<?php echo $menu['style'];?>"><?php echo $menu['name'];?></a>&nbsp;</td>
<?php if($i%8==7) { ?></tr><?php } ?>

<?php } ?>

</table>