示例#1
0
文件: view.php 项目: cakpep/spk-tht
echo '<img src=adm/uploads/artikel/' . $artikel_gbr . ' />';
?>
                                
                </div>
                <?php 
echo $model->isi;
?>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-12">

            <?php 
$jcoment = count($model->artikelKomentars);
Panel::begin(['title' => $jcoment . ' Komentar', 'type' => Panel::TYPE_DEFAULT]);
?>
               
                    <div class="actionBox">
                        <ul class="commentList">
                             <?php 
foreach ($model->artikelKomentars as $value) {
    $gbr = !empty($value->user->userProfil->foto) ? $value->user->userProfil->foto : 'images.png';
    ?>

                                <li>
                                    <div class="commenterImage">
                                      <?php 
    echo '<img src="uploads/foto_profil/' . $gbr . '" />';
    ?>
                                    </div>
示例#2
0
文件: signup.php 项目: cakpep/spk-tht
<?php

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use frontend\widgets\Panel;
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\SignupForm */
$this->title = 'Signup';
$this->params['breadcrumbs'][] = $this->title;
Panel::begin(['title' => 'Login', 'type' => Panel::TYPE_DEFAULT]);
?>
<div class="site-signup">
    <h1><?php 
echo Html::encode($this->title);
?>
</h1>

    <div class="row">
        <div class="col-lg-5">
            <?php 
$form = ActiveForm::begin(['id' => 'form-signup']);
?>
                <?php 
echo $form->field($model, 'username');
?>
                <?php 
echo $form->field($model, 'email');
?>
                <?php 
echo $form->field($model, 'password')->passwordInput();
示例#3
0
<?php

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use frontend\widgets\Panel;
$this->title = 'ganti password';
$this->params['breadcrumbs'][] = $this->title;
Panel::begin(['title' => $this->title, 'type' => Panel::TYPE_DEFAULT]);
?>
<div class="site-reset-password">
    
    <p>Masukan Passowrd Baru Anda.</p>

    <div class="row">
        <div class="col-lg-5">
            <?php 
$form = ActiveForm::begin();
?>

                <?php 
echo $form->field($model, 'password_lama')->passwordInput()->label('Masukan Passowrd lama anda');
?>
                <?php 
echo $form->field($model, 'password')->passwordInput()->label('Passowrd Baru');
?>
                <?php 
echo $form->field($model, 'password_ulang')->passwordInput()->label('Ulangi Passowrd Baru');
?>


                <div class="form-group">
示例#4
0
文件: info.php 项目: cakpep/spk-tht
<?php

use yii\helpers\Html;
use frontend\widgets\Panel;
?>
	<?php 
Panel::begin(['title' => $data->judul, 'type' => Panel::TYPE_DEFAULT]);
echo $data->isi;
?>






<?php 
Panel::end();