<?php
ob_start();
require ("nukelayoutclass.php");
$mypage = new nukeLayout; $mypage->nukelayoutSitename = "NukeLayout Class"; $mypage->nukelayoutpageTitle = "NukeLayout PHP Class"; $mypage->nukelayoutLogo = "nukelayoutgif.gif";
$mypage->addleftBar("Example Pages","
<A HREF=\"view_src.php?page=index.php\">View Page Src</a><br>
<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>
<A HREF=example4.php>Just Article</a><br>
<A HREF=example5.php>Banners and Article</a><br>
<A HREF=example6.php>left,right and Article</a><br>
<A HREF=checkclass.php>validate this Class</a><br>
");
$mypage->addleftBar("Left Column: Text","
<font size=\"2\">
This site is powered by
NukeLayout PHP Class
</font>
");
$mypage->addArticle("Article #1 of 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!
<P>
<a href=demolastest/>Demo Latest Code base 1.1</a>
<br>
Now with color theme support! Built in color themes will
display randomly..
");
$mypage->addArticle("Article #2 Ease of Use", "
The class is very easy to use....<br>
It's design allows for the following examples<br>
<ul>
<li>Intranet Portal where non-techinal are going to be responsible for the content.
<li>ISPs that don't provide database access can make it available to their clients,
allowing them to deploy personal/Business Web Portals.
<li>Anyone wanting to deploy a non database driven portal can use this class
<li> ...
</ul>
<P>
Without a lot of effort...
<br>
");
$mypage->addArticle("Creating a global include file for your site.. ", "
<pre>
Standard begin of php script... I would recommend that you use the <?php method
because if php was configured using the --disable-short-tags which doesn't allow <?
it breaks the code...
<?php
Include the class
require (\"nukelayoutclass.php\");
Create a new layout
\$mypage = new nukeLayout;
Set variable that are going to be system wide..
\$mypage->nukelayoutSitename = \"NukeLayout Class\";
\$mypage->nukelayoutpageTitle = \"NukeLayout PHP Class\";
\$mypage->nukelayoutLogo = \"nukelayout.jpg\";
\$mypage->nukelayoutmenuLink_array = array(
\"HOME\"=>\"./\",
\"Developers Site\"=>\"rhttp://www.pccs-linux.com/\");
?>
</pre>
");
$mypage->addRightBar("Lang: PHP","
<font size=\"2\">
<CENTER>
<IMG SRC=\"nukelayout_php.gif\" ALT=\"NukeLayout PHP Class\">
</CENTER>
</font>
");
$mypage->addRightBar("Download NukeLayout","
<A HREF=http://PCCS-Linux.COM/public/list.php3?bn=agora_pccslinux>Download Section</a><br>
");
$mypage->render();
ob_end_flush();
?>
| |