ADTOPSCRIPT

download
back
USER MANUAL

1. AD TOP SCRIPT
2. SYSTEM REQUIREMENTS
3. INSTALL AD TOP
4. UPDATE AD TOP
5. UNINSTALL AD TOP
6. THE GENERAL CONCEPTS
7. ROTATOR
8. TRAFFIC
9. DIZAIN
10. SETTINGS
11. ANTICHEAT
12. BLACKLIST
13. FAQ


AD TOP SCRIPT

- written in PHP.
- without MYSQL Database.
- easy setup.
- stats for last 7 days without reset.
- rerank every hour.
- "IN" after "OUT".
- "random OUT".
- free, script just puts code at the end of your html page.

SYSTEM REQUIREMENTS

- PHP 4.2+.
- *nix hosting with .htaccess.
- zend optimizer.

INSTALL AD TOP

1. Set the permissions "777" in the directory where will be script.
2. Upload files "add.php", "admin.php", "index.php", "install.php", "out.php" in BINARY MODE. If you want, you may upload file "cheat.html".
3. Upload file "config.php" in ASCII MODE.
4. Chmod "config.php" to "666".
5. Create subdirectories "memberfiles", "data", "backup", "index" and "ip" and chmod these subdirectories to "777".
6. Upload files "footer.html", "header.html", "body_of_top.html", "break.html" and "rules.txt" in subdirectory "index" in ASCII MODE.
7. Chmod files "footer.html", "header.html", "body_of_top.html", "break.html" and "rules.txt" to "666".
8. Type http://www.yoursite.com/install.php in your browser.
9. Delete "install.php".

UPDATE AD TOP

1. Press button "BACKUP".
2. Upload add.php, admin.php, index.php and out.php.
3. Press button "MAIN MENU".
4. Press button "RERANK".

UNINSTALL AD TOP

1. Upload file "uninstall.php", and type it in your browser.
2. Delete files "add.php", "admin.php", "index.php", "out.php", "unistall.php" and "config.php".
3. Delete all files from subdirectory "index". And delete subdirectories "backup", "data", "index" and "memberfiles".

THE GENERAL CONCEPTS

1. Parameters and characteristics of a site.
1.1. U.In - number of Unique hits incoming from sait.
1.2. R.In - number of Raw hits incoming from sait.
1.3. Out - number of outgoing hits to that sait.
1.4. Clicks - number of clicks generated by the incoming hits from that sait

2. System traders.
2.1. bookmark - all surfers who didnt carry the referring url info.
2.2. content - outs on parameter url of out.php.
2.3. nocookie - clicks from the surfers who have no cookies or have proxies - its bad traffic.

