示例#1
0
<?php

/* @var $model ProAgent */
Yii::app()->clientScript->registerScript(time(), "\n\tapp.setupAgentRegisterPage();\n", CClientScript::POS_LOAD);
$this->beginWidget('system.web.widgets.CClipWidget', array('id' => 'sidebar'));
?>
	<div class="paper">
		<img src="<?php 
echo Yii::app()->theme->baseUrl;
?>
/img/paper-top.jpg" alt="" class="img-responsive">
		<div class="content clearfix">
			<?php 
echo StaticBlock::getBlockContent('unique-features');
?>
		</div>	
		<img src="<?php 
echo Yii::app()->theme->baseUrl;
?>
/img/paper-bottom.jpg" alt="" class="img-responsive">
	</div>
<?php 
$this->endWidget();
?>

<?php 
$form = $this->beginWidget('CActiveForm', array('id' => 'service-registration-form', 'enableClientValidation' => true, 'clientOptions' => array('validateOnSubmit' => true), 'htmlOptions' => array('enctype' => 'multipart/form-data', 'class' => 'box-2 white-form', 'style' => 'padding: 8px')));
?>
	<h1 class="green-pane">Agent Account Registration</h1>
	<p><span class="errorMessage">*</span> Indicates required fields</p>