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/widgets/buyform/views/ |
Upload File : |
<div id="buyform_t"> <div class="columns is-vcentered buyformcontent"> <div class="column is-one-fifth"> <figure class="is-3by1 image is-3by2 has-text-centered"> <?php if (Yii::$app->controller->action->id === 'contact'): ?> <img loading="lazy" src="/images/cytotec_b.webp" alt="<?= $this->context->productName ?>"> <?php else: ?> <img src="/images/cytotec_b.webp" alt="<?= $this->context->productName ?>"> <?php endif; ?> </figure> </div> <div class="column is-three-fifths has-text-centered"> <h3 class="is-size-3"><?= $this->context->productName ?></h3> <div class="payimages"> <?php foreach ($this->context->payImages as $img): ?> <?php $image_path = Yii::getAlias('@web/images/payment/') . $img; $sizes = null; if (mb_strpos($image_path, 'visa') !== false) $sizes = ['width' => 65, 'height' => 21]; if (mb_strpos($image_path, 'mastercard') !== false) $sizes = ['width' => 118, 'height' => 21]; if (mb_strpos($image_path, 'qiwi') !== false) $sizes = ['width' => 65, 'height' => 25]; ?> <?php if ($sizes): ?> <img loading="lazy" src="<?= $image_path ?>" alt="Payment method" width="<?= $sizes['width'] ?>" height="<?= $sizes['height'] ?>" /> <?php else: ?> <img loading="lazy" src="<?= $image_path ?>" alt="Payment method" /> <?php endif; ?> <?php endforeach ?> </div> </div> <div class="column has-text-centered"> <form method="post"> <input type="hidden" name="lang" value="<?= Yii::$app->language ?>"> <p> <span class="is-size-7"><?= Yii::t('app', 'price') ?>:</span> <span class="is-size-5 has-text-info has-text-weight-bold"><?= $this->context->priceValue ?> <?= $this->context->currency ?></span> </p> <div class="field"> <div class="control has-text-centered"> <input aria-label="Количество" class="input is-large quantity" type="number" min="1" max="20" name="quantity" value="1" required> </div> </div> <div class="field"> <div class="control has-text-centered"> <button class="button is-link buybutton"><?= Yii::t('app', 'Buy') ?></button> </div> </div> </form> </div> </div> </div>