<?php
ob_start();
require ("nukelayoutclass.php");
$mypage = new nukeLayout; $mypage->nukelayoutSitename = "NukeLayout Class"; $mypage->nukelayoutpageTitle = "NukeLayout PHP Class Changelog"; $mypage->nukelayoutLogo = "nukelayout.jpg";
$mypage->addleftBar("Example Pages","
<A HREF=\"view_src.php?page=changelog.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>
This web site is prepared and maintained by Chauncey Thorn.
The information contained in this site was valid at the time of posting.
Chauncey Thorn, assumes no liability for damages incurred directly or indirectly as a result of errors, omissions or discrepancies.
gt;
This release is considered stable.
Changelog for this release
-- Added support - better theme support
-- added examples for themes
-- created functions to set vars
Example usage of functions
\$mypage->set_nukeLayout(\"NukeLayout php Class\", \"nukelayout.jpg\", \"wine\");
\$mypage->set_pageTitle(\"NukeLayout PHP Class 1.0\");
-- OnLine Demo available of version 1.1
</pre>
" );
$mypage->addArticle("HukeLayout PHP Class Version 1.0", "
<pre>
This release is considered stable.
Changelog for this release
-- Fixed - bug where layout would fail if php was configured
using the --disable-short-tags which doesn't allow <?
-- As a result I removed the mixture of HTML and now using
only php calls
-- cleaned up code... more readable
-- added support - $this->nukelayoutpageTitle to META keywords
The Title of page is used to generate keywords for page
-- changed #000000 to $this->nukelayoutthemeTrimcolor
-- made active and visited link color vars
-- added support - ability to set page cache var $mypage->nukelayoutcacheStatus ON/OFF
-- Jumped version # from 0.3 -> 1.0
-- moving from development to stable
Why did I jump to version 1.0 from 0.3?
Amount of code changes and I feel that the class is complete.
I could add some bloat, but I want the class to be as simple as
possible to use. Plus I feel that its stable enough to
be considered a production release.
</pre>
");
$mypage->addArticle("NukeLayout PHP Class Version 0.3", "
<pre>
-- Fixed - failed HTML validation issue
I would like to thank Mathew Solnik for making me aware of this
NOTE A page with ONLY Text it will format HTML without errors..
If invalid HTML is used by the page developer it will produce
invalid HTML errors when validated
-- Fixed - major bug in navBarLinks() -- upgrade required to fix
in the narBarLinks() I had hardcoded /\$val which
caused links to become broken if outside the ./ directory
e.g. http://freshmeat.net would be http://sitename/http://freshmeat.net
-- Fixed - renamed some vars
\$userightcol ---> \$rightbarStatus
\$leftbarOff ---> \$leftbarStatus
\$topbannerOff ---> \$topbannerStatus
\$bottombannerOff ---> \$bottombannerStatus
-- Fixed - removed the Default link array for site from inside class
removing it gives more control and makes the class easier to use.
\$this->nukelayoutmenuLink_array = array(\"HOME\"=>\"./\"); REMOVED
-- Added support - set bottom banner text by using
\$mypage->nukelayoutfooterText
-- Added support - define what appeared before link_array
in main menu box e.g.
\$this->nukelayoutmenuLinkstarter = < IMG SRC=dot.gif >
default <strong><big> * </big></strong>
-- Added support - turn off Greeting
-- Added support - change the postion of the site logo
e.g. left, middle, right
-- Added support - make site banner a link to ./ or no link
no link default
-- Added support - ability point to a remote site and have it
nbsp;in a new windows via the main menu links
rhttp://www.linux.com would nbsp;http://www.linux.com in a new
browser window
-- version 0.3
</pre>
");
$mypage->addArticle("NukeLayout PHP Class Version 0.2", "
<pre>
-- Fix bug in layout
space between left middle column and right column
render badly.. thanks IE explorer for finding this
bug
-- renamed most of the functions to nukelayoutXxxx
-- renamed the leftbar and right bar render functions
to renderleftBar, renderrightBar
-- create var for site logo
-- begin working on color themes (still limited)
-- Added support for language (very basic)
-- verion 0.2
-- expand ability to over ride default values
-- add support to turn off features
turn off the rightBar, topBanner, bottomBanner, and leftBar
-- commented the code
-- Added a README brief example of how to use class
</pre>
");
$mypage->addRightBar("Lang: PHP","
<font size=\"2\">
<CENTER>
<IMG SRC=\"nukelayout_php.gif\" ALT=\"NukeLayout PHP Class\">
</CENTER>
</font>
");
$mypage->addRightBar("Right Column 2","
<A HREF=http://PCCS-Linux.COM/public/list.php3?bn=agora_pccslinux>Download Section</a><br>
");
$mypage->render();
ob_end_flush();
?>
| |