Viewing file: v_showWithdraw.php (4.63 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $row_std = isset($qu_std) ? $qu_std->row() : NULL; ?> <table width="100%"> <tr> <td> <div align="center"> <?php echo form_open($this->config->item("rg_folder")."regis/showWithdraw", array("name" => "myform", "id" => "myform"));?> <table width="100%"> <tr> <td><b>รหัสนักศึกษา</b> <input type="text" id="stdCode" name="stdCode" size="15" maxlength="15" class="required-int" /> <input type="submit" id="btnSearch" name="btnSearch" value="ค้นหา" /></td> </tr> <tr> <td height="22"></td> </tr> <?php if(isset($flg)) { echo $flg; } if (isset($stdCode)) { if ($stdCode) { ?> <tr> <td><table class='szone'> <tr bgcolor="<?php echo $tr_color_even;?>"> <td class="coltd_szone">รหัสนักศึกษา</td> <td><?php echo getval('stdCode', $row_std);?> <input type="hidden" name="stdId" value="<?php echo getval('stdId', $row_std);?>"></td> <td class="coltd_szone">ชื่อ-นามสกุล</td> <td><?php echo getval('prefixName', $row_std).getval('stdName', $row_std).' '.getval('stdSurname', $row_std);?></td> </tr> <tr bgcolor="<?php echo $tr_color_even;?>"> <td class="coltd_szone">หลักสูตร</td> <td><?php echo getval('curName', $row_std);?> <input type="hidden" name="curId" value="<?php echo getval('curId', $row_std);?>"></td> <td class="coltd_szone">ชั้นปี</td> <td><?php echo getval('syCode', $row_std);?> <input type="hidden" name="syId" value="<?php echo getval('syId', $row_std);?>" /></td> </tr> <tr bgcolor="<?php echo $tr_color_even;?>"> <td class="coltd_szone">ปีการศึกษา</td> <td><?php echo $acY;?> <input type="hidden" name="acY" value="<?php echo $acY;?>" /></td> <td class="coltd_szone">ภาคการศึกษา</td> <td><?php echo $tmId;?> <input type="hidden" name="tmId" value="<?php echo $tmId;?>" /></td> </tr> </table></td> </tr> <tr> <td height="22"></td> </tr> <tr> <td><table class="headCol"> <tr> <th>รหัสรายวิชา</th> <th>ชื่อรายวิชา</th> <th>หน่วยกิต</th> <th>กลุ่ม</th> <th>ลบ</th> </tr> <?php $i = 0; foreach ($rs_rd->result() as $row_rd) { ?> <tr valign='top' onmouseover="bgColor='<?=$tr_color_even?>'" onmouseout="bgColor='<?=$this->config->item("rg_mouseout")?>'"> <td class='indent'><?php echo $row_rd->crsCode;?></td> <td class='indent'><?php echo explodeSquare($row_rd->crsName);?></td> <td align="center"><?php echo $row_rd->crsUnit;?></td> <td align="center"><?php echo $row_rd->coSection;?></td> <td align="center"> <span onClick="confirmDel2( {stdId:<?php echo $row_rd->rdStdId;?>, stdCode:<?php echo $row_std->stdCode;?>, acY:<?php echo $row_rd->rdAcY;?>, tmId:<?php echo $row_rd->rdTmId;?>, seq:<?php echo $row_rd->rdSeq;?>, coId:<?php echo $row_rd->rdCoId;?>, rgStatus:'W'}, 'hidform','<?php echo site_url($this->config->item('rg_folder').'regis/rd_delete');?>')" /><img src="<?php echo base_url().$this->config->item("rg_delete");?>" align="absmiddle" border="0" width="16" height="19" class="hand"/></span></td> </tr> <?php $i++; } // end foreach
if (isset($kssFlag)) { ?> <tr> <td colspan="6" align="center"><span class='error'><?php echo $kssFlag;?></span></td> </tr> <?php } ?> <tr> <td height="22" colspan="2" align="right"><b>รวมหน่วยกิต</b></td> <td align="center"><?php echo number_format($sumCrAt);?></td> <td colspan="3"></td> </tr> </table></td> </tr> <?php } else { if (!isset($err_msg)) { ?> <tr> <td align="center"><span class='error'><?php echo getval('prefixName', $row_std).getval('stdName', $row_std).' '.getval('stdSurname', $row_std).' '.getval('sstName', $row_std);?></span></td> </tr> <?php } else { ?> <tr> <td align="center"><span class='error'><?php echo $err_msg;?></span></td> </tr> <?php } } // end SearchByStCodeAndStudying } ?> </table><?php echo form_close();?></div> <br></td> </tr> <tr> <td><span class="error"><b>หมายเหตุ</b> : ใช้งานเมนูนี้กรณีที่นักศึกษายื่นใบเพิ่ม/ถอน หลังช่วงเวลาเพิ่ม-ถอน</span></td> </tr> </table>
|