国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

102 lines
4.2KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  5. <title>一键更新</title>
  6. <link href="css/base.css" rel="stylesheet" type="text/css" />
  7. <script type="text/javascript" src="js/calendar/calendar.js"></script>
  8. <script language='javascript'>
  9. function SelUp(){
  10. var ob1 = document.getElementById("uptype1");
  11. var ob2 = document.getElementById("uptype2");
  12. var ob3 = document.getElementById("uptype3");
  13. if(ob1.checked){
  14. document.getElementById("seltime").style.display = "";
  15. document.getElementById("selid").style.display = "none";
  16. }else if(ob2.checked){
  17. document.getElementById("seltime").style.display = "none";
  18. document.getElementById("selid").style.display = "";
  19. }else{
  20. document.getElementById("seltime").style.display = "none";
  21. document.getElementById("selid").style.display = "none";
  22. }
  23. }
  24. </script>
  25. </head>
  26. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  27. <table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" align="center">
  28. <form name="form1" action="makehtml_all.php" target="stafrm" method="post">
  29. <input type="hidden" name="action" value="make" />
  30. <tr>
  31. <td height="28" colspan="2" bgcolor="#EDF9D5" background='images/tbg.gif' style="padding-left:10px;">
  32. <strong>一键更新网站:</strong></td>
  33. </td>
  34. </tr>
  35. <tr>
  36. <td width="30%" height="30" bgcolor="#FFFFFF">&nbsp;&nbsp;更新选项:</td>
  37. <td valign="top" bgcolor="#FFFFFF">
  38. <input name="uptype" id="uptype1" type="radio" class="np" value="time" onClick="SelUp()" checked="checked" />
  39. 指定时间的所有更新
  40. <input name="uptype" id="uptype2" type="radio" class="np" onClick="SelUp()" value="id" />
  41. 指定ID文档的所有更新
  42. <input name="uptype" id="uptype3" type="radio" class="np" onClick="SelUp()" value="mkall" />
  43. 更新所有
  44. </td>
  45. </tr>
  46. <tr id='seltime'>
  47. <td height="20" bgcolor="#FFFFFF">&nbsp;&nbsp;起始时间:</td>
  48. <td height="20" bgcolor="#FFFFFF">
  49. <input type="text" name="starttime" id="starttime" value="<?php echo GetDateMk(time()); ?>" style="width:200px" />
  50. <script language="javascript" type="text/javascript">
  51. Calendar.setup({
  52. inputField : "starttime",
  53. ifFormat : "%Y-%m-%d",
  54. showsTime : false,
  55. timeFormat : "24"
  56. });
  57. </script>
  58. </td>
  59. </tr>
  60. <tr bgcolor="#FFFFFF" id="selid" style="display:none;">
  61. <td height="20">&nbsp;&nbsp;起始ID:</td>
  62. <td height="20">
  63. <input name="startid" type="text" id="startid" value="0" size="4" />
  64. </td>
  65. </tr>
  66. <tr>
  67. <td height="31" colspan="2" bgcolor="#ffffff" align="center" style="padding-top:6px">
  68. <input type="submit" name="Submit" value="开始更新" class="coolbg" />
  69. </td>
  70. </tr>
  71. </form>
  72. <tr bgcolor="#F9FCEF">
  73. <td height="20" colspan="2">
  74. <table width="100%">
  75. <tr>
  76. <td width="74%">进行状态: </td>
  77. <td width="26%" align="right">
  78. <script language='javascript'>
  79. function ResizeDiv(obj,ty)
  80. {
  81. if(ty=="+") document.all[obj].style.pixelHeight += 50;
  82. else if(document.all[obj].style.pixelHeight>80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
  83. }
  84. </script>
  85. [<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] </td>
  86. </tr>
  87. </table>
  88. </td>
  89. </tr>
  90. <tr bgcolor="#FFFFFF">
  91. <td colspan="2" id="mtd">
  92. <div id='mdv' style='width:100%;height:350px;'>
  93. <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="350px"></iframe>
  94. </div>
  95. <script language="JavaScript">
  96. document.all.mdv.style.pixelHeight = screen.height - 360;
  97. </script>
  98. </td>
  99. </tr>
  100. </table>
  101. </body>
  102. </html>