<tpl> section name=loop loop=$category_array </tpl> <a href="shop.php?action=list&slcShopClass=<tpl> $category_array[loop].class_id </tpl>" target="_blank"><tpl> $category_array[loop].class_name </tpl></a> <tpl> /section </tpl>