Viewing file: v_searchRptRis129.php (2.39 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<script> function changeAction () { var rad = jQuery("#rad:checked").val();
if (rad == 1) { jQuery("#myform").attr("action","rptRis129"); } else { jQuery("#myform").attr("action","../popup/sdm_popup"); } } </script> <table width="100%" align="center"> <tr> <td> <div align="center"> <table width="100%"> <tr> <td colspan="2" align="center"><span class="h error">รายชื่อนักศึกษาจำแนกตามหอพัก</span></td> </tr> <tr> <td><br /></td> </tr> <tr> <td> <?php echo form_open($this->config->item("rg_folder")."rpt_student/rptRis129", array("name" => "myform", "id" => "myform", "target" => "_blank")); ?> <table class="szone"> <tr bgcolor="<?=$tr_color_even;?>"> <td><fieldset><table> <tr> <td><input type="radio" id="rad" name="rad" value="1" onClick="changeAction()" checked /></td> <td class="coltd_szone">ชื่อหอพัก</td> <td><?php echo form_dropdown('plHwId',$rs_dm, set_value('plHwId'));?> <span class="error">* <?php echo form_error('plHwId');?></span></td> </tr> <tr> <td></td> <td class="coltd_szone">ปีการศึกษา</td> <td><input type="text" name="acY" id="acY" value="<?= set_value('acY', $acY);?>" size="5" maxlength="4" class="required-int" /> <span class="error">* <?php echo form_error('acY');?></span></td> </tr> </table></fieldset></td> </tr> <tr bgcolor="<?=$tr_color_even;?>"> <td><fieldset><table> <tr> <td><input type="radio" id="rad" name="rad" value="2" onClick="changeAction()" /></td> <td class="coltd_szone">รหัสนักศึกษา</td> <td><input type="text" name="stdCode" id="stdCode" size="10" class="required-int" /></td> </tr> </table></fieldset></td> </tr> <tr bgcolor="<?=$tr_color_even;?>"> <td colspan="2" align="center"><input type="submit" name="submit" value="ตกลง" /> <input type="reset" name="clear" value="เคลียร์ข้อมูล" /></td> </tr> </table><?php echo form_close();?></td> </tr> </table></div> <br><span class="error"><b>หมายเหตุ : </b>* หมายถึง ต้องกรอกข้อมูลให้สมบูรณ์</span></td> </tr> </table>
|