<link href="<?php echo Yii::app()->baseUrl; ?>/css/bootstrap.css" rel="stylesheet">
<div class="main_content">
<div class="innercontent_outerbox">
  <div class="title-btn-block">
      <h1>Enter your Wallet Password</h1>
      <div class="btn-block">
        <a class="btn btn-theme btn-ep" href="<?php echo Yii::app()->createUrl('site/earnpoints'); ?>">Earn Points</a>
        <a class="btn btn-theme btn-rp" href="<?php echo Yii::app()->createUrl('site/redeempoints'); ?>">Redeem Points</a>
        <a class="btn btn-theme btn-ep" class="request_wallet_password">Request Wallet Password</a>
      </div>
    </div>
  <div class="row">
    <div class="span8">
           <?php $form=$this->beginWidget('CActiveForm', array(
								'id'=>'wallet',
							)); ?>
      	<?php //echo $form->errorSummary($model); ?>
            <table width="388" border="0" cellspacing="2" cellpadding="2">
            <?php/* if(($model->wallet_password=='' || $model->wallet_password=null) && $model->isWalletPaswdRequested=='N') : ?>
              <tr>
                <td colspan="3" scope="row"><h1><a href="javascript:;" class="request_wallet_password">Request a wallet password</a></h1></td>
              </tr>
              <?php endif;*/ ?>
              <tr>
                <th width="135" scope="row">Wallet Password</th>
                <td width="8">:</td>
                <td width="229">
				<?php echo $form->passwordField($model,'wallet_password',array('style'=>'top: 215px;')); ?>
				<?php echo $form->error($model,'wallet_password'); ?></td>
              </tr>
              <tr>
                <th height="56" scope="row">&nbsp;</th>
                <td>&nbsp;</td>
                <td><?php echo CHtml::submitButton('Go'); ?></td>
              </tr>
            </table>
          <?php $this->endWidget(); ?>
    </div>
  </div>
  <p><img alt="" src="http://www.dlinkmea.com/partner/uploader/partner reward_1384936031.png" style="width: 100%;margin: auto;display: block;max-width: 700px;" /></p>
        <p>&nbsp;</p>
</div>
<?php echo $this->renderPartial('_bottom_common_user_product_group'); ?> 