[[+tv.cellImages:is=``:then=``:else=`
<div>
[[getImageList?
&tvname=`cellImages`
&tpl=`@CODE: <img style="max-width: 100%" src="[[+image]]" alt=""> `
&docid=`[[+id]]`
&toPlaceholder=`imagelist`
]]
<div>
[[+imagelist]]
</div>
`]]
...href="[[~55]]?par=Тариф_1"....
...href="[[~55]]?par=Тариф_2"....
...href="[[~55]]?par=Тариф_3"....
Название - par
Содержимое -<?php echo isset($_GET['par']) ? $_GET['par'] : '' ;
<input type="hidden" name="par" value="[[!par]]" />
Тариф -[[+par]]
...href="[[~55]]?par1=[[+pagetitle]]&par2=[[+uri]]"....
<?php echo isset($_GET['par1']) ? $_GET['par1'] : '' ;
<?php echo isset($_GET['par2']) ? $_GET['par2'] : '' ;
<input type="hidden" name="par1" class="source" value="[[!par1]]" />
<input type="hidden" name="par2" class="source" value="[[!par2]]" />
[[+par1]]
[[+par2]]
[[!AjaxForm?
......
&submitVar=`form1`
]]
<form method="post" action="[[~[[*id]]]]" id="orderform-1">
.......
<input type="submit" name="form1 " class="buttonorder" value="Заказать звонок" />
.............
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.(php|html|htm)\ HTTP/
RewriteRule ^(.*)index\.(php|html|htm)$ $1 [R=301,L]
RewriteBase /
# склейка домена с и без www
RewriteCond %{HTTP_HOST} !^ site.ru$ [NC]
RewriteRule ^(.*)$ http:// site.ru/$1 [R=301,L]
# Переадресация с index
RewriteCond %{QUERY_STRING} ^(.*)index
RewriteRule ^(.*)$ http:// site.ru? [R=301,L]
# The Friendly URLs part
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
<?php
$f=fopen("адрес_сайта_где_лежит_файл/date.txt","r") or die("Ошибка");
$data=fgets($f);
echo $data;//Первая строка в файле
fclose($f);
?>
если REVO
[[!auto-date]]
Если EVO
[!auto-date!]]