Viewing file:      v_alumniDetail.php (9.45 KB)      -rwxr-xr-x Select action/file-type:    (+) |   (+) |   (+) | Code (+) | Session (+) |   (+) | SDB (+) |   (+) |   (+) |   (+) |   (+) |   (+) |
 
<?php $row_am = (isset($qu_am) && $qu_am!=NULL) ? $qu_am->row() : NULL; //$birthDate = ($row_a!=NULL) ? splitDateDb2(setValue('sdtBirthDate',$row_sdt),'/') : ''; ?> <table width="100%">     <tr>         <td>             <div align="center">             <table width="100%">                 <tr>                     <td align="center" class="h">ข้อมูลส่วนตัว</td>                 </tr>                 <tr>                     <td><?php echo form_open($this->config->item("ea_folder")."alumni/v_alumniDetail",array("name" => "myform", "id"=>"myform"));?><table class="easzone">                         <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">                             <td class="coltd_easzone" height="22"><font size="2"><b>รหัสนักศึกษา</b></font></td>                                             <td colspan="3">                             <input type="text" name="studentCode" id="studentCode" value="<?php echo setValue('studentCode',$row_am);?>" class="input2" readonly /></font>                             <input type="hidden" name="studentId" id="studentId" value="<?php echo setValue('studentId',$row_am);?>">                             </td>                         </tr>                         <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">                             <td class="coltd_easzone" height="22"><font size="2"><b>เลขที่บัตรประจำตัวประชาชน</b></font></td>                                 <td colspan="3">                             <input type="text" name="citizenId" id="citizenId" size="15" value="<?php echo setValue('citizenId',$row_am);?>" />                              <font color="<?php echo $this->config->item('font_color_err');?>" size="2">*</font>                             <br /><?php echo form_error('citizenId');?>                             </td>                         </tr>                                 <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">                             <td class="coltd_easzone"><font size="2"><b>ชื่อ-สกุลปัจจุบัน (ไทย)</b></font></td>                                             <td colspan="3">                             <input type="text" name="pfName" id="pfName" value="<?php echo setValue('prefixNameFull',$row_am);?>" size="7" class="input2" readonly />                             <input type="hidden" name="prefixId" id="prefixId" size="10" class="input2" value="<?php echo setValue('prefixId',$row_am);?>" readonly />
  <?php                             echo anchor_popup($this->config->item("ea_folder")."popup/pf_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")); ?>                             <input type="text" name="studentName" id="studentName" value="<?php echo setValue('studentName',$row_am);?>" size="15" />                             <input type="text" name="studentSurname" id="studentSurname" value="<?php echo setValue('studentSurname',$row_am);?>" size="15" />                             <font color="<?php echo $this->config->item('font_color_err');?>" size="2">*</font> <?php                              echo form_error('prefixId');                              echo ' ';                              echo form_error('studentName');                             echo ' ';                              echo form_error('studentSurname'); ?>                             <input type="hidden" name="pfId" id="pfId" value="<?php echo setValue('prefixId',$row_am);?>">                             </td>                         </tr>                         <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">                             <td class="coltd_easzone"><font size="2"><b>ชื่อ-สกุลปัจจุบัน (อังกฤษ)</font></td>                                             <td colspan="3">                             <input type="text" name="pfNameE" id="pfNameE" value="<?php echo setValue('prefixNameEngFull',$row_am);?>" size="7" class="input2" readonly /><!--   -->                             <input type="text" name="studentNameEng" id="studentNameEng" value="<?php echo setValue('studentNameEng',$row_am);?>" size="15" />                             <input type="text" name="studentSurnameEng" id="studentSurnameEng" value="<?php echo setValue('studentSurnameEng',$row_am);?>" size="15" />                             </td>                         </tr>                         <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">                             <td class="coltd_easzone"><font size="2"><b>ชื่อ-สกุลจากระบบทะเบียน (ไทย)</b></font></td>                             <td colspan="3"><?php echo $row_am->prefixName."".$row_am->oldfName." ".$row_am->oldlName;?></td>                         </tr>                         <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">                             <td class="coltd_easzone"><font size="2"><b>ชื่อ-สกุลจากระบบทะเบียน (อังกฤษ)</b></font></td>                             <td colspan="3"><?php echo $row_am->prefixName."".$row_am->oldfName." ".$row_am->oldlName;?></td>                         </tr>                         <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">                             <td class="coltd_easzone"><font size="2"><b>เพศ</b></font></td>                             <td width="30%"><font size="2"><?php echo setValue('studentSex',$row_am)=='F' ? "หญิง" : "ชาย";?>                             <input type="hidden" name="studentSex" id="studentSex" value="<?php //echo $oAm->studentSex;?>"></td>                             <td class="coltd_easzone"><font size="2"><b>หมู่เลือด</b></font>                             <td width="20%"><input type="text" name="bloodGroup" id="blooGroup" value="<?php echo setValue('bloodGroup',$row_am);?>" size="3" maxlength="2" />                             </td>                         </tr>                         <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">                              <td class="coltd_easzone"><font size="2"><b>สัญชาติ</b></font></td>                             <td width="30%"><font size="2"> <?php                             echo form_dropdown('nationId', $rs_na, setValue('nationId', $row_am)); ?>                             <!-- <input type="text" name="nationId" id="nationId" value="<?php //echo setValue('nationId',$row_am);?>"> --></td>                             <td class="coltd_easzone"><font size="2"><b>ศาสนา</b></font>                             <td width="20%"> <?php                             echo form_dropdown('religionId', $rs_re, setValue('religionId', $row_am)); ?>                             </td>                         </tr>                         <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">                             <td class="coltd_easzone"><font size="2"><b>วันเกิด</b></font></td>                             <td colspan="3"><?php //echo abbreDate2(setValue('birthDate',$row_am));?>                             <script>DateInput('birthDate',true,'DD/MM/YYYY','<?php echo isset($row_am) ? splitDateDb2(setValue("birthDate",$row_am),"/") : splitDateDb2(getNowDate(),"/");?>')</script>                              <?php //echo fullDate(splitDateDb2(setValue('birthDate',$row_am),"/"));?>                             </td>                         </tr>                         <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">                             <td class="coltd_easzone"><font size="2"><b>ปีที่เข้าศึกษา</b></font></td>                                             <td colspan="3"><input type="text" name="admitAcadYear" id="admitAcadYear" value="<?php echo setValue('admitAcadYear',$row_am);?>" class="input2" readonly /></font>                         </tr>                         <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">                             <td class="coltd_easzone"><font size="2"><b>ปีที่จบการศึกษา</b></font></td>                                             <td colspan="3"><input type="text" name="graduateYear" id="graduateYear" value="<?php echo setValue('graduateYear',$row_am);?>" class="input2" readonly /></font>                         </tr>                         <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">                             <td class="coltd_easzone"><font size="2"><b>หลักสูตร</b></font></td>                                             <td colspan="4"> <?php                             echo form_dropdown('programId', $rs_cur, setValue('programId', $row_am)); ?>                             <font color="<?php echo $this->config->item('font_color_err');?>" size="2">*</font>                             <?php echo form_error('programId');?>                             </td>                         </tr>                         <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">                             <td class="coltd_easzone"><font size="2"><b>รุ่นที่</b></font></td>                                             <td colspan="3"><input type="text" name="genNo" id="genNo" value="<?php echo setValue('genNo',$row_am);?>" class="input2" readonly /></font>                         </tr>                         <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">                             <td class="coltd_easzone"><font size="2"><b>อีเมล์</font></td>                                             <td colspan="3"><input type="text" name="studentEmail" id="studentEmail" value="<?php echo setValue('studentEmail',$row_am);?>" size="40" />                             </td>                         </tr>                         <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">                             <td class="coltd_easzone"><font size="2"><b>รูป</b></font></td>                             <td colspan="3">                             <input type="file" name="uploadfile" id="uploadfile" size="50" />                             <input type="hidden" name="picturePerson" id="picturePerson" />                             <br><font size="2"> </font>                             <font size="2" color="<?php echo $this->config->item('font_color_err');?>"><b>(ขนาดรูปภาพควรมีขนาด 100x115 pixels)</b></font>                             </td>                         </tr>                         <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">                             <td height="22" colspan="4" align="center">                             <input type="submit" name="add" id="add" value="บันทึก" />                             <input type="reset" name="clear" id="clear" value="เคลียร์ข้อมูล" />                             <input type="button" name="cancel" id="cancel" value="ยกเลิก" onClick="location.href='<?php echo site_url($this->config->item('ea_folder')."alumni/am_input");?>'" />                             <input type="hidden" name="alumniId" id="alumniId" value="<?php echo $alumniId;?>" />                             <input type="hidden" name="status" value="<?php //echo $status;?>" />                             <input type="hidden" name="tab" id="tab" value="<?php echo $tab;?>" />                             </td>                         </tr>                     </table><?php echo form_close();?></td>                 </tr>             </table></div>         <br><font color="<?php echo $this->config->item('font_color_err');?>" size="2"><b>หมายเหตุ : </b>* หมายถึง ต้องกรอกข้อมูลให้สมบูรณ์</font></td>     </tr> </table>
  |