国内流行的内容管理系统(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.

130 lines
5.4KB

  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 rel="stylesheet" href="../static/css/bootstrap.min.css"> -->
  7. <link href="css/base.css" rel="stylesheet" type="text/css" />
  8. <link href="../static/css/daterangepicker.css" rel="stylesheet">
  9. <script src="../static/js/jquery.js" language="javascript" type="text/javascript"></script>
  10. <script type="text/javascript" src="../static/js/moment.min.js"></script>
  11. <script type="text/javascript" src="../static/js/daterangepicker.js"></script>
  12. <script language="javascript">
  13. $(document).ready(function () {
  14. $('.datepicker').daterangepicker({
  15. "singleDatePicker": true,
  16. "autoApply": true,
  17. "showDropdowns": true,
  18. "linkedCalendars": false,
  19. "timePicker": true,
  20. "timePicker24Hour": true,
  21. // "timePickerSeconds": true,
  22. "showCustomRangeLabel": false,
  23. ranges: {
  24. '今日': [moment(), moment()],
  25. '昨日': [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
  26. '本月': [moment().startOf('month'), moment().startOf('month')],
  27. '上月': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').startOf('month')]
  28. },
  29. "locale": {
  30. format: 'YYYY-MM-DD HH:mm',
  31. applyLabel: '确定',
  32. cancelLabel: '取消',
  33. daysOfWeek: ['日', '一', '二', '三', '四', '五', '六'],
  34. monthNames: ['一月', '二月', '三月', '四月', '五月', '六月',
  35. '七月', '八月', '九月', '十月', '十一月', '十二月'],
  36. firstDay: 1
  37. }
  38. }, function (start) {
  39. $(this).val(start.format("YYYY-MM-DD HH:mm"));
  40. });
  41. })
  42. </script>
  43. <script language='javascript'>
  44. function SelUp(){
  45. var ob1 = document.getElementById("uptype1");
  46. var ob2 = document.getElementById("uptype2");
  47. var ob3 = document.getElementById("uptype3");
  48. if(ob1.checked){
  49. document.getElementById("seltime").style.display = "";
  50. document.getElementById("selid").style.display = "none";
  51. }else if(ob2.checked){
  52. document.getElementById("seltime").style.display = "none";
  53. document.getElementById("selid").style.display = "";
  54. }else{
  55. document.getElementById("seltime").style.display = "none";
  56. document.getElementById("selid").style.display = "none";
  57. }
  58. }
  59. </script>
  60. </head>
  61. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  62. <table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" align="center">
  63. <form name="form1" action="makehtml_all.php" target="stafrm" method="post">
  64. <input type="hidden" name="action" value="make" />
  65. <tr>
  66. <td height="28" colspan="2" bgcolor="#EDF9D5" background='images/tbg.gif' style="padding-left:10px;">
  67. <strong>一键更新网站:</strong></td>
  68. </td>
  69. </tr>
  70. <tr>
  71. <td width="30%" height="30" bgcolor="#FFFFFF">&nbsp;&nbsp;更新选项:</td>
  72. <td valign="top" bgcolor="#FFFFFF">
  73. <input name="uptype" id="uptype1" type="radio" class="np" value="time" onClick="SelUp()" checked="checked" />
  74. 指定时间的所有更新
  75. <input name="uptype" id="uptype2" type="radio" class="np" onClick="SelUp()" value="id" />
  76. 指定ID文档的所有更新
  77. <input name="uptype" id="uptype3" type="radio" class="np" onClick="SelUp()" value="mkall" />
  78. 更新所有
  79. </td>
  80. </tr>
  81. <tr id='seltime'>
  82. <td height="20" bgcolor="#FFFFFF">&nbsp;&nbsp;起始时间:</td>
  83. <td height="20" bgcolor="#FFFFFF">
  84. <input type="text" name="starttime" id="starttime" value="<?php echo GetDateMk(time()); ?>" style="width:200px" class="datepicker"/>
  85. </td>
  86. </tr>
  87. <tr bgcolor="#FFFFFF" id="selid" style="display:none;">
  88. <td height="20">&nbsp;&nbsp;起始ID:</td>
  89. <td height="20">
  90. <input name="startid" type="text" id="startid" value="0" size="4" />
  91. </td>
  92. </tr>
  93. <tr>
  94. <td height="31" colspan="2" bgcolor="#ffffff" align="center" style="padding-top:6px">
  95. <input type="submit" name="Submit" value="开始更新" class="coolbg" />
  96. </td>
  97. </tr>
  98. </form>
  99. <tr bgcolor="#F9FCEF">
  100. <td height="20" colspan="2">
  101. <table width="100%">
  102. <tr>
  103. <td width="74%">进行状态: </td>
  104. <td width="26%" align="right">
  105. <script language='javascript'>
  106. function ResizeDiv(obj,ty)
  107. {
  108. if(ty=="+") document.all[obj].style.pixelHeight += 50;
  109. else if(document.all[obj].style.pixelHeight>80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
  110. }
  111. </script>
  112. [<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] </td>
  113. </tr>
  114. </table>
  115. </td>
  116. </tr>
  117. <tr bgcolor="#FFFFFF">
  118. <td colspan="2" id="mtd">
  119. <div id='mdv' style='width:100%;height:350px;'>
  120. <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="350px"></iframe>
  121. </div>
  122. <script language="JavaScript">
  123. document.all.mdv.style.pixelHeight = screen.height - 360;
  124. </script>
  125. </td>
  126. </tr>
  127. </table>
  128. </body>
  129. </html>