=======================================================

  CCCC H   H  AAA  N   N  GGG  EEEEE L      OOO   GGG
 C     H   H A   A NN  N G     E     L     O   O G
 C     HHHHH AAAAA N N N G GG  EEEE  L     O   O G GG
 C     H   H A   A N  NN G   G E     L     O   O G   G
  CCCC H   H A   A N   N  GGGG EEEEE LLLLL  OOO   GGGG

=======================================================
 WCMS | Version: 1.3.1 | Support: blog.evaria.com/wcms/
=======================================================

TODO
* Add download module 
* Add frontend links for logged in users in order to 
  more rapidly add, edit and delete content
* Add more tools to the superadmin backend
* Complete the language file for the admin backend
  Now partly available only in English
* Module X will be added to paying clients, 
  hence will not be "released" to the public in general
  Could be anything from a link directory to a 
  complete real estate or booking facility

=======================================================

Version 1.3.1 RC1 (Fri, Apr 27 2007)
* First public release (fingers crossed)
* A few minor security and bug fixes
* Added a VERY brief README and a MySQL dump file
   
=======================================================

Version 1.3.0 (Wed, Dec 20 2006)
* Added Captcha verification on the contact form, 
  tellafriend form and page comment form
* Added separate SESSION's for language and themes, 
  and also added drop down menues to let users alter
  these settings as they please.
* Added 2 brand new themes (black and blue) and also 
  finished the English and Norwegian frontend language
  files.
* A few minor security and bug fixes
* Updated the main stylesheets to be able to echo PHP
   
=======================================================

Version 1.2.0 (Tue, Nov 07 2006)
* Added absolute URl's in the CSS files to avoid 304 
  HTTP server returns when running in mod_rewrite
* Altered the security check to make sure that one 
  admin can not access another admins DB tables 
* Updated the access directory with a number of new 
  shortcuts to make administration easier (photos, 
  articles and sections)
   
=======================================================

Version 1.1.0 (Tue, Jul 25 2006)
* Added a file containing site constants
* Completely altered the CMS directory structure in 
  order to separate language from themes and chosen 
  database. 
  - All front CSS, graphics and includes (page templates) 
  are now found under the "theme" directory
  - All language files and javascript are found under 
  the "language" directory
  - CSS and graphics for the access section (admin)
  are moved under the "access" directory
* Updated config files, classes and all other DB 
  queries to reflect the changes
* Various bug fixes throughout the WCMS, should work 
  with all PHP and MySQL versions >= 4 
 
=======================================================

Version 1.0.1 (Mon, Jul 17 2006)
* Removed the table variables from the config files in 
  order to make the database and code more flexible for
  future additions
* Fixed related bugs, and also a Session bug when 
  entering the site from outside the browser 
  (e.g. outlook)
 
=======================================================

Version 1.0.0 (Fri, Jul 14 2006)
* Added article and section access restrictions based
  on userlevel set in the admin backend by admin
* Added RSS Feeds that shows all recently updated 
  articles (with userlevel = All users)
* Added login icon (top left corner) on website
* Added language selector on website
* Cleaned the code for numerous bugs and old coding
* Finished the admin backend
* Updated the database structure in order to include
  access levels and also prepared the database for 
  the upcoming download module and one free-of-choice
  module. Database now trimmed down to 20 tables
 
=======================================================

Version 0.9.1 (Mon, Jul 10 2006)
* Corrected numerous bugz in the admin backend, works 
  well with PHP4 and PHP5
* HTML and CSS validates on all pages
* Updated various pages including access.php 
 
=======================================================

Version 0.9.0 (Mon, Jul 10 2006)
* Added MySQL backup class
* Finished superadmin backend module
* Updated some security issues
* Updated language, style and javascript files
 
=======================================================

Version 0.8.0 (Fri, Jul 07 2006)
* Added the option to change your password
* Finished 'comments' backend module
* Finished 'email' backend module
* Finished 'polls' backend module
* Finished 'stats' backend module
 
=======================================================

Version 0.7.0 (Wed, Jun 28 2006)
* Added 2 new classes to handle the 'articles' and 
  'sections' backend modules
* Created brand new design for backend modules
* Finished 'articles' backend module
* Finished 'mailinglist' backend module
* Finished 'main' backend module
* Finished 'photos' backend module
* Updated the login file and added 2 new files for 
  pagechecking to verify that only allowed and logged 
  on users can access backend files
 
=======================================================

Version 0.6.2 (Mon, Jun 19 2006)
* Emails sent through "Tellafriend", 
  "Contact us" and "Comments" are received as both 
  plain text and HTML with correct encoding. The same 
  email class will handle emails from various new 
  modules like booking, downloads and links.
  Implementation is very straight forward.

=======================================================

