Viewing file: v_editStudentMBInfo.php (2.64 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$url = site_url($this->config->item('rg_folder').'studentinfo/std_editStdMBInfo');
?>
<table border="0" width="100%">
<tr>
<td><div id="header">
<ul id="primary">
<?php
if(isset($act) && $act=='N') {
?>
<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>
<?php
}
?>
<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>
<li id="tabE" align="center" class="hand" onClick="controlsubmenu('tab5','tabE'); sendPost('hidform', {'tab':5,'stdId':<?php echo $stdId;?>},'<?php echo $url;?>')"><?php echo ($tab==5) ? "<span>" : "<a href='#'>";?><font size="2"><b>ข้อมูลความประพฤติ</b></font><?php echo ($tab==5) ? "</span>" : "</a>";?></li>
<li id="tabF" align="center" class="hand" onClick="controlsubmenu('tab6','tabF'); sendPost('hidform', {'tab':6,'stdId':<?php echo $stdId;?>},'<?php echo $url;?>')"><?php echo ($tab==6) ? "<span>" : "<a href='#'>";?><font size="2"><b>ข้อมูลการรับรางวัล</b></font><?php echo ($tab==6) ? "</span>" : "</a>";?></li>
</ul>
</div></td>
</tr>
<?php
if(isset($showDetails)) {
?>
<tr>
<td><?php echo $showDetails;?></td>
</tr>
<tr>
<td><br /></td>
</tr>
<?php
}
?>
<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>
|