82 lines
2.8 KiB
PHP
Executable File
82 lines
2.8 KiB
PHP
Executable File
<?php
|
|
|
|
/* @var $this yii\web\View */
|
|
/* @var $form yii\bootstrap\ActiveForm */
|
|
/* @var $model \frontend\models\ContactForm */
|
|
|
|
use yii\helpers\Html;
|
|
use yii\bootstrap\ActiveForm;
|
|
use yii\captcha\Captcha;
|
|
|
|
$this->title = Yii::t('frontend','Contact');
|
|
$this->params['breadcrumbs'][] = $this->title;
|
|
?>
|
|
<div class="site-contact">
|
|
<div class="row">
|
|
<div class="col-lg-5">
|
|
<p>
|
|
<?= Html::encode(Yii::t('frontend','Page:Contact Tips')) ?>
|
|
</p>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<?php $form = ActiveForm::begin(['id' => 'contact-form']); ?>
|
|
<?= $form->field($model, 'name')->textInput(['autofocus' => true]) ?>
|
|
<?= $form->field($model, 'email') ?>
|
|
<?= $form->field($model, 'subject') ?>
|
|
<?= $form->field($model, 'body')->textarea(['rows' => 6]) ?>
|
|
<?= $form->field($model, 'verifyCode')->widget(Captcha::className(), [
|
|
'template' => '<div class="row"><div class="col-lg-3">{image}</div><div class="col-lg-6">{input}</div></div>',
|
|
]) ?>
|
|
<div class="form-group">
|
|
<?= Html::submitButton(Yii::t('frontend','Submit'), ['class' => 'btn btn-primary', 'name' => 'contact-button']) ?>
|
|
</div>
|
|
<?php ActiveForm::end(); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-7">
|
|
<div class="jumbotron" style="background-color:#eee;">
|
|
<div class="container-fluid">
|
|
<div class="row-fluid clearfix">
|
|
|
|
<div class="col-lg-6">
|
|
<div class="thumbnail">
|
|
<img alt="300x200" src="http://public.hiluker.com/hiluker/qrcode-hiluker.jpg"/>
|
|
<div class="caption" contenteditable="true">
|
|
<p>
|
|
hiluker
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-6">
|
|
<div class="thumbnail">
|
|
<img alt="300x200" src="http://public.hiluker.com/luker_fm2.jpg"/>
|
|
<div class="caption" contenteditable="true">
|
|
<p>
|
|
fm453
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<p>
|
|
QQ:393213759
|
|
<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=393213759&site=qq&menu=yes">
|
|
<img border="0" src="http://wpa.qq.com/pa?p=2:393213759:51" alt="点击联系作者(方少)" title="点击联系作者(方少)"/>
|
|
</a>
|
|
QQ:1280880631
|
|
<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=393213759&site=qq&menu=yes">
|
|
<img border="0" src="http://wpa.qq.com/pa?p=2:1280880631:51" alt="点击联系工作室" title="点击联系作者团队"/>
|
|
</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|