Viewing file: showSendDocSign2.php (5.51 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<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> <? extract ($_REQUEST); ?> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" > <tr bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_2"]; ?>" height=22> <td align="left" colspan="3"> รายละเอียดการส่งผ่าน/การลงนาม/การส่งหนังสือ</td> </tr> <? $oRs7->SearchByKey($oRs->DrsFromDrsID); $oRs7->GetRecord(); ?> <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"> <? if($oRs7->DrsByPass=="Y"){ echo $oRs7->DrsByPassPropose; }else{ echo nl2br($oRs->DrsSign); }?> </td> </tr> <tr> <td width="31%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>"> <strong><? if($oRs7->DrsByPass=="Y"){ ?>ผู้ส่งผ่าน<? }else{ ?>ผู้ลงนาม<? } ?></strong></td> <td width="1%" align="center" ><strong>:</strong></td> <td width="68%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_16"]; ?>" align="center"> <? $oPS6->SearchByKey($oRs->DrsPsIDCreate); $oPS6->GetRecord(); ?> <? echo " ".GetPrefix($oPS6->prefixId).$oPS6->fName." ".$oPS6->lName."<br>"; ?> <? $oDlc6->SearchByKey($oRs->DrsDlcIDCreate); $oDlc6->GetRecord(); $oDlp2->SearchByKey($oDlc6->DlpID); $oDlp2->GetRecord(); echo " (".$oDlp2->DlpName.")<br>"; list($DocD,$DocT) = preg_split('[ ]',$oRs7->DrsSendDate); echo abbreDate2($DocD,'/')." ".a2th($DocT)." "; ?></td> </tr> <tr><td> </td></tr> <? if($oRs->DrsSendDocNew!="0000-00-00 00:00:00"){ ?> <tr><td bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_21"]; ?>"> <strong>ส่งเพิ่มเติม</strong></td> <td><strong>:</strong></td> <td bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_22"]; ?>"> <? list($DocD2,$DocT2) = preg_split('[ ]',$oRs->DrsSendDocNew); echo abbreDate2($DocD2,'/')." ".a2th($DocT2); ?></td> </tr> <? } ?> <? if($oRs->PtID!="0"){ ?> <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($oRs->PtID); $oPt->GetRecord(); echo $oPt->PtName; if($oRs->PtID!="1" && $oRs->PtID!="2" && $oRs->PtID!="6"){ $canselect=1; } ?> </td> </tr> <? } ?> <? if($oRs->AnID!="0"){ ?> <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"> <? $oAn->SearchByKey($oRs->AnID); $oAn->GetRecord(); echo $oAn->AnName; ?> <br> แจ้งขึ้นเว็บ <? echo ShowNameonweb($oDoc->DocShowInOut); ?> <br> วันที่ประกาศขึ้นเว็บ <? if($oRs->DrsstartDatePost!="0000-00-00"){ if($oRs->DrsstartDatePost==$oRs->DrsendDatePost){ echo " ".abbreDate2($oRs->DrsstartDatePost,'/'); }else{ echo abbreDate2($oRs->DrsstartDatePost,'/')."<br> ถึง ".abbreDate2($oRs->DrsendDatePost,'/'); } } ?> </td> </tr> <? } ?> <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 $DrsPropose=$oRs11->SearchDrsProposeByDrsFromDrsID($oRs->DrsID);?><input name="DrsPropose" type="hidden" value="<? echo $DrsPropose?>" > </td> </tr> <tr height=50> <td width="31%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>"> <strong>ผู้บันทึก/<br> ผู้ส่งหนังสือ</strong></td> <td width="1%" align="center"><strong>:</strong></td> <td width="68%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_16"]; ?>" align="center"> <? $oPS->SearchByKey($oRs->DrsReceivePersonId); $oPS->GetRecord(); ?> <? echo " ".GetPrefix($oPS->prefixId).$oPS->fName." ".$oPS->lName."<br>"; $oDlc7->SearchByKey($oRs->DlcID); $oDlc7->GetRecord(); ?> <? $oDlp->SearchByKey($oDlc7->DlpID); $oDlp->GetRecord(); echo " (".$oDlp->DlpName.")<br>"; list($DocD,$DocT) = preg_split('[ ]',$oRs->DrsSendDate); echo abbreDate2($DocD,'/')." ".a2th($DocT)." "; ?> </td> </tr> <? if($oRs->DrsDocDueDate !="0000-00-00"){ ?> <tr><td colspan="3" valign="top"><br> <fieldset> <legend>กำหนดระยะเวลาดำเนินการ</legend> <table width="100%"><tr> <td width="31%"> <input name="checkDocSpeedDate" type="checkbox" value="Y" checked disabled> <strong>ภายในวันที่ </strong> <? echo abbreDate2($oRs->DrsDocDueDate,'/'); ?></td></tr> </table> </fieldset> </td></tr><? } ?> </table> </body> </html>
|