Arrow Trader 5

Installation Guides
Admin Modules
References

Arrow Trader Core

Installation Guides
Admin Modules
References

Arrow Trader eXtreme V2

Installation Guides
Admin Modules
References

Arrow Trader eXtreme V1

Installation Guides
Admin Modules
References

Arrow Trader Lite 3

Installation Guides
Admin Modules
References

Q&A

Getting started

Search


atl reference


- Toplist Syntax

ATL supports the following tags in toplist templates

%%rin_000%% = raw hits in
The amount of raw hits you have received from a trade in the last 24 hours

%%unq_000%% = unique hits in
The amount of unique hits you have received from a trade in the last 24 hours

%%out_000%% = hits out
The amount of hits you have sent to a trade in the last 24 hours

%%clk_000%% = clicks
The amount of clicks the traffic of a trade has generated in the last 24 hours

%%tid_000%% = trade id
The id of a trade

%%url_000%% = url
The URL of a trade (use this for hard links)

%%lnk_000%% = link (tid + url combined)
This code will create a link with the trade id and url included,
so whenever a surfer clicks on such a link, a outgoing hit is credited to this trade.
Linkname is left blank. In order to use a linkname for toplists, use the seperate tags:
/cgi-bin/atl/out.cgi?id=%%tid_000%%&tag=LINKNAME&trade=%%url_000%%

%%tit_000%% = title
The title of a trade.

%%img_000%% = image
The image of a trade. To display this, use <img src=%%img_000%%>

You can specify multiple images per trade; seperate the urls with a ,
For example; http://site.com/1.jpg,http://site.com/2.jpg,http://site.com/3.jpg
and ATL will randomly select one with every update.

%%des_000%% = description
The description of a trade



Top 5 Examples

hard links (clicks are not counted by ATL)
site title and hits in are displayed

1. <a href="%%url_000%%">%%tit_000%%</a> - %%rin_000%% <br>
2. <a href="%%url_001%%">%%tit_001%%</a> - %%rin_001%% <br>
3. <a href="%%url_002%%">%%tit_002%%</a> - %%rin_002%% <br>
4. <a href="%%url_003%%">%%tit_003%%</a> - %%rin_003%% <br>
5. <a href="%%url_004%%">%%tit_004%%</a> - %%rin_004%% <br>

toplist links (clicks are counted by ATL)
image is displayed, linkname is 'toplist', description used for alt-tag value.

1. <a href="/cgi-bin/atl/out.cgi?id=%%tid_000%%&tag=toplist&trade=%%url_000%%">
<img src="%%img_000%%"><br>
2. <a href="/cgi-bin/atl/out.cgi?id=%%tid_001%%&tag=toplist&trade=%%url_001%%">
<img src="%%img_001%%"><br>
3. <a href="/cgi-bin/atl/out.cgi?id=%%tid_002%%&tag=toplist&trade=%%url_002%%">
<img src="%%img_002%%"><br>
4. <a href="/cgi-bin/atl/out.cgi?id=%%tid_003%%&tag=toplist&trade=%%url_003%%">
<img src="%%img_003%%"><br>
5. <a href="/cgi-bin/atl/out.cgi?id=%%tid_004%%&tag=toplist&trade=%%url_004%%">
<img src="%%img_004%%"><br>



Toplist Extensions

By using toplist extensions you can set certain rules for your toplists. Place the following code at the top of your toplist template

<tlxt>
domains=google.com,sex.com,porn.com,sometrade.com
rin60=50
rin24=600
</tlxt>

domains=google.com,sex.com,porn.com,sometrade.com
This will only load the trades google.com, sex.com, porn.com and sometrade.com

rin60=50
This will only load trades that have sent at least 50 hits in the last 60 minutes

rin24=600
This will only load trades that have sent at least 600 hits in the last 24 hours.

When domains= is left out, all domains are loaded.
when rin60= or rin24= are left out, they are auto set to 0, which loads all trades

Help us improve our articles by rating them
- This article is -

Too long & complicated

Too short & simple

Not relevant enough

Just about right
5915