コード例 #1
0
ファイル: registration.php プロジェクト: fnoorman/dev
<?php

/**
 * Created by PhpStorm.
 * User: Fahmy
 * Date: 11/4/15
 * Time: 3:31 PM
 */
/* @var $this \yii\web\View */
/* @var $content string */
//use Yii;
use yii\helpers\Html;
use yii\helpers\Url;
use common\widgets\Alert;
use common\assets\BaseUnifyAsset;
$urlBase = BaseUnifyAsset::register($this);
$this->beginContent('@frontend/views/layouts/unify/front_page.php');
?>
<div class="wrapper">
    <!--=== Header ===-->
    <div class="header">
        <div class="container">
            <!-- Logo -->
            <a class="logo" href="index.html">
                <img src="<?php 
echo $urlBase->baseUrl;
?>
/img/logo-hybrizy.png" alt="Logo" width="50px">
            </a>
            <!-- End Logo -->
コード例 #2
0
ファイル: profile.php プロジェクト: fnoorman/dev
<?php

/* @var $this \yii\web\View */
/* @var $content string */
use yii\helpers\Html;
use yii\helpers\Url;
use yii\widgets\Breadcrumbs;
use common\assets\BaseUnifyAsset;
use common\widgets\Alert;
$basicUnify = BaseUnifyAsset::register($this);
$this->beginPage();
?>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="<?php 
echo Yii::$app->language;
?>
"> <!--<![endif]-->
<head>
    <meta charset="<?php 
echo Yii::$app->charset;
?>
">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php 
echo Html::csrfMetaTags();
?>
    <title><?php 
echo Html::encode($this->title);
?>