国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

134 行
5.5KB

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