         /**
           * @Author Ghost (Xhtml Creator, Wml Major Updater) - (Fully Taken Over)
           * @PreviousAuthor Deviance Aka Wappy - (Retired Wml Creator/Updater) - (Gone)
           * @Copyright 2012 - Mobile Chat Xhtml
           * @Version 2.0
           * @Description Flat File Xhtml Chat With Sessions And Encrypted Passwords
           * @Description (Should Be Working On All Servers)
           * @HTMLVersion Xhtml 1.0 Transitional EN
           */

================================================================
|      ( I WILL TRY TO KEEP NEW VERSIONS/CHANGES TO TOP OF THE PAGE )     |
================================================================
================
   CHANGES IN v2
================
1. improved ways of securing posts.
   changed to htmlentities & stripslahes.
   (this cleaned up alot of space now im not using
   htmlspecialchars, stripslashes, and an array at same time.)

2. Removed All avatar related stuff from config.php
   and created new file avatarinfo.php in main folder.

3. fixed some holes in guestbook

4. used preg_replace to remove unwanted symbols from username

5. Changed $_SERVER['PHP_SELF'] to $_SERVER['SCRIPT_NAME']
   and Added htmlentities protection ontop of it for extra precaution
   (will/should return only the file name regardless of, if it was typed, not typed, 
   or anything was appended to it. And Protect it Using htmlentites)

6. ontop of the changes to php self i also recoded the "npages" code properly
   with correct quotes. although they still worked previously, theyve just
   been basically updated..

7. Added Visitor Count To Index.php
   Example: =>  Site Visited 312 Times

8. Added small BBCodes Option

9. Upgraded Who's Online Code To Check The "Whole" Script For Users.
   (All Files Within A Rooms Folder Has Had Online Checking Code Added
   To It, So Whatever File You Enter In Rooms 1 Folder, Will Show You As
   Participating In Room1's Chat Regardless If Searching Through The Smileys
   File Or Sending Pm/Checking Profiles Etc.)
   *** I Noticed If I Was In Smileys Page For More Than 1 Min, The Script Would ***
   *** No Longer Show Me Online Although I Was, This Is Why This Was Upgraded ***
   *** Previously Only Chatroom & Private Room Counted Who's In Room. ***

10. Stripped All Small Tags From All Staff Tools (In All Rooms)
    (Missed These When Stripped Whole Script in v1 From Using Them)

11. Removed So Much Useless Code That Zipfile Is Roughly 300kb Smaller Than V1 :)

================
   CHANGES IN v1
================
(NEW)
1. Rewrote from wml to xhtml

(NEW)
2. uses sessions to stay logged in

3. recoded staffroom folder / staff only files etc.
   (due to sessions being added, entering these pages as a non)
   (staff member was possible by entering address in url, so had to)
   (put measures in place to stop this activity.)

4. ripped out all password checks throughout all files except login/registeration etc.
   (due to sessions now checking for validation after these pages.)
   (this had to be done. php checks was conflicting with session checks)
   (and showing both logged in and logged out signs at same time.)

5. rewrote ALOT of the code/files to perform better.


6. fix all $_REQUEST variables to their respective/proper $_GET/$_POST variables.


7. Finally fixed an on going error in rss new feeds.
   (may still have issues with 1 rss feed, (latest published stories))


8. removed jump boxes in avatar/smiley pages. still have: Prev | Next links.
   (these was causing some conflictions for the time being so removed for now)
   

(NEW)
9. Dark Skin Smiley Pack. (great for black or white backgrounds)
   (replaced old mini pack due to white outlines appearing around smileys when)
   (using dark skins such as black.)


10. has a stylesheet for using css.


11. basically the whole script has been changed. obviously.
    and there is too much for me to list in full here.
    so im sure youll notice everything thats been done (So Far)
    when you go through the script yourself.
    
=====================

Copyright: http://www.copyrightdeposit.com/rep10/0029675.htm

Use: its ok to use this script but our copyright lines/link/headers must
NOT be removed.