|
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="<?php echo $cfg_soft_lang; ?>">
- <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
- <title><?php echo $cfg_webname;?>-高级搜索</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/bootstrap.min.css">
- <link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css">
- <link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css">
- </head>
- <body class="flinkpage">
- <?php include("plus_header.htm") ;?>
- <div class="container">
- <div class="formbox mt-3">
- <table width="100%" cellpadding="0" cellspacing="0" bgcolor="#cccccc" class='table'>
- <form name="form1" action="search.php" method="get">
- <tr>
- <td height="26" align="center" width="20%">网站栏目:</td>
- <td height="26">
- <?php
- $tl = new TypeLink(0);
- $typeOptions = $tl->GetOptionArray(0,0,0);
- echo "<select name='typeid' style='width:260px' class='form-control'>";
- echo "<option value='0' selected>不限栏目</option>";
- echo $typeOptions;
- echo "</select>";
- ?>
- </td>
- </tr>
- <tr>
- <td height="26" align="center">关 键 字:</td>
- <td width="490" height="26"><input name="q" type="text" id="q" class="form-control"></td>
- </tr>
- <tr>
- <td height="26" align="center">发布时间:</td>
- <td height="26">
- <select name="starttime" id="starttime">
- <option value="-1" selected>不限</option>
- <option value="7">一周以内</option>
- <option value="30">一个月内</option>
- <option value="90">三个月内</option>
- <option value="180">半年以内</option>
- </select>
- </td>
- </tr>
- <tr>
- <td height="26" align="center">内容类型:</td>
- <td height="26">
- <select name="channeltype" id="channeltype" class="form-control">
- <option value="0" selected>不限</option>
- <?php
- $dsql->SetQuery("Select id,typename From #@__channeltype order by id desc");
- $dsql->Execute();
- while($row = $dsql->GetObject())
- {
- echo "<option value='".$row->id."'>".$row->typename."</option>";
- }
- ?>
- </select>
- </td>
- </tr>
- <tr>
- <td height="26" align="center">排序方式:</td>
- <td height="26">
- <select name="orderby" id="orderby" class="form-control">
- <option value="sortrank" selected>默认</option>
- <option value="senddate">收录时间</option>
- <option value="pubdate">发布时间</option>
- <option value="id">文档ID</option>
- </select>
- </td>
- </tr>
- <tr>
- <td height="26" align="center">显示条数:</td>
- <td height="26"><input name="pagesize" type="text" id="pagesize" value="10" size="4" class="form-control"></td>
- </tr>
- <tr>
- <td height="26" align="center">关键词模式:</td>
- <td height="26">
- <label><input name="kwtype" type="radio" value="1" checked>
- 或</label>
- <label><input type="radio" name="kwtype" value="0">
- 与</label>
- </td>
- </tr>
- <tr>
- <td height="26" align="center">搜索内容:</td>
- <td height="26">
- <select name="searchtype" id="searchtype" class="form-control">
- <option value="titlekeyword" selected>默认搜索</option>
- <option value="title">仅搜索标题</option>
- </select>
- </td>
- </tr>
- <tr>
- <td height="30" bgcolor="#F4FCE4" colspan="2" align="center">
- <button type="submit" class="btn btn-success btn-sm">搜索</button>
- <button type="reset" class="btn btn-outline-success btn-sm">重置</button>
- </td>
- </tr>
- </form>
- </table>
- <br>
- </div>
- </div>
- <?php include("plus_footer.htm") ;?>
- </body>
- </html>
|