!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.92 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:     printRepHisRegisDocDeptToNewDept.php (35.39 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
set_time_limit
(0);
include_once 
"template.php";
include_once 
"../link/function.php";
include_once 
"../link/functionshow.php";
include_once 
"../class/clsDocType.php";
include_once 
"../class/clsDocuments.php";
include_once 
"funct.php";
include_once 
"../class/clsDepartment.php";
 include_once 
"../class/clsDocLineConfig.php";
 include_once 
"../class/clsDocLinePosition.php";
 include_once 
"../link/keyThai.php";
 include_once 
"../class/clsDocForSign.php";
 
$oC = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_EOFFICE'], $GLOBALS['DBUSER_EOFFICE'], $GLOBALS['DBPASS_EOFFICE']);

$oDt = new doctype($oC);
$oDoc = new Documents($oC);    //
$oDoc2 = new Documents($oC);    //
$oDoc3 = new Documents($oC);    //
$oDP = new Department($oC);
$oDP1 = new Department($oC);
$oDP1 = new Department($oC);
$oDlc1 = new DocLineConfig($oC);
$oDlc2 = new DocLineConfig($oC);
$oDlp = new docLinePosition($oC);
$oDfs = new DocForSign($oC);

list(
$cc,$saveurl)=preg_split("/\?/",$_SERVER['REQUEST_URI'],2);
$saveurlencode=base64_encode($saveurl);
?>
<title>การย้ายหนังสือโครงสร้างเก่าไปยังโครงสร้างปัจจุบัน</title>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">
<body>
<div id="tabmargin">
       <form name="ff" method="post" action="printRepHisRegisDocDeptex.php">
          <div align="center">
          </div><br>
        <table width="100%" align="center">
          <tr bgcolor="#FFFFFF">
        <td width="99%"><table width="100%"  cellpadding="1" cellspacing="1">
            <tr> 
              <td height="22"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>
               <? 
                 
//------receive 
                
$oDt->SearchRepReceiveDoc();
                while(
$oDt->GetRecord()){
                    
$dt1=$oDt->DtID."1";
                    if(
$typeshow==$dt1){
                             echo 
"การย้ายหนังสือโครงสร้างเก่าไปยังโครงสร้างปัจจุบัน ทะเบียนหนังสือรับ".$oDt->DtName
                            
$DtID=$oDt->DtID;
                            
$RsID=1;
                     }
                     
$dt2=$oDt->DtID."2";
                    if(
$typeshow==$dt2){
                            echo 
"การย้ายหนังสือโครงสร้างเก่าไปยังโครงสร้างปัจจุบัน ทะเบียนส่ง".$oDt->DtName
                            
$DtID=$oDt->DtID;
                            
$RsID=2;
                    }
                 } 
                 
                 
//-----In
                
$oDt->RSdoctypeDtNoRunAll();
                while(
$oDt->GetRecord()){
                    
                    
$dt3=$oDt->DtID."3";
                    if(
$typeshow==$dt3){
                             echo 
"รายงานทะเบียนรับ".$oDt->DtName
                            
$DtID=$oDt->DtID;
                            
$RsID=3;
                     }
                     
$dt4=$oDt->DtID."4";
                    if(
$typeshow==$dt4){
                            echo 
"รายงานทะเบียนส่ง".$oDt->DtName
                            
$DtID=$oDt->DtID;
                            
$RsID=4;
                    }
                }
                 
$dt1="1"."3";
                  if(
$typeshow==$dt1){
                              
$oDt->SearchByKey(1); $oDt->GetRecord();            
                             echo 
"รายงานทะเบียนรับ".$oDt->DtName;
                            
$DtID=1;
                            
$RsID=3;
                }
                 
$dt1="2"."3";
                  if(
$typeshow==$dt1){
                              
$oDt->SearchByKey(2); $oDt->GetRecord();            
                             echo 
"รายงานทะเบียนรับ".$oDt->DtName;
                            
$DtID=2;
                            
$RsID=3;
                }
                 
                  
//-------for regis 
                
$oDt->SearchRepRegisDoc();
                while(
$oDt->GetRecord()){
                    
$dt5=$oDt->DtID."5";
                    if(
$typeshow==$dt5){
                            echo 
"รายงานทะเบียน".$oDt->DtName
                            
$DtID=$oDt->DtID;
                            
$RsID=5;
                    }
                }
?>
               <? $oDP1->SearchByKey($selectPositionDeptID);  $oDP1->GetRecord(); echo "&nbsp;หน่วยงาน :: ".$oDP1->deptName;  $DocGroup=$oDP1->docGroup?></strong></font></td>
            </tr>
            <tr> 
              <td width="73%" height="22"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong><? echo $GLOBALS["COLLEGENAME"]; ?> 
        
            <? if(th2a($yearDoc) == 0){
                          echo 
"ตั้งแต่วันที่ "; list($day1,$month1,$year1) = preg_split('[/]',$start);  $s=($year1+543)."-".$month1."-".$day1;   echo abbreDate2($s,'/');                        
                        echo 
" ถึง "; list($day2,$month2,$year2) = preg_split('[/]',$end);  $e=($year2+543)."-".$month2."-".$day2;   echo abbreDate2($e,'/');                        
                    }else{
                        echo 
"ประจำปี ".a2th($yearDoc);
                    }
            
?>
                </strong></font></td>
            </tr>
            <tr> 
              <td height="24" colspan="2"><hr></td>
            </tr>
          </table>

    <? 
//echo "RsID=".$RsID."&nbsp;DtID=".$DtID."&nbsp;deptID=".$deptId."<br>";
    
$flag 0;
    
    if(
th2a($yearDoc) == 0){
        list(
$dd$mm$yy) = preg_split('[/]',$start);
        
$startT=($yy+543)."-".$mm."-".$dd;
        list(
$dd$mm$yy) = preg_split('[/]',$end);
        
$endT=($yy+543)."-".$mm."-".$dd;
    
//    $oDoc->SearchRsIDDtIDfDeleteDocNoSubject2DocGroup($RsID,$DtID,$startT,$endT,th2a($DocTypeNoStart),th2a($DocTypeNoEnd),th2a($DocSubject),$DocGroup,$selectPositionDeptID,$printorder);
        
$oDoc3->SearchRsIDDtIDfDeleteDocNoSubject2DocGroup_date($RsID,$DtID,$startT,$endT,th2a($DocTypeNoStart),th2a($DocTypeNoEnd),th2a($DocSubject),$DocGroup,$selectPositionDeptID);
    }else{
        
$yy th2a($yearDoc);
        
$startT $yy."-01-01";
        
$endT $yy."-12-31";
        
$oDoc3->SearchRsIDDtIDfDeleteDocNoSubject2DocGroup_date($RsID,$DtID,$startT,$endT,th2a($DocTypeNoStart),th2a($DocTypeNoEnd),th2a($DocSubject),$DocGroup,$selectPositionDeptID);
    }
    while(
$oDoc3->GetRecord()){
                list(
$DocD,$DocT) = preg_split('[ ]',$oDoc3->DocDateCreate);
                
$a=$DocD;
                 if(
$d!=$DocD){  $d=$a;  
                
?>
                <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center" style="border-collapse:collapse">
                <tr><td width="72%">&nbsp;</td></tr>
                <tr>
                <td width="28%" colspan="8" align="right">
                <font size="2"  face="MS Sans Serif, Tahoma, sans-serif"><strong>
                วันที่ลงทะเบียน<? echo ShowNameRSDoc2($RsID); ?>หนังสือ&nbsp;<? echo abbreDate2($DocD,'/');?></strong></font>
                &nbsp;</td></tr></table>
                 <table width="100%" border="1" cellpadding="0" cellspacing="0" align="center" style="border-collapse:collapse" bordercolor="#000000">
                 <? //------------------header  
                         
if($RsID==|| $RsID==2){
                 
?>
                            <tr align="center" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>"> 
                          <td width="5%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>เลข<br>ทะเบียน<br><? echo ShowNameRSDoc2($RsID); ?></strong></font></td>
                          <td width="11%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ที่</strong></font></td>
                          <td width="8%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ลงวันที่</strong></font></td>
                          <? if($RsID == 1){  $sizef="17%"$sizet="8%"; }else if($RsID == 2){ $sizef="8%"$sizet="17%";   }?>
                          <td width="<? echo $sizef?>"><font  face="MS Sans Serif, Tahoma, sans-serif"><strong>จาก</strong></font></td>
                          <td width="<? echo $sizet?>"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ถึง</strong></font></td>
                          <td width="18%"><font  face="MS Sans Serif, Tahoma, sans-serif"><strong>เรื่อง</strong></font></td>
                          <td width="15%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>การปฏิบัติ</strong></font></td>
                          <td width="9%" ><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>หมายเหตุ</strong></font></td>
                            <td width="9%" ><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ย้ายไปโครงสร้างปัจจุบัน</strong></font></td>
                        </tr>
                        <?   }else if($DtID==|| $DtID==2){ ?>
                        <tr align="center" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>"> 
                           <td width="5%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>เลข<br>ทะเบียน<br><? echo ShowNameRSDoc2($RsID); ?></strong></font></td>
                          <td width="11%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ที่</strong></font></td>
                          <td width="8%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ลงวันที่</strong></font></td>
                          <td width="17%"><font  face="MS Sans Serif, Tahoma, sans-serif"><strong>จาก</strong></font></td>
                          <td width="11%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ถึง</strong></font></td>
                          <td width="18%"><font  face="MS Sans Serif, Tahoma, sans-serif"><strong>เรื่อง</strong></font></td>
                          <td width="15%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>การปฏิบัติ</strong></font></td>
                          <td width="9%" ><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>หมายเหตุ</strong></font></td>
                            <td width="9%" ><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ย้ายไปโครงสร้างปัจจุบัน</strong></font></td>
                        </tr>
                        <?   }else if($DtID==3){ ?>
                        <tr align="center" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>"> 
                           <td width="5%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>เลข<br>ทะเบียน<br><? echo ShowNameRSDoc2($RsID); ?></strong></font></td>
                          <td width="11%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ที่</strong></font></td>
                          <td width="8%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ลงวันที่</strong></font></td>
                          <td width="17%"><font  face="MS Sans Serif, Tahoma, sans-serif"><strong>จาก</strong></font></td>
                          <td width="11%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ถึง</strong></font></td>
                          <td width="18%"><font  face="MS Sans Serif, Tahoma, sans-serif"><strong>เรื่อง</strong></font></td>
                          <td width="15%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>การปฏิบัติ</strong></font></td>
                          <td width="9%" ><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>หมายเหตุ</strong></font></td>
                            <td width="9%" ><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ย้ายไปโครงสร้างปัจจุบัน</strong></font></td>
                        </tr>
                        <?   }else if($DtID==5){ ?>
                        <tr align="center" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>"> 
                          <td width="10%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ที่</strong></font></td>
                          <td width="11%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>สั่ง ณ วันที่</strong></font></td>
                          <td width="33%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>เรื่อง</strong></font></td>
                          <td width="16%"><font  face="MS Sans Serif, Tahoma, sans-serif"><strong>ที่คำสั่งเดิมยกเลิก</strong></font></td>
                          <td width="15%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>การปฏิบัติ</strong></font></td>
                          <td width="9%" ><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>หมายเหตุ</strong></font></td>
                            <td width="9%" ><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ย้ายไปโครงสร้างปัจจุบัน</strong></font></td>
                        </tr>
                        <?   }else if($DtID==|| $DtID==7){ ?>
                        <tr align="center" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>"> 
                          <td width="8%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ฉบับที่</strong></font></td>
                          <td width="11%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ณ วันที่</strong></font></td>
                          <td width="38%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ว่าด้วย/เรื่อง</strong></font></td>
                          <td width="23%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>การปฏิบัติ</strong></font></td>
                          <td width="9%" ><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>หมายเหตุ</strong></font></td>
                            <td width="9%" ><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ย้ายไปโครงสร้างปัจจุบัน</strong></font></td>
                        </tr>
                        <?   }else if($DtID==9){ ?>
                        <tr align="center" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>"> 
                          <td width="8%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ครั้งที่</strong></font></td>
                          <td width="11%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ประกาศ ณ วันที่</strong></font></td>
                          <td width="38%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>เรื่อง</strong></font></td>
                          <td width="23%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>การปฏิบัติ</strong></font></td>
                          <td width="9%" ><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>หมายเหตุ</strong></font></td>
                            <td width="9%" ><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ย้ายไปโครงสร้างปัจจุบัน</strong></font></td>
                        </tr>
                        <?   }else if($DtID==10 || $DtID==11){ ?>
                        <tr align="center" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>"> 
                          <td width="8%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ครั้งที่</strong></font></td>
                          <td width="11%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>วัน/เดือน/ปี</strong></font></td>
                          <td width="38%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>เรื่อง</strong></font></td>
                          <td width="23%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>การปฏิบัติ</strong></font></td>
                          <td width="9%" ><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>หมายเหตุ</strong></font></td>
                            <td width="9%" ><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ย้ายไปโครงสร้างปัจจุบัน</strong></font></td>
                        </tr>
                        <?   }else if($DtID==13){ ?>
                        <tr align="center" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>"> 
                          <td width="8%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ที่</strong></font></td>
                          <td width="11%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>วดป ที่ออกใบรับรอง</strong></font></td>
                          <td width="15%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>บุคคลที่รับรอง</strong></font></td>
                          <td width="21%"><font  face="MS Sans Serif, Tahoma, sans-serif"><strong>เรื่อง</strong></font></td>
                          <td width="15%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ผู้รับเอกสาร</strong></font></td>
                          <td width="15%"><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>การปฏิบัติ</strong></font></td>
                          <td width="9%" ><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>หมายเหตุ</strong></font></td>
                            <td width="9%" ><font   face="MS Sans Serif, Tahoma, sans-serif"><strong>ย้ายไปโครงสร้างปัจจุบัน</strong></font></td>
                        </tr>
             <?  }}
         
//------------------data 
                
$oDoc->SearchRsIDDtIDfDeleteDocNoSubject2DocGroup($RsID,$DtID,$oDoc3->DocDateCreate,th2a($DocTypeNoStart),th2a($DocTypeNoEnd),th2a($DocSubject),$DocGroup,$selectPositionDeptID,$printorder);
                   while(
$oDoc->GetRecord()){               
              if(
$oDoc->DocPID=="0" || $oDoc->DocPID==""){  $searchDoc=$oDoc->DocID; }else{ $searchDoc=$oDoc->DocPID; }
                    if(
$RsID==|| $RsID==2){
             
?>
                    <tr valign="top"> 
                      <td align="center" valign="top"><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo a2th($oDoc->DocTypeNo); ?></font></td>
                      <td align="center" valign="top"><font   face="MS Sans Serif, Tahoma, sans-serif"><?  echo $oDoc->DocNo?></font></td>
                      <td align="center"><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo abbreDate2($oDoc->DocDate,'/');?></font></td>
                          <td><font   face="MS Sans Serif, Tahoma, sans-serif"><?  echo "&nbsp;".$oDoc->DocFrom;  ?></font></td>
                      <td><font   face="MS Sans Serif, Tahoma, sans-serif"><?  echo "&nbsp;".$oDoc->DocTo;  ?></font></td>
                      <td><font   face="MS Sans Serif, Tahoma, sans-serif">
                      <a  onClick = "newPage('printDetailRepHisRegisDocDept.php?DocID=<? echo $oDoc->DocID?>&typeshow=<? echo $typeshow?>&DocSubject=<? echo $DocSubject?>&start=<? echo $start;?>&end=<? echo $end?>&yearDoc=<? echo $yearDoc?>&DocTypeNoStart=<? echo $DocTypeNoStart?>&DocTypeNoEnd=<? echo $DocTypeNoEnd?>&selectPositionDeptID=<? echo $selectPositionDeptID?>&printorder=<? echo $printorder?>')" style="cursor:pointer;">
                     <?  echo "&nbsp;".$oDoc->DocSubject;  ?></a>
                      </font></td>     
                    <td ><font  face="MS Sans Serif, Tahoma, sans-serif"><?  echo searchPsAct($oDoc->DocID,$RsID); ?><?  if($oDoc->PtID!=="1"){  searchDocSendToPs($oDoc->DocID,$RsID); }?></font> </td>
                   <td><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo "&nbsp;".$oDoc->DocShortDesc;  ?><? //echo wordwrap($oDoc->DocShortDesc, 14, "\n", true);    ?></font></td>
                   <td align=center>
                   <? if($oDoc->DocIDHisNew!='0'){ ?>
                      <a  onClick = "newPage('printDetailRepRegisDocDept.php?DocID=<? echo $oDoc->DocIDHisNew?>')" style="cursor:pointer;">โครงสร้างใหม่ [ที่นี่]</a>
                   <? }else{ ?>
                   <input type=button value="ย้าย"  onClick=GoNewDept('<? echo $oDoc->DocID?>','<? echo $saveurlencode?>','<? echo $_SESSION['DLCID'];?>','<? echo $_SESSION['DLCIDSECOND'];?>','<? echo $_SESSION['DLCIDSECONDID'];?>')>
                   <? ?>
                   </td>
                    </tr>
            <?   }else if($DtID==1){ ?>
                    <tr valign="top"> 
                      <td align="center" valign="top"><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo a2th($oDoc->DocTypeNo); ?></font></td>
                      <td align="center" valign="top"><font   face="MS Sans Serif, Tahoma, sans-serif"><?  echo $oDoc->DocNo?></font></td>
                      <td align="center"><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo abbreDate2($oDoc->DocDate,'/');?></font></td>  
                          <td><font   face="MS Sans Serif, Tahoma, sans-serif">
                        <?  if($RsID==3){
                                        
$oDoc2->SearchByKey($oDoc->DocPID); $oDoc2->GetRecord();  
                                        
$oDlc2->SearchByKey($oDoc2->DlcID);  $oDlc2->GetRecord();    
                                        
$oDlp->SearchByKey($oDlc2->DlpID);  $oDlp->GetRecord();
                                        
$oDP1->SearchByKey($oDlc2->deptId); 
                                        
$oDP1->GetRecord();  
                                        echo 
a2th($oDoc->DocFrom)."<br>";
                                        echo 
"(".$oDP1->deptName."<br>";
                                        echo 
$oDlp->DlpName.")";  
                                }else if(
$RsID==4){
                                        
$oDlc2->SearchByKey($oDoc->DlcID);  $oDlc2->GetRecord();    
                                        
$oDP1->SearchByKey($oDlc2->deptId); 
                                        
$oDP1->GetRecord();  
                                        echo 
"(".$oDP1->deptName.")";
                                }
                      
?>
                        </font></td>
                        <td><font   face="MS Sans Serif, Tahoma, sans-serif"><?  echo "&nbsp;".$oDoc->DocTo;  ?></font></td>
                      <td><font   face="MS Sans Serif, Tahoma, sans-serif">
                       <a  onClick = "newPage('printDetailRepHisRegisDocDept.php?DocID=<? echo $oDoc->DocID?>&typeshow=<? echo $typeshow?>&DocSubject=<? echo $DocSubject?>&start=<? echo $start;?>&end=<? echo $end?>&yearDoc=<? echo $yearDoc?>&DocTypeNoStart=<? echo $DocTypeNoStart?>&DocTypeNoEnd=<? echo $DocTypeNoEnd?>&selectPositionDeptID=<? echo $selectPositionDeptID?>&printorder=<? echo $printorder?>')" style="cursor:pointer;">
                     <?  echo "&nbsp;".$oDoc->DocSubject;  ?></a>
                      </font></td>     
                    <td ><font  face="MS Sans Serif, Tahoma, sans-serif"><?  echo searchPsAct($oDoc->DocID,$RsID); ?><?  if($oDoc->PtID!=="1"){  searchDocSendToPs($oDoc->DocID,$RsID); }?></font> </td>
                   <td><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo "&nbsp;".$oDoc->DocShortDesc;  ?><? //echo wordwrap($oDoc->DocShortDesc, 14, "\n", true);    ?> </font></td>
                   <td align=center>
                   <? if($oDoc->DocIDHisNew!='0'){ ?>
                      <a  onClick = "newPage('printDetailRepRegisDocDept.php?DocID=<? echo $oDoc->DocIDHisNew?>')" style="cursor:pointer;">โครงสร้างใหม่ [ที่นี่]</a>
                   <? }else{ ?>
                   <input type=button value="ย้าย"  onClick=GoNewDept('<? echo $oDoc->DocID?>','<? echo $saveurlencode?>','<? echo $_SESSION['DLCID'];?>','<? echo $_SESSION['DLCIDSECOND'];?>','<? echo $_SESSION['DLCIDSECONDID'];?>')>
                   <? ?>
                   </td>
                    </tr>
            <?   }else if($DtID==2){ ?>
                    <tr valign="top"> 
                      <td align="center" valign="top"><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo a2th($oDoc->DocTypeNo); ?></font></td>
                      <td align="center" valign="top"><font   face="MS Sans Serif, Tahoma, sans-serif"><?  echo $oDoc->DocNo?></font></td>
                      <td align="center"><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo abbreDate2($oDoc->DocDate,'/');?></font></td>  
                          <td><font   face="MS Sans Serif, Tahoma, sans-serif">
                        <?  if($RsID==3){
                                        
$oDoc2->SearchByKey($oDoc->DocPID); $oDoc2->GetRecord();  
                                        
$oDlc2->SearchByKey($oDoc2->DlcID);  $oDlc2->GetRecord();    
                                        
$oDlp->SearchByKey($oDlc2->DlpID);  $oDlp->GetRecord();
                                        
$oDP1->SearchByKey($oDlc2->deptId); 
                                        
$oDP1->GetRecord();  
                                        echo 
$oDP1->deptName."<br>";
                                        echo 
"(".$oDlp->DlpName.")";  
                                }else if(
$RsID==4){
                                        
$oDlc2->SearchByKey($oDoc->DlcID);  $oDlc2->GetRecord();    
                                        
$oDP1->SearchByKey($oDlc2->deptId); 
                                        
$oDP1->GetRecord();  
                                        echo 
$oDP1->deptName."<br>";
                                }
                      
?>
                        </font></td>
                        <td><font   face="MS Sans Serif, Tahoma, sans-serif"><?  echo "&nbsp;".$oDoc->DocTo;  ?></font></td>
                      <td><font   face="MS Sans Serif, Tahoma, sans-serif">
                       <a  onClick = "newPage('printDetailRepHisRegisDocDept.php?DocID=<? echo $oDoc->DocID?>&typeshow=<? echo $typeshow?>&DocSubject=<? echo $DocSubject?>&start=<? echo $start;?>&end=<? echo $end?>&yearDoc=<? echo $yearDoc?>&DocTypeNoStart=<? echo $DocTypeNoStart?>&DocTypeNoEnd=<? echo $DocTypeNoEnd?>&selectPositionDeptID=<? echo $selectPositionDeptID?>&printorder=<? echo $printorder?>')" style="cursor:pointer;">
                     <?  echo "&nbsp;".$oDoc->DocSubject;  ?></a>
                     </font></td>     
                    <td ><font  face="MS Sans Serif, Tahoma, sans-serif"><?  echo searchPsAct($oDoc->DocID,$RsID); ?><?  if($oDoc->PtID!=="1"){  searchDocSendToPs($oDoc->DocID,$RsID); }?></font> </td>
                   <td><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo "&nbsp;".$oDoc->DocShortDesc;  ?><? //echo wordwrap($oDoc->DocShortDesc, 14, "\n", true);    ?> </font></td>
                   <td align=center>
                   <? if($oDoc->DocIDHisNew!='0'){ ?>
                      <a  onClick = "newPage('printDetailRepRegisDocDept.php?DocID=<? echo $oDoc->DocIDHisNew?>')" style="cursor:pointer;">โครงสร้างใหม่ [ที่นี่]</a>
                   <? }else{ ?>
                   <input type=button value="ย้าย"  onClick=GoNewDept('<? echo $oDoc->DocID?>','<? echo $saveurlencode?>','<? echo $_SESSION['DLCID'];?>','<? echo $_SESSION['DLCIDSECOND'];?>','<? echo $_SESSION['DLCIDSECONDID'];?>')>
                   <? ?>
                   </td>
                    </tr>
            <?   }else if($DtID==|| $DtID==15){     
                            
$statusGet="";
                            if(
$DtID==15 && ($RsID==|| ($RsID==&& $oDoc->DsID==3)) ){
                                        if(
$RsID==3){ 
                                                
$oDfs->SearchByDocIDDocGroupDeptSign($searchDoc,$oDoc->DocGroup,$selectPositionDeptID);
                                                
$oDfs->GetRecord();                                        
                                                
$statusGet.="<br><b>สถานะการรับหนังสือ ::</b><br>"
                                        }else if(
$RsID==4){  
                                                
$oDfs->SearchByDocIDDocGroup($searchDoc,$oDoc->DocGroup);
                                                
$oDfs->GetRecord();                                        
                                                
$statusGet.="<br><b>สถานะรอรับหนังสือ ::</b><br>"
                                        }
                                                if(
$oDfs->statusGet=="Y"){ 
                                                            list(
$DocD,$DocT) = preg_split('[ ]',$oDfs->getDate);
                                                            
$statusGet.="รับเมื่อ ".abbreDate2($DocD,'/')."&nbsp;".a2th($DocT);
                                                 }else{  
$statusGet.="&nbsp;ยังไม่มารับหนังสือ"; }
                                }
                
?>
                    <tr valign="top"> 
                      <td align="center" valign="top"><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo a2th($oDoc->DocTypeNo); ?></font></td>
                      <td align="center" valign="top"><font   face="MS Sans Serif, Tahoma, sans-serif"><? if($oDoc->DtID!="15"){  echo $oDoc->DocNo; }else{ echo '-'; } ?></font></td>
                      <td align="center"><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo abbreDate2($oDoc->DocDate,'/');?></font></td>  
                          <td><font   face="MS Sans Serif, Tahoma, sans-serif">
                        <?  if($RsID==3){
                                        
$oDoc2->SearchByKey($oDoc->DocPID); $oDoc2->GetRecord();  
                                        
$oDlc2->SearchByKey($oDoc2->DlcID);  $oDlc2->GetRecord();    
                                        
$oDlp->SearchByKey($oDlc2->DlpID);  $oDlp->GetRecord();
                                        
$oDP1->SearchByKey($oDlc2->deptId); 
                                        
$oDP1->GetRecord();  
                                        echo 
$oDP1->deptName."<br>";
                                        echo 
"(".$oDlp->DlpName.")";  
                                }else if(
$RsID==4){
                                        
$oDlc2->SearchByKey($oDoc->DlcID);  $oDlc2->GetRecord();    
                                        
$oDP1->SearchByKey($oDlc2->deptId); 
                                        
$oDP1->GetRecord();  
                                        echo 
$oDP1->deptName."<br>";
                                }
                      
?>
                        </font></td>
                        <td><font   face="MS Sans Serif, Tahoma, sans-serif"><?  echo "&nbsp;".$oDoc->DocTo;  ?></font></td>
                      <td><font   face="MS Sans Serif, Tahoma, sans-serif">
                       <a  onClick = "newPage('printDetailRepHisRegisDocDept.php?DocID=<? echo $oDoc->DocID?>&typeshow=<? echo $typeshow?>&DocSubject=<? echo $DocSubject?>&start=<? echo $start;?>&end=<? echo $end?>&yearDoc=<? echo $yearDoc?>&DocTypeNoStart=<? echo $DocTypeNoStart?>&DocTypeNoEnd=<? echo $DocTypeNoEnd?>&selectPositionDeptID=<? echo $selectPositionDeptID?>&printorder=<? echo $printorder?>')" style="cursor:pointer;">
                     <?  echo "&nbsp;".$oDoc->DocSubject;  ?></a>
                      </font></td>     
                    <td ><font  face="MS Sans Serif, Tahoma, sans-serif"><?  echo searchPsAct($oDoc->DocID,$RsID); ?><?  if($oDoc->PtID!=="1"){  searchDocSendToPs($oDoc->DocID,$RsID); }?><? echo $statusGet;?></font> </td>
                   <td><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo "&nbsp;".$oDoc->DocShortDesc;  ?><? //echo wordwrap($oDoc->DocShortDesc, 14, "\n", true);    ?> </font></td>
                   <td align=center>
                   <? if($oDoc->DocIDHisNew!='0'){ ?>
                      <a  onClick = "newPage('printDetailRepRegisDocDept.php?DocID=<? echo $oDoc->DocIDHisNew?>')" style="cursor:pointer;">โครงสร้างใหม่ [ที่นี่]</a>
                   <? }else{ ?>
                   <input type=button value="ย้าย"  onClick=GoNewDept('<? echo $oDoc->DocID?>','<? echo $saveurlencode?>','<? echo $_SESSION['DLCID'];?>','<? echo $_SESSION['DLCIDSECOND'];?>','<? echo $_SESSION['DLCIDSECONDID'];?>')>
                   <? ?>
                   </td>
                    </tr>
            <?   }else if($DtID==5){ ?>
                    <tr valign="top"> 
                      <td align="center"><font   face="MS Sans Serif, Tahoma, sans-serif"><?  echo $oDoc->DocNo?></font></td>
                      <td align="center"><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo abbreDate2($oDoc->DocDate,'/');?></font></td>
                      <td><font   face="MS Sans Serif, Tahoma, sans-serif">
                       <a  onClick = "newPage('printDetailRepHisRegisDocDept.php?DocID=<? echo $oDoc->DocID?>&typeshow=<? echo $typeshow?>&DocSubject=<? echo $DocSubject?>&start=<? echo $start;?>&end=<? echo $end?>&yearDoc=<? echo $yearDoc?>&DocTypeNoStart=<? echo $DocTypeNoStart?>&DocTypeNoEnd=<? echo $DocTypeNoEnd?>&selectPositionDeptID=<? echo $selectPositionDeptID?>&printorder=<? echo $printorder?>')" style="cursor:pointer;">
                     <?  echo "&nbsp;".$oDoc->DocSubject;  ?></a>
                      </font></td>
                      <td><font   face="MS Sans Serif, Tahoma, sans-serif">&nbsp;</font></td>     
                    <td><font  face="MS Sans Serif, Tahoma, sans-serif"><?  echo searchPsAct($oDoc->DocID,$RsID); ?><?  if($oDoc->PtID!=="1"){  searchDocSendToPs($oDoc->DocID,$RsID); }?></font> </td>
                   <td><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo "&nbsp;".$oDoc->DocShortDesc;  ?> </font></td>
                   <td align=center>
                   <? if($oDoc->DocIDHisNew!='0'){ ?>
                      <a  onClick = "newPage('printDetailRepRegisDocDept.php?DocID=<? echo $oDoc->DocIDHisNew?>')" style="cursor:pointer;">โครงสร้างใหม่ [ที่นี่]</a>
                   <? }else{ ?>
                   <input type=button value="ย้าย"  onClick=GoNewDept('<? echo $oDoc->DocID?>','<? echo $saveurlencode?>','<? echo $_SESSION['DLCID'];?>','<? echo $_SESSION['DLCIDSECOND'];?>','<? echo $_SESSION['DLCIDSECONDID'];?>')>
                   <? ?>
                   </td>
                    </tr>
            <?   }else if($DtID==|| $DtID==7){ ?>
                    <tr valign="top"> 
                      <td align="center"><font   face="MS Sans Serif, Tahoma, sans-serif"><?  echo $oDoc->DocNo?></font></td>
                      <td align="center"><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo abbreDate2($oDoc->DocDate,'/');?></font></td>
                      <td><font   face="MS Sans Serif, Tahoma, sans-serif">
                       <a  onClick = "newPage('printDetailRepHisRegisDocDept.php?DocID=<? echo $oDoc->DocID?>&typeshow=<? echo $typeshow?>&DocSubject=<? echo $DocSubject?>&start=<? echo $start;?>&end=<? echo $end?>&yearDoc=<? echo $yearDoc?>&DocTypeNoStart=<? echo $DocTypeNoStart?>&DocTypeNoEnd=<? echo $DocTypeNoEnd?>&selectPositionDeptID=<? echo $selectPositionDeptID?>&printorder=<? echo $printorder?>')" style="cursor:pointer;">
                     <?  echo "&nbsp;".$oDoc->DocSubject;  ?></a>
                      </font></td>  
                    <td><font  face="MS Sans Serif, Tahoma, sans-serif"><?  echo searchPsAct($oDoc->DocID,$RsID); ?><?  if($oDoc->PtID!=="1"){  searchDocSendToPs($oDoc->DocID,$RsID); }?></font> </td>
                   <td><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo "&nbsp;".$oDoc->DocShortDesc;  ?> </font></td>
                   <td align=center>
                   <? if($oDoc->DocIDHisNew!='0'){ ?>
                      <a  onClick = "newPage('printDetailRepRegisDocDept.php?DocID=<? echo $oDoc->DocIDHisNew?>')" style="cursor:pointer;">โครงสร้างใหม่ [ที่นี่]</a>
                   <? }else{ ?>
                   <input type=button value="ย้าย"  onClick=GoNewDept('<? echo $oDoc->DocID?>','<? echo $saveurlencode?>','<? echo $_SESSION['DLCID'];?>','<? echo $_SESSION['DLCIDSECOND'];?>','<? echo $_SESSION['DLCIDSECONDID'];?>')>
                   <? ?>
                   </td>
                    </tr>
            <?   }else if($DtID==9){ ?>
                    <tr valign="top"> 
                      <td align="center"><font   face="MS Sans Serif, Tahoma, sans-serif"><?  echo $oDoc->DocNo?></font></td>
                      <td align="center"><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo abbreDate2($oDoc->DocDate,'/');?></font></td>
                      <td><font   face="MS Sans Serif, Tahoma, sans-serif">
                       <a  onClick = "newPage('printDetailRepHisRegisDocDept.php?DocID=<? echo $oDoc->DocID?>&typeshow=<? echo $typeshow?>&DocSubject=<? echo $DocSubject?>&start=<? echo $start;?>&end=<? echo $end?>&yearDoc=<? echo $yearDoc?>&DocTypeNoStart=<? echo $DocTypeNoStart?>&DocTypeNoEnd=<? echo $DocTypeNoEnd?>&selectPositionDeptID=<? echo $selectPositionDeptID?>&printorder=<? echo $printorder?>')" style="cursor:pointer;">
                     <?  echo "&nbsp;".$oDoc->DocSubject;  ?></a>
                      </font></td>  
                    <td><font  face="MS Sans Serif, Tahoma, sans-serif"><?  echo searchPsAct($oDoc->DocID,$RsID); ?><?  if($oDoc->PtID!=="1"){  searchDocSendToPs($oDoc->DocID); }?></font> </td>
                   <td><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo "&nbsp;".$oDoc->DocShortDesc;  ?> </font></td>
                   <td align=center>
                   <? if($oDoc->DocIDHisNew!='0'){ ?>
                      <a  onClick = "newPage('printDetailRepRegisDocDept.php?DocID=<? echo $oDoc->DocIDHisNew?>')" style="cursor:pointer;">โครงสร้างใหม่ [ที่นี่]</a>
                   <? }else{ ?>
                   <input type=button value="ย้าย"  onClick=GoNewDept('<? echo $oDoc->DocID?>','<? echo $saveurlencode?>','<? echo $_SESSION['DLCID'];?>','<? echo $_SESSION['DLCIDSECOND'];?>','<? echo $_SESSION['DLCIDSECONDID'];?>')>
                   <? ?>
                   </td>
                    </tr>
            <?   }else if($DtID==10 || $DtID==11){ ?>
                    <tr valign="top"> 
                      <td align="center"><font   face="MS Sans Serif, Tahoma, sans-serif"><?  echo $oDoc->DocNo?></font></td>
                      <td align="center"><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo abbreDate2($oDoc->DocDate,'/');?></font></td>
                      <td><font   face="MS Sans Serif, Tahoma, sans-serif">
                       <a  onClick = "newPage('printDetailRepHisRegisDocDept.php?DocID=<? echo $oDoc->DocID?>&typeshow=<? echo $typeshow?>&DocSubject=<? echo $DocSubject?>&start=<? echo $start;?>&end=<? echo $end?>&yearDoc=<? echo $yearDoc?>&DocTypeNoStart=<? echo $DocTypeNoStart?>&DocTypeNoEnd=<? echo $DocTypeNoEnd?>&selectPositionDeptID=<? echo $selectPositionDeptID?>&printorder=<? echo $printorder?>')" style="cursor:pointer;">
                     <?  echo "&nbsp;".$oDoc->DocSubject;  ?></a>
                      </font></td>  
                    <td><font  face="MS Sans Serif, Tahoma, sans-serif"><?  echo searchPsAct($oDoc->DocID,$RsID); ?><?  if($oDoc->PtID!=="1"){  searchDocSendToPs($oDoc->DocID,$RsID); }?></font> </td>
                   <td><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo "&nbsp;".$oDoc->DocShortDesc;  ?> </font></td>
                   <td align=center>
                   <? if($oDoc->DocIDHisNew!='0'){ ?>
                      <a  onClick = "newPage('printDetailRepRegisDocDept.php?DocID=<? echo $oDoc->DocIDHisNew?>')" style="cursor:pointer;">โครงสร้างใหม่ [ที่นี่]</a>
                   <? }else{ ?>
                   <input type=button value="ย้าย"  onClick=GoNewDept('<? echo $oDoc->DocID?>','<? echo $saveurlencode?>','<? echo $_SESSION['DLCID'];?>','<? echo $_SESSION['DLCIDSECOND'];?>','<? echo $_SESSION['DLCIDSECONDID'];?>')>
                   <? ?>
                   </td>
                    </tr>
            <?   }else if($DtID==13){ ?>
                    <tr valign="top"> 
                      <td align="center"><font   face="MS Sans Serif, Tahoma, sans-serif"><?  echo $oDoc->DocNo?></font></td>
                      <td align="center"><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo abbreDate2($oDoc->DocDate,'/');?></font></td>
                      <td><font   face="MS Sans Serif, Tahoma, sans-serif"><?  echo "&nbsp;".$oDoc->CertificatePs;  ?></font></td>
                      <td><font   face="MS Sans Serif, Tahoma, sans-serif">
                       <a  onClick = "newPage('printDetailRepHisRegisDocDept.php?DocID=<? echo $oDoc->DocID?>&typeshow=<? echo $typeshow?>&DocSubject=<? echo $DocSubject?>&start=<? echo $start;?>&end=<? echo $end?>&yearDoc=<? echo $yearDoc?>&DocTypeNoStart=<? echo $DocTypeNoStart?>&DocTypeNoEnd=<? echo $DocTypeNoEnd?>&selectPositionDeptID=<? echo $selectPositionDeptID?>&printorder=<? echo $printorder?>')" style="cursor:pointer;">
                     <?  echo "&nbsp;".$oDoc->DocSubject;  ?></a>
                      </font></td>  
                    <td><font  face="MS Sans Serif, Tahoma, sans-serif">&nbsp;  </font> </td>
                    <td><font  face="MS Sans Serif, Tahoma, sans-serif"><?  echo searchPsAct($oDoc->DocID,$RsID); ?><?  if($oDoc->PtID!=="1"){  searchDocSendToPs($oDoc->DocID,$RsID); }?></font> </td>
                   <td><font   face="MS Sans Serif, Tahoma, sans-serif"><? echo "&nbsp;".$oDoc->DocShortDesc;  ?> </font></td>
                   <td align=center>
                   <? if($oDoc->DocIDHisNew!='0'){ ?>
                      <a  onClick = "newPage('printDetailRepRegisDocDept.php?DocID=<? echo $oDoc->DocIDHisNew?>')" style="cursor:pointer;">โครงสร้างใหม่ [ที่นี่]</a>
                   <? }else{ ?>
                   <input type=button value="ย้าย"  onClick=GoNewDept('<? echo $oDoc->DocID?>','<? echo $saveurlencode?>','<? echo $_SESSION['DLCID'];?>','<? echo $_SESSION['DLCIDSECOND'];?>','<? echo $_SESSION['DLCIDSECONDID'];?>')>
                   <? ?>
                   </td>
                    </tr>                        
            <? }            
            }  
//while data
            
?>
             </table>
            <? $flag++;

     }  
// end while oDoc 
                    
if($flag == 0){
           
?>
            <tr bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_5"];?>"> 
              <td colspan="10" align="center"><font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" >** 
                ไม่พบรายการ **</font></td>
            </tr>
            <? ?>
          </table>
        </td>
                  </tr>
                </table></td>
            </tr>
          </table> 
    <input type="hidden" name="typeshow" id="typeshow"   value="<? echo $typeshow?>" >  
    <input type="hidden" name="DocSubject" id="DocSubject"  value="<? echo $DocSubject?>" >
  <input type="hidden" name="start"  id="start"  value="<? echo $start?>" >
  <input type="hidden" name="end" id="end"  value="<? echo $end?>" >
  <input type="hidden" name="yearDoc" id="yearDoc"  value="<? echo $yearDoc?>" >
  <input type="hidden" name="DocTypeNoStart" id="DocTypeNoStart"  value="<? echo $DocTypeNoStart?>" >
  <input type="hidden" name="DocTypeNoEnd" id="DocTypeNoEnd"  value="<? echo $DocTypeNoEnd?>" >
  <input type="hidden" name="selectPositionDeptID"  id="selectPositionDeptID"  value="<? echo $selectPositionDeptID?>" >
  <input type="hidden" name="printorder"  id="printorder" value="<? echo $printorder?>" >
   <input type="hidden" name="print" id="print"  value="พิมพ์" >
          </form><br>
</div>
</body>
<script>
function newPage(linkurl){ 
             FileName = linkurl;
            var w=700;  
            strOption = "scrollbars=yes,left=370,top=100,menubar=1,width="+w;
            window.open(FileName,"",strOption);
}
 function showline(p){ 
             FileName = "showlinedocTable.php?searchDoc="+p;
            var w=900;  
            var h=500;
            strOption = "scrollbars=yes,left=370,top=100,menubar=1,width=" + w + ",height=" + h;
            window.open(FileName,"",strOption);
}
function showDocex(){
    document.ff.submit();
}
function showDocex2(){
    window.print();
}
function GoNewDept(DocID,saveurlencode,Dlcid,Dlcsecond,DlcsecondId){
             FileName = "processHisDocToNewDept.php?DocID="+DocID+"&saveurlencode="+saveurlencode+"&Dlcid="+Dlcid+"&Dlcsecond="+Dlcsecond+"&DlcsecondId="+DlcsecondId;
            window.location.href=FileName;
}
</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 ]--