| Viewing file:  printAllUpdate.php (7.28 KB)      -rwxr-xr-x 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">
 <form name="ff" method="post" action="submitUpdate.php">
 <table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolor="<?php echo $GLOBALS["COLOR_BORDER_TABLE_1"];?>" valign="top">
 <tr bgcolor="<?php echo $GLOBALS["bg2"];?>"  >
 <td width="11%"   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="34%"   align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>ชื่อไฟล์ (Version)</strong></font></td>
 <td width="3%"   align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong> </strong>
 </font></td>
 <td width="7%"   align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>เวอร์ชั่น<br>ปัจจุบัน</strong>
 </font></td>
 <td width="23%"   align="center" ><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>Path</strong>
 </font></td>
 <td width="12%"  align="center" ><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>รายละเอียด<br>การเปลี่ยนแปลง</strong>
 </font></td>
 </tr>
 <?    $i=0;
 if($sort_show=="0" || $sort_show==""){
 $oFd->RSFileUpdategroupname();
 }else{
 $oFd->RSFileUpdategroupnameordertext();
 }
 while($oFd->GetRecord()){ ?>
 <tr bgcolor="#EBEBEB" >
 <td colspan="7" height="22" ><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong><? echo $oFd->filename1; ?></strong></font></td>
 </tr>
 <? //    if(($i%2) == 0)
 echo "<tr>";
 //  else
 //   echo "<tr bgcolor=\"".$GLOBALS["COLOR_BG_TABLE_3"]."\">";
 ?>
 <td height="22" align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? //echo "($i)"; ?><? echo abbreDate2($oFd->updateDate); ?></font></td>
 <td height="22" 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="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>">
 <? if($oFd->flaguse=="Y"){ ?>
 <img src="picture/apply.gif"  align="absmiddle">
 <? }else if($oFd->flaguse=="N"){  ?>
 <img src="picture/delete.gif"  align="absmiddle">
 <? }?>
 </font></td>
 <td align="left" ><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? echo $oFd->path;  ?>
 </font></td>
 <td align="left" ><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"> 
 <? if($oFd->detail==""){  echo "- (ลบไฟล์)"; }else{  echo $oFd->detail;  } ?> </font>
 </td>
 </tr>
 <?
 $oFd1->SearchBynotfileId($oFd->fileId,$oFd->filename1,$oFd->path);
 while($oFd1->GetRecord()){
 $i++;
 if(($i%2) == 0)
 echo "<tr>";
 else
 echo "<tr bgcolor=\"#F0F8FF\">"; ?>
 <td height="22" align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? //echo "($i)"; ?><? echo abbreDate2($oFd1->updateDate); ?></font></td>
 <td height="22" align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? echo $oFd1->updatetime; ?></font></td>
 <td align="left"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? if($oFd1->filename2==""){ echo $oFd1->filename1; }else{ echo $oFd1->filename2; }?></font></td>
 <td align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>">
 <? if($oFd1->flagfile=="1"){ echo "C"; }else if($oFd1->flagfile=="2"){ echo "E"; }else{  echo "D";  }  ?>
 </font></td>
 <td align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>">
 <? if($oFd1->flaguse=="Y"){ ?>
 <img src="picture/apply.gif"  align="absmiddle">
 <? }else if($oFd1->flaguse=="N"){  ?>
 <img src="picture/delete.gif"  align="absmiddle">
 <? }?>
 </font></td>
 <td align="left" ><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? echo $oFd1->path;  ?>
 </font></td>
 <td align="left" ><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"> 
 <? if($oFd1->detail==""){  echo "- (ลบไฟล์)"; }else{  echo $oFd1->detail;  } ?> </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><? } ?>
 </table>
 </form>
 </div>
 </td>
 </tr>
 </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>
 เวอร์ชั่นปัจจุบัน ::<img src="picture/apply.gif"  align="absmiddle">หมายถึงไฟล์ได้ถูกนำไปใช้งานแล้ว<br>
                       
 <img src="picture/delete.gif"  align="absmiddle"> หมายถึงไฟล์ไม่ได้ถูกนำไปใช้งาน</font></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>
 |