» Xtgem Coding Help » View post
http://xtcat.xtgem.com and get the COUNTER details for your account. After that, STUDY the below code and input your FOLDER, XTCAT COUNTER USER, XTCAT COUNTER KEY, and the URL of the IMAGE/ICON of your files only.
NOTE: DO NOT EDIT ANY OTHER THING THAN THE WORDS IN CAPITAL LETTERS.
NOTE: DO NOT EDIT ANY OTHER THING THAN THE WORDS IN CAPITAL LETTERS.
<!--parser:xtscript-->
<div class="zxfourborder">
var $path=/FOLDER
var $xtuser=XTCAT COUNTER USER
var $key=XTCAT COUNTER KEY
get file_name
var $template=<hr class='zealwapmenu' style='border: 1px dotted blue;'/><div class='zxfourborder' style='background:url&#40;&#41;'><table cellspacing='0px'><tr align='right'><td align='middle'><br/><img src='http://FILES IMAGE OR ICON URL' alt='**' class='ico' width='27px' height='30px' /></td><td align='left'><div class=''><b>Name:</b><font style='color:black'> .file_name_parsed. </font><br/><b>Size:</b><font style='color:black'> .file_size. </font><br/><b>Hits:</b><font style='color:black'> <xt:widget id="xt.c.a.t." tool="Counter" type="display1" key="$key" xtuser= "$xtuser" call=".file_name."/></font></div></td><td align='right'><div class=''><br/><a href='/download?file=.file_name.&name=.file_name_parsed.&category=.file_mime.&size=.file_size.&href=.file_url.&date=.file_date.&time=.file_time.&fold=$path'><b align'right' class='zxfourborder' style='background: #d20808; color: #fff;'>Download</b></a></td></tr></table></div></hr>
var $template=call htmlspecialchars $val=$template
var $list =<xt:filelist sort_type="updated" sort_dir="desc" folder="$path" template="$template" per_page="8" filter="*.*"/>
print $list
print <a href="?__filelist_page=$__filelist_page"/></a>
endif
</div>
<!--/parser:xtscript-->
Copy code
<div class="zxfourborder">
var $path=/FOLDER
var $xtuser=XTCAT COUNTER USER
var $key=XTCAT COUNTER KEY
get file_name
var $template=<hr class='zealwapmenu' style='border: 1px dotted blue;'/><div class='zxfourborder' style='background:url&#40;&#41;'><table cellspacing='0px'><tr align='right'><td align='middle'><br/><img src='http://FILES IMAGE OR ICON URL' alt='**' class='ico' width='27px' height='30px' /></td><td align='left'><div class=''><b>Name:</b><font style='color:black'> .file_name_parsed. </font><br/><b>Size:</b><font style='color:black'> .file_size. </font><br/><b>Hits:</b><font style='color:black'> <xt:widget id="xt.c.a.t." tool="Counter" type="display1" key="$key" xtuser= "$xtuser" call=".file_name."/></font></div></td><td align='right'><div class=''><br/><a href='/download?file=.file_name.&name=.file_name_parsed.&category=.file_mime.&size=.file_size.&href=.file_url.&date=.file_date.&time=.file_time.&fold=$path'><b align'right' class='zxfourborder' style='background: #d20808; color: #fff;'>Download</b></a></td></tr></table></div></hr>
var $template=call htmlspecialchars $val=$template
var $list =<xt:filelist sort_type="updated" sort_dir="desc" folder="$path" template="$template" per_page="8" filter="*.*"/>
print $list
print <a href="?__filelist_page=$__filelist_page"/></a>
endif
</div>
<!--/parser:xtscript-->
Copy code
» Xtgem Coding Help » View post
Guests: 1
zf_mackie (Admin)