Viewing file: ShowStdSucc.php (11.62 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php include("../../../Include/FunctionDB.php"); include("../../../include/Function.php"); ConnectDB(); $sql = "Select * From std_success_tb Where Student_id='$Student_id' AND Status='1'"; $result = mysql_query($sql) or die("Error".mysql_error()); $rs = mysql_fetch_array($result); ?> <html> <head> <title>Student Record</title> <link rel="stylesheet" href="../../../css/style1.css" type="text/css"> <meta http-equiv="Content-Type" content="text/html; charset=windows-874"> </head>
<body bgcolor="#FFFFFF"> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1"> <tr> <td width="20%" background="../../../Image/bare3.jpg" class="table"> <div align="center"><strong><font size="2" face="Tahoma"><a href="../../Menu_Std_Acc.php" class="d">เมนูหลัก</a></font></strong></div></td> <td width="20%" background="../../../Image/bare3.jpg" class="table"> <div align="center"><strong><font size="2" face="Tahoma"><a href="ByStdId.php" class="d">แสดงปีการศึกษา</a></font></strong></div></td> <td width="20%" background="../../../Image/bare3.jpg" class="table"> <div align="center" ><strong><font size="2" face="Tahoma"><a href="../../../logout.php" class="d">Logout</a></font></strong></div></td> </tr> </table> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td> </td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#EEEEEE" bgcolor="#EEEEEE"> <tr bgcolor="#E8EEFD"> <td colspan="4"> <div align="center"><strong><font color="#003366" size="4" face="Tahoma">บันทึกแบบสอบถามบัณฑิต</font></strong></div></td> </tr> <form action="InsertStdSuc.php" method="post"> <tr bgcolor="#EEEEEE"> <td bgcolor="#FFFFFF"> <div align="center"><font color="#003366" size="2" face="Tahoma">ชื่อ-นามสกุล</font></div></td> <td bordercolor="#006699" bgcolor="#FFFFFF"> </td> <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"> <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#EEEEEE"> <tr> <td width="39%" bgcolor="#FFFFFF"><strong><font color="#000000" size="2" face="Tahoma"> <?php $Student_id = $rs[Student_id]; $sql2 = "Select * From student_tb Where Student_id='$Student_id'"; $result2 = mysql_query($sql2) or die("Error"); $rss = mysql_fetch_array($result2); echo"$rss[First_name] $rss[Name] $rss[Lastname]"; ?> </font></strong></td> <td width="12%" bgcolor="#FFFFFF"> <div align="center"><font color="#003366" size="2" face="Tahoma">รหัส</font></div></td> <td width="49%" bgcolor="#FFFFFF"><strong><font color="#993333" size="2" face="Tahoma"><? echo $rs[Student_id]?></font></strong></td> </tr> </table> </td> </tr> <tr bgcolor="#EEEEEE"> <td width="33%" bgcolor="#FFFFFF"> <div align="center"><font color="#003366" size="2" face="Tahoma">ปีที่ีสำเร็จการศึกษา</font></div></td> <td width="3%" bordercolor="#006699" bgcolor="#FFFFFF"><font size="2" face="Tahoma"> </font></td> <td width="64%" colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><font color="#993333" size="2" face="Tahoma"> <? echo $rs[Year_grad] ?> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td rowspan="2" bgcolor="#FFFFFF"> <div align="center"><font color="#003366" size="2" face="Tahoma">ข้อมูลการสอบสภา ผ่านครบ 8 วิชาในครั้งแรก</font></div></td> <td rowspan="2" bordercolor="#006699" bgcolor="#FFFFFF"> </td> <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><font size="2" face="Tahoma"> <input type="radio" name="Pass_test" <?php if (!(strcmp("$rs[Pass_test]","1"))) {echo "checked";} ?> value="1" disabled> ใช่ </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="20" colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><font size="2" face="Tahoma"> <input type="radio" name="Pass_test" <?php if (!(strcmp("$rs[Pass_test]","2"))) {echo "checked";} ?> value="2" disabled> ไม่ใช่ จำนวนครั้ง<font color="#993333"> <? echo $rs[Times]?> <font color="#000000">ค</font></font>รั้ง ผลการสอบ <input type="radio" name="Past_test" value="1" disabled> ผ่าน <input type="radio" name="Past_test" value="2" disabled> ไม่ผ่าน </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="20" bgcolor="#FFFFFF"> <div align="center"><font color="#003366" size="2" face="Tahoma">สถานที่ทำงานปัจจุบัน</font></div></td> <td bordercolor="#006699" bgcolor="#FFFFFF"> </td> <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><font color="#993333" size="2" face="Tahoma"><? echo $rs[Work_addr]?></font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="20" bgcolor="#FFFFFF"> <div align="center"><font color="#003366" size="2" face="Tahoma">สังกัด</font></div></td> <td bordercolor="#006699" bgcolor="#FFFFFF"> </td> <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><font color="#993333" size="2" face="Tahoma"><? echo $rs[Depart]?></font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="20" bgcolor="#FFFFFF"> <div align="center"><font color="#003366" size="2" face="Tahoma">ที่อยู่ติดต่อได้สะดวก</font></div></td> <td bordercolor="#006699" bgcolor="#FFFFFF"> </td> <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><font color="#993333" size="2" face="Tahoma"><? echo $rs[Contact_addr]?></font></td> </tr> <tr bgcolor="#EEEEEE"> <td rowspan="11" bgcolor="#FFFFFF"> <div align="center"><font color="#003366" size="2" face="Tahoma">ข้อมูลการทำงาน</font></div></td> <td rowspan="5" bordercolor="#006699" bgcolor="#FFFFFF"> </td> <td height="20" colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><font size="2" face="Tahoma"> <input name="Work_status" type="checkbox" id="Work_status" <?php if (!(strcmp("$rs[Work_status]","1"))) {echo "checked";} ?> value="1" disabled> พยาบาล </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="22" colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><font size="2" face="Tahoma"> ตำแหน่งปัจจุบั<font color="#000000">น</font><font color="#993333"><strong> <? echo $rs[Position]?> </strong></font>ระดั<font color="#000000">บ</font><font color="#993333"><strong> <? echo $rs[Level]?></strong></font></font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="22" colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><font size="2" face="Tahoma"> ชื่อหน่วยงาน <? echo $rs[Depart_name]?></font></td> </tr> <tr bgcolor="#EEEEEE"> <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><font size="2" face="Tahoma"> แผนก <? echo $rs[Depart]?> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><font size="2" face="Tahoma"> ว/ด/ป เริ่มทำงาน <? echo $rs[Date_w1]?> ถึง <? echo $rs[Date_w11]?></font></td> </tr> <tr bgcolor="#EEEEEE"> <td rowspan="3" bordercolor="#006699" bgcolor="#FFFFFF"> </td> <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><font size="2" face="Tahoma"> <input name="Work_status" type="checkbox" id="Work_status" <?php if (!(strcmp("$rs[Work_status]","2"))) {echo "checked";} ?> value="2" disabled> พยาบาลอิสระ(Parttime) </font></td> </tr> <tr bgcolor="#EEEEEE"> <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><font size="2" face="Tahoma"> ชื่อหน่วยงาน </font></td> </tr> <tr bgcolor="#EEEEEE"> <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><font size="2" face="Tahoma"> ว/ด/ป เริ่มทำงาน <? echo $rs[Date_w2]?> ถึง <? echo $rs[Date_w22]?></font></td> </tr> <tr bgcolor="#EEEEEE"> <td rowspan="2" bordercolor="#006699" bgcolor="#FFFFFF"> </td> <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><font size="2" face="Tahoma"> <input name="Work_status" type="checkbox" id="Work_status" <?php if (!(strcmp("$rs[Work_status]","3"))) {echo "checked";} ?> value="3" disabled> อื่นฯ ระบุ ชื่อหน่วยงาน แผนก </font></td> </tr> <tr bgcolor="#EEEEEE"> <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><font size="2" face="Tahoma"> ว/ด/ป เริ่มทำงาน <? echo $rs[Date_w3]?> ถึง <? echo $rs[Date_w33]?> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td bordercolor="#006699" bgcolor="#FFFFFF"> </td> <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><font size="2" face="Tahoma"> <input name="Work_status" type="checkbox" id="Work_status" <?php if (!(strcmp("$rs[Work_status]","4"))) {echo "checked";} ?> value="4" disabled> ว่างงาน </font></td> </tr> <tr> <td height="20" bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">รายได้</font></div></td> <td bordercolor="#006699" bgcolor="#FFFFFF"> </td> <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><font size="2" face="Tahoma">้เฉลี่ย/เดือน<font color="#993333"> <strong><? echo $rs[Income_m]?> </strong><font color="#000000">บาท</font></font> เฉลี่ย/ปี<font color="#993333"><strong> <? echo $rs[Income_y]?> </strong><font color="#000000">บ</font></font>าท </font></td> </tr> <tr> <td height="20" bgcolor="#FFFFFF"> <div align="center"><font size="2" face="Tahoma">การเปลี่ยนงาน</font></div></td> <td bordercolor="#006699" bgcolor="#FFFFFF"> </td> <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"> <font size="2" face="Tahoma"><? echo $rs[Work_change]?></font></td> </tr> <tr bgcolor="#EEEEEE"> <td rowspan="2" bgcolor="#FFFFFF"> <div align="center"><font color="#003366" size="2" face="Tahoma">ข้อมูลการศึกษาต่อ</font></div></td> <td bordercolor="#006699" bgcolor="#FFFFFF"> </td> <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><font size="2" face="Tahoma"> ระดับการศึกษ<font color="#000000">า</font><font color="#993333"> <? echo $rs[Degree1]?> </font></font></td> </tr> <tr bgcolor="#EEEEEE"> <td bordercolor="#006699" bgcolor="#FFFFFF"> </td> <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"> <font size="2" face="Tahoma">ระดับการศึกษ<font color="#000000">า</font><font color="#993333"> <? echo $rs[Degree1]?> </font></font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="20" bgcolor="#FFFFFF"> <div align="center"><font size="2" face="Tahoma">รางวัลที่ได้รับ</font></div></td> <td bordercolor="#006699" bgcolor="#FFFFFF"> </td> <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"> <table width="100%" border="0" cellpadding="0" cellspacing="1"> <tr> <td width="28%"><font size="2" face="Tahoma">ขณะศึกษาที่วิทยาลัย </font></td> <td width="72%"><font color="#993333" size="2" face="Tahoma"><? echo $rs[Award_in]?> </font></td> </tr> </table></td> </tr> <tr bgcolor="#EEEEEE"> <td bgcolor="#FFFFFF"> </td> <td bordercolor="#006699" bgcolor="#FFFFFF"> </td> <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"> <table width="100%" border="0" cellpadding="0" cellspacing="1"> <tr> <td width="28%"><font size="2" face="Tahoma">ขณะทำงาน</font></td> <td width="72%"><font color="#993333" size="2" face="Tahoma"><? echo $rs[Award_out]?> </font></td> </tr> </table></td> </tr> <tr bgcolor="#E8EEFD"> <td colspan="4"> </td> </tr> </form> </table> </body> </html>
|