/**
 * TorrentTrader Lite v2.0.1 
 *  - Coded by Sqrtboy 
 *  - Released under the GPL licence
 *  - Contact/Support/Hacks/Discussion @ http://www.phpsoft.org
 **/

Version Information:
v2.0.1 released on 18/07/2006


What is Torrent Trader Lite ?
---------------------------------------------

Torrent Trader Lite is an open source php bittorrent tracker that works without MySql.
With a very intuitive interface, it will help you to distribute your files, without requiring you hours of work !

What are its main features ?

# PHP only: no mysql database required
# Has search, browse per category, RSS2, upload, torrent banning, news posting, ajax browsing  options
# Very easy to customize
# It is open source, so everyone can contribute
# Details about the torrents are displayed: info_hash,description,image,nfo,seeders,leechers 
# You can block torrents that you do not want to be tracked with a file lock
support for multiple languages
# faq page added so your users understand what BitTorrent is
# W3C xHTML and CSS standard compliant
# Multiple page browsing
# Ajax browsing mode: get all updated informations on one page !
# Improved performance and support for all bittorrent protocol latest features (multiscrape, comptact mode, magnet/dht links )
# RSS 2.0 feed with bittorrent extension

How to install it:
---------------------------------------------

1) Extract all files from the archive to anywhere on your hard drive
2) Upload all these files on your web server with your ftp client
3) Chmod the "data" and "torrents" folder to 777
4) Change the settings in config.php
5) Enjoy :p

How to update from a previous version ?
---------------------------------------------

1) Extract all files from the archive to anywhere on your hard drive
2) Replace all php files with the new ones.
3) Enjoy :p

How to block a torrent from being shared with Torrent Trader Lite ?
---------------------------------------------

Just note the info_hash of the torrent you would like to ban, and in the "data" folder, create a file called:
(info_hash).lock where you replace "(info_hash)" by the value you want
To remove the ban, just remove the corresponding .lock file !

How to add a news to my site ?
--------------------------------------------
Edit the news.php file, trying to follow the provided example, in order to add news.

What does the Ajax Browsing mode change ?
--------------------------------------------

First, to enable this mode, set the $ajax_mode variable to "yes" in your config.php (set it to "no" to disable this mode)

When enabled, pages do not reload completely, but only the part of the site that needs to. This means that loading times are faster, and you have direct access to the information.

What else ?
---------------------------------------------

This script is open-source, feel free to make any changes to it.
If you do so, please keep me informed by mail using the contact form on www.phpsoft.org

YOU MUST NOT REMOVE THE CREDITS TO THE ORIGINAL AUTHOR OF THIS SCRIPT AT THE BOTTOM OF THIS PAGE
Anyone doing this won't receive any support from me.

Where to contact ?
---------------------------------------------

Website: http://www.phpsoft.org or www.borget.info or www.torrenttrader.com
Email: use contact form on www.phpsoft.org



Want more ?
---------------------------------------------

If you want to get exclusive stuff, priority support, access to betas ... think to make a donation to the project.
All donators will get some premium stuff and support directly from me.


Changelog
---------------------------------------------
v2.0.1:
- updated the rss 2.0 feed to be compliant with this recommandation: http://www.borget.info/?page_id=72
- fixed minor bugs

v2.0:
- fixed several bugs
- changed the backend
- added ajax browsing mode
- added faq page
- added latest bittorrent protocol features
- modified main theme
- made code xhtml 1.0 compliant
- many small changes

v1.0.3:
- fixed a bug with file size
- fixed a bug with completed times
- fixed several bugs in announce.php
- fixed a bug with single scrape in scrape.php
- limited display of torrent's name to 35 characters on index.php
- added category images
- added ability to upload NFO files with torrents
- added ability to upload screenshots with torrents
- added multiple pages browsing
- included support for multiples languages
- fixed various bugs
- html code is now HTML 4.01 W3C validated
- css code is now W3C validated


v1.0.2:
- fixed a bug with magic_quote_gpc
- fixed a cleanup bug
- added theme variable in config.php and ability to change themes on the site
- improved rss2 script
- improved script performance
- added sha1 function for php versions prior to 4.3
- put categories in config.php
- you can add news to your site quite easily by editing news.php

v1.0.1:
- fixed a bug with cleanup
- added display of "Tracking X torrents with Y peers (A seeders and B leechers)"
- fixed major bug in upload.php

