<div class="main_content">
<div class="innercontent_outerbox">
    <div class="title-btn-block">
      <h1>My Wallet</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>
        
      </div>
    </div>
  <div class="row">
    <div class="span6">
          <table width="100%" border="0" cellspacing="2" cellpadding="5">
            <tr>
              <td width="52%" align="left" valign="top" bgcolor="#cedce7">Name of the user</td>
              <td width="48%" align="center" valign="top" bgcolor="#cedce7"><strong><?php echo $nameOfUser; ?></strong></td>
            </tr>
            <tr>
              <td align="left" valign="top" bgcolor="#e1eaf0">Total Reward Points</td>
              <td align="center" valign="top" bgcolor="#e1eaf0">
              <?php
			  echo $totalRewardPoints;
			  ?>
              </td>
            </tr>
            <tr>
              <td align="left" valign="top" bgcolor="#e1eaf0">Redeemed Reward Points</td>
              <td align="center" valign="top" bgcolor="#e1eaf0"><?php echo $redeemedRewardPoints; ?></td>
            </tr>
            <tr>
              <td align="left" valign="top" bgcolor="#e1eaf0">Redeemable Reward Points</td>
              <td align="center" valign="top" bgcolor="#e1eaf0"><?php echo $redeemableRewardPoints; ?></td>
            </tr>
          </table>
        </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>
</div>
<?php echo $this->renderPartial('_bottom_common_user_product_group'); ?> 