}); </script> </head> <body> <div id="main"> <h4>Simple HTML DOM Test</h4> <form name="form1" method="post" action=""> find: <input name="query" type="text" size="60" maxlength="60" value="<?php echo htmlspecialchars($query); ?> "> <input type="submit" name="Submit" value="Go"> </form> <br> HTML STAT (<?php stat_dom($html); ?> )<br> <br> <div id="sidetreecontrol"><a href="?#">Collapse All</a> | <a href="?#">Expand All</a></div><br> <ul class="treeview" id="html_tree"> <?php ob_start(); foreach ($target as $e) { dump_my_html_tree($e, true); } ob_end_flush(); ?> </ul> </div>
collapsed: true, prerendered: true }); }); </script> </head> <body> <div id="main"> <h4>Simple HTML DOM Test</h4> <form name="form1" method="post" action=""> find: <input name="query" type="text" size="60" maxlength="60" value="<?php echo htmlspecialchars($query); ?> "> <input type="submit" name="Submit" value="Go"> </form> <br> HTML STAT (<?stat_dom($html);?>)<br> <br> <div id="sidetreecontrol"><a href="?#">Collapse All</a> | <a href="?#">Expand All</a></div><br> <ul class="treeview" id="html_tree"> <? ob_start(); foreach($target as $e) dump_my_html_tree($e, true); ob_end_flush(); ?> </ul> </div> </body></html>