Server IP : 185.86.78.101 / Your IP : 216.73.216.124 Web Server : Apache System : Linux 675867-vds-valikoshka1996.gmhost.pp.ua 5.4.0-150-generic #167-Ubuntu SMP Mon May 15 17:35:05 UTC 2023 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /www/wwwroot/mifepriston.org/views/layouts/ |
Upload File : |
<?php /* @var $this \yii\web\View */ /* @var $content string */ use yii\web\View; use yii\helpers\Html; use yii\helpers\Url; use tubalmartin\CssMin\Minifier as CSSmin; $this->title = $this->context->model->title; if ($this->context->model->description) $this->registerMetaTag(['name' => 'description', 'content' => $this->context->model->description]); if ($this->context->model->keywords) $this->registerMetaTag(['name' => 'keywords', 'content' => $this->context->model->keywords]); // $this->registerCssFile('https://cdn.jsdelivr.net/npm/bulma@0.8.2/css/bulma.min.css'); $styles = glob(Yii::getAlias('@webroot') . (YII_ENV_DEV ? '/dist-dev' : '/dist') . '/critical*.css'); $compressor = new CSSmin; $output_css = $compressor->run(file_get_contents($styles[0])); $this->registerCss($output_css, ["type" => "text/css"], 'criticalStyle'); $styles = glob(Yii::getAlias('@webroot') . (YII_ENV_DEV ? '/dist-dev' : '/dist') . '/index*.css'); $style = Yii::getAlias('@web') . (YII_ENV_DEV ? '/dist-dev' : '/dist') . '/' . basename($styles[0]); $scripts = glob(Yii::getAlias('@webroot') . (YII_ENV_DEV ? '/dist-dev' : '/dist') . '/index*.js'); $script = Yii::getAlias('@web') . (YII_ENV_DEV ? '/dist-dev' : '/dist') . '/' . basename($scripts[0]); $this->registerJsFile($script . Yii::$app->params['assetVersion'], ['position' => View::POS_HEAD, 'async' => true, 'defer' => true]); $this->registerJsVar('csrfParam', Yii::$app->request->csrfParam, View::POS_END); $this->registerJsVar('csrfToken', Yii::$app->request->csrfToken, View::POS_END); $this->registerJsVar('lang', Yii::$app->language, View::POS_END); $this->registerJsVar('getTranslationUrl', Url::to(['async/get-translation']), View::POS_END); $this->registerJsVar('getShippingUrl', Url::to(['async/get-shipping']), View::POS_END); $this->registerJsVar('placeOrderUrl', Url::to(['async/place-order']), View::POS_END); $this->registerJsVar('action', $this->context->action->id, View::POS_END); $this->registerJsVar('price', $this->context->model->price ?? 0, View::POS_END); $this->registerJsVar('currency', $this->context->model->currency, View::POS_END); ?> <?php $this->beginPage() ?> <!DOCTYPE html> <html lang="<?= Yii::$app->language ?>"> <head> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-H17MM8MT61"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-H17MM8MT61', { cookie_flags: 'secure;samesite=none' }); window.loadRecaptcha = function () { if (window.isRecaptchaLoaded) return const recaptcha = document.createElement('script'); recaptcha.src = "https://www.google.com/recaptcha/api.js?render=6LdsBusUAAAAADQS_8387pgI7yueyjfaf-abCHQg"; recaptcha.addEventListener('load', function () { window.isRecaptchaLoaded = true const grecaptcha = window.grecaptcha; if (grecaptcha) { grecaptcha.ready(function() { // do request for recaptcha token // response is promise with passed token grecaptcha.execute('6LdsBusUAAAAADQS_8387pgI7yueyjfaf-abCHQg', {action: action}) .then(function(token) { // add token value to form const gRecaptchaResponse = document.getElementById('g-recaptcha-response'); if (gRecaptchaResponse) gRecaptchaResponse.value = token; }); }); } }) document.head.appendChild(recaptcha); } </script> <meta charset="<?= Yii::$app->charset ?>"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title><?= Html::encode($this->title) ?></title> <meta name="description" content="<?= Yii::t('app', 'description') ?>"> <meta name="yandex-verification" content="c1803f66ee3d8b4a" /> <?php $this->registerCsrfMetaTags() ?> <?php $this->head() ?> <link href="<?= $style . Yii::$app->params['assetVersion'] ?>" rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'"> <noscript><link href="<?= $style . Yii::$app->params['assetVersion'] ?>" rel="stylesheet"></noscript> <script>!function(n){"use strict";n.loadCSS||(n.loadCSS=function(){});var o=loadCSS.relpreload={};if(o.support=function(){var e;try{e=n.document.createElement("link").relList.supports("preload")}catch(t){e=!1}return function(){return e}}(),o.bindMediaToggle=function(t){var e=t.media||"all";function a(){t.addEventListener?t.removeEventListener("load",a):t.attachEvent&&t.detachEvent("onload",a),t.setAttribute("onload",null),t.media=e}t.addEventListener?t.addEventListener("load",a):t.attachEvent&&t.attachEvent("onload",a),setTimeout(function(){t.rel="stylesheet",t.media="only x"}),setTimeout(a,3e3)},o.poly=function(){if(!o.support())for(var t=n.document.getElementsByTagName("link"),e=0;e<t.length;e++){var a=t[e];"preload"!==a.rel||"style"!==a.getAttribute("as")||a.getAttribute("data-loadcss")||(a.setAttribute("data-loadcss",!0),o.bindMediaToggle(a))}},!o.support()){o.poly();var t=n.setInterval(o.poly,500);n.addEventListener?n.addEventListener("load",function(){o.poly(),n.clearInterval(t)}):n.attachEvent&&n.attachEvent("onload",function(){o.poly(),n.clearInterval(t)})}"undefined"!=typeof exports?exports.loadCSS=loadCSS:n.loadCSS=loadCSS}("undefined"!=typeof global?global:this);</script> </head> <body oncopy="return false"> <?php $this->beginBody() ?> <div class="container"> <div id="top" class="columns has-text-centered"> <div class="column is-one-third is-hidden-mobile"> <figure class="image is-2by1"> <a href="/"> <img loading="lazy" src="/images/mifipl.webp" alt="<?= $this->context->model->header_image_alt ?>" width="400" height="209" style="width: auto; height: auto"> </a> </figure> </div> <div class="column"> <div id="phone"> <div class="columns"> <div class="column is-three-fifths"> <a href="<?= 'tel:+' . str_replace(' ', '', Yii::$app->params['phone']) ?>" class="is-size-3 has-text-info has-text-weight-bold"> <svg style="fill: #145B8F" xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 384 512"><!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M16 64C16 28.7 44.7 0 80 0H304c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H80c-35.3 0-64-28.7-64-64V64zM224 448a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM304 64H80V384H304V64z"/></svg> <?= Yii::$app->params['phone'] ?> </a> </div> <div class="column is-hidden-tablet"> <a href="/"> <img loading="lazy" src="/images/mifipl.webp" alt="<?= $this->context->model->header_image_alt ?>" width="200" height="105"> </a> </div> <div class="column"> <button class="button is-medium is-link is-rounded" onclick="addToCart()"> <svg style="fill: white" xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 576 512"><!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M0 24C0 10.7 10.7 0 24 0H69.5c22 0 41.5 12.8 50.6 32h411c26.3 0 45.5 25 38.6 50.4l-41 152.3c-8.5 31.4-37 53.3-69.5 53.3H170.7l5.4 28.5c2.2 11.3 12.1 19.5 23.6 19.5H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H199.7c-34.6 0-64.3-24.6-70.7-58.5L77.4 54.5c-.7-3.8-4-6.5-7.9-6.5H24C10.7 48 0 37.3 0 24zM128 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm336-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96z"/></svg> <span class="cartbtn"><?= Yii::t('cart', 'Shopping Cart') ?></span> </button> <?= \app\widgets\langswitcher\LangSwitcher::widget() ?> </div> </div> </div> <nav class="navbar is-hidden-touch is-success" role="navigation" aria-label="main navigation" style="background-color:#246139;"> <div class="navbar-menu"> <div class="navbar-start"> <a class="navbar-item" href="<?= Url::toRoute(['site/index', 'lang' => Yii::$app->language]) ?>"><?= Yii::t('app', 'menu_home') ?></a> <a class="navbar-item" href="<?= Url::toRoute(['site/index', 'lang' => Yii::$app->language, '#' => 'indications']) ?>"><?= Yii::t('app', 'menu_indications') ?></a> <a class="navbar-item" href="<?= Url::toRoute(['site/index', 'lang' => Yii::$app->language, '#' => 'manual']) ?>"><?= Yii::t('app', 'menu_manual') ?></a> <a class="navbar-item" href="<?= Url::toRoute(['site/index', 'lang' => Yii::$app->language, '#' => 'advantages']) ?>"><?= Yii::t('app', 'menu_advantages') ?></a> <a class="navbar-item" href="<?= Url::toRoute(['site/index', 'lang' => Yii::$app->language, '#' => 'reviews']) ?>"><?= Yii::t('app', 'menu_reviews') ?></a> <a class="navbar-item" href="<?= Url::toRoute(['site/contact', 'lang' => Yii::$app->language]) ?>"><?= Yii::t('app', 'menu_contact') ?></a> </div> </div> </nav> <h2 class="subtitle has-text-info has-text-weight-semibold"><?= $this->context->model->subtitle ?></h2> <?= \app\widgets\marks\Marks::widget() ?> </div> </div> <?= $content ?> <div class="box has-text-centered"><a href="mailto:<?= Yii::$app->params['adminEmail'] ?>"><?= Yii::t('app', 'Email us') ?></a></div> <?= \app\widgets\buyform\BuyForm::widget([ 'productName' => $this->context->model->cart_name, 'priceValue' => $this->context->model->price ?? 0, 'currency' => $this->context->model->currency, ]) ?> <?= \app\widgets\warningtext\WarningText::widget([ 'header' => $this->context->model->danger_header, 'body' => $this->context->model->danger_body, ]) ?> <div id="app"> <cart ref="app"></cart> </div> </div> <?php $this->endBody() ?> </body> </html> <?php $this->endPage() ?>