<div class="container"> <div class="search-row"> <div class="container"> <div class="row"> <div class="col-lg-12 col-md-12"> <?php $form = yii\widgets\ActiveForm::begin(['action' => ['/g-search/gsearch'], 'method' => 'get', 'options' => ['class' => 'form-inline', 'style' => 'margin: 0 auto; float: none; width: 70%']]); ?> <div class="form-group"> <?php echo $form->field($searchModel, 'cat')->dropDownList(common\models\Category::getHierarchy(), ['prompt' => '-- All Category --', 'class' => 'form-control input-lg', 'style' => 'width: 250px;'])->label(false); ?> </div> <div class="form-group"> <?php echo $form->field($searchModel, 'keyword')->textInput(['class' => 'form-control input-lg', 'autocomplete' => 'off', 'style' => 'width: 420px;'])->label(false); ?> </div> <?php echo yii\helpers\Html::button('<span class="fa fa-search"></span> Search', ['class' => 'btn btn-lg btn-orange tooltip-test mainserarchsubmit', 'style' => 'margin-top: -10px;', 'type' => 'submit']); ?> <?php \yii\widgets\ActiveForm::end(); ?> </div> </div> </div> </div> </div>
/** * @return \yii\db\ActiveQuery */ public function getTNameWithMedia() { $image = yii\helpers\Html::img('@web/images/cards/info/info_docs' . rand(0, 9) . '.jpg', ['style' => 'width:100%; height:110px; margin: 5px 0 10px']); if ($this->hint != null) { return $this->label . '<span data-container="body" data-toggle="popover" data-placement="top" data-content="' . $this->hint . '"> <i class="fa fa-question-circle gray-color"></i> </span>' . $image; } else { return $this->label . $image; } }
?> <!-- /.item --> <?php //if($model->sisa>0){ ?> <li class="item" style="<?php if ($index > 10000) { ?> border-top: 1px whitesmoke solid;<?php } ?> padding: 10px;"> <div class="product-info"> <label> <?php echo yii\helpers\Html::a($model->number, ['/inventory/transfer/view', 'id' => $model->id]); ?> <?php echo '/ ' . $model->Date; ?> </label> <!-- <span class="label label-success pull-right"><?php echo ''; ?> </span>--> <span class="product-description"> <?php echo 'Source: ' . $model->branch->name; ?> <?php echo 'Destination: ' . $model->branchDest->name . '<br>';
echo \yii\helpers\Html::a('Logout (' . $user->identity->username . ')', ['/site/logout'], ['class' => 'btn btn-primary pull-right', 'data-method' => 'post']); ?> </div> <div class="container-fluid text-center text-uppercase"> <h2>Simple TODO Lists</h2> <h4>From ruby garge</h4> </div> <div class="container-fluid todolists"> <?php include "todolists.php"; ?> </div> <div class="container-fluid"> <div class="row text-center"> <?php echo yii\helpers\Html::a('Add TODO List', ['/todolists/create'], ['class' => 'btn btn-primary', 'type' => 'button', 'data-toggle' => 'modal', 'data-target' => '#modal']); ?> </div> </div> <div class="modal fade" id="modal" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog modal-lg"> <div class="modal-content"> </div><!-- /.modal-content --> </div><!-- /.modal-dialog --> </div><!-- /.modal --> <div class="modal" id="error"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <div class="modal-header"> <div class="modal-title"> <button type="button" class="close" data-dismiss="modal">×</button>
<ul> <?php foreach ($albums as $album) { ?> <li><?php echo yii\helpers\Html::a($album->name, ['/photo/album/show', 'id' => $album->id]); ?> </li> <?php } ?> </ul>
Пользователь </br> Кошельки </br> <h3>Ежемесячно <small>(доходы / расходы)</small> <span class="label label-default">New</span></h3> <!-- Tab panes --> <div class="tab-content"> <div role="tabpanel" class="tab-pane active" id="home"> <div class="panel panel-default" style="margin: 10px auto;"> <div class="panel-body"> <?php echo yii\grid\GridView::widget(['dataProvider' => $dataProvider, 'columns' => [['attribute' => 'catalog.name', 'label' => 'Статья', 'format' => 'html', 'value' => function ($model) { return yii\helpers\Html::a($model->catalog->name, yii\helpers\Url::toRoute(['catalog/view', 'id' => $model->catalog->id])); }], ['attribute' => 'amount', 'label' => 'Размер, ₽'], ['attribute' => 'period.name', 'label' => 'Период'], ['attribute' => 'source.name', 'label' => 'Источник'], ['attribute' => 'date', 'format' => 'date', 'label' => 'Дата начала'], ['attribute' => 'enddate', 'label' => 'Окончание', 'format' => 'html', 'value' => function ($model) { return $model->enddate ? $model->enddate : "-"; }]], 'emptyText' => '-', 'showFooter' => true]); ?> </div> </div> </div> <div role="tabpanel" class="tab-pane" id="profile">2..</div> <div role="tabpanel" class="tab-pane" id="messages">.3..</div> <div role="tabpanel" class="tab-pane" id="settings">.4..</div> </div> </div>
<?php use app\modules\search\SearchAssets; $query = yii\helpers\Html::encode($query); $this->params['breadcrumbs'][] = ['label' => 'Блог', 'url' => ['/blog']]; $this->title = "Результаты поиска по запросу \"{$query}\""; $this->params['breadcrumbs'][] = $this->title; SearchAssets::register($this); $this->registerJs("jQuery('.search').highlight('{$query}');"); ?> <div class="row"> <?php if (!empty($hits)) { foreach ($hits as $hit) { ?> <h3><a href="<?php echo yii\helpers\Url::to($hit->url, true); ?> "><?php echo $hit->title; ?> </a></h3> <p class="search"><?php echo $hit->body; ?> </p> <hr/> <?php } } else {
<?php use yii\grid\GridView; use kartik\icons\Icon; /* @var $this yii\web\View */ $this->title = '首页'; echo GridView::widget(['dataProvider' => $dataProvider, 'columns' => [['class' => 'yii\\grid\\CheckboxColumn'], ['class' => 'yii\\grid\\SerialColumn'], 'id', 'username', 'updated_at' => ['class' => 'yii\\grid\\DataColumn', 'value' => function ($data) { return Yii::$app->formatter->asDatetime($data->updated_at, 'yyyy-MM-dd H:i:s'); }, 'attribute' => 'updated_at', 'label' => '更新时间'], ['class' => 'yii\\grid\\ActionColumn', 'header' => '操作', 'template' => '{view}{update}{delete}{audit}', 'buttons' => ['audit' => function ($url, $model, $key) { return $model->status !== 'editable' ? yii\helpers\Html::a('<span class="glyphicon glyphicon-user"></span>', $url, ['title' => '审核']) : ''; }], 'headerOptions' => ['width' => '80']]]]); ?> <?php Icon::map($this, Icon::FA); echo Icon::show('home', ['class' => 'fa-2x']); echo Icon::show('leaf', ['class' => 'fa-2x'], Icon::FA);
<?php use yii\helpers\Url; ?> <div class="btn-group"> <button data-toggle="dropdown" class="btn btn-warning btn-xs dropdown-toggle"> <?php echo Yii::t('common', $current->name); ?> <span class="caret"></span> </button> <ul class="dropdown-menu"> <?php foreach ($languages as $language) { ?> <li> <?php echo yii\helpers\Html::a(Yii::t('common', $language->name), ['language' => $language->lang_id]); ?> </li> <?php } ?> </ul> </div>
?> <div class="modal-header"> <button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button> <h2><?php echo $book->name; ?> </h2> </div> <div class="modal-body"> <?php if ($book->preview) { ?> <div> <?php echo yii\helpers\Html::img($book->previewurl, ['width' => '300px']); ?> </div> <?php } ?> <div> Автор: <?php echo $book->authorname; ?> </div> <div> Дата выхода книги: <?php echo $book->date;
var progress = parseInt(data.loaded / data.total * 100, 10); if (progress != 100) { // Fix: remove focus from upload button to hide tooltip $('#post_submit_button').focus(); // hide form buttons $('.btn_container').hide(); } }); </script> <?php // Creates a list of already uploaded Files echo \humhub\modules\file\widgets\FileUploadList::widget(array('uploaderId' => 'contentFormFiles')); ?> </div> <?php \yii\helpers\Html::hiddenInput("containerGuid", Yii::$app->user->guid); \yii\helpers\Html::hiddenInput("containerClass", get_class(new \humhub\modules\user\models\User())); ?> <?php echo yii\helpers\Html::submitButton('Submit', array('class' => ' btn btn-info pull-right', 'style' => 'margin-top: 5px;')); ?> </div> </div> </div> </div> </div> <?php \yii\widgets\ActiveForm::end();
<?php use yii\helpers\Inflector; ?> <div class="crud-default-index"> <h1><?php echo $this->context->action->uniqueId; ?> </h1> <div class="box"> <div class="box-header"> <h3 class="box-title">Module Controllers</h3> </div> <div class="box-body"> <?php foreach (\Yii::$app->getModule('admin')->getControllers($this->context->module->id) as $i => $controller) { echo yii\helpers\Html::a(Inflector::camel2words(Inflector::id2camel($controller)), ["/{$this->context->module->id}/{$controller}"], ['class' => 'col-sm-3 btn btn-lg btn-default btn-flat']); } ?> <div class="clearfix"></div> </div> <!-- /.box-body --> </div> </div>
<?php /** * @var yii\web\View $this */ $this->title = $title; $this->params['breadcrumbs'][] = ['label' => 'Docs', 'url' => ['site/docs']]; $this->params['breadcrumbs'][] = yii\helpers\Html::encode($this->title); ?> <?php echo $markdown;
if ($logo->hasImage()) { ?> <a href="<?php echo yii\helpers\Url::to('/'); ?> "> <img class="img-rounded" src="<?php echo $logo->getUrl(); ?> " id="img-logo"/> </a> <br> <?php } else { ?> <h1 id="app-title" class="animated fadeIn"><?php echo yii\helpers\Html::encode(Yii::$app->name); ?> </h1> <?php } } ?>
/** * Copyright (c) 2016. Lorem ipsum dolor sit amet, consectetur adipiscing elit. * Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan. * Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna. * Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sagittis ligula eget metus. * Vestibulum commodo. Ut rhoncus gravida arcu. */ /** * Created by PhpStorm. * User: alejandro.sosa * Date: 24/06/2016 * Time: 14:48 */ use kartik\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel common\models\buscadores\UsuariosBuscador */ /* @var $dataProvider yii\data\ActiveDataProvider */ ?> <?php echo GridView::widget(['dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'layout' => "\n{items}\n", 'columns' => [['header' => 'Id', 'attribute' => 'idusuario', 'filter' => false, 'mergeHeader' => true], ['header' => 'Propietario', 'value' => function ($data) { return $data->nombre; }, 'filter' => false, 'mergeHeader' => true], ['header' => 'Municipio', 'value' => function ($data) { return $data->municipios->nombre; }, 'filter' => false, 'mergeHeader' => true], ['header' => 'Correo', 'attribute' => 'correo', 'filter' => false, 'mergeHeader' => true], ['attribute' => 'fechacreado', 'filter' => false, 'value' => function ($data) { return $data->fechacreado; }, 'mergeHeader' => true], ['class' => '\\kartik\\grid\\ActionColumn', 'template' => '{view}', 'width' => '40px', 'header' => '', 'buttons' => ['view' => function ($url, $model) { $url = Yii::$app->urlManager->createUrl(['usuarios/detalle', 'id' => $model->idusuario]); $options = ['title' => 'Ver usuario']; return yii\helpers\Html::a('<span class="glyphicon glyphicon-share-alt"></span>', $url, $options); }]]]]);
echo kartik\tabs\TabsX::widget(['items' => $list, 'encodeLabels' => false]); //\yii\widgets\Pjax::end(); /* $this->widget('zii.widgets.jui.CJuiTabs', array( 'tabs' => $list, 'headerTemplate' => '<li><a href="{url}" title="{title}">{title}</a></li>', // additional javascript options for the tabs plugin 'options' => array( 'selected'=>$type, 'class'=>'nav nav-tabs', //'collapsible' => true, ), )); */ app\widgets\MiniForm::end(); echo yii\helpers\Html::hiddenInput("accType", $type); ?> <?php $java = <<<JS \$(document).on("click", '#sidebar > ul > li > a', function (e) { e.preventDefault(); console.log(\$(".nav-tabs > li.active > a").data('id')); window.location = baseAddress +"/accounts/create/" + \$(".nav-tabs > li.active > a").data('id'); //return false; } );
<div class="container" style="margin-top: 160px; text-align: center"> <div class="col-lg-8 col-lg-offset-2"> <?php echo Yii::$app->session->getFlash('success'); ?> <div style="font-size: 22px"> <p> Iklan Anda akan tayang setelah dilakukan pengecekan berdasarkan syarat dan ketentuan diadoo.<br> Pemasangan iklan diluar jam kerja akan ditinjau pada jam kerja hari berikutnya. diadoo.com </p> </div> <br> <div> <?php echo yii\helpers\Html::a('View Your Classified', ['detail-classified', 'id' => $model->id], ['class' => 'btn btn-primary btn-large d-font-size']); ?> OR <?php echo yii\helpers\Html::a('Post Classified Again', ['post-classified'], ['class' => 'btn btn-orange btn-large d-font-size']); ?> </div> </div> </div>
/* @var $this \yii\web\View */ ?> <div class="container container-error"> <div class="panel panel-danger"> <div class="panel-heading"> <?php echo Yii::t('error', "<strong>Login</strong> required"); ?> </div> <div class="panel-body"> <strong><?php echo yii\helpers\Html::encode($message); ?> </strong> <br /> <hr> <?php echo yii\helpers\Html::a(Yii::t('base', 'Login'), Yii::$app->user->loginUrl, array('class' => 'btn btn-success')); ?> <a href="javascript:history.back();" class="btn btn-primary pull-right"><?php echo Yii::t('base', 'Back'); ?> </a> </div> </div> </div>
$this->registerJsFile($assetsPath . '/js/ng-never-ending-story.js'); /* ładuję moduł tiles-gallery */ $this->registerJsFile($assetsPath . '/js/ng-tiles-gallery.js'); /* ładuję moduł imageonload */ $this->registerJsFile($assetsPath . '/js/ng-imageonload.js'); /* ładuję skrypt fullScreenMode*/ $this->registerJsFile($assetsPath . '/js/fullscreenmode.js'); ?> <div ng-app="myApp" ng-controller="photosCtrl"> <div id="tiles-galery" class="col-lg-12 tiles-galery scrollbar-light" never-ending-story="nextPhotos()" jquery-scrollbar="jqueryScrollbarOptions"> <div class="row tiles" ng-repeat="photo in photos" ng-include="'tile'"></div> </div> <div style="clear: both"></div> <div ng-if="loadingPage" class="loadnextpage"> <?php echo yii\helpers\Html::img('\\images\\loadbar1.gif'); ?> </div> <div ng-if="end" class="end_tail"> Koniec </div> <script type="text/ng-template" id="tile"> <?php echo $this->render('_ng-tile'); ?> </script> <script type="text/ng-template" id="dialogContent"> <?php echo $this->render('_ng-dialog-content'); ?> </script>
<?php if (BreadcrumbsPanel::$links) { ?> <?php echo Breadcrumbs::widget(\yii\helpers\ArrayHelper::merge($widget->breadcrumbsOptions, ['options' => [], 'links' => BreadcrumbsPanel::$links])); ?> <?php } ?> <?php if ($widget->backLink) { ?> <?php echo yii\helpers\Html::a($widget->backLink, Yii::$app->user->getReturnUrl(), ['class' => 'back-link']); ?> <?php } ?> </div> </div> <div class="content-panel"> <div class="breadcrumbs-cell"> <?php echo $widget->content; ?> </div> </div> </div>
echo \yii\helpers\Html::a($task->title, ['task/view', 'id' => $task->id], ['data-toggle' => 'modal', 'data-target' => '#modal', 'class' => $task->done ? 'task-done' : '']); ?> <div class="params"> <?php echo \yii\helpers\Html::tag('span', $task->prioritize . ' приоритет', ['class' => 'prioritize']); ?> <?php if ($task->dedline) { echo \yii\helpers\Html::tag('span', 'Закончить до: ' . $task->dedline, ['class' => 'dedline']); } ?> </div> </div> <div class="col-xs-5 col-sm-3 col-md-3 text-center"> <div class="btn-group "> <?php echo yii\helpers\Html::a('', ['/task/increase-prioritize', 'id' => $task->id], ['name' => 'increasePrioritize', 'class' => 'btn btn-half-l btn-default glyphicon glyphicon-arrow-up']); ?> <?php echo yii\helpers\Html::a('', ['/task/decrease-prioritize', 'id' => $task->id], ['name' => 'increasePrioritize', 'class' => 'btn btn-half-r btn-default glyphicon glyphicon-arrow-down']); ?> <?php echo yii\helpers\Html::a('', ['/task/update', 'id' => $task->id], ['class' => 'btn btn-default glyphicon glyphicon-pencil', 'data-toggle' => 'modal', 'data-target' => '#modal']); ?> <?php echo yii\helpers\Html::a('', ['/task/delete', 'id' => $task->id], ['class' => 'btn btn-default glyphicon glyphicon-trash', 'name' => 'delete']); ?> </div> </div> </li>
echo yii\jui\DatePicker::widget(['name' => 'date1', 'value' => $date1, 'language' => 'th', 'dateFormat' => 'yyyy-MM-dd', 'options' => ['placeholder' => '', 'class' => 'form-control', 'changeMonth' => true, 'changeYear' => true, 'yearRange' => '1996:2099', 'showOn' => 'button', 'buttonImageOnly' => true, 'buttonText' => 'Select date']]); ?> <!-- /input-group --> </div> <!-- /.col-lg-3 --> <div class="col-md-3"> <?php echo yii\jui\DatePicker::widget(['name' => 'date2', 'value' => $date2, 'language' => 'th', 'dateFormat' => 'yyyy-MM-dd', 'options' => ['placeholder' => '', 'class' => 'form-control', 'changeMonth' => true, 'changeYear' => true, 'yearRange' => '1996:2099', 'showOn' => 'button', 'buttonImageOnly' => true, 'buttonText' => 'Select date']]); ?> <!-- /input-group --> </div> <!-- /.col-lg-3 --> <div class="col-md-3"> <?php $list = yii\helpers\ArrayHelper::map(app\models\Hospname::find()->all(), 'id', 'hospname'); echo yii\helpers\Html::dropDownList('hospcode', $hospcode, $list, ['prompt' => 'เลือกสถานพยาบาล', 'class' => 'form-control']); ?> </div> <div class="col-md-3"> <div class="input-group"> <button class='btn btn-success'>ประมวลผล</button> </div> </div> </div> <!-- /.row --> </form>
<?php $this->title = "ปฏิทินการเดินทางไปราชการ"; use yii2fullcalendar\yii2fullcalendar; use yii\helpers\Url; ?> <div class="box box-info box-solid"> <div class="box-header with-border"> <center><h3><?php echo yii\helpers\Html::encode($this->title); ?> </h3></center> </div> <div class="box-body"> <?php echo yii2fullcalendar::widget(['options' => ['lang' => 'th'], 'header' => ['left' => 'prev,next today', 'center' => 'title', 'right' => 'month,agendaWeek,agendaDay'], 'clientOptions' => ['timeFormat' => 'H:mm'], 'ajaxEvents' => Url::to(['/mission/default/jsoncalendar'])]); ?> </div> </div>
<div class="container"> <div class="panel panel-default"> <div class="panel-heading"> <strong>Your email is not recognised as being from one of our site partners</strong> </div> <div class="panel-body"> <strong><?php echo yii\helpers\Html::encode($message); ?> </strong> <br /> Have you tried joining TeachConnect using your institutional email address? This will typically be your email address that ends with ".edu.au". For example, if you're a pre-service teacher then this will be your university account. <br /> <br /> If you still can't log in and want to take part in TeachConnect then please do get in touch with us. Write to <a href="mailto:info@teachconnect.edu.au">info@teachconnect.edu.au</a> and let us know a bit about yourself - we'll get in touch with you soon. <br /> <br /> Thanks for your interest in TeachConnect!<br /> <hr> <a href="javascript:history.back();" class="btn btn-primary pull-right"><?php echo Yii::t('base', 'Back'); ?> </a> </div> </div> </div>
</div> <div class="col-sm-6"> <!-- Default box --> <div class="box"> <div class="box-header"> <h3 class="box-title">Documentation</h3> </div> <div class="box-body"> <div class="alert alert-info"> <i class="fa fa-warning"></i> <b>Notice!</b> Use the <i>yii2-apidoc</i> extension to create the HTML documentation for this application. </div> </div> <!-- /.box-body --> <div class="box-footer"> <small>Need help? Get <?php echo yii\helpers\Html::a('support', 'mailto:' . \Yii::$app->params['supportEmail']); ?> . </small> </div> <!-- /.box-footer--> </div> <!-- /.box --> </div> </div> <?php }
<h1><?php echo yii\helpers\Html::encode($this->title); ?> </h1> <?php $form = yii\bootstrap\ActiveForm::begin(['id' => 'forgot-form', 'options' => ['class' => 'form-horizontal'], 'fieldConfig' => ['template' => "{label}\n<div class=\"col-lg-4\">{input}\n{hint}</div>\n<div class=\"col-lg-4\">{error}</div>", 'labelOptions' => ['class' => 'col-lg-1 control-label']]]); ?> <?php echo $form->field($model, 'email')->hint(Yii::t('app', 'Enter your email. We\'ll send further instructions to recover your password')); ?> <div class="form-group"> <div class="col-lg-offset-1 col-lg-11"> <?php echo yii\helpers\Html::submitButton(Yii::t('app', 'Send'), ['class' => 'btn btn-primary', 'name' => 'login-button']); ?> </div> </div> <?php yii\bootstrap\ActiveForm::end(); ?> <?php } ?> </div>
<?php if (Yii::$app->user->identity->isAdmin) { ?> <div class="row"> <div class="col-sm-6"> <!-- Default box --> <div class="box"> <div class="box-header"> <h3 class="box-title">Modules</h3> </div> <div class="box-body"> <?php foreach (\Yii::$app->getModules() as $name => $m) { $module = \Yii::$app->getModule($name); echo yii\helpers\Html::a($module->id, ['/' . $module->id], ['class' => 'btn btn-default btn-flat']); } ?> </div> <!-- /.box-body --> <div class="box-footer"> <small>Registered in application from configuration or bootstrapping.</small> </div> <!-- /.box-footer--> </div> <!-- /.box --> </div> <div class="col-sm-6"> <!-- Default box --> <div class="box">
<?php $this->params['breadcrumbs'][] = ['label' => 'แพทย์แผนไทย', 'url' => ['knott/index']]; $this->params['breadcrumbs'][] = 'รายงานอันดับการจ่ายยาสมุน'; $this->title = 'DHDC-รายงานแพทย์แผนไทย'; ?> <div class='well'> <form method="POST"> สถานบริการ: <?php $list = yii\helpers\ArrayHelper::map(frontend\models\ChospitalAmp::find()->all(), 'hoscode', 'hosname'); echo yii\helpers\Html::dropDownList('hospcode', $hospcode, $list, ['prompt' => 'ทุกสถานบริการ']); ?> ระหว่าง: <?php echo yii\jui\DatePicker::widget(['name' => 'date1', 'value' => $date1, 'language' => 'th', 'dateFormat' => 'yyyy-MM-dd', 'clientOptions' => ['changeMonth' => true, 'changeYear' => true]]); ?> ถึง: <?php echo yii\jui\DatePicker::widget(['name' => 'date2', 'value' => $date2, 'language' => 'th', 'dateFormat' => 'yyyy-MM-dd', 'clientOptions' => ['changeMonth' => true, 'changeYear' => true]]); ?> <button class='btn btn-danger'>ประมวลผล</button> </form> </div> <a href="#" id="btn_sql">ชุดคำสั่ง</a> <div id="sql" style="display: none"><?php echo $sql; ?> </div>
echo yii\helpers\Html::activeTextInput($model, "phone", ['placeholder' => ""]); ?> </div> <div class="yybmpc-bm"><label>专业:</label> <?php echo yii\helpers\Html::activeTextInput($model, "type", ['placeholder' => ""]); ?> </div> <div class="yybmpc-bm-bz"><label>备注:</label> <?php echo yii\helpers\Html::activeTextArea($model, "content", ['class' => 'yybmpc-bz', 'placeholder' => ""]); ?> </div> <?php echo yii\helpers\Html::errorSummary($model); ?> <div class="yybmpc-an"><span><input type="submit" class="yybmpc-tj" value="立即报名"></span><span><input type="reset" class="yybmpc-cz" value="重置"></span></div> </div> <?php ActiveForm::end(); ?> <div class="clear"></div> </div> </div> <div class="container-right f-r"> <?php $action = Yii::$app->controller->action->id; if ($action == 'about') {
<?php echo $form->field($model, 'username'); ?> <?php echo $form->field($model, 'password')->passwordInput(); ?> <?php echo $form->field($model, 'rememberMe')->checkbox(); ?> <div class="form-group"> <div class="col-lg-offset-1 col-lg-11"> <?php echo yii\helpers\Html::submitButton(Yii::t('app', 'Login'), ['class' => 'btn btn-primary', 'name' => 'login-button']); ?> <?php echo yii\helpers\Html::a(Yii::t('app', 'Forgot password?'), ['forgot'], ['class' => 'btn btn-link']); ?> </div> </div> <?php ActiveForm::end(); ?> </div>