<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="newssearch.aspx.cs" Inherits="FangPage.Admin.newssearch" %>

<%@ Register TagPrefix="cc1" Namespace="FangPage.Control" Assembly="FangPage.Control" %>
<!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 id="Head1" runat="server">
    <title>文章搜索</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link href="styles/style.css" type="text/css" rel="stylesheet">
    <style type="text/css">
        body
        {
            background-image: url(images/main_bg.gif);
            background-repeat: repeat-x;
            background-color: #CEE7FC;
        }
    </style>
    <script language="javascript" type="text/javascript" src="../plugins/calendar/WdatePicker.js"></script>
    <meta content="MSHTML 6.00.3790.0" name="GENERATOR">
</head>
<body leftmargin="5" topmargin="5" rightmargin="5" bottommargin="5">
    <form id="form1" runat="server">
    <table class="TdBg" cellspacing="1" cellpadding="0" width="100%" border="0">
        <tbody>
            <tr valign="middle">
                <td class="Tdimg" style="padding-left: 10px" height="28" colspan="2">
                    <img height="18" src="images/bbs_find.gif" width="18" align="absMiddle" border="0">
                    <strong>当前位置：<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                        » 文章搜索</strong>
                </td>
            </tr>
            <tr class="TdBgL">
                <td style="padding-right: 10px; width: 100px;" height="22" align="right">
                    文章分类：
                </td>
                <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                    &nbsp;<cc1:DropDownList ID="typeid" runat="server">
                    </cc1:DropDownList>
                </td>
            </tr>
            <tr class="TdBgL" id="m_question">
                <td style="padding-right: 10px; width: 100px;" height="22" align="right">
                    包含文字：
                </td>
                <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                    &nbsp;<cc1:TextBox ID="keyword" runat="server" Width="300">
                    </cc1:TextBox>
                </td>
            </tr>
            <tr class="TdBgL">
                <td style="padding-right: 10px; width: 100px;" height="22" align="right">
                    搜索字段：
                </td>
                <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                    <input type="checkbox" name="title" value="1" checked="checked" />标题&nbsp;
                    <input type="checkbox" name="author" value="1" />作者&nbsp;
                    <input type="checkbox" name="res" value="1" />来源&nbsp;
                    <input type="checkbox" name="content" value="1" />内容&nbsp;
                </td>
            </tr>
            <tr class="TdBgL">
                <td style="padding-right: 10px; width: 100px;" height="22" align="right">
                    选项设置：
                </td>
                <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                    <input type="checkbox" name="isindex" value="1" />首页显示&nbsp;
                    <input type="checkbox" name="isimgnews" value="1" />图片新闻&nbsp;
                    <input type="checkbox" name="isrec" value="1" />推荐&nbsp;
                    <input type="checkbox" name="isnews" value="1" />要闻&nbsp;
                    <br />
                    <input type="checkbox" name="isopen" value="1" />首页弹出&nbsp;
                    <input type="checkbox" name="allowcomment" value="1" />允许评论&nbsp;
                    <input type="checkbox" name="isfocus" value="1" />焦点&nbsp;
                    
                </td>
            </tr>
            <tr class="TdBgL" id="Tr1">
                <td style="padding-right: 10px; width: 100px;" height="22" align="right">
                    发&nbsp;布&nbsp;者&nbsp;：
                </td>
                <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                    &nbsp;<cc1:TextBox ID="poster" runat="server" Width="300">
                    </cc1:TextBox>
                </td>
            </tr>
            <tr class="TdBgL">
                <td style="padding-right: 10px; width: 100px;" height="22" align="right">
                    发布时间：
                </td>
                <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                    <asp:CheckBox ID="isdatetime" runat="server" Text="使用发布时间搜索" />
                </td>
            </tr>
            <tr class="TdBgL" id="showdatetime" style="display: none">
                <td style="padding-right: 10px; width: 100px;" height="22" align="right">
                    搜索时间：
                </td>
                <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                    <cc1:TextBox ID="poststarttime" runat="server" Width="132"></cc1:TextBox>&nbsp;&nbsp;至&nbsp;&nbsp;<cc1:TextBox
                        ID="postendtime" runat="server" Width="132"></cc1:TextBox>
                </td>
            </tr>
            <tr class="TdBgL">
                <td style="padding-right: 10px; width: 100px;" height="22" align="right">
                    审核状态：
                </td>
                <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                    <input type="checkbox" name="unstate" value="1" />未审核&nbsp;
                    <input type="checkbox" name="isstate" value="1" />已审核&nbsp;
                </td>
            </tr>
            <tr class="TdBgL">
                <td height="35" style="width: 100px">
                    &nbsp;
                </td>
                <td style="padding-left: 10px">
                    &nbsp;
                    <cc1:Button ID="SaveSearchCondition" runat="server" OnClick="SaveSearchCondition_Click" />&nbsp;&nbsp;
                    <button class="ManagerButton" type="button" onclick="javascript:window.location.href='<%=returnurl%>?sortid=<%=sortid%>';">
                        <img src="images/arrow_undo.gif" />返 回</button>
                </td>
            </tr>
        </tbody>
    </table>
    <script type="text/javascript">
     function showdatetimes()
     {
        if(form1.isdatetime.checked==true)
        {
            showdatetime.style.display='block';
        }
        else
        {
            showdatetime.style.display='none';
        }
     } 
    </script>
    </form>
</body>
</html>
