Viewing file: v_editStdMBHis.php (4.38 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$url = site_url($this->config->item('rg_folder').'studenthis/std_editStdMBHis');
$row_std = (isset($qu_std) && $qu_std->num_rows()) ? $qu_std->row() : NULL;
?>
<table border="0" width="100%">
<tr>
<td><div id="header">
<ul id="primary">
<li id="tabA" align="center" class="hand" onClick="controlsubmenu('tab1','tabA'); sendPost('hidform', {'tab':1,'stdId':<?php echo $stdId;?>},'<?php echo $url;?>')"><?php echo ($tab==1) ? "<span>" : "<a href='#'>";?><font size="2"><b>ประวัติด้านการศึกษา</b></font><?php echo ($tab==1) ? "</span>" : "</a>";?></li>
<li id="tabB" align="center" class="hand" onClick="controlsubmenu('tab2','tabB'); sendPost('hidform', {'tab':2,'stdId':<?php echo $stdId;?>},'<?php echo $url;?>')"><?php echo ($tab==2) ? "<span>" : "<a href='#'>";?><font size="2"><b>ประวัติการทำกิจกรรม</b></font><?php echo ($tab==2) ? "</span>" : "</a>";?></li>
<li id="tabC" align="center" class="hand" onClick="controlsubmenu('tab3','tabC'); sendPost('hidform', {'tab':3,'stdId':<?php echo $stdId;?>},'<?php echo $url;?>')"><?php echo ($tab==3) ? "<span>" : "<a href='#'>";?><font size="2"><b>ประวัติการลา/ขาด</b></font><?php echo ($tab==3) ? "</span>" : "</a>";?></li>
<li id="tabD" align="center" class="hand" onClick="controlsubmenu('tab4','tabD'); sendPost('hidform', {'tab':4,'stdId':<?php echo $stdId;?>},'<?php echo $url;?>')"><?php echo ($tab==4) ? "<span>" : "<a href='#'>";?><font size="2"><b>ประวัติความประพฤติ</b></font><?php echo ($tab==4) ? "</span>" : "</a>";?></li>
</ul>
</div></td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="1" cellspacing="0" align="center">
<tr>
<td><table class="szone">
<tr bgcolor="<?php echo $tr_color_even;?>">
<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="6" valign="absolute" align="center">
<img src="<?php echo base_url().$this->config->item('rg_pictureStd').setValue('sdtPicturePath',$row_std);?>" height="115" width="100" />
</td>
</tr>
<tr bgcolor="<?php echo $tr_color_even;?>">
<td class="coltd_szone">ชื่อ-นามสกุล</td>
<td><?php echo setValue('pfName',$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 $tr_color_even;?>">
<td class="coltd_szone">หลักสูตร</td>
<td><?php echo setValue('curName',$row_std);?></td>
<td class="coltd_szone">ชั้นปีที่</td>
<td><?php echo setValue('syCode',$row_std);?></td>
</tr>
<tr bgcolor="<?php echo $tr_color_even;?>">
<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 $tr_color_even;?>">
<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 $tr_color_even;?>">
<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>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><br /></td>
</tr>
<tr>
<td><?php echo $v;?></td>
</tr>
<div id="tab1"></div>
<div id="tab2"></div>
<div id="tab3"></div>
<div id="tab4"></div>
</table>
|