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/Develop_person_depart/ drwxr-xr-x |
Viewing file: Addproject.php (12.17 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | <?php session_start(); if (session_is_registered("valid_user")&&session_is_registered("Priority") ) { include("../include/FunctionDB.php"); include("admin_menu.php"); include("../include/Function.php"); ConnectDB(); $sql = "Select * From edu_service_tb Where Faculty_code='$Faculty_code'"; $result = mysql_query($sql) or die("Error".mysql_error()); $rs = mysql_fetch_array($result); ?> <meta http-equiv="Content-Type" content="text/html; charset=TIS-620"> <script language="JavaScript" type="text/JavaScript"> <!-- function browse() { form1.Imag1.src = form1.Img1.value; } <!-- function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } //--> function chk(c){ if (c.checked){ document.all.Prob1.disabled=false; document.all.Prob2.disabled=false; document.all.Prob3.disabled=false; document.all.Prob4.disabled=false; } else{ document.all.Problem.disabled=false; } } </script> <style type="text/css"> <!-- .style3 {color: #000000} --> </style> <table width="835" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="835" ><br> <fieldset> <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="menu_traning.php">หน้าหลัก</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="ProjectList.php?Faculty_code=<? echo $rs[Faculty_code] ?>">ข้อมูลการโครงการ</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle">เพิ่มโครงการ/กิจกรรมบริการวิชาการ</font></legend> <label> <form action="InsertProject.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <p><font size="2" face="Tahoma"><img src="../picture/previous.gif" onclick="window.history.back()" width="85" height="22" border="0" /></font></p> <table width="81%" height="629" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF" style="border:0px solid gray"> <tr bgcolor="#E0F9DF"> <td height="36" colspan="3" bgcolor="#EEEEEE"><div align="center"><strong><font color="#003366" size="3" face="Tahoma"> เพิ่มโครงการ/ กิจกรรมบริการวิชาการ</font></strong></div></td> </tr> <tr bgcolor="#EEEEEE"> <td width="34%"><div align="center"><font color="#003366" size="2" face="Tahoma">ชื่อโครงการ</font></div></td> <td width="1%" bordercolor="#006699"> </td> <td width="65%" bordercolor="#006699" bgcolor="#EEEEEE"><input name="Project_name" type="text" size="60" class="input1" /></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"><font color="#003366" size="2" face="Tahoma">ระยะเวลา</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><div align="left"> <font color="#000000" size="2" face="Tahoma">วันที่ <select name="mDate" id="mDate" class="select" onkeypress="return handleEnter(this, event)" > <? getDay1to31();?> </select> เดือน <select name="mMonth" id="mMonth" class="select" onkeypress="return handleEnter(this, event)"> <? getThaiMonth();?> </select> ปี พ.ศ. <input name="mYear" type="text" class="input1" id="mYear" size="5" maxlength="4" /> </font></div></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"><font color="#003366" size="2" face="Tahoma">วันที่ดำเนินการ</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><font color="#000000" size="2" face="Tahoma">วันที่ <select name="mDate2" id="mDate2" class="select" onkeypress="return handleEnter(this, event)" > <? getDay1to31();?> </select> เดือน <select name="mMonth2" id="select2" class="select" onkeypress="return handleEnter(this, event)"> <? getThaiMonth();?> </select> ปี พ.ศ. <input name="mYear2" type="text" class="input1" id="mYear2" size="5" maxlength="4"> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"><font color="#003366" size="2" face="Tahoma">ปีการศึกษา</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><input name="Term" type="text" class="input1" id="Term" size="5" maxlength="4" /> <font size="2" face="Tahoma">ปีงบประมาณ พ.ศ. <input name="Year_budget" type="text" class="input1" id="Year_budget" size="5" maxlength="4" /> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"><font color="#003366" size="2" face="Tahoma">งบประมาณประมาณการ</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><font color="#000000"> <input name="Budget" type="text" class="input1" id="Budget" size="10" /> <font size="2" face="Tahoma">บาท</font></font></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"><font color="#003366" size="2" face="Tahoma">เงินที่ใช้จริง</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><font color="#000000"> <input name="Budget_use" type="text" class="input1" id="Budget_use" size="10" /> <font size="2" face="Tahoma"> บาท</font></font></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"><font color="#003366" size="2" face="Tahoma">จำนวนผู้เข้าร่วมโครงการ</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><input name="Target_group" type="text" class="input1" id="Target_group" size="10" /> <font color="#000000"><font size="2" face="Tahoma">คน</font></font></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"><font color="#003366" size="2" face="Tahoma">วัตถุประสงค์</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><textarea name="Objective" cols="50" rows="5" id="Objective" class="input1"></textarea></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"><font color="#003366" size="2" face="Tahoma">รับเงินสนับสนุนจากแหล่งอื่น</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><input name="Fund_support " type="text" size="50" id="Fund_support " class="input1" /></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"><font color="#003366" size="2" face="Tahoma">ค่าลงทะเบียน/คน</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><font size="2" face="Tahoma"> <label> <input name="Res" type="radio" value="Y" /> </label> </font><font color="#000000"> </font><font color="#003366" size="2" face="Tahoma">ลงทะเบียน</font> <font color="#000000"> <input name="Fee" type="text" class="input1" id="Fee" size="10" /> <font size="2" face="Tahoma">บาท <label> <input name="Res" type="radio" value="N"checked /> </label> ไม่</font><font color="#003366" size="2" face="Tahoma">ลงทะเบียน</font></font></td> </tr> <tr bgcolor="#EEEEEE"> <td rowspan="2"><div align="center"><font color="#003366" size="2" face="Tahoma">ตอบสนอง</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><font size="2" face="Tahoma"> <input name="Response2" type="checkbox" id="Response2" value="วิชาชีพ" /> วิชาชีพ <input name="Response" type="checkbox" id="Response" value="การเรียนการสอน" /> การเรียนการสอน </font></td> </tr> <tr bgcolor="#EEEEEE"> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><font size="2" face="Tahoma"> <input name="Response" type="checkbox" id="Response" value="checkbox" /> อื่นฯ </font> <input name="Response" type="text" class="input1" id="Response" size="50" /></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"><font color="#003366" size="2" face="Tahoma">จำนวนชั่วโมงทั้งหมดของโครงการ</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><font color="#000000" size="2" face="Tahoma"> <input name="Total_time_project" type="text" class="input1" id="Total_time_project" size="5" /> ชั่วโมง</font></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"><font color="#003366" size="2" face="Tahoma">จำนวนชั่วโมงที่บุคลากรเป็นวิทยากร</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><font color="#000000" size="2" face="Tahoma"> <input name="Total_time_insi" type="text" class="input1" id="Total_time_insi" size="5" /> ชั่วโมง</font></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"><font color="#003366" size="2" face="Tahoma">จำนวนชั่วโมงที่เชิญวิทยากรภายนอก</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><font color="#000000" size="2" face="Tahoma"> <input name="Total_time_inso" type="text" class="input1" id="Total_time_inso" size="5" /> ชั่วโมง</font></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"><font color="#003366" size="2" face="Tahoma">ผลการดำเนินงานตามแผน</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><input type="radio" name="Result_oper" value="1" /> <font size="2" face="Tahoma"> เสร็จตามแผน <input type="radio" name="Result_oper" value="2" /> ไม่เสร็จตามแผน <input type="radio" name="Result_oper" value="3" /> ไม่ได้ทำ </font></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"><font color="#003366" size="2" face="Tahoma">สถานที่จัด</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><input name="Detail" type="text" class="input1" id="Detail" size="50" /></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"><font color="#003366" size="2" face="Tahoma">หน่วยงาน ที่จัด</font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><strong><font color="#003366" size="2" face="Tahoma"> <select name="Faculty_code" id="Faculty_code" class="input1"> <?php $strSQL3 = "SELECT * FROM faculty_tb ";///Where Faculty_code='$Faculty_code' 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></strong></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"><font color="#003366" size="2" face="Tahoma">โหลดโครงการ </font></div></td> <td bordercolor="#006699"> </td> <td bordercolor="#006699"><table width="82%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="80%" height="34"><div align="center"> <div align="left"> <input name="Img1" type="file" id="Img1" onchange="browse()> width="20% /> </td> </tr> </table></td> </tr> <tr bgcolor="#E0F9DF"> <td colspan="3" bgcolor="#EEEEEE"><div align="center"> <input type="submit" name="Submit3" value=" เพิ่ม " /> <input type="reset" name="Submit22" value=" เริ่มใหม่ " /> </div></td> </tr> </table> </form> </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.0065 ]-- |