Viewing file: v_mainInfoAm.php (3.92 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$url = site_url($this->config->item('ea_folder').'info_alumni/main_infoAm');
$row_am = (isset($qu_am) && $qu_am!=NULL) ? $qu_am->row() : NULL;
$row_curd = (isset($qu_curd) && $qu_curd!=NULL) ? $qu_curd->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,'alumniId':<?php echo $alumniId;?>},'<?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,'alumniId':<?php echo $alumniId;?>},'<?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,'alumniId':<?php echo $alumniId;?>},'<?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,'alumniId':<?php echo $alumniId;?>},'<?php echo $url;?>')"><?php echo ($tab==4) ? "<span>" : "<a href='#'>";?><font size="2"><b>ข้อมูลการเรียนต่อ</b></font><?php echo ($tab==4) ? "</span>" : "</a>";?></li>
<li id="tabE" align="center" class="hand" onClick="controlsubmenu('tab5','tabE'); sendPost('hidform', {'tab':5,'alumniId':<?php echo $alumniId;?>},'<?php echo $url;?>')"><?php echo ($tab==5) ? "<span>" : "<a href='#'>";?><font size="2"><b>ข้อมูลการได้รับรางวัล</b></font><?php echo ($tab==5) ? "</span>" : "</a>";?></li>
</ul>
</div></td>
</tr>
<tr>
<td><table class="szone">
<tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
<td class="coltd_szone">รหัสนักศึกษา</td>
<td><?php echo setValue('studentCode',$row_am);?></td>
<td class="coltd_szone">รหัสบัตรประชาชน</td>
<td><?php echo setValue('citizenId',$row_am);?></td>
<td rowspan="4" valign="absolute" align="center">
<img src="<?php echo $this->config->item('ea_showpictureStd').setValue('picturePath',$row_am);?>" width="100" height="115" /></td>
</tr>
<tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
<td class="coltd_szone">ชื่อ - สกุลนักศึกษา</td>
<td><?php echo setValue('prefixName',$row_am).setValue('studentName',$row_am).' '.setValue('studentSurname',$row_am);?></td>
<td class="coltd_szone">ระดับการศึกษา</td>
<td><?php echo setValue('levelName',$row_curd);?></td>
</tr>
<tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
<td class="coltd_szone">หลักสูตร</td>
<td><?php echo setValue('curName',$row_curd);?></td>
<td class="coltd_szone">GPA</td>
<td><?php echo number_format(setValue('GPA',$row_am),2);?></td>
</tr>
<tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
<td class="coltd_szone">ปีที่เข้า</td>
<td><?php echo setValue('admitAcadYear',$row_am);?></td>
<td class="coltd_szone">ปีที่สำเร็จการศึกษา</td>
<td><?php echo setValue('graduateYear',$row_am);?></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>
<div id="tab5"></div>
<div id="tab6"></div>
</table>
|