Viewing file: addalumni_alumni.php (17.24 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php include_once "template.php"; showHeader(); include_once "../link/function.php"; include_once "../class/clsNation.php"; include_once "../class/clsReligion.php"; include_once "../class/clsprogramalumni.php";
confirmSubmit(); openWindow(); $oPg_A = new ProgramAlumni($oC1); $oNa = new Nation($oC2); $oRg = new Religion($oC2); ?> <meta http-equiv="Content-Type" content="text/html; charset=TIS-620"> <table width="740" border="0" align="center" cellpadding="0" cellspacing="1"> <tr> <td> <fieldset><br> <legend ><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"];?>"><a href="?mm=1">¢éÍÁÙÅÈÔÉÂìà¡èÒ</a> <img src="../picture/ico3.gif" align="absmiddle" border="0">à¾ÔèÁÈÔÉÂìà¡èÒ</font></legend> <label> <div align="center"> <form name="ps" method="post" action="processalumni_alumni.php" enctype="multipart/form-data"> <table width="740" align="center" border="0" cellpadding="0" cellspacing="1"> <tr> <td colspan="4"><br> <table width="740" border="1" cellpadding="0" cellspacing="" bordercolor="<?php echo $GLOBALS['COLOR_BORDER_TABLE_1'];?>"> <tr> <td valign="top" align="center" colspan="8"> <?php if($picturePath==''){ echo "<img src=\"../picturePerson/photo.gif\" align=\"absmiddle\" border=\"1\" width=\"100\" height=\"115\">"; }else{ echo "<img src=\"$oAb->picturePath\" align=\"absmiddle\" border=\"1\" width=\"100\" height=\"115\">"; } ?></td> </tr> <tr> <td valign="top" align="center" colspan="8"> </td> </tr>
<tr align="left"> <td height="22" colspan="4" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">àÅ¢·ÕèºÑµÃ»ÃШӵÑÇ»ÃЪҪ¹</font></td> <td height="22" colspan="4"bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"> <input type="text" name="citizenId" size="15" > </td> </tr> <tr align="left"> <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">ª×èÍ-Ê¡ØÅä·Â</font></td> <td height="22" colspan="4"><input type="text" name="prefixName" size="7" class="input1" readonly> <IMG src="../picture/search.gif" width="15" height="19" border="0" align="absmiddle" id=IMG3 style="CURSOR: hand" onclick='OpenWindow("prefixTable.php",400,400)'> <input type="text" name="studentName" size="15"> <input type="text" name="studentSurname" size="15"> <input type="hidden" name="prefixId"> </td> </tr> <tr align="left"> <td colspan="4" height="22" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">ª×èÍ-Ê¡ØÅ (Íѧ¡ÄÉ) </font></td> <td colspan="4" height="22" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"> <input type="text" name="prefixNameEng" size="10" class="input3" readonly> <input type="text" name="studentNameEng" size="15" > <input type="text" name="studentSurnameEng" size="15" > </td> </tr> <tr align="left"> <td colspan="4" height="22" ><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">ª×èÍ-Ê¡ØÅ (à´ÔÁ 1) </font></td> <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>"> <input type="text" name="o1prefixName" size="7" class="input1" readonly> <IMG src="../picture/search.gif" width="15" height="19" class='box' border="0" align="absmiddle" id=IMG3 style="CURSOR: hand" onclick='OpenWindow("prefixOld1Table.php",400,400)'> <input type="text" name="o1fName" size="15"> <input type="text" name="o1lName" size="15"> <input type="hidden" name="o1prefixId" > </font></td> </tr> <tr align="left" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"> <td colspan="4" height="22" ><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">ª×èÍ-Ê¡ØÅ (à´ÔÁ 2) </font></td> <td colspan="4" height="22" ><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>"> <input type="text" name="o2prefixName" size="7" class="input3" readonly> <IMG src="../picture/search.gif" width="15" height="19" class='box' border="0" align="absmiddle" id=IMG3 style="CURSOR: hand" onclick='OpenWindow("prefixOld2Table.php",400,400)'> <input type="text" name="o2fName" size="15"> <input type="text" name="o2lName" size="15"> <input type="hidden" name="o2prefixId" > </font></td> </tr> <tr align="left"> <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">à¾È</font></td> <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>"> <input name="studentSex " type="radio" value="M">ªÒ <input name="studentSex " type="radio" value="F">ËÔ§ ËÁÙèàÅ×Í´ <input type="text" name="bloodGroup" size="3" > </font></td> </tr> <tr align="left" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"> <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">ÊѪҵÔ</font></td> <td height="22" colspan="4"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>"><? echo $oNa->selectHTML("nationId",$nationId);?> ÈÒÊ¹Ò <? echo $oRg->selectHTML("religionId",$religionId);?></font> </td> </tr> <tr align="left"> <td colspan="4" height="22" ><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">Çѹà¡Ô´</font></td> <td colspan="4" height="22" > <script>DateInput('birthDate', true, 'DD/MM/YYYY','<?php echo getNowDateFw2();?>');</script> </td> </tr> <tr align="left" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"> <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">»Õ·Õèà¢éÒÈÖ¡ÉÒ</font></td> <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>"><input type="text" name="admitAcadYear" size="4"> </font></td> </tr> <tr align="left"> <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">»Õ·Õ診¡ÒÃÈÖ¡ÉÒ</font></td> <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>"><input type="text" name="finishAcadYear" size="4"> </font></td> </tr> <tr align="left"> <td colspan="4" height="22" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">ËÅÑ¡ÊÙµÃ</font></td> <td colspan="4" height="22" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"> <? echo $oPg_A->selectHTML("programId",$programId);?> </font></td> </tr> <tr align="left"> <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">ÃØè¹·Õè</font></td> <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>"><input type="text" name="genNo" size="4"> </font></td> </tr> <tr align="left" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"> <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">ÍÕàÁÅì</font></td> <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>"><input type="text" name="studentEmail" size="40" > </font></td> </tr> <tr align="left"> <td colspan="4" height="22" ><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">ÃÙ»</font></td> <td colspan="4" height="22" > <input type="file" name="uploadfile" id="uploadfile" size="50"> <input type="hidden" name="picturePerson" > </td> </tr> <tr align="left"> <td colspan="4" height="22" ><font color="<?php echo $GLOBALS['COLOR_FONT_4'];?>" size="2"> </font></td> <td colspan="4" height="22"> <font size="2" color="<?php echo $GLOBALS['COLOR_FONT_3'];?>"><strong>(¢¹Ò´ÃÙ»ÀÒ¾¤ÇÃÁÕ¢¹Ò´ 100x115 pixels)</strong></font></td> </tr> </table> <table width="740" border="1" cellpadding="0" cellspacing="" bordercolor="<?php echo $GLOBALS['COLOR_BORDER_TABLE_1'];?>"> <tr align="left"> <td height="22" colspan="8" ><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_3'];?>"><strong>·ÕèÍÂÙèÈÔÉÂìà¡èÒ (µÒÁÀÙÁÔÅÓà¹Ò)</strong></font></td> </tr> <tr align="left"> <td height="22" colspan="4" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">·ÕèÍÂÙè</font></td> <td width="483" height="22" colspan="4"bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"> <input type="text" name="homeAddress" size="40"> </td> </tr> <tr align="left"> <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">µÓºÅ</font></td> <td height="22" colspan="4"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>"><input type="text" name="homeDistrict" size="20" class="input1" readonly> <IMG src="../picture/search.gif" width="15" height="19" border="0" align="absmiddle" id=IMG3 style="CURSOR: hand" onclick='OpenWindow("homeDistrictTable.php",550,350)'> <input type="hidden" name="homeDistrictId" > ÍÓàÀÍ <input type="text" name="homeAmphur" size="20" class="input1" readonly> <input type="hidden" name="homeAmphurId" ></font></td> </tr> <tr align="left"> <td colspan="4" height="22" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">¨Ñ§ËÇÑ´</font></td> <td colspan="4" height="22" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>"> <input type="text" name="homeProvince" size="20" class="input3" readonly> <input type="hidden" name="homeProvinceId" > ÃËÑÊä»ÃɳÕÂì <input type="text" name="homeZipcode" size="5" maxlength="5" onKeyPress="if(event.keyCode < 48 || event.keyCode > 57) return false;"> </font></td> </tr> <tr align="left"> <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">â·ÃÈѾ·ìºéÒ¹</font></td> <td colspan="4" height="22"><input type="text" name="homePhoneNo" size="10" maxlength="10" onKeyPress="if(event.keyCode < 48 || event.keyCode > 57) return false;"></td> </tr> <tr align="left"> <td height="22" colspan="8" ><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_3'];?>"><strong>·ÕèÍÂÙèÈÔÉÂìà¡èÒ (»Ñ¨¨ØºÑ¹)</strong></font></td> </tr> <tr align="left"> <td height="22" colspan="4" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">·ÕèÍÂÙè</font></td> <td width="483" height="22" colspan="4"bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"> <input type="text" name="currentAddress" size="40"> </td> </tr> <tr align="left"> <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">µÓºÅ</font></td> <td height="22" colspan="4"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>"><input type="text" name="currentDistrict" size="20" class="input1" readonly> <IMG src="../picture/search.gif" width="15" height="19" border="0" align="absmiddle" id=IMG3 style="CURSOR: hand" onclick='OpenWindow("currentDistrictTable.php",550,350)'> <input type="hidden" name="currentDistrictId" > ÍÓàÀÍ <input type="text" name="currentAmphur" size="20" class="input1" readonly> <input type="hidden" name="currentAmphurId" ></font></td> </tr> <tr align="left"> <td colspan="4" height="22" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">¨Ñ§ËÇÑ´</font></td> <td colspan="4" height="22" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>"> <input type="text" name="currentProvince" size="20" class="input3" readonly> <input type="hidden" name="currentProvinceId" > ÃËÑÊä»ÃɳÕÂì <input type="text" name="currentZipcode" size="5" maxlength="5" onKeyPress="if(event.keyCode < 48 || event.keyCode > 57) return false;"> </font></td> </tr> <tr align="left"> <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">â·ÃÈѾ·ìºéÒ¹</font></td> <td colspan="4" height="22"><input type="text" name="currentPhoneNo" size="10" maxlength="10" onKeyPress="if(event.keyCode < 48 || event.keyCode > 57) return false;"></td> </tr> <tr align="left"> <td height="22" colspan="8" ><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_3'];?>"><strong>·ÕèÍÂÙè·Õè·Ó§Ò¹¢Í§ÈÔÉÂìà¡èÒ</strong></font></td> </tr> <tr align="left"> <td height="22" colspan="4" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">·ÕèÍÂÙè</font></td> <td width="483" height="22" colspan="4"bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"> <input type="text" name="officeAddress" size="40"> </td> </tr> <tr align="left"> <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">µÓºÅ</font></td> <td height="22" colspan="4"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>"><input type="text" name="officeDistrict" size="20" class="input1" readonly> <IMG src="../picture/search.gif" width="15" height="19" border="0" align="absmiddle" id=IMG3 style="CURSOR: hand" onclick='OpenWindow("officeDistrictTable.php",550,350)'> <input type="hidden" name="officeDistrictId" > ÍÓàÀÍ <input type="text" name="officeAmphur" size="20" class="input1" readonly> <input type="hidden" name="officeAmphurId"></font></td> </tr> <tr align="left"> <td colspan="4" height="22" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">¨Ñ§ËÇÑ´</font></td> <td colspan="4" height="22" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>"> <input type="text" name="officeProvince" size="20" class="input3" readonly> <input type="hidden" name="officeProvinceId" > ÃËÑÊä»ÃɳÕÂì <input type="text" name="officeZipcode" size="5" maxlength="5" onKeyPress="if(event.keyCode < 48 || event.keyCode > 57) return false;"> </font></td> </tr> <tr align="left"> <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">â·ÃÈѾ·ìºéÒ¹</font></td> <td colspan="4" height="22"><input type="text" name="officePhoneNo" size="10" maxlength="10" onKeyPress="if(event.keyCode < 48 || event.keyCode > 57) return false;"></td> </tr> </table> </td> </tr> <tr> <td height="22" colspan="4" align="center"><br> <input type="submit" name="add" value="ºÑ¹·Ö¡¢éÍÁÙÅ"> <input type="reset" name="clear" value="ź¢éÍÁÙÅ"> <input type="button" name="cancel" value="¡àÅÔ¡" > <input type="hidden" name="method" value="edit"> <input type="hidden" name="alumniId" value="<?php echo $alumniId;?>"> <input type="hidden" name="status" value="<?php echo $status;?>"> </td> </tr> </table> </form> </div> </label> </fieldset> <br><br><br><br> </td> </tr> </table> <?php showFooter(); ?>
|