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_22222/plan/ drwxr-xr-x |
Viewing file: Select action/file-type: <?php session_start(); /** Define Validate Access */ define( '_VALID_ACCESS', 1 ); /** Check Session User Login */ if( !session_is_registered("valid_user") && !session_is_registered("Priority") ) { echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-874\" />"; echo "<p style=padding-top:115px><p align=center><br /><font color=red><strong>กรุณาทำการ Login ก่อน</strong></font></p></p>"; echo "<meta http-equiv=\"refresh\" content=\"1; URL=../login.php\" />"; exit(); } else { /** Configuration */ require_once( "../configuration.php" ); require_once( $_Config_absolute_path . "/includes/framework.php" ); require_once( "../include/Function.php" ); /** Create Database Object */ $dbObj = new DBConn; $Username = $valid_user; /** Config Table for This Page */ $myTable = "project_type_tb"; $myTable2 = "faculty_tb"; //=== salary_repot_tb $query = " SELECT * FROM $myTable WHERE ProjectId='$ProjectId' AND Faculty_code='$Faculty_code' AND Budget_Year='$Budget_Year' "; $result = $dbObj->execQuery($query); $rs = $dbObj->fetchArray($result); } # else ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-874" /> <link href="../css/default.css" rel="stylesheet" type="text/css" /> <script language="javascript" src="../js/utilities.js"></script> <title>ข้อมูลแผนดำเนินงานและรายงาน : ข้อมูลแผนดำเนินการ รายปีงบประมาณ - แก้ไขข้อมูลแผน/โครงการรดำเนินงาน (ย่อย)</title> </head> <body topmargin="0" rightmargin="0" bottommargin="0" leftmargin="0"> <?php include("../templates/incHeader.php"); ?> <table width="1003" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="203" align="left" valign="top" style="padding:10px 0px 0px 5px"><?php include("./_incMainMenu.php");?></td> <td width="800" align="center" valign="top" style="padding:10px 0px 5px 10px"><fieldset><table width="780" border="0" cellspacing="0" cellpadding="0"> <form id="myForm" name="myForm" method="post" action="EditPlaning.php"> <tr> <td height="5"></td> </tr> <tr> <td height="30" background="../images/background/bg-head-topic-w780.gif" class="PADDING-LEFT-10"><strong><a href="index.php">หน้าหลัก</a></strong> <strong>» <a href="PlaningByYear.php">ข้อมูลแผนดำเนินงาน</a> » <a href="PlaningList.php?Budget_Year=<?php echo $Budget_Year; ?>&Faculty_code=<?php echo $Faculty_code; ?>&Project_code=<?php echo $Project_code; ?>">ข้อมูลแผนดำเนินงาน แยกตามหน่วยงาน</a> » <span class="NOTE">แก้ไขข้อมูลแผน/โครงการรดำเนินงาน (ข้อย่อย)</span></strong></td> </tr> <tr> <td><table width="99%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="50%" class="PADDING-TOP-10 PADDING-BOTTOM-10"><img src="../images/icons/arrow-circle-225-left.png" width="16" height="16" border="0" align="absmiddle" /> <a href="javascript:;" onclick="window.history.back();"><strong>‹ ย้อนกลับ</strong></a></td> <td width="50%" align="right" valign="bottom"><span class="TEXT-ORANGE9">ขึ้นบรรทัดใหม่ ใน Text Area ใช้ Ship+Enter </span></td> </tr> </table></td> </tr> <tr> <td height="350" align="center" valign="top"><table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F8F8F8" style="border:1px solid #F0F0F0"> <tr> <td colspan="3" height="5" bgcolor="#F8F8F8"></td> </tr> <tr> <td width="17%" height="25" align="right" bgcolor="#F8F8F8">หน่วยงาน</td> <td width="1%" bgcolor="#F8F8F8"> </td> <td width="82%" bgcolor="#F8F8F8"><select name="Faculty_code" id="Faculty_code"> <?php $strSQL = " SELECT * FROM $myTable2 WHERE Faculty_code='$Faculty_code' "; $result1 = $dbObj->execQuery($strSQL); while( $rs1 = $dbObj->fetchArray($result1) ) { ?> <option value="<?=$rs1['Faculty_code'];?>" ><?=$rs1['Faculty_name'];?></option> <?php } # while ?> </select></td> </tr> <tr> <td height="25" align="right" bgcolor="#F8F8F8"><span class="TEXT-RED10"><sup>*</sup></span> รหัสแผน</td> <td bgcolor="#F8F8F8"> </td> <td bgcolor="#F8F8F8"><input name="Orderlist" type="text" id="Orderlist" style="text-align:center" value="<?php echo $rs['Orderlist']; ?>" size="5" maxlength="2" /></td> </tr> <tr> <td align="right" bgcolor="#F8F8F8">แผนงานโครงการ</td> <td bgcolor="#F8F8F8"> </td> <td bgcolor="#F8F8F8" class="TEXT-HEADER11-BLUE"><input name="Project_plan" type="text" id="Project_plan" value="<?php echo $rs['Project_plan']; ?>" size="98" maxlength="255" /></td> </tr> <tr> <td align="right" valign="top" bgcolor="#F8F8F8" style="padding-top:3px;">วัตถุประสงค์</td> <td bgcolor="#F8F8F8"> </td> <td bgcolor="#F8F8F8" style="padding-top:5px;"><textarea name="Orderlist_2" cols="75" rows="5" class="input" id="Orderlist_2"><?php echo $rs['Orderlist_2'];?></textarea></td> </tr> <tr> <td align="right" valign="top" bgcolor="#F8F8F8" style="padding-top:3px;">ตัวชี้วัดความสำเร็จ</td> <td bgcolor="#F8F8F8"> </td> <td bgcolor="#F8F8F8" style="padding-top:5px;"><textarea name="Project_name" cols="75" rows="5" class="input" id="Project_name"><?php echo $rs['Project_name'];?></textarea></td> </tr> <tr> <td align="right" valign="top" bgcolor="#F8F8F8" style="padding-top:3px;">วิธีการดำเนินงาน</td> <td bgcolor="#F8F8F8"> </td> <td bgcolor="#F8F8F8" style="padding-top:5px;"><textarea name="Project_rep" cols="75" rows="5" class="input" id="Project_rep"><?php echo $rs['Project_rep'];?></textarea></td> </tr> <tr> <td align="right" valign="top" bgcolor="#F8F8F8" style="padding-top:3px;">กลุ่มเป้าหมาย</td> <td bgcolor="#F8F8F8"> </td> <td bgcolor="#F8F8F8" style="padding-top:5px;"><textarea name="Period" cols="75" rows="5" class="input" id="Period"><?php echo $rs['Period'];?></textarea></td> </tr> <tr> <td align="right" valign="top" bgcolor="#F8F8F8" style="padding-top:3px;">ผลที่คาดว่าจะได้รับ</td> <td bgcolor="#F8F8F8"> </td> <td bgcolor="#F8F8F8" style="padding-top:5px;"><textarea name="Period_1" cols="75" rows="5" class="input" id="Period_1"><?php echo $rs['Period_1'];?></textarea> <script>QBPATH='../editor'; VISUAL=1; SECURE=0;</script> <script src='../editor/quickB.js'></script> <script src='../editor/tabedit.js'></script></td> </tr> <tr> <td align="right" bgcolor="#F8F8F8" style="padding-top:10px;">ผู้รับผิดชอบ</td> <td align="center" bgcolor="#F8F8F8"> </td> <td height="25" align="left" bgcolor="#F8F8F8" style="padding-top:15px;"><select name="Teacher_code" id="Teacher_code"> <?php //$Teacher_ code = $rs[Tacher_code]; $strSQL3 = " SELECT * FROM personal_tb WHERE Permission='2' ORDER BY Teacher_name "; $result3 = $dbObj->execQuery($strSQL3); $strSQL4 = " SELECT * FROM personal_tb ORDER BY Teacher_name "; $result4 = $dbObj->execQuery($strSQL4); while( $rs3 = $dbObj->fetchArray($result3) ) { echo "<option value=\"$rs3[Teacher_code]\">$rs3[Teacher_name] $rs3[Teacher_lastname]</option>\n"; while( $rs4 = $dbObj->fetchArray($result4) ) { echo "<option value=\"$rs4[Teacher_code]\">$rs4[Teacher_name] $rs4[Teacher_lastname]</option>\n"; } } ?> </select></td> </tr> <tr> <td align="right" bgcolor="#F8F8F8">หมวดเงิน</td> <td align="center" bgcolor="#F8F8F8"> </td> <td height="25" align="left" bgcolor="#F8F8F8"><select name="MoneyS_C" id="MoneyS_C"> <?php $MoneyS_C = $rs['MoneyS_C']; $strSQL5 = " SELECT * FROM money_source_tb WHERE MoneyS_C='$MoneyS_C' ORDER BY MoneyS_C "; $result5 = mysql_query($strSQL5); $strSQL6 = " SELECT * FROM money_source_tb ORDER BY MoneyS_C "; $result6 = mysql_query($strSQL6); while( $rs5 = mysql_fetch_array($result5) ) { echo "<option value=\"$rs5[MoneyS_C]\">$rs5[MoneyS_M]</option>\n"; while( $rs6 = mysql_fetch_array($result6) ) { echo "<option value=\"$rs6[MoneyS_C]\">$rs6[MoneyS_M]</option>\n"; } } ?> </select></td> </tr> <tr> <td align="right" bgcolor="#F8F8F8">ปีงบประมาณ พ.ศ.</td> <td align="center" bgcolor="#F8F8F8"> </td> <td height="25" align="left" bgcolor="#F8F8F8"><input name="Budget_Year" type="text" id="Budget_Year" value="<?php echo $rs['Budget_Year'];?>" size="5" maxlength="4" style="text-align:center" /></td> </tr> <tr> <td align="right" bgcolor="#F8F8F8">วันที่ตั้งงบประมาณ</td> <td align="center" bgcolor="#F8F8F8"> </td> <td height="25" align="left" bgcolor="#F8F8F8"><input name="Date_start" type="text" id="Date_start" style="text-align:center" value="<?php echo $rs['Date_start']; ?>" size="9" /> <script type="text/javascript" src="../includes/popcalendar.js"></script> <script language='JavaScript'> if (!document.layers) { document.write("<img src='../images/ew_calendar.gif' width='16' height='15' style='cursor:hand;' onclick='popUpCalendar(this, myForm.Date_start, \"yyyy-mm-dd\")'>") } </script> <span class="TEXT-ORANGE9"><-- คลิ๊กที่นี่</span> วันสิ้นสุด <input name="Date_finish" type="text" id="Date_finish" style="text-align:center" value="<?php echo $rs['Date_finish']; ?>" size="9" /> <script language='JavaScript'> if (!document.layers) { document.write("<img src='../images/ew_calendar.gif' width='16' height='15' style='cursor:hand;' onclick='popUpCalendar(this, myForm.Date_finish, \"yyyy-mm-dd\")'>") } </script> <span class="TEXT-ORANGE9"><-- คลิ๊กที่นี่</span></td> </tr> <tr> <td align="right" valign="top" bgcolor="#F8F8F8" style="padding-top:13px">งบประมาณแต่ละเดือน</td> <td align="center" bgcolor="#F8F8F8"> </td> <td height="25" align="left" valign="top" bgcolor="#F8F8F8" style="padding-top:8px"><table width="99%" border="0" cellpadding="1" cellspacing="1" bgcolor="#F8F8F8"> <tr bgcolor="#F8F8F8"> <td width="13%" align="right">มกราคม </td> <td width="19%" align="left"><input name="January" type="text" id="January" style="text-align:center" onkeypress="return checkNumeric();" value="<?php echo $rs['January']; ?>" size="10" maxlength="10" /></td> <td width="13%" align="right">กรฏาคม</td> <td width="55%"><input name="July" type="text" id="July" style="text-align:center" onkeypress="return checkNumeric();" value="<?php echo $rs['January']; ?>" size="10" maxlength="10" /></td> </tr> <tr bgcolor="#F8F8F8"> <td align="right">กุมภาพันธ์ </td> <td align="left"><input name="February" type="text" id="February" style="text-align:center" onkeypress="return checkNumeric();" value="<?php echo $rs['February']; ?>" size="10" maxlength="10" /></td> <td align="right">สิงหาคม</td> <td><input name="Augus" type="text" id="Augus" style="text-align:center" onkeypress="return checkNumeric();" value="<?php echo $rs['Augus']; ?>" size="10" maxlength="10" /></td> </tr> <tr bgcolor="#F8F8F8"> <td align="right">มีนาคม</td> <td align="left"><input name="March" type="text" id="March" style="text-align:center" onkeypress="return checkNumeric();" value="<?php echo $rs['March']; ?>" size="10" maxlength="10" /></td> <td align="right">กันยายน</td> <td><input name="September" type="text" id="September" style="text-align:center" onkeypress="return checkNumeric();" value="<?php echo $rs['September']; ?>" size="10" maxlength="10" /></td> </tr> <tr bgcolor="#F8F8F8"> <td align="right">เมษายน</td> <td align="left"><input name="April" type="text" id="April" style="text-align:center" onkeypress="return checkNumeric();" value="<?php echo $rs['April']; ?>" size="10" maxlength="10" /></td> <td align="right">ตุลาคม</td> <td><input name="October" type="text" id="October" style="text-align:center" onkeypress="return checkNumeric();" value="<?php echo $rs['October']; ?>" size="10" maxlength="10" /></td> </tr> <tr bgcolor="#F8F8F8"> <td align="right">พฤษภาคม</td> <td align="left"><input name="May" type="text" id="May" style="text-align:center" onkeypress="return checkNumeric();" value="<?php echo $rs['May']; ?>" size="10" maxlength="10" /></td> <td align="right">พฤศจิกายน</td> <td><input name="November" type="text" id="November" style="text-align:center" onkeypress="return checkNumeric();" value="<?php echo $rs['November']; ?>" size="10" maxlength="10" /></td> </tr> <tr bgcolor="#F8F8F8"> <td align="right">มิถุนายน</td> <td align="left"><input name="June" type="text" id="June" style="text-align:center" onkeypress="return checkNumeric();" value="<?php echo $rs['June']; ?>" size="10" maxlength="10" /></td> <td align="right">ธันวาคม</td> <td><input name="December" type="text" id="December" style="text-align:center" onkeypress="return checkNumeric();" value="<?php echo $rs['December']; ?>" size="10" maxlength="10" /></td> </tr> </table></td> </tr> <tr> <td align="center" bgcolor="#F8F8F8"> </td> <td align="center" bgcolor="#F8F8F8"> </td> <td height="25" align="left" bgcolor="#F8F8F8"> </td> </tr> <tr> <td height="29" align="center" bgcolor="#F8F8F8"> </td> <td height="29" align="center" bgcolor="#F8F8F8"> </td> <td height="29" align="left" bgcolor="#F8F8F8"><input type="hidden" name="Project_code" value="<?=$Project_code;?>" /> <input type="hidden" name="ProjectId" value="<?=$ProjectId;?>" /> <input name="Submit" type="submit" class="WIDTH60 CURSOR-HAND" value="บันทึก" /> <input name="Reset" type="reset" class="WIDTH60 CURSOR-HAND" value="รีเซ็ต" /> <input name="Button" type="button" value="ยกเลิก" class="WIDTH60 CURSOR-HAND" onclick="location.href='EditPlaningList.php?Budget_Year=<?=$Budget_Year;?>&Faculty_code=<?=$Faculty_code;?>&Project_code=<?=$Project_code;?>'" /></td> </tr> <tr> <td align="center" bgcolor="#F8F8F8"> </td> <td align="center" bgcolor="#F8F8F8"> </td> <td align="left" bgcolor="#F8F8F8"> </td> </tr> </table></td> </tr> <tr> <td> </td> </tr></form> </table> </fieldset></td> </tr> </table> <?php include("../templates/incFooter.php"); ?> </body> </html> <?php /** Free Resource */ $dbObj->freeresult($result); /** Close the Database */ $dbObj->disconn(); /** Unset Class */ unset($dbObj); ?> |
:: 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.0056 ]-- |