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

128 lines
5.3KB

  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. <script language="javascript" src="../static/web/js/jquery.min.js"></script>
  7. <script language="javascript" src="js/main.js"></script>
  8. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  10. <link rel="stylesheet" href="../static/web/css/admin.css">
  11. <style>
  12. .STYLE1 {
  13. color: #FF0000
  14. }
  15. td {
  16. padding: 2px;
  17. padding-left: 6px;
  18. line-height: 150%;
  19. }
  20. .STYLE2 {
  21. color: #666666;
  22. }
  23. </style>
  24. </head>
  25. <body background='../static/web/img/allbg.gif' leftmargin='8' topmargin='8'>
  26. <div class="bodytitle mt-3">
  27. <div class="bodytitleleft"></div>
  28. <div class="bodytitletxt">自定义搜索管理</div>
  29. </div>
  30. <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-bordered mt-3">
  31. <form name="form1" action="mychannel_edit.php" method="post" target="stafrm">
  32. <input type='hidden' name='mid' value='<?php echo $mid?>'>
  33. <input type='hidden' name='maintable' value='<?php echo $channel['maintable']?>'>
  34. <input type='hidden' name='addontable' value='<?php echo $channel['addtable']; ?>'>
  35. <input type='hidden' name='step' value='<?php echo $step?>'>
  36. <input type='hidden' name='dopost' value='modifysearch'>
  37. <tr>
  38. <td height="26" colspan="2" bgcolor="#EDF9D5" background='../static/web/img/tbg.gif' style="padding-left:10px">
  39. <div style="width:100px; float:right"><a href="mychannel_edit.php?dopost=del&mid=<?php echo $mid; ?>">删除自定义搜索</a></div>
  40. <a href="mychannel_main.php">内容模型管理</a> &gt; 自定义搜索管理:
  41. (自定义搜索在方便搜索的同时在一定程度上降低了效率,请根据需求定义搜索)
  42. </td>
  43. </tr>
  44. <tr>
  45. <td width="35%" height="26" align="left" bgcolor="#FFFFFF">频道ID:<br></td>
  46. <td width="65%" bgcolor="#FFFFFF">
  47. <?php echo $mid; ?>
  48. </td>
  49. </tr>
  50. <tr>
  51. <td height="26" align="left" bgcolor="#ffffff">频道名称:<br></td>
  52. <td bgcolor="#ffffff">
  53. <?php echo $channel['typename']?>
  54. </td>
  55. </tr>
  56. <?php
  57. if($channel['issystem'] >= 0) {
  58. ?>
  59. <tr>
  60. <td align="left" bgcolor="#FFFFFF">主表可供自定义搜索的字段<br>
  61. <span class="STYLE2" id="help2">标题、关键词、摘要为默认选项,不用选择 </span></td>
  62. <td bgcolor="#FFFFFF">
  63. <?php echo $mainfields; ?>
  64. </td>
  65. </tr>
  66. <?php
  67. }
  68. ?>
  69. <tr>
  70. <td height="26" align="left" bgcolor="#ffffff">附件表可供自定义搜索的字段:<br>
  71. <span class="STYLE2" id="help4">这里的字段是程序依据字段类型自动选择生成的</span></td>
  72. <td bgcolor="#ffffff">
  73. <?php echo $addonfields; ?>
  74. </td>
  75. </tr>
  76. <tr>
  77. <td align="left" bgcolor="#FFFFFF">自定义搜索结果页模板<br>
  78. <span class="STYLE2" id="help5" style="display: none;">只填写文件名,且文件必须在templets/default目录中 </span></td>
  79. <td bgcolor="#FFFFFF">
  80. <input type="text" name="template" value="<?php echo $template; ?>" style="width:200px">
  81. </td>
  82. </tr>
  83. <tr bgcolor="#ffffff">
  84. <td height="26" colspan="2">
  85. <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless">
  86. <tr>
  87. <td width="26%" height="36"></td>
  88. <td width="15%">
  89. <button type="submit" class="btn btn-success btn-sm">确定</button>
  90. </td>
  91. <td width="59%">
  92. <button type="button" onclick="location='mychannel_main.php';" class="btn btn-success btn-sm">返回</button>
  93. </td>
  94. </tr>
  95. </table>
  96. </td>
  97. </tr>
  98. </form>
  99. <tr bgcolor="bgcolor=" #f6f6f6">
  100. <td height="26" colspan="2" bgcolor="#f6f6f6">
  101. <table width="100%" class="table table-borderless">
  102. <tr>
  103. <td width="74%">&nbsp;&nbsp;进行状态:</td>
  104. <td width="26%" align="right">
  105. <script language='javascript'>
  106. function ResizeDiv(obj, ty) {
  107. if (ty == "+") document.all[obj].style.pixelHeight += 50;
  108. else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
  109. }
  110. </script>
  111. [<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>]
  112. </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:250px;'>
  120. <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
  121. </div>
  122. </td>
  123. </tr>
  124. </table>
  125. </body>
  126. </html>