<?php
/**
 * @package Flatnux_module_sitemap_tree
 * @author Alessandro Vernassa <speleoalex@gmail.com>
 * @copyright Copyright (c) 1011
 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License
 */

defined('_FNEXEC') or die('Restricted access');
global $_FN;
$config=FN_LoadConfig("modules/sitemap_tree/config.php",$_FN['mod']);
//dprint_r($config);
echo FN_HtmlContent("sections/{$_FN['mod']}");
if ($config['method'] == "")
	echo FN_HtmlMenuTree($config['parent']);
else
	echo FN_HtmlMenuTreeUl($config['parent']);



?>