/*************************************************************************
php easy :: one-level site menu builder script - README FILE
==========================================================================
Author: php easy code, www.phpeasycode.com
Web Site: http://www.phpeasycode.com
Contact: hide@address.com
*************************************************************************/
I. DESCRIPTION
--------------
This script is intended to build your 1-level site menu on-the-fly according
to menu titles/links array defined within the script. Now you do not have to
write different HTML code for each page to highlight the current page in the
menu, simply include the menu builder via php include() directive script and
it will identify and highlight the appropriate menu item by itself. The
function can be easily customized to modify the output layout.
II. USAGE
---------
1. Specify the appropriate pairs for menu titles/links in $menu array within
menu.php script.
2. Upload modified menu.php file to the root folder on your server.
3. Replace your current html-coded menu with <?include("menu.php");?> within
all your php pages.
4. Feel free to link to menu.css file from your scripts to stylize menu links.
III. LICENSE AGREEMENT
----------------------
This license is a legal agreement between you and 'php easy code' for the use
of 'php easy :: one-level site menu builder script' (the 'Software'). By
obtaining the Software you agree to comply with the terms and conditions of
this license.
PERMITTED USE
You are permitted to use, copy, modify, and distribute the Software and its
documentation, with or without modification, for any purpose, provided that
the following conditions are met:
1. A copy of this license agreement must be included with the distribution.
2. Redistributions of source code must retain the above copyright notice in
all source code files.
3. Redistributions in binary form must reproduce the above copyright notice
in the documentation and/or other materials provided with the distribution.
4. Any files that have been modified must carry notices stating the nature
of the change and the names of those who changed them.
5. Products derived from the Software must include an acknowledgment that
they are derived from php easy code in their documentation and/or other
materials provided with the distribution.
INDEMNITY
You agree to indemnify and hold harmless the authors of the Software and
any contributors for any direct, indirect, incidental, or consequential
third-party claims, actions or suits, as well as any related expenses,
liabilities, damages, settlements or fees arising from your use or misuse
of the Software, or a violation of any terms of this license.
DISCLAIMER OF WARRANTY
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF QUALITY, PERFORMANCE,
NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
LIMITATIONS OF LIABILITY
YOU ASSUME ALL RISK ASSOCIATED WITH THE INSTALLATION AND USE OF THE SOFTWARE.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS OF THE SOFTWARE BE LIABLE
FOR CLAIMS, DAMAGES OR OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION
WITH THE SOFTWARE. LICENSE HOLDERS ARE SOLELY RESPONSIBLE FOR DETERMINING THE
APPROPRIATENESS OF USE AND ASSUME ALL RISKS ASSOCIATED WITH ITS USE, INCLUDING
BUT NOT LIMITED TO THE RISKS OF PROGRAM ERRORS, DAMAGE TO EQUIPMENT, LOSS OF
DATA OR SOFTWARE PROGRAMS, OR UNAVAILABILITY OR INTERRUPTION OF OPERATIONS.
==================================
Copyright © 2008, by php easy code