* Lordeagle * Lordeagle It can recoded to javascript to get a shorter code
<script>
var c= <xt:filecount folder="/myfolder" />;
num = (c % 10) "+" c/10; // when c is an odd num
var pg = "<xt:url/>";
if (pg == "http://eaglenet.xtgem.com/index"){
location.replace('http://eaglenet.xtgem.com/index?__filelist_page=<xt:random from="1" to="num" x="1"/>')};
</script>

Copy code
2015-08-23 04:13 (edited 2015-08-23 04:43 by Lordeagle ) · (0)

Online: Guests: 1