| PHP Source |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html> <head> <title>Form Test</title> </head>
<body>
<?php // whatever you need... define("FORM_INCLUDE_DIR", $DOCUMENT_ROOT . "/php/form/"); define("FILE", $DOCUMENT_ROOT . "/projekte/form/tests/form_tag"); include_once(FORM_INCLUDE_DIR . "form.inc"); include_once(FORM_INCLUDE_DIR . "form_xmlfactory.inc"); $x = new form_xmlfactory(FILE . ".xml"); ?> <table cellspacing="2" cellpadding="4"> <tr> <td align="left" valign="top" bgcolor="#C0C0C0" colspan="2"><h3><?php print FILE; ?></h3></td> </tr> <tr> <td align="left" valign="top">Start(), Finish()</td> <td align="left" valign="top" > <pre> <?php $x->Start(); $x->Finish(); ?> </pre> </td> </tr> <tr> <td align="left" valign="top">get()</td> <td align="left" valign="top"> <pre> <?php $x->get(); ?> </pre> </td> </tr> <tr> <td align="left" valign="top">PHP Source</td> <td align="left" valign="top"> <?php highlight_string(implode("", file(FILE . ".php"))); ?> </td> </tr> <tr> <td align="left" valign="top">XML File</td> <td align="left" valign="top"> <pre> <?php print str_replace("\t", " ", str_replace("<" , "<", implode("", file(FILE . ".xml")))); ?> </pre> </td> </tr> </table>
</body> </html>
|