3. Parameters out.php. Send hits to your trades through out.php. Otherwise they can not be counted.
3.1. link=[bla-bla-bla] - special parameter (i.e. out.php?link=best). You must use it. All clicks without this parameter script detect as cheater clicks.
3.2. url=[url] - link to content (i.e. out.php?link=best&url=http://www.somehost.com/gallery.html)
3.3. s=[%] - Skimm - content percentage (i.e. out.php?s=60). Use it only with parameter "url".
3.4. perm=[domain] - permanent link on your page to a site (i.e. out.php?link=best&perm=somehost.com).

Separate parameters with an ampersand (&).

example urls:
out.php?link=best
out.php?link=best&perm=somehost.com
out.php?link=best&url=http://www.somehost.com/gallery.html Attention: if you dont use skimm (s=) in url, default skimm is 50.
out.php?link=best&url=http://www.somehost.com/gallery.html&s=70

4. Templates.
4.1. "header.html", "footer.html", "break.html" - you may use here parameters link, url, s, perm of out.php. Only in "header.html" and "footer.html" you may use keywords:
      *pagenumber1* - script change it on <a href="top1.html">1</a> | <a href="top2.html">2</a> | etc
      *pagenumber2* - script change it on <a href="top1.html">page 1</a><br><a href="top2.html">page 2</a><br> etc
4.1. Only in "header.html" you may use keywords:
      *name* - name of toplist.
      *charset* - charset, you may change it in Settings->Charset of your language:, if field (in settings) is empty script use utf-16.
4.2. Only in body_of_top.html you may use keywords:
      *position* - position of site.
      *fontsize* - parameter of tag "font size", you may change it in settings in admin.php.
      *domain* - domain of site.
      *banner* - script change it on <img src="http://url.com/banner"><br>.
      *title* - script change it on title of site.
      *description* - script change it on description of site.
      *new* - script change it on (new) if site new (for 24 hours).
      *inin* - script change it on "IN".
      *outout* - script change it on "OUT"
      *trcolor* - script change it on word color1 or color2 (use it for css).
And you may use here parameters link, url, s, perm of out.php.

See examples in zip archive with script in directory "index".

ROTATOR

Built-in rotator is used to single out the content on the page in random mode. Only in "header.html", "break.html" and "footer.html" you may use it. You my use no more than 10 rotators.

Step-by-step guide to adjust rotator.
1. Create subdirectory "rotator" in directory with your toplist.
2. Chmod subdirectory "rotator" to "777".
3. Create file "anyname.txt". It is database of rotator.
4. In these file put your codes (one code in every line).

e.g.:

reklama.txt

5. Upload file (database) "any_name.txt" in subdirectory "rotator" in ASCII MODE.
6. Chmod file "any_name.txt" to "666".
7. In file "header.html" or "break.html" or "footer.html" insert template:
      *rotator-anyname-anynumber*
where anyname - name of file with codes (e.g. reklama), anynumber - any figure (any cipher).

e.g.
*rotator-reklama-1* - rotator change it on first random code from file reklama.txt.
*rotator-reklama-2* - rotator change it on second random code from file reklama.txt.
*rotator-reklama-3* - rotator change it on third random code from file reklama.txt.
*rotator-reklama-4* - rotator change it on fourth random code from file reklama.txt.
etc.

8 .Upload files "header.html", "break.html", "footer.html" in subdirectory "index".

Rotator work one time in hour.

See examples in zip archive with script in directory "index" and directory "rotator".

TRAFFIC

1. Script count traffic from each site.
2. Sites are sorted by "IN" (after "OUT").
3. Script create table with sites.
3. If surfer click on link with parameter "perm", script send traffic to concrete site.
4. If script can not find site in database, script send surfer to other site from database in random mode.
5. If surfer click on link without parameter "perm" (i.e. out.php?link=best), script send traffic to some site from database in random mode. If link has parameter "url" (out.php?link=best&url=http://www.somehost.com/gallery.html&s=70) script send surfer to some site from database in random mode, or to content (parameter "url").
6. If script cant send traffic to site, script send traffic to url from "bookmark".
Attention: script can detect "cheat", and can send traffic to url from "nocookie".

DIZAIN

1. Change html code in "footer.html", "header.html", "body_of_top.html" and "break.html". Use for it  Parameters out.php and/or Templates. And upload files to hosting in subdirectory "index".
2. Change rules of your top in "rules.txt" and upload it in subdirectory "index".

SETTINGS

Its easy.

ANTICHEAT

1. Script can send "nocookie" or "bad language" or "proxy" traffic to nocookie. Check it in "SETTINGS".
2. Hidden links - you may put in pages hidden links (i.e. "out.php?link=cheat"), and script send this traffic to nocookie. You may change name of "cheat link" in "SETTINGS".

BLACKLIST

You can block domains or mail or url or icq uin or words with this feature. Just add it in blacklists. Blacklist sites by e-mail or by domain or by icq so they never can signup again.

FAQ

q. I add new site, but I dont see it on pages. Why?
a. Script generate pages one time in hour. Wait one hour or press button "RERANK".

q. I delete site, but I see it on pages. Why?
a. Script generate pages one time in hour. Wait one hour or press button "RERANK".