Exemple #1
0
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>
Exemple #2
0
<?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();
Exemple #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">
Exemple #4
0
<?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();