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/teacher/ drwxr-xr-x |
Viewing file: AddPlaning.php (18.43 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | <?php session_start(); if (session_is_registered("valid_user")&&session_is_registered("Priority")&&session_is_registered("password") ) { include("../include/FunctionDB.php"); include("../include/Function.php"); include("admin_menu.php"); ConnectDB(); $Username = $valid_user; $sql = "SELECT * FROM personal_tb WHERE Username='$Username'"; $res = mysql_query($sql); $rs = mysql_fetch_array($res); ?> <meta http-equiv="Content-Type" content="text/html; charset=TIS-620"> <link rel="stylesheet" href="../css/cart4.css" type="text/css"> <style type="text/css"> <!-- .style1 {font-size: 14px} --> </style> <table width="807" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="807"><span class="style1"><br> </span> <fieldset> <legend><span class="style1"><font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="menu_teacher.php" >หน้าหลัก</a><img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /><a href="PlaningByYear.php?Teacher_code=<? echo $rs[Teacher_code] ?>&Budget_Year=<?php echo $rs[Budget_Year] ?>&Faculty_code=<?php echo $rs[Faculty_code] ?> ">ข้อมูลแผนดำเนินงานรายปี</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /><a href="EditPlaningByYear.php?Teacher_code=<? echo $rs[Teacher_code] ?>&Faculty_code=<? echo $rs[Faculty_code] ?>">แก้ไขข้อมูลแผนดำเนินการรายปี</a><img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" />เพิ่มข้อมูลแผนดำเนินการ</font></span></legend> <label><div align="center"> <form id="form1" name="form1" method="post" action="InsertPlaning.php"> <table width="91%" border="0" align="center" cellpadding="0" cellspacing="0" style=" border:1px solid gray"size="12"> <tr> <td height="29" background="../Image/barIns2.jpg" bgcolor="#D1E1F0"><div align="center"><font color="#000000" size="3" face="Tahoma">เพิ่มข้อมูลตามแผนดำเนินการ </font><font size="4" face="Tahoma"><font color="#003399"><? echo $Budget_Year?></font></font></div></td> </tr> <tr> <td height="43" ><table width="107%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#E0E0E0"> <tr bgcolor="#ECD9C6"> <td height="22" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center" class="style1"><font color="#003366" face="Tahoma">รหัสหน่วยงาน</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699" bgcolor="#EEEEEE"><strong><font color="#003366" size="2" face="Tahoma"> <select name="Faculty_code" id="Faculty_code" class="input1"> <?php $strSQL3 = "SELECT * FROM faculty_tb Order By Faculty_code ASC "; $result3 = mysql_query($strSQL3); while( $rs3 = mysql_fetch_array($result3)) { echo"<option value=\"$rs3[Faculty_code]\" ><b>$rs3[Faculty_name]</b></option>\n"; } CloseDB(); ?> </select> </font><font face="Tahoma"> <input type="hidden" name="Teacher_code" value="<?=$rs[Teacher_code];?>" /> </font></strong></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center" class="style1"><font color="#003366" face="Tahoma">รหัสของแผน</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><input name="Orderlist" type="text" id="Orderlist" size="6" /></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center" class="style1"><font color="#000066" face="Tahoma">แผนงานโครงการ</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><input name="Project_plan" type="text" id="Project_plan" size="70" /></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center" class="style1"><font color="#003366" face="Tahoma">วัตถุประสงค์</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><label> <textarea name="Orderlist_2" cols="50" id="Orderlist_2"></textarea> </label></td> </tr> <tr bgcolor="#EEEEEE"> <td width="26%"><div align="center" class="style1"><font color="#000066" face="Tahoma">ตัวชี้วัดความสำเร็จ</font></div></td> <td width="1%" bordercolor="#006699"> </td> <td width="73%" bordercolor="#006699"><label> <textarea name="Project_name" cols="50" id="Project_name"></textarea> </label></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center" class="style1"><font color="#000066" face="Tahoma">วิธีการดำเนินงาน</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><textarea name="Project_rep" cols="50" id="Project_rep"></textarea></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center" class="style1"><font color="#003366" face="Tahoma">กลุ่มเป้าหมาย</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><font color="#003366" size="2" face="Tahoma"> <textarea name="Period" cols="50" id="Period"></textarea> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center" class="style1"><font color="#003366" face="Tahoma">ผลที่คาดว่าจะได้รับ</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><font color="#003366" size="2" face="Tahoma"> <label></label> <textarea name="Period_1" cols="50" id="Period_1"></textarea> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center" class="style1"><font color="#003366" face="Tahoma">หมวดเงิน</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><select name="Percent_ans" id="Percent_ans"> <option value="<null>">เลือหมวดเงิน</option> <option value="เงินงบประมาณ">เงินงบประมาณ</option> <option value="เงินบำรุงการศึกษา">เงินบำรุงการศึกษา</option> <option value="เงินบำรุงสถานบริการ">เงินบำรุงสถานบริการ</option> <option value="เงินลงทะเบียน">เงินลงทะเบียน</option> <option value="เงินบประมาณ สบช">เงินบประมาณ สบช</option> <option value="เงินงบประมาณเครือข่าย">เงินงบประมาณเครือข่าย</option> <option value="เงินอื่นๆ">เงินอื่นๆ</option> </select></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center" class="style1"><font color="#003366" face="Tahoma">ปีงบประมาณ พ.ศ.</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><font color="#0000FF" size="2" face="Geneva, Arial, Helvetica, sans-serif"> <select name="Budget_Year" id="select20"> <option value="0">ปี งบประมาณ</option> <? for($i=2549;$i<=2554;$i++){ $temp=$i; if(date('Y')==$temp) echo"<option value='$temp'selected>$temp</option>"; else echo"<option value='$temp'>$temp</option>"; }?> </select> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td bgcolor="#EEEEEE"><div align="center" class="style1"><font color="#003366" face="Tahoma">วันที่ตั้งงบประมาณดำเนินการ</font></div></td> <td> </td> <td><div align="left"> <select name="mDate1" id="mDate1" class="select"> <? getDay1to31();?> </select> - <select name="mMonth1" id="mMonth1" class="input1"> <? getThaiMonth();?> </select> - <input name="mYear1" type="text" class="input1" size="3" maxlength="4" /> <font size="2" face="Tahoma"> วันสิ้นสุด <select name="mDate2" id="mDate2" class="input1"> <? getDay1to31();?> </select> - <select name="mMonth2" id="mMonth2" class="input1" > <? getThaiMonth();?> </select> - <input name="mYear2" type="text" size="3" class="input1" /> </font></div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="140"><div align="center" class="style1"><span class="style15"><font color="#003366" face="Tahoma">งบประมาณแต่ละเดือน</font></span></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><table width="489" border="0" cellpadding="0" cellspacing="1"> <tr> <th width="99" class="style1" scope="col"><div align="center" class="style19 style1"> <div align="left"><font face="Tahoma">มกราคม</font></div> </div></th> <th width="121" class="style1" scope="col"><div align="left" class="style16"> <font size="2" face="Tahoma"> <input name="January" type="text" id="January" size="6" /> บาท</font></div></th> <th width="110" class="style1" scope="col"><div align="center" class="style20"> <div align="left"><font face="Tahoma">กรฏาคม</font></div> </div></th> <th width="100" class="style1" scope="col"><div align="left" class="style16"> <font size="2" face="Tahoma"> <input name="July" type="text" id="July" size="6" /> บาท</font></div></th> <th width="37" scope="col"> </th> </tr> <tr> <th class="style1" scope="col"><div align="center" class="style20 style1"> <div align="left"><span class="style21"><font face="Tahoma">กุมภาพันธ</font></span><font face="Tahoma">์</font></div> </div></th> <th class="style1" scope="col"><div align="left" class="style16"> <font size="2" face="Tahoma"> <input name="February" type="text" id="February" size="6" /> บาท </font></div></th> <th class="style1" scope="col"><div align="center" class="style20"> <div align="left"><font face="Tahoma">สิงหาคม</font></div> </div></th> <th class="style1" scope="col"><div align="left" class="style16"> <font size="2" face="Tahoma"> <input name="Augus" type="text" id="Augus" size="6" /> บาท </font></div></th> <td> </td> </tr> <tr> <th class="style1" scope="col"><div align="center" class="style20 style1"> <div align="left"><font face="Tahoma">มีนาคม</font></div> </div></th> <th class="style1" scope="col"><div align="left" class="style16"> <font size="2" face="Tahoma"> <input name="March" type="text" id="March" size="6" /> บาท </font></div></th> <th class="style1" scope="col"><div align="center" class="style20"> <div align="left"><font face="Tahoma">กันยายน</font></div> </div></th> <th class="style1" scope="col"><div align="left" class="style16"> <font size="2" face="Tahoma"> <input name="September" type="text" id="September" size="6" /> บาท </font></div></th> <td> </td> </tr> <tr> <th class="style1" scope="col"><div align="center" class="style20 style1"> <div align="left"><font face="Tahoma">เมษายน</font></div> </div></th> <th class="style1" scope="col"><div align="left" class="style16"> <font size="2" face="Tahoma"> <input name="April" type="text" id="April" size="6" /> บาท </font></div></th> <th class="style1" scope="col"><div align="center" class="style20"> <div align="left"><font face="Tahoma">ตุลาคม</font></div> </div></th> <th class="style1" scope="col"><div align="left" class="style16"> <font size="2" face="Tahoma"> <input name="October" type="text" id="October" size="6" /> บาท </font></div></th> <td> </td> </tr> <tr> <th class="style1" scope="col"><div align="center" class="style20 style1"> <div align="left"><font face="Tahoma">พฤษภาคม</font></div> </div></th> <th class="style1" scope="col"><div align="left" class="style16"> <font size="2" face="Tahoma"> <input name="May" type="text" id="May" size="6" /> บาท </font></div></th> <th class="style1" scope="col"><div align="center" class="style20"> <div align="left"><font face="Tahoma">พฤศจิกายน</font></div> </div></th> <th class="style1" scope="col"><div align="left" class="style16"> <font size="2" face="Tahoma"> <input name="November" type="text" id="November" size="6" /> บาท </font></div></th> <td> </td> </tr> <tr> <th class="style1" scope="col"><div align="center" class="style20 style1"> <div align="left"><font face="Tahoma">มิถุนายน</font></div> </div></th> <th class="style1" scope="col"><div align="left" class="style16"> <font size="2" face="Tahoma"> <input name="June" type="text" id="June" size="6" /> บาท </font></div></th> <th class="style1" scope="col"><div align="center" class="style20"> <div align="left"><font face="Tahoma">ธันวาคม</font></div> </div></th> <th class="style1" scope="col"><div align="left" class="style16"> <font size="2" face="Tahoma"> <input name="December" type="text" id="December" size="6" /> บาท </font></div></th> <td> </td> </tr> </table></td> </tr> <tr bgcolor="#ECD9C6"> <td colspan="3"><div align="center"> <input type="submit" name="Submit3" value=" เพิ่ม " /> <input type="reset" name="Submit22" value=" เริ่มใหม่ " /> </div></td> </tr> </table></td> </tr> </table> </form> </div> </label> </fieldset><br> <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>หมายเหตุ :</b> ใช้เมาส์คลิกที่ชื่อ<br> </font></td> </tr> </table> <?php } else { echo"<meta http-equiv=\"refresh\" content=\"3;URL=../login.php\">\n"; echo"Please Login "; } ?> |
:: 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.0105 ]-- |