Events Coverage

Events Red CarpetTen Ton Hammer is on the move! We're traveling the world to cover your favorite MMOG events.

$vid = 3;
$terms = taxonomy_get_tree($vid);
$lastdepth = 0;

print "

    ";
    foreach($terms as $term) {
    if($term->depth == 0 && $lastdepth != "1") { print "
  • " . $term->name . "
      "; }
      else if($term->depth == 0) { print "
  • " . $term->name . "
      "; }
      else { print "
    • " . l($term->name,"taxonomy/term/" . $term->tid,array('title' => $term->description)) . "
    • "; }
      $lastdepth = $term->depth;
      }
      if($lastdepth != 0) { print "

  • "; }
    print "

";

?>


Last Updated:

About The Author

Around the Web