Example #1
0
/* @var $content string */
use yii\helpers\Html;
use yii\widgets\Breadcrumbs;
use app\assets\AdminLteAsset;
use app\assets\JsAsset;
use yii\helpers\Url;
use yii\web\Session;
if (Yii::$app->session['themes'] == "") {
    Yii::$app->session['themes'] = "content-bg-gray";
}
AdminLteAsset::register($this);
JsAsset::register($this);
$this->title = "ตงตงทรานสปอร์ต";
$driver_model = new \app\models\Driver();
$truck_act = new \app\models\TruckAct();
$annuities = new app\models\Annuities();
$this->beginPage();
?>
<!DOCTYPE html>
<html lang="<?php 
echo Yii::$app->language;
?>
">
    <head>
        <meta charset="<?php 
echo Yii::$app->charset;
?>
">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <?php 
echo Html::csrfMetaTags();
Example #2
0
/* @var $content string */
use yii\helpers\Html;
use yii\widgets\Breadcrumbs;
use app\assets\DesktopAsset;
use app\assets\JsAsset;
use yii\helpers\Url;
use yii\web\Session;
if (Yii::$app->session['themes'] == "") {
    Yii::$app->session['themes'] = "content-bg-gray";
}
DesktopAsset::register($this);
JsAsset::register($this);
$this->title = "ตงตงทรานสปอร์ต";
$driver_model = new \app\models\Driver();
$truck_act = new \app\models\TruckAct();
$annuities = new app\models\Annuities();
$engin_model = new app\models\EngineOil();
$company_model = new \app\models\Company();
$company = $company_model->find()->one();
$this->beginPage();
?>
<!DOCTYPE html>
<html lang="<?php 
echo Yii::$app->language;
?>
">
    <head>
        <meta charset="<?php 
echo Yii::$app->charset;
?>
">