Aardvark Topsites Aardvark Topsites 3.2.3 Manual
© 2000-2002 Aardvark Industries - License
Template Tags

Here is a long list of all the tags you can use in the templates and a short description of what they do.

This list is probably not complete, but it's close. If you feel like you want a new tag, just post at the Support Forum and I'll help you out.

Universal Tags (Work In Most Templates)
<$list_name> - Name of the topsites list.
<$list_url> - URL to the directory the topsites is installed in.
<$templates_url> - URL to the templates and images directory.
<$version> - Version of the script.
<$nummem> - Number of members in your list.
<$meth> - Ranking method.
<$menu> - Multiple pages drop-down box.
<$time> - The time it took to generate the current page.
<$header> - The title of the current page.
<$lng{'X'}> - Displays text from the language file.

adbreak.html
No tags, not even the universal tags.

adbreak_top.html
No tags, not even the universal tags.

admin.html
<$content> - Content.
<$copyright> - Displays "Powered by Aardvark Topsites." DO NOT DELETE!
That's it - I don't think people needed to customize how the admin area looks.

edit_form.html
None.

edit_form2.html
<$id> - Member's ID.
<$url> - Member's URL.
<$title> - Member's site's title.
<$description> - Member's description.
<$urlbanner> - Member's banner URL.
<$email> - Member's email address.

gateway.html
<$vote> - URL to count your click.
<$novote> - URL to not count your click.

graph.html
<$id> - Member's ID.
<$url> - Member's URL.
<$title> - Member's site's title.
<$description> - Member's description.
<$urlbanner> - Member's banner URL.
<$email> - Member's email address.
<$graph> - Type of graph.
<$avg_graph> - Average hits.
<$tod_graph> - Hits today.
<$1_graph> - Hits yesterday.
<$2_graph> - Hits 2 days ago.
<$3_graph> - Hits 3 days ago.
<$avg_num> - Height of coulmn for average hits.
<$tod_num> - Height of coulmn for hits today.
<$1_num> - Height of coulmn for hits yesterday.
<$2_num> - Height of coulmn for hits 2 days ago.
<$3_num> - Height of coulmn for hits 3 days ago.

join_finish.html
<$id> - Member's ID.
<$url> - Member's URL.
<$title> - Member's site's title.
<$description> - Member's description.
<$urlbanner> - Member's banner URL.
<$email> - Member's email address.
<$password> - Member's password.

join_form.html
None.

lostcode_finish.html
<$id> - Member's ID.

lostcode_form.html
None.

lostpw_finish.html
<$id> - Member's ID.
<$url> - Member's URL.
<$title> - Member's site's title.
<$description> - Member's description.
<$urlbanner> - Member's banner URL.
<$email> - Member's email address.
<$password> - Member's password.

lostpw_form.html
None.

lostpw_mail.html
<$id> - Member's ID.
<$url> - Member's URL.
<$title> - Member's site's title.
<$description> - Member's description.
<$urlbanner> - Member's banner URL.
<$email> - Member's email address.
<$password> - Member's password.

rate.html
None.

rate_form.html
None.

rate_form2.html
<$id> - Member's ID.
<$url> - Member's URL.
<$title> - Member's site's title.
<$description> - Member's description.
<$urlbanner> - Member's banner URL.

search_form.html
None.

search_results.html
<$keywords> - What was searched for.
<$checked> - Remembers if the user searched as a string or not. See it used in context, you'll understand.
<results> - The search results.
<prev> - The page number for the previous page of search results.
<next> - The page number for the next page of search results.
If you're feeling adventurous, you can customize it more in Search.pm. Some time in the future I'll make this more customizable.

stats.html
<$id> - Member's ID.
<$url> - Member's URL.
<$title> - Member's site's title.
<$description> - Member's description.
<$urlbanner> - Member's banner URL.
<$email> - Member's email address.
<$rank> - Current rank.
<$oldrank> - Yesterday's rank.
There are quite a few tags used to display all the various hit counts. Figure it out, they're all in the default stats.html. I don't wanna list them all here.

table.html
<$id> - Member's ID.
<$url> - Member's URL.
<$title> - Member's site's title.
<$description> - Member's description.
<$urlbanner> - Member's banner URL.
<$email> - Member's email address.
<$rank> - Current rank.
<$oldrank> - Yesterday's rank.
<$movement> - Up/down/neutral arrow based on today's and yesterday's rank.
<$ratenum> - The number of people who have rated this member.
<$avg_rate> - The average rating.
<$avg> - Average of whatever your ranking method is.
<$tod> - Today of wahtever your ranking method is.
<$avg_unq_pv> - Average unique pageviews.
<$avg_tot_pv> - Average total pageviews.
<$avg_unq_in> - Average unique hits in.
<$avg_tot_in> - Average total hits in.
<$avg_unq_out> - Average unique hits out.
<$avg_tot_out> - Average total hits out.
<$tod_unq_pv> - Unique pageviews today.
<$tod_tot_pv> - Total pageviews today.
<$tod_unq_in> - Unique hits in today.
<$tod_tot_in> - Total hits in today.
<$tod_unq_out> - Unique hits out today.
<$tod_tot_out> - Total hits out today.
tablecloser.html
None.

tableheader.html
None.

table_top.html, tablecloser_top.html, and tableheader_top.html can use the same tags as the previous three templates. These templates are used for the top X (X is what you set "Number of members to use the special top templates for" to in the settings) sites.

template.html
<$content> - Content.
<$copyright> - Displays "Powered by Aardvark Topsites." DO NOT DELETE!
<$featured> - The featured member box showing a random member.
<$last> - The last time the list was refreshed, in hours and minutes.
SSI emulation can be done in template.html and only template.html.
<include="/full/path/to/file.txt">
For dynamic content like CGI or PHP scripts, use this.
<include2="http://www.url.com/to/file.cgi">

top.html
<$top> - Number of sites being displayed.
<$sites> - List of sites.
If you're feeling adventurous, you can customize it more in Top.pm. Some time in the future I'll make this more customizable.

welcome.html
<$num> - Member's ID.
<$url> - Member's URL.
<$title> - Member's site's title.
<$description> - Member's description.
<$urlbanner> - Member's banner URL.
<$email> - Member's email address.
<$password> - Member's password.