Location: PHPKode > scripts > NukeLayout Clas > nukelayout-clas/example6.php
<?php
ob_start(); 
require ("etc.php"); 

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



$mypage->addleftBar("Left Column 2","
<font size=\"2\">

<li>Linux
<li>Apache
<li>MySQL
<li>PHP

</font>
");

 
$mypage->addArticle("NukeLayout Class Demo",
"
NukeLayout Class is PHP class that allow you to develop web pages that
look and feel like PHPNuke. With out the need for a database and alot of
programming...
<p>
This class allows you to focus on content!


");

$mypage->addArticle("About this page",
"
This page  without Top/Bottom Banner.
 
");


$mypage->addRightBar("Right Column 1","
<font size=\"2\">

<li>Linux
<li>Apache
<li>MySQL
<li>PHP

</font>
");

$mypage->addRightBar("Right Column 2","
<A HREF=example1.php>No Right Column</a><br>
<A HREF=example2.php>No Bottom Banner</a><br>
<A HREF=example3.php>No Top Banner</a><br>
");


$link_array = array("Linux"=>"http://www.linux.com/",
			 "This is link one"=>"http://www.linux.com/",
			 "This is link two"=>"http://www.linux.com/",
			 "This is link nine"=>"http://www.mysql.com/");


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

$mypage->addRightBar("Some Links","

$links

");
 
$mypage->render();


ob_end_flush();
 
?>
Return current item: NukeLayout Clas