[[getGET? ¶m=`search`]]
<?php
echo($_GET[$param]);
[[GetDate? &whatDate=`{*dater*]`]]
<?php
$MyDate=(int)$whatDate;
$monthes =array('','01','02','03','04','05','06','07','08','09','10','11','12');
$day = date('j',$MyDate);
$month = $monthes[date('n',$MyDate)];
$year = date('Y',$MyDate);
$hour = date('H',$MyDate);
$minutes = date('i',$MyDate);
echo $day.'.'.$month.'.'.$year;
[!DocLister?
&id=`searchresults`
&documents=`[!evoSearch? &action=`ids` &output=`1` &rel=`5` ]]`
&tpl=`tovarTPL-V3`
&display=`20`
&TvNames=`articul`
&tvList=`tovarpic1,articul,tovarpic2,price,oldprice,notinstock,video`
&noneTPL='@CODE: По запросу <u> {+ stat_request +] </u> ничего не найдено. Смягчите условия поиска.'
&filters=`AND(content:template:eq:7)`
&TplCurrentPage=`@CODE: <a href="{+link+]" class="current">{+num+]</a>`
&TplNextP=`@CODE: <a class="nextpage" href="{+link+]">→</a>`
&TplPrevP=`@CODE: <a href="{+link+]">←</a>`
&TplDotsPage=`@CODE:<span>...</span>`
&paginate=`pages`
]]
[[phpthumb? &input=`{+tv.photo+]` &options=`w=400,h=207,f=jpg,q=95,zc=1`]]
С водяным знаком (wm.png должен находиться в корне сайта)
[[phpthumb? &input=`{+tv.photo+]` &options=`fltr=wmi|/wm.png|BR|65,w=765,h=342,zc=1,f=jpg,q=95`]]
[[DocLister?
&id=`newslist`
&tpl=`newsTPL`
&display=`20`
&tvList=`dater,newspic`
&renderTV=`dater`
&depth=`3`
&filters=`AND(content:template:eq:10)`
&paginate=`pages`
&sortType=`other`
&tvSortType=`TVDATETIME`
&orderBy=`dater DESC`
&TplNextP=`@CODE: <a class="nextpage" href="{+link+]">→</a>`
&TplPrevP=`@CODE: <a href="{+link+]">←</a>`
&TplDotsPage=`@CODE:<span>...</span>`
]]
<div class="pagerdiv">
<div class="clearfix"><br /><br />
{+newslist.pages+]
</div>
</div>
[[if? &is=`{+tv+]:notempty:` &then=``]]
Добавляем к JS или CSS
Например: script.js?time=[[currenttime]]
<?php
$timestamp = time();
return $timestamp;