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

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