Viewing file: v_showStudentDetails.php (3.3 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_cfg = (isset($qu_cfg) && $qu_cfg!=NULL) ? $qu_cfg->row() : NULL;
$row_std = (isset($qu_std) && $qu_std->num_rows()) ? $qu_std->row() : NULL;
$row_ctc = (isset($ctc) && $ctc->num_rows()) ? $ctc->row() : NULL;
$row_adv = (isset($adv) && $adv->num_rows()) ? $adv->row() : NULL;
?>
<table class="szone">
<tr bgcolor="<?php echo setValue('cfgBgClSwapTr',$row_cfg);?>">
<td class="coltd_szone">รหัสนักศึกษา</td>
<td><?php echo setValue('stdCode',$row_std);?></td>
<td class="coltd_szone2">รหัสบัตรประจำตัวประชาชน</td>
<td><?php echo setValue('sdtCitizenId',$row_std);?></td>
<td rowspan="8" valign="absolute" align="center">
<img src="<?php echo base_url().$this->config->item('rg_pictureStd').setValue('sdtPicturePath',$row_std);?>" width="100" height="115" /></td>
</tr>
<tr bgcolor="<?php echo setValue('cfgBgClSwapTr',$row_cfg);?>">
<td class="coltd_szone">ชื่อ-นามสกุล</td>
<td><?php echo setValue('prefisName',$row_std).setValue('stdName',$row_std).' '.setValue('stdSurname',$row_std);?></td>
<td class="coltd_szone2">ระดับการศึกษา</td>
<td><?php echo setValue('levelName',$row_std);?></td>
</tr>
<tr bgcolor="<?php echo setValue('cfgBgClSwapTr',$row_cfg);?>">
<td class="coltd_szone">หลักสูตร</td>
<td><?php echo setValue('curName',$row_std);?></td>
<td class="coltd_szone2">ชั้นปีที่</td>
<td><?php echo setValue('syCode',$row_std);?></td>
</tr>
<tr bgcolor="<?php echo setValue('cfgBgClSwapTr',$row_cfg);?>">
<td class="coltd_szone">สถานะนักศึกษา</td>
<td><?php echo setValue('sstName',$row_std);?></td>
<td class="coltd_szone2">ภาค/ปีการศึกษาที่เข้า</td>
<td><?php echo setValue('tmCode',$row_std).'/'.setValue('stdAdY',$row_std).' (รุ่นที่ '.setValue('genNo',$row_std).')';?></td>
</tr>
<tr bgcolor="<?php echo setValue('cfgBgClSwapTr',$row_cfg);?>">
<td class="coltd_szone">GPA</td>
<td><?php echo number_format(setValue('stdGPA',$row_std),2);?></td>
<td class="coltd_szone2">เจ้าของทุน</td>
<td><?php echo setValue('soName',$row_std);?></td>
</tr>
<tr bgcolor="<?php echo setValue('cfgBgClSwapTr',$row_cfg);?>">
<td class="coltd_szone">ทุนจังหวัด</td>
<td><?php echo setValue('provinceName',$row_std);?></td>
<td class="coltd_szone2">ประเภททุน</td>
<td><?php echo setValue('etName',$row_std).(setValue('stdEt2Id',$row_std)==2 ? ' ('.setValue('et2Name',$row_std).')' : '');?></td>
</tr>
<tr bgcolor="<?php echo setValue('cfgBgClSwapTr',$row_cfg);?>">
<td class="coltd_szone">อาจารย์ประจำชั้น</td>
<td><?php echo (setValue('prsNames',$row_ctc)=='') ? '-' : setValue('prsNames',$row_ctc);?></td>
<td class="coltd_szone2">อาจารย์ที่ปรึกษา</td>
<td><?php echo (setValue('prsNames',$row_adv)=='') ? '-' : setValue('prsNames',$row_adv);?></td>
</tr>
<tr bgcolor="<?php echo setValue('cfgBgClSwapTr',$row_cfg);?>">
<td class="coltd_szone">คะแนนความประพฤติ</td>
<td colspan="3"><?php echo setValue('stdTotalPoint',$row_std);?></td>
</tr>
</table>
|