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

111 lines
4.7KB

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