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> <td><a href="<?php echo Yii::app()->createUrl('wManagerUser/ListTraineeBySuper', array('super_code' => $item['username'])); ?> " title="list trainee"><?php echo WUser::countTrainee($item['username']) . ' trainees'; ?> </a></td> <td id="request_<?php echo $item['id']; ?> "> <?php switch ($item['status']) { case 1: echo '<span class="activated">Activated</span>'; break; case 0: echo '<span class="pendding">Pendding</span>'; break;