Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /var/www/html/manage/Outreac_project/ drwxr-xr-x |
Viewing file: InstructorDetail.php (5.91 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | <?php require_once( "../configuration.php" ); include("../include/FunctionDB.php"); ConnectDB(); $sql = " SELECT * FROM instructor_tb WHERE code='$code' "; $result = mysql_query($sql) or die(" Error").mysql_error(); $rs = mysql_fetch_array($result); $img_path = $_Config_live_site."/personal_pic"; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Instructor Detail</title> <meta http-equiv="Content-Type" content="text/html; charset=windows-874" /> <link href="../css/default.css" rel="stylesheet" type="text/css"> <style type="text/css"> <!-- .style2 {font-size: 12px} --> </style> </head> <body> <table width="650" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <th scope="col" style="padding-top:5px; padding-bottom:5px"><fieldset> <table width="640" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#EEEEEE" style="border:0px solid gray"size="12"> <tr bgcolor="#CCCCFF"> <td height="25" colspan="4" align="center" bgcolor="#F0F0F0" ><font color="#000000" face="Tahoma">แสดงข้อมูลวิทยากร</font></td> </tr> <tr> <td width="151" height="20" bordercolor="#D8D2A9" bgcolor="#F9F9F9"><span class="style2"><font color="#003366" face="Tahoma">ชื่อ-นามสกุล</font></span></td> <td bordercolor="#DDF8D1" bgcolor="#F9F9F9"> </td> <td bordercolor="#DDF8D1" bgcolor="#F9F9F9"><font color="#000000" size="2" face="Tahoma"><?php echo $rs['First_name']; ?> <?php echo $rs['Name']; ?> <?php echo $rs['Lastname']; ?></font></td> <td width="125" rowspan="10" align="center" bordercolor="#DDF8D1" bgcolor="#FFFFFF"> <img src="<?=$img_path;?>/<?php echo $rs['Img1']; ?>" width="100" height="100" border="0" align="center" name="pimg" style="border:1px solid #CCC" /></td> </tr> <tr> <td height="20" bordercolor="#D8D2A9" bgcolor="#FFFFFF"><span class="style2"><font color="#003366" face="Tahoma">สถานะ</font></span></td> <td bordercolor="#DDF8D1" bgcolor="#FFFFFF"> </td> <td bordercolor="#DDF8D1" bgcolor="#FFFFFF"><font color="#000000" size="2" face="Tahoma"> <?php $Status = $rs['Status']; if($Status =="1") { echo"<font size=\"2\" face=\"Tahoma\" color=\"#000066\">อาจารย์ของวิทยาลัย</font>"; } else if ($Status =="2") { echo"<font size=\"2\" face=\"Tahoma\" color=\"#000066\">อาจารย์พิเศษ (ภายนอก)</font>"; } ?></font></td> </tr> <tr bgcolor="#F9F9F9"> <td height="20" bordercolor="#D8D2A9"><span class="style2"><font color="#003366" face="Tahoma">เพศ</font></span></td> <td width="4" bordercolor="#DDF8D1"> </td> <td width="360" bordercolor="#DDF8D1"><font color="#000000" size="2" face="Tahoma"><?php echo $rs['Sex']; ?></font></td> </tr> <tr> <td height="20" bordercolor="#D8D2A9" bgcolor="#FFFFFF"><span class="style2"><font color="#000066" face="Tahoma">คุณวุฒิ</font></span></td> <td width="4" bordercolor="#DDF8D1" bgcolor="#FFFFFF"> </td> <td width="360" bordercolor="#DDF8D1" bgcolor="#FFFFFF"><font color="#000000" size="2" face="Tahoma"><?php echo $rs['Degree']; ?></font></td> </tr> <tr bgcolor="#F9F9F9"> <td height="20" valign="top" bordercolor="#D8D2A9" bgcolor="#F9F9F9"><span class="style2"><font color="#000066" face="Tahoma">ประสบการณ์การทำงาน</font></span></td> <td width="4" bordercolor="#DDF8D1"> </td> <td width="360" valign="top" bordercolor="#DDF8D1" bgcolor="#F9F9F9"><font color="#000000" size="2" face="Tahoma"> <?php echo htmlspecialchars_decode( nl2br($rs['Exper'] ) );?></font></td> </tr> <tr> <td height="20" bordercolor="#D8D2A9" bgcolor="#FFFFFF"><span class="style2"><font color="#000066" face="Tahoma">ความเชี่ยวชาญ</font></span></td> <td width="4" bordercolor="#DDF8D1" bgcolor="#FFFFFF"> </td> <td width="360" bordercolor="#DDF8D1" bgcolor="#FFFFFF"><font color="#000000" size="2" face="Tahoma"> <?php echo htmlspecialchars_decode( nl2br($rs['Skill'] ) );?></font></td> </tr> <tr bgcolor="#F9F9F9"> <td height="20"><span class="style2"><font color="#000066" face="Tahoma">สถานที่ปฎิบัติงาน</font></span></td> <td bordercolor="#DDF8D1"> </td> <td><font color="#000000" size="2" face="Tahoma"><?php echo htmlspecialchars_decode( nl2br( $rs['Addr_home'] ) ); ?></font></td> </tr> <tr> <td height="20" bordercolor="#D8D2A9" bgcolor="#FFFFFF"><span class="style2"><font color="#003366" face="Tahoma">ที่อยู่</font></span></td> <td bordercolor="#DDF8D1" bgcolor="#FFFFFF"> </td> <td bordercolor="#DDF8D1" bgcolor="#FFFFFF"><font color="#000000" size="2" face="Tahoma"><?php echo htmlspecialchars_decode( nl2br( $rs['Addr_home'] ) ); ?></font></td> </tr> <tr bgcolor="#F9F9F9"> <td height="20" bordercolor="#D8D2A9"><span class="style2"><font color="#000066" face="Tahoma">โทรศัพท์</font></span></td> <td bordercolor="#DDF8D1"> </td> <td bordercolor="#DDF8D1"><font color="#000000" size="2" face="Tahoma"><?php echo $rs['Tel']; ?></font></td> </tr> <tr> <td height="20" bordercolor="#D8D2A9" bgcolor="#FFFFFF"><span class="style2"><font color="#003366" face="Tahoma">E-mail</font></span></td> <td bordercolor="#DDF8D1" bgcolor="#FFFFFF"> </td> <td bgcolor="#FFFFFF"><font color="#000000" size="2" face="Tahoma"><?php echo $rs['Email']; ?></font></td> </tr> </table> </fieldset> </th> </tr> <tr> <th align="center" style="padding-top:10px; padding-bottom:5px" scope="col"><input type="button" name="close2" value="ปิดหน้าต่าง" onClick="window.close()"></th> </tr> </table> </body> </html> <?php CloseDB(); ?> |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0151 ]-- |