* Waplocus * Graham Sir plz y is the below code not working?.
<!--parser:xtscript-->
# Path Name #
var $spc=call chr $val=32
var $path=<xt:url type="path">
var $pos = call strrpos $haystack=$path; $needle=/
var $name = call substr $val=$path; $start=($pos+1)
var $name = call str_replace $subject=$name; $search=_ ; $replace=$spc
# PATH TO FILES #
var $xtps= <xt:include file="
var $xtpe=" />
var $path= <xt:url type="path" >
var $lastslash = call strrpos $haystack=$path;$needle=/
var $trimmedpath = call substr $val=$path;$start=0;$length=$lastslash
# FILE LIST # 
var $list= <xt:filelist sort_type="updated" sort_dir="asc" folder="$xtps$trimmedpath$xtpe" template="" filter="$name" per_page="1" />
print $list
<!--/parser:xtscript-->

Copy code
2017-12-08 13:52 · (0)

Online: Guests: 1