'; ?> <?php bloginfo_rss('name'); ?> Sat, 15 Oct 2005 10:59:00 GMT 1 1 1 1 1 ' . "\n"; //loop through child cats of this category, if any $child_cats = cs_get_cat_children($category['cat_ID']); while ($child_cat = mysql_fetch_assoc($child_cats)) { echo "\t\t" . '' . "\n"; //loop through posts in child cat $child_cat_posts = cs_get_category_posts($child_cat['cat_ID']); while ($post = mysql_fetch_assoc($child_cat_posts)) { echo "\t\t\t" . '' . "\n"; echo "\t\t\t\n"; } //add this cat to the processed list so it doesn;t appear in the top-level categories as well //$processed_cats .= $child_cat['cat_ID'] . ", "; echo "\t\t\n"; } //loop through top-level cateory posts $cat_posts = cs_get_category_posts($category['cat_ID']); while ($post = mysql_fetch_assoc($cat_posts)) { echo "\t\t" . '' . "\n"; echo "\t\t\n"; } echo "\t\n"; } //end if (!(false...) } //end while ($category...) ?>