%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 14.207.165.8 / Your IP : 216.73.216.26 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/eoffice/frontend/modules/qrdata/views/default/ |
Upload File : |
<?php
use yii\helpers\Html;
$path_parts = pathinfo($model->filename);
?>
<div class="m-portlet m-portlet--head-overlay m-portlet--full-height m-portlet--rounded-force">
<div class="m-portlet__head m-portlet__head--fit">
<div class="m-portlet__head-caption">
<div class="m-portlet__head-title">
<h3 class="m-portlet__head-text m--font-light">
</h3>
</div>
</div>
</div>
<div class="m-portlet__body">
<div class="m-widget28">
<div class="m-widget28__pic m-portlet-fit--sides"style="background-color: #ffffff;">
<div style="padding: 20px;"><?= Html::a(Html::img('@front/qrfiles/' . $model->qrcode, ['class' => 'img-fluid']), '@front/qrfiles/' . $model->qrcode, [
'data-pjax' => '0',
'target' => '_blank',
'data-toggle' => 'tooltip',
'title' => $model->title,
]);?></div>
</div>
<div class="m-widget28__container">
<div class="m-widget28__tab tab-content">
<div id="menu11" class="m-widget28__tab-container tab-pane active">
<div class="m-widget28__tab-items">
<div class="m-widget28__tab-item">
<span>
เรื่อง
</span>
<span>
<?= $model->title ?>
</span>
</div>
<div class="m-widget28__tab-item">
<span>
ชนิด QR CODE
</span>
<span>
<?php if ($model->type === '0') { ?>
ไฟล์เอกสาร
<?php } else { ?>
Link URL
<?php } ?>
</span>
</div>
<div class="m-widget28__tab-item">
<span>
รายละเอียด
</span>
<span>
<?= $model->comment ?>
</span>
</div>
<div class="m-widget28__tab-item">
<span style="text-align: center;">
<?php if ($model->type === '0') { ?>
<?= Html::a('ดาวน์โหลดไฟล์', '/qrdata/default/download?id=' . $model->id, ['class' => 'btn m-btn--pill btn-outline-info m-btn m-btn--custom', 'target' => '_blank']); ?>
<?php } else { ?>
<?= Html::a('ไปที่ URL', $model->link, ['class' => 'btn m-btn--pill btn-outline-info m-btn m-btn--custom', 'target' => '_blank']); ?>
<?php } ?>
</span>
</div>
<div class="m-widget28__tab-item">
<span>
เพิ่มเมื่อวันที่
</span>
<span>
<?= Yii::$app->formatter->asDateTime($model->created_at, 'php:d F Y เวลา H:i น.'); ?>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>