Version 0.6.1 (Fri, Jun 16 2006)
* The email class now handles all outgoing emails from 
  the server. Some work awaits in order to fix the 
  plain text versions...

=======================================================

Version 0.6.0 (Tue, Jun 15 2006)
* Added new classes, email.class.php and email.smtp.php
* User management finished in admin backend
* Finished contact pages

=======================================================

Version 0.5.1 (Tue, Jun 13 2006)
* Added tellafriend counter
* Started work on new admin backend
* Updated contact pages

=======================================================

Version 0.5.0 (Thu, Jun 01 2006)
* Added Javascript validation of forms
* Added photo popup (for viewing fullsize photos/images)
* Added new fields to various tables
* Created SPAM filter to the comments module
* General bug fixes on all pages

=======================================================

Version 0.4.0 (Wed, May 24 2006)
* Major update of wcms_verifier.php, uses case instead 
  of if/else to increase performance
* Updated language files
* Updated style sheets
* Updated page counter
* Updated .htaccess files

=======================================================

Version 0.3.2 (Thu, Apr 20 2006)
* Finished side navigation and introduced new structure
  - All headers and footers and general menus are found
    in include-->general
  - Spesific navigation items are found in
    include-->navitems
  - All forms (newsletter signup, page comments, page 
    ratings, polls and search) are found in
	include-->forms

=======================================================

Version 0.3.1 (Tue, Mar 14 2006)
* Created 3 new tables in MySQL to handle new quiz
  module, added one field to user table
* Created access class, access.class.php
* Finished login and lost password script/file
  access.php
* Updated language files
* Updated style sheets

=======================================================

Version 0.3.0 (Tue, Feb 14 2006)
* Created booking class, booking.class.php
* Finished accommodation and property list 
* Fixed bugs in .htaccess
* Updated booking tables

=======================================================

Version 0.2.0 (Thu, Feb 09 2006)
* Created 5 new tables in MySQL, 3 for bookings, 
  1 for saving messages (contact us) and 1 to handle 
  page permissions
* Fixed bugs in Article and Section module
* Merged article and section class into 
  articlesection.class.php
* Renamed language files to wcms.lang.php and 
  access.lang.php

=======================================================

Version 0.1.0 (Tue, Feb 07 2006)
* Created 4 classes
  - article.class.php controls article related functions
  - general.class.php controls functions related to 
    no-dice, polls, sitemap and tellafriend
  - section.class.php controls section related functions
  - wcms.class.php controls site related functions used 
    by all the other classes
* Finished article module
* Finished sitemap and no-dice page
* massive upgrade of wcms_verifier.php, the file that 
  calls the various classes and generates headers and 
  titles for the whole site
* Updated language file (lang_wcms.inc.php)

=======================================================

Version 0.0.2 (Tue, Jan 24 2006)
* Finished section module
* Finished index.php
* Started preparing code for class implementation

=======================================================

Version 0.0.1 (Tue, Dec 27 2005)
* Started re-coding the CMS formerly known as ECMS
  In order to make the code more readable the 
  following alterations have been (will be) made:
  - mod_rewrite links are prefixed $amrw__________
  - Table variables are prefixed $tbl_____________
  - Config variables are prefixed $wcms___________
  - Normal text strings are prefixed $str_________
  - Numbers and decimals are prefixed $int________
  - Arrays are prefixed $array____________________
  - Classes are prefixed $class___________________
  - Language variables have the form:
    $Language["the variable text goes in here..."]
  - Functions have descriptive names

* New intuitive directory structure

  administration    wcms-->access
  classes           wcms-->classes
  configuration     wcms-->config
  web graphic       wcms-->graphic
  web pages         wcms-->include
  javascripts       wcms-->javascript
  language files    wcms-->language
  downloads         wcms-->shared-->dload
  uploaded photos   wcms-->shared-->photo
  style (css)       wcms-->theme

* Some info about the configs...
  - One global config file that opens the DB connection
  - Local config files for language, style, graphics
    and javascript settings and also DB table names 
    and display settings

* A bit more on language (multiple site)...
  - Language, style (theme), graphics and javascript 
    have separate sub directories. The structure is 
    very intuitive and looks like this:
    wcms-->language-->$language-->$files
    wcms-->graphic-->$language-->$files
    wcms-->graphic-->$language-->$subdir-->$files
    wcms-->javascript-->$language-->$files
    wcms-->theme-->$language-->$files

* Some other important changes...
  - Classes rewritten in order to eliminate unused code
  - All queries revised and updated to increase speed 
    and eliminate bugs and errors
  - Total separation of front and backend, the backend 
    is now in wcms-->access
  - Easier integration of new modules
  - The DB table structure has been strongly revised, 
    the WCMS runs on 18 new tables
  - The WCMS will not come with any upgrade script, 
    older versions will require manual upgrades
  - New URI http://wcms.evaria.com

=======================================================
