<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={dede:global.cfg_soft_lang/}" />
<title><?php echo $cfg_webname;?>_搜索</title>
<meta name="description" content="{dede:global.cfg_description/}" />
<meta name="keywords" content="{dede:global.cfg_keywords/}" />
<link href="/templets/default/diary/css.css" rel="stylesheet" type="text/css">
<link href="/templets/default/diary/wdiv.css" rel="stylesheet" type="text/css">
<SCRIPT Language ="JavaScript" src="dede:global.cfg_templets_skin/}diary/wdiv.js"></SCRIPT>
<SCRIPT Language="JavaScript" src="/templets/default/diary/tabin.js"></SCRIPT>
</head>
<body background="/templets/default/<?php echo $cfg_zzzsitebg;?>" oncontextmenu="return false" ondragstart="return false" onselectstart="return false" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0">
<table width="985" border="0" cellspacing="0" cellpadding="0" align="center" style="margin:0 auto;">
  <tr>
    <td> 
<?php include(DEDETEMPLATE."/default/head.htm"); ?>
      <table width="985" border="0" cellspacing="0" cellpadding="0" height="452">
        <tr> 
          <td width="20">&nbsp;</td>
          <td height="452" background="/templets/default/diary/bg1.gif" width="703"> 
            <table width="703" border="0" cellspacing="0" cellpadding="0" height="452">
              <tr> 
                <td height="5" width="56"></td>
                <td width="288"></td>
                <td rowspan="3" width="21"></td>
                <td width="284"></td>
                <td width="57"></td>
              </tr>
              <tr> 
                <td height="380" width="56">&nbsp;</td>
                <td width="288"><?php $listimg="/templets/default/diary/listimg/list".mt_rand(101,107).".jpg"; ?><img border="0" src="<?php echo $listimg; ?>" width="275" height="355">
                </td>
                <td> 
                  <table border="0" width="98%" cellspacing="0" cellpadding="0" height="100%">
                    <tr><td height="10"></td></tr>
<tr><td height="19" width="84"></td><td height="19" width="188"></td></tr>
                    <tr> 
                      <td height="1" colspan="2"></td>
                    </tr>
                    <tr> 
                      <td width="278" colspan="2" height="100%" valign=top align=center> 
<table border="0" width="245" cellspacing="0" cellpadding="0" background="/templets/default/diary/loing.gif" height="274" align="center">
                            <tr> 
                              <td height="84" colspan="2" width="245"></td>
                            </tr>
                            <tr> 
                              <td height="38" colspan="2" width="245"> 
                                <p align="center"> <img border="0" src="/templets/default/diary/search.gif" width="109" height="17">　
                              </td>
                            </tr>
                            <form method=POST action="search.php">
                  <tr bgcolor="#FFFFFF" style="display:none"> 
                    <td height="30" align="center">网站栏目：</td>
                    <td height="30"> 
                      <?php
              $tl = new TypeLink(0);
              $typeOptions = $tl->GetOptionArray(0,0,0);
              echo "<select name='typeid' style='width:200'>\r\n";
              echo "<option value='0' selected>--不限栏目--</option>\r\n";
              echo $typeOptions;
              echo "</select>";
            ?>
                    </td>
                  </tr>
<tr> 
<td width="200" height="30" colspan="2" align=center><input onFocus="this.value=''" style="font-family: 宋体; font-size: 10pt; color: #51300C; border: 1 solid #000000;text-align:center" name="q" type="text" id="q" value="输入关键字"></td>
</tr>
                  <tr bgcolor="#FFFFFF" style="display:none"> 
                    <td height="30" align="center">发布时间：</td>
                  <td height="30"><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 bgcolor="#FFFFFF" style="display:none"> 
                    <td height="30" align="center">内容类型：</td>
                  <td height="30"> <select name="channeltype" id="channeltype" >
                        <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>\r\n";
					 }
					 ?>
                      </select> </td>
                  </tr>
                  <tr bgcolor="#FFFFFF" style="display:none"> 
                    <td height="30" align="center">排序方式：</td>
                  <td height="30"> <select name="orderby" id="orderby" >
                        <option value="sortrank" selected>--默认--</option>
                        <option value="senddate">收录时间</option>
                        <option value="pubdate">发布时间</option>
                        <option value="id">文档ID</option>
                      </select> </td>
                  </tr>
                  <tr bgcolor="#FFFFFF" style="display:none"> 
                    <td height="30" align="center">显示条数：</td>
                    <td height="30"><input name="pagesize" type="text" id="pagesize" value="16" size="4" class="ipt-txt"></td>
                  </tr>
                  <tr bgcolor="#FFFFFF" style="display:none">
                    <td height="30" align="center">关键字模式：</td>
                    <td height="30"><input name="kwtype" type="radio" value="1" checked>
                      或 
                      <input type="radio" name="kwtype" value="0">
                      与</td>
                  </tr>
                  <tr bgcolor="#FFFFFF" style="display:none"> 
                    <td height="30" align="center">搜索内容：</td>
                    <td height="30">
					<select name="searchtype" id="searchtype" class="op1">
                     <option value="titlekeyword" selected>默认搜索</option>
                     <option value="title">仅搜索标题</option>
					 </select>
					 </td>
                  </tr>
                              <tr> 
                                <td width="245"> 
                                  <p align="center"><font color="#FFFFFF"> 
                                    <input type="submit" value="立即搜索" name="B3" style="font-family: 宋体; font-size: 10pt; color: #51300C; background-color: #FFFFFF; border: 0">
                                    </font>
                                </td>
                              </tr>
                              <tr> 
                                <td width="245">　</td>
                              </tr>
                            </form>
                          </table>
                      </td>
                    </tr>
                  </table>
                </td>
                <td>&nbsp;</td>
              </tr>
              <tr> 
                <td height="67">&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
              </tr>
            </table>
          </td>
          <td width="272">
<?php include(DEDETEMPLATE."/default/right_kong.htm"); ?> 
</td>
        </tr>
      </table>
<?php include(DEDETEMPLATE."/default/footer.htm"); ?> 
    </td>
  </tr>
  <tr>
    <td></td>
  </tr>
</table>
</body>
</html>