2 $this->
pageTitle=Yii::app()->name .
' - Contact Us';
10 <?php
if(Yii::app()->user->hasFlash(
'contact')): ?>
12 <div
class=
"flash-success">
13 <?php echo Yii::app()->user->getFlash(
'contact'); ?>
19 If you have business inquiries or other questions, please fill out the following form to contact us. Thank you.
24 <?php
$form=$this->beginWidget(
'CActiveForm', array(
26 'enableClientValidation'=>
true,
27 'clientOptions'=>array(
28 'validateOnSubmit'=>
true,
32 <p
class=
"note">Fields with <span
class=
"required">*</span> are required.</p>
34 <?php echo $form->errorSummary($model); ?>
37 <?php echo $form->labelEx($model,
'name'); ?>
38 <?php echo $form->textField($model,
'name',array(
'size'=>60,
'maxlength'=>128)); ?>
39 <?php echo $form->error($model,
'name'); ?>
43 <?php echo $form->labelEx($model,
'email'); ?>
44 <?php echo $form->textField($model,
'email',array(
'size'=>60,
'maxlength'=>128)); ?>
45 <?php echo $form->error($model,
'email'); ?>
49 <?php echo $form->labelEx($model,
'subject'); ?>
50 <?php echo $form->textField($model,
'subject',array(
'size'=>60,
'maxlength'=>128)); ?>
51 <?php echo $form->error($model,
'subject'); ?>
55 <?php echo $form->labelEx($model,
'body'); ?>
56 <?php echo $form->textArea($model,
'body',array(
'rows'=>10,
'cols'=>60)); ?>
57 <?php echo $form->error($model,
'body'); ?>
60 <?php
if(CCaptcha::checkRequirements()): ?>
62 <?php echo $form->labelEx($model,
'verifyCode'); ?>
64 <?php $this->widget(
'CCaptcha'); ?>
66 <?php echo $form->textField($model,
'verifyCode'); ?>
68 <div
class=
"hint">Please enter the letters as they are shown in the image above.
69 <br/>Letters are not
case-sensitive.</div>
70 <?php echo $form->error($model,
'verifyCode'); ?>
74 <div
class=
"row buttons">
75 <?php echo CHtml::submitButton(
'Submit',array(
'class'=>
'button grey')); ?>
78 <?php $this->endWidget(); ?>