国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

120 lignes
4.9KB

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