* Graham * Waplocus possibly by a couple of microseconds at most
2017-11-25 06:04 (edited 2017-11-25 06:06 by Graham ) · (0)
* Waplocus * Graham In a filelist how can 1 print out the last modified of the files?.
2017-12-07 04:46 · (0)
* Graham * Waplocus
.file_date.
The files date
.file_time.
The files time
.file_datetime.
The files date and time
These show the last update time to the file
2017-12-07 08:02 (edited 2017-12-07 08:04 by Graham ) · (0)
* 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 03:52 · (0)

Online: Guests: 1