Viewing file: v_beforeGenStudentCode2.php (2.59 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<table width="100%" align="center">
<tr>
<td><div align="center">
<?php echo (isset($setCode) && $setCode=='Y') ? form_open($this->config->item("rg_folder")."chk_stu/std_setStdCode", array("name" => "myform", "id" => "myform")) : form_open($this->config->item("rg_folder")."chk_stu/std_showStdCode", array("name" => "myform", "id" => "myform"));?>
<table width="100%" border="0" cellspacing="1" cellpadding="1" align="center">
<tr>
<td align="center"><span class="h error"><?php echo (isset($setCode) && $setCode=='Y') ? 'กำหนดรหัสนักศึกษาเอง' : 'สร้างรหัสนักศึกษาใหม่';?></span></td>
</tr>
<tr>
<td height="22"></td>
</tr>
<tr>
<td><table class="szone">
<tr bgcolor="<?php echo $tr_color_even;?>">
<td class="coltd_szone"><font size="2"><b>หลักสูตร</b></font></td>
<td><input type="text" name="curName" id="curName" value="<?php echo set_value('curName');?>" size="70" class="input2" readonly />
<?php
echo anchor_popup($this->config->item("rg_folder")."popup/cur_popup", "<img src=\"".base_url().$this->config->item('rg_search')."\" width=\"15\" height=\"19\" align=\"abmiddle\" border=\"0\" />", array("width" => "550", "height" => "250"));
?>
<input type="hidden" name="curId" id="curId" value="<?php echo set_value('curId');?>" readonly />
<span class="error">*<?php echo form_error('curId');?></span></td>
</tr>
<tr bgcolor="<?php echo $tr_color_even;?>">
<td class="coltd_szone"><font size="2"><b>ภาค/ปีการศึกษา</b></font></td>
<td><input type="text" name="tmIdAdmit" id="tmIdAdmit" value="<?php echo set_value('tmIdAdmit');?>" size="1" maxlength="1" class="input2" readonly />/
<input type="text" name="stdAdY" id="stdAdY" value="<?php echo set_value('stdAdY');?>" size="4" class="input2" readonly />
<span class="error"><?php echo form_error('tmIdAdmit') ? form_error('tmIdAdmit') : form_error('stdAdY');?></span></td>
</tr>
<tr bgcolor="<?php echo $tr_color_even;?>">
<td colspan="3" align="center">
<input type="submit" name="search" id="search" value="ตกลง" />
<input type="reset" name="clear" value="เคลียร์ข้อมูล" /></td>
</tr>
</table></td>
</tr></table><?php echo form_close();?></div>
<span class="error"><b>หมายเหตุ : </b>* หมายถึง ต้องกรอกข้อมูลให้สมบูรณ์</span></td>
</tr>
</table>
|