Viewing file: v_alumniforQn.php (14.05 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<script type="text/javascript"> function checkWork(val){ if(val=="Y"){ document.getElementById("work").style.display="block"; document.getElementById("edu").style.display="none"; }else if(val=="N"){ document.getElementById("work").style.display="none"; document.getElementById("edu").style.display="block"; }else if(val=="W"){ document.getElementById("edu").style.display="none"; document.getElementById("work").style.display="none"; } } </script> <?php $row_aq = (isset($qu_aq) && $qu_aq!=NULL) ? $qu_aq->row() : NULL; $row_am = (isset($qu_am) && $qu_am!=NULL) ? $qu_am->row() : NULL; ?>
<table width="100%"> <tr> <td><div align="center"><?php echo form_open($this->config->item("ea_folder")."query/qn_save", array("name" => "myform", "id" => "myform"));?> <table width="100%"> <tr> <td align="center" class="h">ข้อมูลการได้งานทำ และศึกษาต่อ</td> </tr> <tr><td> <table width="100%"><br /> <tr bgcolor="<?php echo $this->config->item("table_color");?>"> <td class="coltd_easzone" colspan="4">ข้อมูลผู้สำเร็จการศึกษา</td> </tr> <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> <td class="coltd_easzone">ชื่อ - สกุล</td> <td><? echo $row_am->prefixName.$row_am->studentName." ".$row_am->studentSurname; ?></td> <td class="coltd_easzone">ปีการศึกษา</td> <td><? echo $row_am->admitAcadYear;?> </td> </tr> <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> <td class="coltd_easzone" >หลักสูตร</td> <td><? echo $row_am->curName;?></td> <td class="coltd_easzone" >รุ่นที่</td> <td><? echo $row_am->genNo;?></td> </tr> <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> <td class="coltd_easzone">เบอร์โทรศัพท์</td> <td>
<input type="text" name="currentPhoneNo" value="<?php echo $row_am->currentPhoneNo;?>" <?php echo ($row_aq==NULL) ? '' : 'class="input2"' ?> />
<?php echo form_error("currentPhoneNo");?></td> <td class="coltd_easzone">อีเมลล์</td> <td><input type="text" name="studentEmail" value="<?php echo $row_am->studentEmail;?>" <?php echo ($row_aq==NULL) ? '' : 'class="input2"' ?> /><?php echo form_error("studentEmail");?></td> </tr>
<tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> <td align="center" colspan="4"><br /></td> </tr> </table>
<table width="100%"> <tr bgcolor="<?php echo $this->config->item("table_color");?>"> <td class="coltd_easzone" colspan="4">ข้อมูลหลังสำเร็จการศึกษา</td> </tr> <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> <td class="coltd_easzone" colspan="4"> <input type="radio" name="checkwork" id="rad3" value="W" <?=((setValue('checkwork', $row_aq)!="W") ? "checked" : "");?> onclick="checkWork('W')"/>ทำงานก่อนมาเรียน</td> </tr> <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> <td class="coltd_easzone" colspan="4"> <input type="radio" name="checkwork" id="rad1" value="Y" <?=((setValue('checkwork', $row_aq)!="N") ? "checked" : "");?> onclick="checkWork('Y')"/>มีงานทำ</td> </tr> <tr><td><div id="work" style="display:none;"> <table width="100%"> <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> <td><font size="2"> <b>สถานะการทำงาน</b></font></td> <td><input type="radio" name="checkprofession" id="rad3" value="Y" <?=((setValue('checkwork', $row_aq)!="N") ? "checked" : "");?> ><b>ตรงวิชาชีพ</b></td> <td colspan="2"><input type="radio" name="checkprofession" id="rad4" value="N" <?=((setValue('checkwork', $row_aq)!="Y") ? "checked" : "");?>><b>อาชีพอิสระ</b><?php echo form_error("checkprofession");?></td> </tr> <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> <td><font size="2"> <b>วันที่เริ่มทำงาน</b></font></td> <td colspan="3"><font size="2"><b> <script>DateInput('startDateWork', true, 'DD/MM/YYYY', '<?php echo (set_value("startDateWork",$frDate)=="") ? getNowDateFw2() : set_value("startDateWork",$frDate);?>');</script></b></font></td> </tr> <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> <td><font size="2"> <b>สถานที่ปฏิบัติงาน</b></font></td> <td colspan="3"><font size="2"> <input type="text" name="officeName" value="<?php echo setValue('officeName',$row_aq);?>" size="20"></font><?php echo form_error("officeName");?></font></td> </tr> <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> <td><font size="2"> <b>ที่อยู่ที่ทำงาน</b></font></td> <td ><font size="2"><input type="text" name="officeAddress" value="<?php echo setValue('officeAddress',$row_aq);?>" size="20"></font><?php echo form_error("officeAddress");?></td> <td class="coltd_easzone"><font size="2">ตำบล</font></td> <td ><font size="2"> <input type="hidden" name="offDistrictId" id="offDistrictId" size="20" value="<?php echo setValue('offDistrictId',$row_aq);?>" readonly /> <input type="text" name="offDistrictName" id="offDistrictName" size="20" class="input2" value="<?php echo setValue('offDistrictName',$row_aq);?>" readonly /><?php echo form_error("offDistrictName");?> <?php echo anchor_popup($this->config->item("ea_folder")."popup/offAdr_popup", "<img src=\"".base_url()."images/".$this->config->item("rg_folder")."picture/search.gif\" width=\"15\" height=\"19\" align=\"abmiddle\" border=\"0\" />", array("width" => "600", "height" => "350")); ?> </font></td> </tr> <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> <td><font size="2"> <b>อำเภอ</b></font></td> <td><font size="2"> <input type="text" name="offAmphurName" id="offAmphurName" size="20" class="input2" value="<?php echo setValue('offAmphurName',$row_aq);?>" readonly /><?php echo form_error("offAmphurName");?> <input type="hidden" name="offAmphurId" id="offAmphurId" value="<?php echo setValue('offAmphurId',$row_aq);?>" readonly /> </font></td> <td class="coltd_easzone"><font size="2">จังหวัด</font></td> <td><font size="2"> <input type="text" name="offProvinceName" id="offProvinceName" size="20" class="input2" value="<?php echo setValue('offProvinceName',$row_aq);?>" readonly /><?php echo form_error("offProvinceName");?> <input type="hidden" name="offProvinceId" id="offProvinceId" value="<?php echo setValue('offProvinceId',$row_aq);?>" readonly /> </font></td> </tr> <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> <td><font size="2"> <b>รหัสไปรษณีย์</b></font></td> <td><font size="2"> <input type="text" name="officeZipcode" value="<?php echo setValue('officeZipcode',$row_aq);?>" size="5" maxlength="5"> </font><?php echo form_error("officeZipcode");?></td> <td class="coltd_easzone"><font size="2">เบอร์โทรศัพท์</font></td> <td height="22"><font size="2"> <input type="text" name="officePhoneNo" value="<?php echo setValue('officePhoneNo',$row_aq);?>" size="10" maxlength="10"> </font><?php echo form_error("officePhoneNo");?></td> </tr> <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> <td><font size="2"> <b>ตำแหน่งงาน</b></font></td> <td colspan="3"><font size="2"><input type="text" name="workPosition" value="<?php echo setValue('workPosition',$row_aq);?>" size="20" ></font></td> </tr> <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> <td><font size="2"> <b>อัตราเงินเดือน </b></font></td> <td><font size="2"><input type="text" name="workSalary1" value="<?php echo setValue('workSalary1',$row_aq);?>" size="20"><b> บาท/เดือน</b></font><?php echo form_error("workSalary1");?></td> <td class="coltd_easzone"><font size="2">อัตราเงินพิเศษ</font></td> <td><font size="2"><input type="text" name="workSalary2" value="<?php echo setValue('workSalary2',$row_aq);?>" size="20"><b> บาท/เดือน</b></font><?php echo form_error("workSalary2");?></td> </tr> <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> <td colspan="2"></td> <td class="coltd_easzone" colspan="2" ><font color="<?php echo $this->config->item('font_color_err');?>" size="2"><b> (เงินทำงานล่วงเวลา, เงิน พตส.ม เงินค่าประกอบวิชาชีพ, ค่าเวรบ่าย-ดึก)</b></font></td> </tr> </table> </div></td></tr> <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> <td class="coltd_easzone" colspan="4"> <input type="radio" name="checkwork" id="rad2" value="N" <?=((setValue('checkwork', $row_aq)!="Y") ? "checked" : "");?> onclick="checkWork('N')"><b>ศึกษาต่อ</td> </tr> <tr><td><div id="edu" style="display:none;"> <table width="100%"> <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> <td><font size="2"> <b>ระดับการศึกษา</b></font></td> <td><font size="2"> <input type="hidden" name="leveleduId" id="leveleduId" size="20" value="<?php echo setValue('leveleduId',$row_aq);?>"> <input type="text" name="leveleduName" id="leveleduName" size="30" class="input2" value="<?php echo setValue('leveleduName',$row_aq);?>" readonly /><?php echo form_error("leveleduName");?> </font> <?php echo anchor_popup($this->config->item("ea_folder")."popup/lvEdu_popup", "<img src=\"".base_url()."images/".$this->config->item("rg_folder")."picture/search.gif\" width=\"15\" height=\"19\" align=\"abmiddle\" border=\"0\" />", array("width" => "600", "height" => "350")); ?> <?php echo form_error("leveleduName");?></td> <td><font size="2"><b>สาขา (คณะ/วิทยาลัย)</b></font></td> <td><font size="2"> <input type="hidden" name="majoreduId" id="majoreduId" size="20" value="<?php echo setValue('majoreduId',$row_aq);?>" readonly /> <input type="text" name="majoreduName" id="majoreduName" size="50" class="input2" value="<?php echo setValue('majoreduName',$row_aq);?>" readonly /><?php echo form_error("majoreduName");?> </font> <?php echo anchor_popup($this->config->item("ea_folder")."popup/medu_popup", "<img src=\"".base_url()."images/".$this->config->item("rg_folder")."picture/search.gif\" width=\"15\" height=\"19\" align=\"abmiddle\" border=\"0\" />", array("width" => "600", "height" => "350")); ?> <?php echo form_error("majoreduName");?></td> </tr> <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> <td colspan='4'><font size="2"> <b>สถานศึกษา (มหาวิทยาลัย/สถาบัน)</b></font> <input type="hidden" name="eduId" id="eduId" size="20" value="<?php echo setValue('leveleduId',$row_aq);?>" readonly /> <input type="text" name="eduName" id="eduName" size="40" class="input2" value="<?php echo setValue('eduName',$row_aq);?>" readonly /><?php echo form_error("eduName");?> </font> <?php echo anchor_popup($this->config->item("ea_folder")."popup/edu_popup", "<img src=\"".base_url()."images/".$this->config->item("rg_folder")."picture/search.gif\" width=\"15\" height=\"19\" align=\"abmiddle\" border=\"0\" />", array("width" => "600", "height" => "350")); ?> <?php echo form_error("eduName");?></td> </tr> </table> </div></td></tr> </table> <table width="100%"> <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> <td align="left" colspan="4"><?php echo form_error("checkwork");?><br /></td> </tr> <tr bgcolor="<?php echo $this->config->item("table_color");?>"> <td class="coltd_easzone" colspan="4">การเข้าร่วมพิธีพระราชทานประกาศนียบัตร</td> </tr> <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> <td height=22 colspan="4"><font size="2"> <input name="investiture" type="radio" value="Y" <?=((setValue('investiture', $row_aq)!="Y") ? "checked" : "");?>><b>เข้าร่วม</b> <input name="investiture" type="radio" value="N" <?=((setValue('investiture', $row_aq)!="N") ? "checked" : "");?>><b>ไม่เข้าร่วม</b></font><?php echo form_error("investiture");?></td> </tr> <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> <td align="center" colspan="4"> <input type="submit" name="add" value="ตกลง" <?php echo ($row_aq==NULL) ? '' : 'disabled' ?> /> <input type="reset" name="clear" value="ลบข้อมูล" <?php echo ($row_aq==NULL) ? '' : 'disabled' ?> /> <input type="hidden" name="method" value="<? echo "add"; ?>"></td> </tr> </table> </td></tr> </table> <?php echo form_close();?></div></td> </tr> </table>
|