Aquatic Exercise Center

Select a Topic

<?php
$vid = 2;
// Set the vid to the vocabulary id of the vocabulary you wish to list the terms from
$tid = 310;
// Set the tid to the term id of the parent term you wish to list the terms from
$items = array();
$terms = taxonomy_get_tree($vid,$tid);
foreach ( $terms as $term ) {
$count = db_result(db_query("SELECT COUNT(nid) FROM {term_node} WHERE tid = %d", $term->tid));
$items[] = l($term->name, "taxonomy/term/$term->tid");
}
if ( count($items) ) { print theme('item_list', $items);}
?>

Advertisement

Coming Soon
Coming Soon