//SCMS - Simple Content Management System
//Written by Kyle M. Brown
//admin@mayvik.com
//www.mayvik.com

//Version 1 11/1/04
//This is a simple content management system that provides fast and easy setup and maintenance of a website. 
//Includes headers, footers, main body content and ad positions. Easily used with the Google Ads Sense Program.
//Terms of use
//100% free to use as long as the "Powered by SCMS-MAYVIK.COM" link is not removed or changed.

//Requirements
//Server:
//PHP 4 or greater

//Desktop:
//Internet Explorer 6 or greater

/*
Installation:
1. Open the variables.php file using notepad or a php editor. Customize the variables to meet your needs.
2. Change the header and footer images located in the "images" directory with your own but rename them with the default names. 
Note: Header image should be 750x117 pixels and the footer should be 750x68. 
3. To change the content goto the "includes" directory and update the .txt files as needed.
4. Goto the following .php files (Header.php, LMenu.php, RMenu.php, footer.php) and remove all instances of the words "Text or Ads" and "Ads".
5. Upload the entire SCMS directory to the root directory on your server.
6. Path to SCMS is http://www.yourdomain.com/SCMSv1/index.php

Google Ads:
You must have a Google account to use Google Ads with this system. 
This system has placeholders for Google Ads in the header, left and right sides or footer.Simply locate the
the .php file where you would like to display the ads and insert the Google script. 
Note: this system is optimized for the following size Ads. 

Header and footer= 728x90, 468x60
Left and Right sides = 125x125, 120x600, 120x240

Example of adding a Google ad to the right menu:
1. Open the "RMenu.php" file.
2. Remove the contents and place the script for the Google ads in either cell.
3. Save and upload to your server.

Adding URLs in content:
1. Open the ".txt" file and insert the following code <a href="http://mayvik.com">Designed by Mayvik.com</a>.

Example of adding a url to the about us link.
1. Open "about.txt" in the "includes" directory.
2. Insert the following code "<a href="http://mayvik.com">Design By Mayvik.com </a>"
3. Close, save, and upload to your server.

Adding links:

1. To add links duplicate one of the default text files and name it what you want.
2. Fill it with content and save it to the "includes" directory with the other text files.
3. Goto the "Lmenu.php" file and look for "<!-- Hyperlinks :: Add or remove links here by duplicating the syntax below -->".
4. Follow the syntax to add or remove a link in this portion of the file. 

Example of removing a link:
1. To remove the "Contact us" link you would delete this line of code "<a href="../SCMS2/index.php?p=contact">Contact Us </a><br>"

Example of changing a link:
1. To change the "Contact Us" link to "Products" you would locate this tag "<a href="../SCMS2/index.php?p=contact">Contact Us </a><br>"
and change it to read "<a href="../SCMS2/index.php?p=products">Products </a><br>"
2. Goto the "includes" directory and edit the "contact.txt" file to contain the Products information.

Example of Adding a link:
1. To add a link. Lets say "Products" you would locate this tag "<a href="../SCMS2/index.php?p=contact">Contact Us </a>"
and add this link, "<a href="../SCMS2/index.php?p=products">Products </a><br>" below or behind it. Make sure this code is place behind the "<br>" tag.
2. Goto the "includes" directory and add the "products.txt" file to contain the Products information.

Thats it. If your have any problems contact admin@mayvik.com