Location: PHPKode > scripts > NukeLayout Clas > nukelayout-clas/index.phps
if ($show) {show_source(ereg_replace("^.+/", "", $PHP_SELF)); exit;}
// Turn on error reporting
$mypage->nukelayoutpageOwneremail = "hide@address.com";

if (!isset ($op) || $op == "") {

} elseif($op == "print") {

		$mypage->topbannerStatus = "OFF";
		$mypage->bottombannerStatus = "OFF";
		$mypage->leftbarStatus = "OFF";


$navlinks = array("HLUG"=>"nukeimages/hlug_theme.jpg",

$mynavlinks = $mypage->displaymyLinks($navlinks);
$mypage->addleftBar("Theme ScreenShots","

$mypage->addleftBar("Perfect for...","
<font size=\"2\"> 
Anyone who want to develop web sites

$content1 = <<<CNT1

<TABLE BORDER=0 width="100%">
    <TD>Object Oriented</TD>
    <TD COLSPAN=2 align=right>Layout Template</TD>

    <TD COLSPAN=3>
      <IMG SRC=nukelayout_php.gif align=right>
      NukeLayout PHP Class is a class that allows you to develop web pages that look and feel like PHPNuke. With out the need for a database and alot of
    <TD align=left>CSS Support</TD>
    <TD align=left>Color Themes</TD>
    <TD align=right>Easy to Extend</TD>


$mypage->addArticle("NukeLayout PHP Class",


$mypage->addArticle("LAMP Friendly","

<u>L</u>inux is a multi-user, multi-tasking operating system that runs on many
platforms, including Intel, Motorola MC68K, DEC Alpha, and PowerPC. It 
implements a superset of the POSIX standard. Linux interoperates well with 
other operating systems, including those from Apple, Microsoft, and Novell.
<u>A</u>pache httpd server is a powerful, flexible, HTTP/1.1 compliant web server, 
is highly configurable and extensible with third-party modules,
can be customised by writing 'modules' using the Apache module API,provides full source code 
and comes with an unrestrictive license runs on Windows NT/9x, Netware 5.x, OS/2, and most versions of Unix, as
well as several other operating systems
<u>M</u>ySQL is a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database
<u>P</u>HP is a server-side, cross-platform, HTML embedded scripting language.


$link_array = array("Linux Netscape 4.7"=>"nukeimages/netscapebrowser.jpg",
			 "Linux Opera 5.0b6"=>"nukeimages/operabrowser.jpg",
			 "IE 5.5"=>"nukeimages/white_theme.jpg");

$links = $mypage->displaymyLinks($link_array);

$mypage->addRightBar("Browser Rendering screenshots","



$mypage->addRightBar("Ability to","
<font size=\"2\">

Deploy Intranet sites quickly!


$sflogo =<<<SFIMG
<a href=http://sourceforge.net/><img src="http://sourceforge.net/sflogo.php?group_id=56831" width="88" height="31" border="0" alt="SourceForge Logo"></a>

$mypage->addRightBar("Allows one to","
<font size=\"2\">
Focus on Content!


$contents = ob_get_contents();
if(ereg('gzip, deflate',$HTTP_ACCEPT_ENCODING)) {
// ob_end_flush();
header("Content-Encoding: gzip");

echo "\x1f\x8b\x08\x00\x00\x00\x00\x00";

$Size = strlen($contents);
$Crc = crc32($contents);

$contents = gzcompress($contents, 9);
$contents = substr($contents, 0, strlen($contents) - 4);
echo $contents;
} else {
    echo $contents;
function gzip_PrintFourChars($Val) {
    for ($i = 0; $i < 4; $i ++) {
        echo chr($Val % 256);
        $Val = floor($Val / 256);
Return current item: NukeLayout Clas