Server IP : 103.233.192.212 / Your IP : 18.117.240.120 Web Server : Apache/2 System : Linux sv1.inde.co.th 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 11:57:15 UTC 2021 x86_64 User : sumpatuan ( 1058) PHP Version : 5.5.38 Disable Function : symlink,shell_exec,exec,proc_close,proc_open,popen,system,dl,putenv,passthru,escapeshellarg,escapeshellcmd,pcntl_exec,proc_get_status,proc_nice,proc_terminate,pclose,ini_alter,virtual,openlog,ini_restore MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/sumpatuan/public_html/backup/protected/extensions/bootstrap/theme/views/site/ |
Upload File : |
<?php /* @var $this SiteController */ /* @var $model ContactForm */ /* @var $form TbActiveForm */ $this->pageTitle=Yii::app()->name . ' - Contact Us'; $this->breadcrumbs=array( 'Contact', ); ?> <h1>Contact Us</h1> <?php if(Yii::app()->user->hasFlash('contact')): ?> <?php $this->widget('bootstrap.widgets.TbAlert', array( 'alerts'=>array('contact'), )); ?> <?php else: ?> <p> If you have business inquiries or other questions, please fill out the following form to contact us. Thank you. </p> <div class="form"> <?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm', array( 'id'=>'contact-form', 'type'=>'horizontal', 'enableClientValidation'=>true, 'clientOptions'=>array( 'validateOnSubmit'=>true, ), )); ?> <p class="note">Fields with <span class="required">*</span> are required.</p> <?php echo $form->errorSummary($model); ?> <?php echo $form->textFieldRow($model,'name'); ?> <?php echo $form->textFieldRow($model,'email'); ?> <?php echo $form->textFieldRow($model,'subject',array('size'=>60,'maxlength'=>128)); ?> <?php echo $form->textAreaRow($model,'body',array('rows'=>6, 'class'=>'span8')); ?> <?php if(CCaptcha::checkRequirements()): ?> <?php echo $form->captchaRow($model,'verifyCode',array( 'hint'=>'Please enter the letters as they are shown in the image above.<br/>Letters are not case-sensitive.', )); ?> <?php endif; ?> <div class="form-actions"> <?php $this->widget('bootstrap.widgets.TbButton',array( 'buttonType'=>'submit', 'type'=>'primary', 'label'=>'Submit', )); ?> </div> <?php $this->endWidget(); ?> </div><!-- form --> <?php endif; ?>