<div id="sub_menu">
<a href="index.php"> Home</a>&nbsp;&nbsp;<img src="<?php echo Yii::app()->baseUrl; ?>/images/front/1/submenu_13.jpg" width="9" height="10" />&nbsp;&nbsp;&nbsp;Change password</div>
<div id="content">
  <div id="business_solution_leftcontent">
    <?php $this->renderPartial('left_menu');  ?>
    <?php foreach($random as $eachItem): ?>
    <div id="overview_leftimgbox"> 
    	<img src="<?php echo Yii::app()->baseUrl; ?>/media/product_images/thumbs/<?php echo ($eachItem->product_image=='')?'not_available.jpg':$eachItem->product_image; ?>" width="218" height="135" /> 
    </div>
    <?php endforeach; ?>
  </div>
  <div id="overview_rightcontent">
    <div id="business_solution_subheadding"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Change My Password </div>
    <div id="view_profilebox">
      <div id="view_profile">
        <div style="font-family:Arial, Helvetica, sans-serif;
   font-size:13px; text-align:left;">
          <?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'user-form',
	'enableAjaxValidation'=>false,
)); ?>
<?php echo $form->errorSummary($model); ?>
<?php
    foreach(Yii::app()->user->getFlashes() as $key => $message) {
        echo '<div class="flash-' . $key . '">' . $message . "</div>\n";
    }
?>
            <table width="388" border="0" cellspacing="2" cellpadding="2">
              <tr>
                <th width="135" scope="row"><?php echo $form->labelEx($model,'old_password'); ?></th>
                <td width="8">:</td>
                <td width="229"><?php echo $form->passwordField($model,'old_password',array('value'=>'')); ?>
		<?php echo $form->error($model,'old_password'); ?></td>
              </tr>
              <tr>
                <th scope="row"><?php echo $form->labelEx($model,'password'); ?></th>
                <td>:</td>
                <td><?php echo $form->passwordField($model,'password',array('value'=>'')); ?>
		<?php echo $form->error($model,'password'); ?></td>
              </tr>
              <tr>
                <th scope="row"><?php echo $form->labelEx($model,'repeat_password'); ?></th>
                <td>:</td>
                <td><?php echo $form->passwordField($model,'repeat_password',array('value'=>'')); ?>
		<?php echo $form->error($model,'repeat_password'); ?></td>
              </tr>
              <tr>
                <th height="56" scope="row">&nbsp;</th>
                <td>&nbsp;</td>
                <td><?php echo CHtml::submitButton('Save'); ?>
                  <input name="button2" type="reset" id="button2" value="Reset" /></td>
              </tr>
            </table>
          <?php $this->endWidget(); ?>
        </div>
      </div>
    </div>
  </div>
</div>
