<?= /* в таких скобках пишется php код */ ?>
<?php echo Html::encode($this->title); ?>
RewriteEngine On
RewriteCond $1 !\.(css|js|png|ico|jpe?g|gif|woff|eot|svg|ttf|txt)$ [NC]
RewriteRule ^(.*)$ index.php [L,QSA]
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6 highheader2">
<form action="{$rsAuth[0].route}" name="formAuth">
<select name="auth">
{foreach $rsAuth as $item name=auth}
<option value="{$item.name}" onchange="document.forms['formAuth'].action='{$item.route}'">{$item.name}</option>
{/foreach}
</select>
</form>
</div>
svg { color: currentColor; }
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
<defs>
<symbol id="icon"><path d="M0 .5L.5 0 7 6.5 13.5 0l.5.5L7.5 7l6.5 6.5-.5.5-3-3L7 7.5.5 14l-.5-.5L6.5 7 0 .5z" fill-rule="evenodd"/></symbol>
</defs>
</svg>
<div class="label" style="color: red">
<svg role="image">
<use xlink:href="#icon"/>
</svg>
</div>
$time = '24-05-16';
$count_day = 2;
$sec_in_one_day = 60 * 60 * 24;
if (function_exists('strtotime'))
{
$timestamp = strtotime($time);
}
else
{
$a = strptime($time, '%d.%m.%Y');
$timestamp = mktime($a['tm_hour'], $a['tm_min'], $a['tm_sec'], $a['tm_mon']+1, $a['tm_mday'], $a['tm_year']+1900);
}
$timestamp_end = $timestamp + $count_day * $sec_in_one_day;
for ($i = $timestamp; $i <= $timestamp_end; $i++) {
echo date('d-m-y | h:i:s', $i), '<br>';
}
select c.category_name, c.parent_Id, g.Id_goods, g.Goods_name, c.id_category
from goods as g
left join category as c on c.id_category = g.id_category
<?php
if ($_SERVER['REMOTE_ADDR'] !== '8.8.8.8')
{
header("Location: /", true, 301);
}
isDomainAvailible('http://site1.ru');
isDomainAvailible('http://site2.ru');