Viewing file: printFileUpdate.php (4.42 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<? include_once("pagebody.php"); //pageHeader(); ?> <?php include_once("clsumfileupdate.php"); include_once("lib/nusoap/nusoap.php"); include_once("lib/nusoap/globalversion.php"); include_once("lib/nusoap/funct.php"); $oC = new clsConnection($GLOBALS['HOST'], $GLOBALS['DB'], $GLOBALS['USER'], $GLOBALS['PASSWORD']); $oFd = new umfileupdate($oC); $oFd1 = new umfileupdate($oC); ?> <meta http-equiv="Content-Type" content="text/html; charset=tis-620"> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr align="center"> <td align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong>เวอร์ชั่นปัจจุบันของระบบจัดการผู้ใช้</strong></font></td> </tr> <tr> <td> </td> </tr> <tr> <td><div align="center"> <table width="95%" border="1" cellspacing="0" cellpadding="0" bordercolor="#CCCCCC"> <tr bgcolor="<?php echo $GLOBALS["bg3"];?>" > <td width="10%" height="17" align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>วันที่อัพเดท</strong></font></td> <td width="10%" align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>เวลาอัพเดท</strong></font></td> <td width="40%" align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>ชื่อไฟล์ (เวอร์ชั่น)</strong></font></td> <td width="5%" align="center"> </td> <td width="30%" align="center" ><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>รายละเอียดการเปลี่ยนแปลง</strong> </font></td> </tr> <? $oFd1->RSFileUpdatepath(); while($oFd1->GetRecord()){ ?> <tr> <td colspan="8" bgcolor="<?php echo $GLOBALS["bg1"];?>" ><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong><? echo $oFd1->path; ?></strong></font></td> </tr> <? $i=0; if($sort_show=="0" || $sort_show==""){ $oFd->RSFileUpdate2path($oFd1->path); }else{ $oFd->RSFileUpdate2pathordertext($oFd1->path); } while($oFd->GetRecord() ){ if(($i%2) == 0) echo "<tr>"; else echo "<tr bgcolor=\"#F0F8FF\">"; ?> <td height="21" align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? echo abbreDate2($oFd->updateDate); ?></font></td> <td align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? echo $oFd->updatetime; ?></font></td> <td align="left"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"> <? if($oFd->filename2==""){ echo $oFd->filename1; }else{ echo $oFd->filename2; }?> </font></td> <td align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"> <? if($oFd->flagfile=="1"){ echo "C"; }else if($oFd->flagfile=="2"){ echo "E"; }else{ echo "D"; } ?></font></td> <td align="left" ><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"> <? if($oFd->detail==""){ echo "-"; }else{ echo $oFd->detail; } ?> <? if($oFd->flagfile=="3"){ echo " ( ลบไฟล์ )";}?> </font></td> </tr> <? $i++; } }?> <? if($i == 0){ ?> <tr> <td colspan="8" height="22" align="center"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_3'];?>">** ไม่ปรากฏรายการในฐานข้อมูล **</font></td> </tr> <?php } ?> </table><br> <table width="95%" border="0" cellspacing="0" cellpadding="0"> <tr><td><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_3'];?>"> <b>หมายเหตุ : </b> <br> ประเภทของไฟล์ :: C หมายถึงไฟล์ที่สร้างใหม่<br> E หมายถึงไฟล์ที่แก้ไข<br> D หมายถึงไฟล์ที่ถูกลบ<br> </font></td></tr> </table> </div> </td> </tr> </table> <table align="center"> <tr> <td align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><a href="#" onClick="window.close()">[ปิดหน้าต่างนี้]</a></font></td> </tr> </table>
|