<?php
//--------------------/* Show error if called directly */
if ( basename($_SERVER['PHP_SELF']) <> 'index.php')
{
echo '<h3>Sorry, this page can\'t be served directly. ';
echo 'Try <a href="index.php?p=categories">this instead</a>.</h3>';
exit;
}
?>
<h1><?php echo ucfirst(translate(strtolower('category tree')))?></h1>
<?php echo get_category_tree( '0', 'admin'); ?>