1
0
Fork 0
mirror of https://github.com/janickiy/yii2-nomer synced 2025-02-15 03:11:58 +00:00
yii2-nomer/views/frame/block.php
2020-02-05 06:34:26 +03:00

19 lines
No EOL
587 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/* @var $this \yii\web\View */
use app\components\PhoneHelper;
/* @var $phone string */
/* @var $result array */
/* @var $id int */
$seoPhone = preg_replace("/^7(\d\d\d)(\d\d\d)(\d\d)(\d\d)$/", "8 ($1) $2-$3-$4", $phone);
$this->title = 'Информация по номеру телефона: '.join(", ", PhoneHelper::getFormats($phone));
?>
<div class="row">
<div class="col-md-offset-3 col-md-6 col-xs-12">
<h1 class="header__title">Номер <?=$seoPhone;?> заблокирован для поиска его владельцем</h1>
</div>
</div>
<br>