XtGem Forum catalog
ADS By Strikecoded:
Smash Your 2018/19 Jamb, Waec, Neco With CAMPUSBASE Visit Now.. Best Java, Android Games, Apps


No1. Naija Awarded Download Portal For Both Mobile And Pc Users..

Home | Blog | Search | Uploads

f
p
_
x

*SMSWHATSAPPPhone

Home
Forum
Blog

Xtgem GuideCss Tutorials

Wapka GuidePhp Scripts

Filelist GeneratorCss Collections

Chat (1)Main Menu



STRIKECODED Members Forum

*STRIKELORD said to Beecoded 0n 2017-02-10 11:54
Copy Random Related File Code
<div class="zxfourborder" align="left">
<!--parser:xtscript-->
# Path to files folder
var $path_to_folder={_$fold|}
# this removes files with no extension
var $filter= *.*
# 0 for all items
var $number_of_items = 10
# un-encoded filelist template
var $filelist_template = <a href="/download?file=.file_name.&name=.file_name_parsed.&type=.file_mime.&size=.file_size.&ext=.file_type.&link=.file_url.&date=.file_date.&time=.file_time.&fold={_$fold|}">.file_name_parsed.</a><b> - </b>
# Process variables
var $filelist_template = call htmlspecialchars $val=$filelist_template 
if not $number_of_items
var $number_of_items = list.length-1
endif
<!--/parser:xtscript-->
<script type="text/javascript">
function shuffleArray(array) {
for (var i = array.length - 2; i > 0; i--) {
var j = Math.floor(Math.random() * (i + 1));
var temp = array[i];
array[i] = array[j];array[j] = temp;}
return array;}
var list=[<xt:filelist folder="{_$fold|}" template=" '{_$$filelist_template |}', " filter="{_$$filter|}"/>'dummy_entry'];
var list = shuffleArray(list);for(var i=0;i<{_$$number_of_items |};i++){
document.write(list[i]);}
</script>
[<a href="#more">+More</a>]
</div>

Copy code
(Edited by 2017-02-10 19:54 STRIKELORD )
    ·
  • rated(0)
Online Members
Twig by : LORDMIDO™

Theme Created By: LORDMIDO

Powered By: STRIKECODED. INC
Copyright © 2015 -
All Rights Reserved.

Page Statistics

DataLoads
Online1
Today's Hits 82
Total Today's Hits7544
Total Hits This Week 151387
Total Page Hits 1157099
Total Forum Members191

Close Page Information

Go Back • Promote • Forum • Services • Members • About us • Terms of use • Advertise • News room • Contact us • Feedback

chart1FOLLOW US ON

FBTW G VK
OFFICIAL BOARD
Credits • Admin • FAQ • Our Privacy • Site Rules
Email subscription

Enter your email address:

Copyright © 2015 -
STRIKECODED TECH.
All Rights Reserved.

Go To Top

18275441513871157099191


fldtView Page Datas
Page Statistics

DataLoads
Online1
Today's Hits 82
Total Today's Hits7544
Total Hits This Week 151387
Total Page Hits 1157099
Total Forum Members191

Close Page Information

Go Back • Promote • Forum • Services • Members • About us • Terms of use • Advertise • News update • Contact us • Feedback

chart1FOLLOW US ON

FBTWG LDRS
Back to the Top

Copyright © . Theme by STRIKECODED TECH.

Desktop View