require("tree.php"); ?>
HTML テンプレート
$Tree = "";
$Tree .= StartNode( "#", "ルートノード", "_self" );
$Tree .= AddLeaf( "http://www.google.co.jp/", "Google", "ActionWindow", False );
$Tree .= AddLeaf( "http://www.yahoo.co.jp/", "Yahoo", "ActionWindow", False );
$Tree .= AddLeaf( "http://www.google.co.jp/", "Google", "ActionWindow", False );
$Tree .= AddLeaf( "http://www.yahoo.co.jp/", "Yahoo", "ActionWindow", True );
$Tree .= EndNode( );
$Tree .= StartNode( "#", "ルートノード", "_self" );
$Tree .= AddLeaf( "http://www.google.co.jp/", "Google", "ActionWindow", False );
$Tree .= AddLeaf( "http://www.yahoo.co.jp/", "Yahoo", "ActionWindow", False );
$Tree .= StartNode( "#", "ルートノード", "_self" );
$Tree .= AddLeaf( "http://www.google.co.jp/", "Google", "ActionWindow", False );
$Tree .= AddLeaf( "http://www.yahoo.co.jp/", "Yahoo", "ActionWindow", False );
$Tree .= StartNode( "#", "ルートノード", "_self" );
$Tree .= AddLeaf( "http://www.google.co.jp/", "Google", "ActionWindow", False );
$Tree .= AddLeaf( "http://www.yahoo.co.jp/", "Yahoo", "ActionWindow", False );
$Tree .= AddLeaf( "http://www.google.co.jp/", "Google", "ActionWindow", False );
$Tree .= AddLeaf( "http://www.yahoo.co.jp/", "Yahoo", "ActionWindow", True );
$Tree .= EndNode( );
$Tree .= AddLeaf( "http://www.google.co.jp/", "Google", "ActionWindow", False );
$Tree .= AddLeaf( "http://www.yahoo.co.jp/", "Yahoo", "ActionWindow", False );
$Tree .= StartNode( "#", "ルートノード", "_self" );
$Tree .= AddLeaf( "http://www.google.co.jp/", "Google", "ActionWindow", False );
$Tree .= AddLeaf( "http://www.yahoo.co.jp/", "Yahoo", "ActionWindow", False );
$Tree .= AddLeaf( "http://www.google.co.jp/", "Google", "ActionWindow", False );
$Tree .= AddLeaf( "http://www.yahoo.co.jp/", "Yahoo", "ActionWindow", True );
$Tree .= EndNode( );
$Tree .= EndNode( );
$Tree .= AddLeaf( "http://www.google.co.jp/", "Google", "ActionWindow", False );
$Tree .= AddLeaf( "http://www.yahoo.co.jp/", "Yahoo", "ActionWindow", True );
$Tree .= EndNode( );
?>
echo $Tree;?>