Teya Salat
home
»
listcount
Log in
Filelist Index Count
Method 1 using simple ordered list
20th
audio/midi (5.8KB)
Argent Hold Your Head Up
audio/mpeg (8.03MB)
WarOfTheWorlds ep2
audio/mpeg (2.13MB)
glfrontier-music
application/zip (4.32MB)
glfrontier
application/zip (1.03MB)
1
2
3
4
»
XtScript
<!--parser:xtscript--> # Filelist Template var $folder=uploads var $per_page=5 get_or_default __filelist_page;1 var $list_page=($__filelist_page-1) var $page=($list_page*$per_page) var $template= <li><img src="http://xtgem.com/images/icons/mimes/.file_type..png" alt="*" /> <a href=".file_url."><span>.file_name_base_parsed.</span></a> .file_mime. (.file_size.)</li> var $template=call htmlspecialchars $val=$template # Filelist print <ol start="($page+1)"><xt:filelist sort_type="name" sort_dir="asc" folder="$folder" template="$template" per_page="$per_page" filter="*.*"/></ol> <!--/parser:xtscript-->
Method 2
value is inserted into filelist entry
Xtgem Tutorial
Contact
©2024 3BIAP
ALE tights reversed