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

109 lines
4.0KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="{dede:global name='cfg_soft_lang'/}">
  5. <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
  6. <title><?php echo $cfg_webname;?>-高级搜索</title>
  7. <meta name="viewport" content="width=device-width, initial-scale=1">
  8. <link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css">
  10. <link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css">
  11. </head>
  12. <body class="flinkpage">
  13. <?php include("plus_header.htm") ; ?>
  14. <div class="container">
  15. <div class="formbox mt-3">
  16. <table width="100%" cellpadding="0" cellspacing="0" bgcolor="#cccccc" class='table'>
  17. <form name="form1" action="search.php" method="get">
  18. <tr>
  19. <td height="26" align="center" width="20%">网站栏目:</td>
  20. <td height="26">
  21. <?php
  22. $tl = new TypeLink(0);
  23. $typeOptions = $tl->GetOptionArray(0,0,0);
  24. echo "<select name='typeid' style='width:260px' class='form-control'>";
  25. echo "<option value='0' selected>不限栏目</option>";
  26. echo $typeOptions;
  27. echo "</select>";
  28. ?>
  29. </td>
  30. </tr>
  31. <tr>
  32. <td height="26" align="center">关 键 字:</td>
  33. <td width="490" height="26"><input name="q" type="text" id="q" class="form-control"></td>
  34. </tr>
  35. <tr>
  36. <td height="26" align="center">发布时间:</td>
  37. <td height="26">
  38. <select name="starttime" id="starttime">
  39. <option value="-1" selected>不限</option>
  40. <option value="7">一周以内</option>
  41. <option value="30">一个月内</option>
  42. <option value="90">三个月内</option>
  43. <option value="180">半年以内</option>
  44. </select>
  45. </td>
  46. </tr>
  47. <tr>
  48. <td height="26" align="center">内容类型:</td>
  49. <td height="26">
  50. <select name="channeltype" id="channeltype" class="form-control">
  51. <option value="0" selected>不限</option>
  52. <?php
  53. $dsql->SetQuery("Select id,typename From #@__channeltype order by id desc");
  54. $dsql->Execute();
  55. while($row = $dsql->GetObject())
  56. {
  57. echo "<option value='".$row->id."'>".$row->typename."</option>";
  58. }
  59. ?>
  60. </select>
  61. </td>
  62. </tr>
  63. <tr>
  64. <td height="26" align="center">排序方式:</td>
  65. <td height="26">
  66. <select name="orderby" id="orderby" class="form-control">
  67. <option value="sortrank" selected>默认</option>
  68. <option value="senddate">收录时间</option>
  69. <option value="pubdate">发布时间</option>
  70. <option value="id">文档ID</option>
  71. </select>
  72. </td>
  73. </tr>
  74. <tr>
  75. <td height="26" align="center">显示条数:</td>
  76. <td height="26"><input name="pagesize" type="text" id="pagesize" value="10" size="4" class="form-control"></td>
  77. </tr>
  78. <tr>
  79. <td height="26" align="center">关键词模式:</td>
  80. <td height="26">
  81. <label><input name="kwtype" type="radio" value="1" checked>
  82. 或</label>
  83. <label><input type="radio" name="kwtype" value="0">
  84. 与</label>
  85. </td>
  86. </tr>
  87. <tr>
  88. <td height="26" align="center">搜索内容:</td>
  89. <td height="26">
  90. <select name="searchtype" id="searchtype" class="form-control">
  91. <option value="titlekeyword" selected>默认搜索</option>
  92. <option value="title">仅搜索标题</option>
  93. </select>
  94. </td>
  95. </tr>
  96. <tr>
  97. <td height="30" bgcolor="#F4FCE4" colspan="2" align="center">
  98. <button type="submit" class="btn btn-success btn-sm">搜索</button>
  99. <button type="reset" class="btn btn-outline-success btn-sm">重置</button>
  100. </td>
  101. </tr>
  102. </form>
  103. </table>
  104. <br>
  105. </div>
  106. </div>
  107. <?php include("plus_footer.htm") ; ?>
  108. </body>
  109. </html>