if ($data['username']) {
        echo $data['username'];
    } else {
        echo 'N/A';
    }
    ?>
</p></td>
                                </tr>
                                <?php 
    if ($data['user_group_id'] == 1) {
        ?>
                                <tr class="company">
                                    <td><p>Supervisor :  </p></td>
                                    <td class="value"><p><?php 
        if ($data['supervisor_code']) {
            echo WUser::getFullNameSuperUser($data['supervisor_code']);
        } else {
            echo 'N/A';
        }
        ?>
</p></td>
                                </tr>
                                <?php 
    } else {
        ?>
                                <tr class="company">
                                    <td><p>Company :  </p></td>
                                    <td class="value"><p><?php 
        if ($data['company_code']) {
            echo WCompany::getNameCompany($item['company_code']);
        } else {
示例#2
0
 
          </font>
         <!--  Created date: <font class="time_last">
         <?php 
        if (!empty($item['created_date'])) {
            echo date('d-m-Y', $item['created_date']);
        } else {
            echo 'N/A';
        }
        ?>
</font> -->
          </span>
      </td>
      <td>
          <?php 
        echo !empty($item['supervisor_code']) ? WUser::getFullNameSuperUser($item['supervisor_code']) : 'N/A';
        ?>
      </td>
      <td><?php 
        echo !empty($item['email']) ? $item['email'] : 'N/A';
        ?>
</td>
      <td><?php 
        echo !empty($item['phone']) ? $item['phone'] : 'N/A';
        ?>
</td>
      <td><?php 
        echo !empty($item['address']) ? $item['address'] : 'N/A';
        ?>
</td>
      
    border: solid 1px #DEE0E6;
  font-weight: bold;
  color: #20252B;
  padding: 8px 12px;
}
.primary_container ul.yiiPager .selected a{
  background: #2EB15C;
}
</style>
<div class="primary_boxtop">
    <div class="primary_boxtop_content">
        <h1 class="fl"><img src="<?php 
echo Yii::app()->theme->baseUrl;
?>
/img/btn_icon_course.png" align="middle" alt="Course" />Trainee List Of Supervisor: <?php 
echo WUser::getFullNameSuperUser($_GET['super_code']);
?>
</h1>
        <a class="fr btn btn-warning" href="<?php 
echo Yii::app()->createUrl('wManagerUser/AllSuper');
?>
"><span class="btn_right">Back</span></a>
        <a class="fr btn btn-success" href="javascript:void(0)" onclick="showListSuper()"><span class="btn_right">Change Supervisor</span></a>
        <div class="clear"></div>
    </div>
</div>
<div class="primary_container">
<div class="primary_container_test" style="box-shadow: 0px 0px 0px; border: 0px; ">
    <div class="container_test">
        <div class="box_test">
            <div id="container_course">