日期:2011-05-02  浏览次数:20440 次


<pre>
<?
// 测试例
require_once "xzn/html/tree.php";
$t = new Tree;
$t->set("0","a1","url");
$t->set("0.0.0","aaa","url");
$t->set("0.0.0.0","bbb","url");
$t->set("0.0.0.2","ccc","");
$t->set("0.0.0.1","ddd","url");
$t->set("0.0","eee","url");
$t->set("1","ff","url");

//print_r($t);
?>
</pre>
<?
$t->display();

?>