6 $this->
pageTitle=Yii::app()->name .
' - Contact Us';
14 <?php
if(Yii::app()->user->hasFlash(
'contact')): ?>
16 <div
class=
"flash-success">
17 <?php echo Yii::app()->user->getFlash(
'contact'); ?>
23 If you have business inquiries or other questions, please fill out the following form to contact us. Thank you.
28 <?php
$form=$this->beginWidget(
'CActiveForm', array(
30 'enableClientValidation'=>
true,
31 'clientOptions'=>array(
32 'validateOnSubmit'=>
true,
36 <p
class=
"note">Fields with <span
class=
"required">*</span> are required.</p>
38 <?php echo $form->errorSummary($model); ?>
41 <?php echo $form->labelEx($model,
'name'); ?>
42 <?php echo $form->textField($model,
'name'); ?>
43 <?php echo $form->error($model,
'name'); ?>
47 <?php echo $form->labelEx($model,
'email'); ?>
48 <?php echo $form->textField($model,
'email'); ?>
49 <?php echo $form->error($model,
'email'); ?>
53 <?php echo $form->labelEx($model,
'subject'); ?>
54 <?php echo $form->textField($model,
'subject',array(
'size'=>60,
'maxlength'=>128)); ?>
55 <?php echo $form->error($model,
'subject'); ?>
59 <?php echo $form->labelEx($model,
'body'); ?>
60 <?php echo $form->textArea($model,
'body',array(
'rows'=>6,
'cols'=>50)); ?>
61 <?php echo $form->error($model,
'body'); ?>
64 <?php
if(CCaptcha::checkRequirements()): ?>
66 <?php echo $form->labelEx($model,
'verifyCode'); ?>
68 <?php $this->widget(
'CCaptcha'); ?>
69 <?php echo $form->textField($model,
'verifyCode'); ?>
71 <div
class=
"hint">Please enter the letters as they are shown in the image above.
72 <br/>Letters are not
case-sensitive.</div>
73 <?php echo $form->error($model,
'verifyCode'); ?>
77 <div
class=
"row buttons">
78 <?php echo CHtml::submitButton(
'Submit'); ?>
81 <?php $this->endWidget(); ?>