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

96 lines
4.2KB

  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  4. <title>更新TAG HTML</title>
  5. <link rel="stylesheet" href="../static/css/bootstrap.min.css">
  6. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  7. <link href="css/base.css" rel="stylesheet" type="text/css">
  8. </head>
  9. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  10. <table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#D1DDAA" align="center" class="table maintable table-bordered mt-3">
  11. <form name="form1" action="makehtml_tag_action_list.php" method="get" target='stafrm'>
  12. <tr>
  13. <td height="28" colspan="2" background='images/tbg.gif'>
  14. <table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless">
  15. <tr>
  16. <td width="30%" height="18"><strong>更新Tag HTML</strong> </td>
  17. <td width="70%" align="right">
  18. <a href="tags_main.php" class="btn btn-secondary btn-sm">Tag标签管理</a>
  19. </td>
  20. </tr>
  21. </table>
  22. </td>
  23. </tr>
  24. <tr>
  25. <td width="300" valign="top" bgcolor="#FFFFFF">选择Tag:</td>
  26. <td width="377" valign="top" bgcolor="#FFFFFF">
  27. <?php
  28. $dd = $dsql->GetOne("SELECT ROUND(AVG(total)) as tt FROM `#@__tagindex`"); // 取一个平均
  29. $sql="select * from #@__tagindex where total > {$dd['tt']} order by tag asc";
  30. $dsql->Execute('al',$sql);
  31. echo "<select name='tagid' style='width:300px'>\r\n";
  32. if($tid == 0) echo "<option value='0' selected='1'>更新所有Tag...</option>\r\n";
  33. while($row=$dsql->GetObject('al')){
  34. if($tid > 0 && $tid == $row->id) echo "<option value='".$row->id."' selected='1'>".$row->tag."</option>";
  35. else echo "<option value='".$row->id."'>".$row->tag."</option>";
  36. }
  37. echo "</select>";
  38. ?>
  39. </td>
  40. </tr>
  41. <tr>
  42. <td height="20" valign="top" bgcolor="#FFFFFF">每次最大创建页数:</td>
  43. <td height="20" valign="top" bgcolor="#FFFFFF"><input name="maxpagesize" type="text" id="maxpagesize" value="50"
  44. size="10">
  45. 个文件 </td>
  46. </tr>
  47. <tr>
  48. <td height="20" valign="top" bgcolor="#FFFFFF">说明:</td>
  49. <td height="20" valign="top" bgcolor="#FFFFFF">
  50. 仅更新文档数多于<?php echo $dd['tt'];?>的关键词<br>
  51. 更新所有TAG将会智能更新在[TAG标签管理]中重新获取更新的内容<br>
  52. TAG首页模板文件:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/tag.htm<br>
  53. TAG列表页模板文件:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/taglist.htm<br>
  54. 生成静态文件后,访问动态文件则直接跳转到静态文件,如果需要动态访问,删除对应文件即可。
  55. </td>
  56. </tr>
  57. <tr>
  58. <td height="20" colspan="2" bgcolor="#FAFAF1" align="center">
  59. <button name="b112" type="button" class="btn btn-secondary btn-sm"
  60. onClick="document.form1.action='makehtml_taglist_action.php';document.form1.submit();">生成Tag HTML</button>
  61. </td>
  62. </tr>
  63. </form>
  64. <tr bgcolor="#F9FCEF">
  65. <td height="20" colspan="2">
  66. <table width="100%" class="table table-borderless">
  67. <tr>
  68. <td width="74%">进行状态: </td>
  69. <td width="26%" align="right">
  70. <script language='javascript'>
  71. function ResizeDiv(obj, ty) {
  72. if (ty == "+") document.all[obj].style.pixelHeight += 50;
  73. else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
  74. }
  75. </script>
  76. [<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>]
  77. </td>
  78. </tr>
  79. </table>
  80. </td>
  81. </tr>
  82. <tr bgcolor="#FFFFFF">
  83. <td colspan="2" id="mtd">
  84. <div id='mdv' style='width:100%;height:350px;'>
  85. <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
  86. </div>
  87. </td>
  88. </tr>
  89. </table>
  90. </body>
  91. </html>