<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;View Profile</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;Profile </div>
    <div id="view_profilebox">
      <div id="view_profile">
        <div style="font-family:Arial, Helvetica, sans-serif;
   font-size:13px; text-align:left;">
          <form id="form1" name="form1" method="post" action="<?php echo Yii::app()->createUrl('site/editprofile'); ?>">
            <table width="388" border="0" cellspacing="2" cellpadding="2">
              <tr>
                <th width="135" scope="row">Full Name</th>
                <td width="8">:</td>
                <td width="229"><?php echo $model->fullname; ?></td>
              </tr>
              <tr>
                <th scope="row">E mail</th>
                <td>:</td>
                <td><?php echo $model->company_email_address; ?></td>
              </tr>
              <tr>
                <th scope="row">Designation</th>
                <td>:</td>
                <td><?php echo $model->designation; ?></td>
              </tr>
              <tr>
                <th scope="row">Company Name</th>
                <td>:</td>
                <td><?php echo $model->company_name; ?></td>
              </tr>
              <tr>
                <th scope="row">Postal Address</th>
                <td>:</td>
                <td><?php echo $model->postal_address; ?></td>
              </tr>
              <tr>
                <th scope="row">ZIP</th>
                <td>:</td>
                <td><?php echo $model->zip; ?></td>
              </tr>
              <tr>
                <th scope="row">Mobile</th>
                <td>:</td>
                <td><?php echo $model->mobile_number; ?></td>
              </tr>
              <tr>
                <th scope="row">Country</th>
                <td>:</td>
                <td><?php echo Country::model()->findByPk($model->country_id)->country; ?></td>
              </tr>
              <tr>
                <th scope="row">City</th>
                <td>:</td>
                <td><?php echo $model->city; ?></td>
              </tr>
              <tr>
                <th scope="row">Industry</th>
                <td>:</td>
                <td><?php echo Industry::model()->findByPk($model->industry_id)->industry; ?></td>
              </tr>
              <tr>
                <th height="56" scope="row">&nbsp;</th>
                <td><input name="" type="submit" value="Edit" /></td>
                <td></td>
              </tr>
            </table>
          </form>
        </div>
      </div>
    </div>
  </div>
</div>
