/*******************************************************************************

    Author ......... Jimmy Conner
    Contact ........ jimmy@advcs.org
    Home Site ...... http://www.advcs.org/
    Program ........ Plugin Updates
    Version ........ 0.7
    Purpose ........ Check your currently installed plugins for updates

*******************************************************************************/


--Purpose--

    Check your currently installed plugins against the SM site to make sure
    that you are running the current version of each.  It should really help admins
    out that have a ton of plugins installed, but no time to search through the plugins
    on the SM site to see if any updates have came out.


----[ Features

    Checks your SM version
    Displays the current Stable Version
    Checks your Plugin for updates
    Gives download link and description if update is available
    If no version file is there, creates it, and tries to figure out the plugin from the 
       directory name
    Automatically checks for updates to the pluginlist.txt and defaultdir.txt file
    Can edit the version by clicking on it, so you can easily change it after updating your plugins
       or if you have an Unknown Version
    Tells you if your plugin isn't a Official Plugin (not on SM site)
    Tells you if it is being updated in CVS, or its in the Core
    COnfigurable options for displaying everything

----[ Future Changes

    Much cleaner look?  It definitely needs it!
    Will check to make sure new version works with your current version of SM??
    Make it install newer versions of the plugins???
    Connections can time out? (incase my site or SM is down?)
    
    Got any ideas or complaints, please e-mail me!




----[ Changelog
     --- 0.7 ---
     	Uses 1/10 (or less) of the bandwidth
     	Tons of bug fixes
     	
     --- 0.6 ---
     	1.4.0 Compatibility
     	RG = 0 Compatible
     	E_ALL Compatible
        Faster Loading Setup!
     	Classes! (Smaller code!)
     	Lots of fixes!
     
     --- 0.5 ---
	Quick fix for SM v1.2.7 breaking the plugin.
		Look for more updates soon!


     --- 0.4 ---
           Changed Servers, so now you can get updated files again
           Fix for plugins after Plugin 77, now gets proper name, etc...
           CHMODs the version files so you don't run into errors later
           A few small fixes

     --- 0.3 ---
           Code Cleanup
           Fixed a few security issues
           Changed admin.php to config.php and changed the admin name to be a variable
           Checks if the plugin was added to the core
              If it is in your current version, lets you know to uninstall it
           Checks if the plugin was added to CVS
              If it is only being updated in CVS (a few of them are) and tells you to check there (gives link)
           Checks for updates to the core file
           Changed the PluginList, Defualtdir, and core files to .dat files
           If its an not an official Plugin, the names are displayed a little prettier than before
           Shows location
           Ability to not check for data file updates
           Ability to hide plugins that have to be updated via CVS
           Ability to hide and not check for the stable SM version
           Ability to hide up to date plugins
           Ability to hide Unofficial plugins
           Ability to hide the core plugins (not recommended)
           Ability to hide location
           Cleaned up the directory structure a little
           Added a table at top showing the config options

     --- 0.2 ---
           Checks for a new pluginlist.txt file or defaualtdir.txt from my server and can automatically update it
               All you do is click a link!  (Just checks out http://tnt-global.com:81/pluginlist.txt
               and http://tnt-global.com:81/defaultdir.txt to see if they are newer)
           Tells you if a plugin is not on the SM site (not in the Plugin List actually)
           Tells you if plugin is not supported or not setup correctly (has no version file)
           If no version file, it creates it, just without the version in it
           Allows you to edit the version
           Show current Stable Version of SM
           Code cleanup
           
     --- 0.1 ---
           Initial release (no users yet?)


