<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;Edit Profile</div>
<div id="content">
  <div id="business_solution_leftcontent">
    <?php $this->renderPartial('left_menu');  ?>
    <?php $this->renderPartial('pages/leftcontent'); ?>
  </div>
  <div id="overview_rightcontent">
    <div id="business_solution_subheadding"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Edit Profile </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,
)); ?>
            <table width="150%" border="0" cellspacing="2" cellpadding="2">
              <tr>
                <th width="40%" scope="row"><?php echo $form->labelEx($model,'fullname'); ?></th>
                <td width="10%">:</td>
                <td width="45%"><?php echo $form->textField($model,'fullname'); ?>
                <?php echo $form->error($model,'fullname'); ?></td>
              </tr>
              <tr>
                <th scope="row"><?php echo $form->labelEx($model,'company_email_address'); ?></th>
                <td>:</td>
                <td><?php echo $form->textField($model,'company_email_address'); ?>
                <?php echo $form->error($model,'company_email_address'); ?></td>
              </tr>
              <tr>
                <th scope="row"><?php echo $form->labelEx($model,'designation'); ?></th>
                <td>:</td>
                <td><?php echo $form->textField($model,'designation'); ?>
                <?php echo $form->error($model,'designation'); ?></td>
              </tr>
              <tr>
                <th scope="row"><?php echo $form->labelEx($model,'company_name'); ?></th>
                <td>:</td>
                <td><?php echo $form->textField($model,'company_name'); ?>
                <?php echo $form->error($model,'company_name'); ?></td>
              </tr>
              <tr>
                <th scope="row"><?php echo $form->labelEx($model,'postal_address'); ?></th>
                <td>:</td>
                <td><?php echo $form->textArea($model,'postal_address',array('rows'=>6, 'cols'=>50)); ?>
                <?php echo $form->error($model,'postal_address'); ?></td>
              </tr>
              <tr>
                <th scope="row"><?php echo $form->labelEx($model,'zip'); ?></th>
                <td>:</td>
                <td><?php echo $form->textField($model,'zip',array('size'=>15,'maxlength'=>15)); ?>
                <?php echo $form->error($model,'zip'); ?></td>
              </tr>
              <tr>
                <th scope="row"><?php echo $form->labelEx($model,'mobile_number'); ?></th>
                <td>:</td>
                <td><?php echo $form->textField($model,'mobile_number',array('size'=>15,'maxlength'=>15)); ?>
                <?php echo $form->error($model,'mobile_number'); ?></td>
              </tr>
              <tr>
                <th scope="row"><?php echo $form->labelEx($model,'country_id'); ?></th>
                <td>:</td>
                <td><?php echo $form->dropDownList($model,'country_id',Country::getCountry()); ?> 
                <?php echo $form->error($model,'country_id'); ?></td>
              </tr>
              <tr>
                <th scope="row"><?php echo $form->labelEx($model,'city'); ?></th>
                <td>:</td>
                <td><?php echo $form->textField($model,'city',array('size'=>20,'maxlength'=>255)); ?>
                <?php echo $form->error($model,'city'); ?></td>
              </tr>
              
              <tr>
                <th scope="row"><?php echo $form->labelEx($model,'industry_id'); ?></th>
                <td>:</td>
                <td><?php echo $form->dropDownList($model,'industry_id',Industry::getIndustry()); ?>
                <?php echo $form->error($model,'industry_id'); ?></td>
              </tr>
              <tr>
                <th height="56" scope="row">&nbsp;</th>
                <td>&nbsp;</td>
                <td><?php echo CHtml::submitButton('Save'); ?></td>
              </tr>
            </table>
          <?php $this->endWidget(); ?>
        </div>
      </div>
    </div>
  </div>
</div>
