So. You write PHP software, but cannot be bothered with a decent display. That's your solution: CSE_Display.
Just copy the class and the templates/CSS, and output easily some HTML in a well formatted display.
For example, here is the code of the PHP generating this page:
<?php
require_once 'CSE_display/CSE_display.php';
$myHTML = new CSE_display;
$myHTML->setTitle("CSE Display - The Basics");
$myHTML->setCopyright("Made with CSE_display, © <a href=http://www.cavin.name>CSE</a>, 2008");
$myHTML->setBodyTitle("The Basics");
$myHTML->setBodyFooter("Go to the <a href=index2.php>Next Page</a> or return to the <a href=index.php>Table of Content</a>");
$myHTML->setBody("<p>So. You write PHP software, but cannot be bothered with a decent display. That's your solution: <b>CSE_Display</b>.</p>");
$myHTML->appendBody("<p>Just copy the class and the templates/CSS, and output easily some HTML in a well formatted display.</p>");
$myHTML->appendBody("<p>For example, here is the code of the PHP generating this page:</p>");
$myHTML->appendBody(highlight_file("index1.php", true)); // just to display the file itself ;-)
$myHTML->appendBody("<p>As you can see, after requiring the class and creating the object, you can just assign strings to some key elements. Finally, you dump the whole document in one shot.</p>");
$myHTML->dump();
?>
As you can see, after requiring the class and creating the object, you can just assign strings to some key elements. Finally, you dump the whole document in one shot.