» Xtgem Coding Help » View post
Subskid For the filelist, u will create a folder that u will be uploading the pics of d applications and name it exactly the name of the file with the extension
For example, u have a file named zealwap.jar the name of its image will b zealwap.jar.png
For the code
Copy below
For example, u have a file named zealwap.jar the name of its image will b zealwap.jar.png
For the code
Copy below
<!--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://IMAGE FOLDER/.file_name..png' 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://IMAGE FOLDER/.file_name..png' 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)