<%@ Page Language="C#" AutoEventWireup="true" CodeFile="search.aspx.cs" Inherits="wormadmin_search" ClassName="searchpage"%>
<%@ Register Assembly="Calendar" Namespace="Calendar51aspx" TagPrefix="cc1" %>

<!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 runat="server">
    <link rel="stylesheet" href="css/content.css" type="text/css" />
    <link rel="stylesheet" type="text/css" href="css/Style.css" />
    <script src="Style/menu.js" type="text/javascript"></script>
    <title>搜索页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div >
	<table width="90%" height="30" border="0" cellpadding="0" cellspacing="0" class="box" style="margin-top:50px; margin-left:40px;">
  <tr>
    <td><div align="center"><strong>
        <asp:Label ID="search_title" runat="server" Text="无搜索项"></asp:Label><asp:TextBox ID="temptitle" runat="server" Text="" style="display:none;"></asp:TextBox></strong></div></td>
    </tr>
</table>
  <table width="90%" border="0" cellspacing="0" cellpadding="0" style="margin-top:10px; margin-left:40px;" class="box">
  <%if (Request.QueryString["action"] == "dairy" || Request.QueryString["action"] == "pic")
    { %>
  <tr>
    <td width="15%" height="25"><div align="right">标题:</div></td>
    <td height="25" colspan="3">&nbsp;
      <asp:TextBox ID="txttitle" runat="server"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="25"><div align="right">分类:</div></td>
    <td height="25" colspan="3">&nbsp;
      <asp:TextBox ID="txtclass" runat="server"></asp:TextBox>
        <asp:DropDownList ID="dlclass" runat="server" onChange="document.form1.txtclass.value=options[selectedIndex].value;">
            <asp:ListItem Selected="True"></asp:ListItem>
        </asp:DropDownList></td>
  </tr>
  <tr>
    <td height="25"><div align="right">浏览次数:</div></td>
    <td height="25" colspan="3">&nbsp;
      <asp:TextBox ID="bit1" runat="server" Width="80px"></asp:TextBox>
        ~
        <asp:TextBox ID="bit2" runat="server" Width="80px"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="25"><div align="right">置顶:</div></td>
    <td height="25" colspan="3">&nbsp;
      <asp:CheckBox ID="cktop" runat="server" Text="是" /></td>
  </tr>
  <%} %>
  <%if (Request.QueryString["action"] == "dairy_pl")
    { %>
  <tr>
    <td width="15%" height="25"><div align="right">回复人:</div></td>
    <td height="25" colspan="3">&nbsp;
      <asp:TextBox ID="writer" runat="server"></asp:TextBox></td>
  </tr>
  <tr>
    <td width="15%" height="25"><div align="right">屏蔽:</div></td>
    <td height="25" colspan="3">&nbsp;
      <asp:CheckBox ID="pb" runat="server" Text="是" /></td>
  </tr>
  <%} %>
  <%if (Request.QueryString["action"] == "customer_manage")
    { %>
  <tr>
    <td width="15%" height="25"><div align="right">用户名:</div></td>
    <td height="25" colspan="3">&nbsp;
      <asp:TextBox ID="cname" runat="server"></asp:TextBox></td>
  </tr>
  <tr>
    <td width="15%" height="25"><div align="right">用户类别:</div></td>
    <td height="25" colspan="3">&nbsp;
        <asp:DropDownList ID="clei" runat="server">
            <asp:ListItem Selected="True"></asp:ListItem>
            <asp:ListItem>普通会员</asp:ListItem>
            <asp:ListItem>Vip会员</asp:ListItem>
        </asp:DropDownList></td>
  </tr>
  <tr>
    <td width="15%" height="25"><div align="right">用户性别:</div></td>
    <td height="25" colspan="3">&nbsp;
        <asp:RadioButtonList ID="csex" runat="server" CellPadding="0" CellSpacing="0" Height="1px"
            RepeatColumns="2" RepeatLayout="Flow" TextAlign="Left" Width="75px">
            <asp:ListItem Value="男">男</asp:ListItem>
            <asp:ListItem>女</asp:ListItem>
        </asp:RadioButtonList></td>
  </tr>  
  <%} %>  
  <tr>
    <td height="25"><div align="right">发表日期:</div></td>
    <td height="25" style="width: 28%">&nbsp;<cc1:calendar id="date1" runat="server" calendarmode="Date" CalendarResource="images/date/"> </cc1:calendar></td>
    <td style="width: 3%">
        ~</td>
    <td width="57%">&nbsp;
        <cc1:calendar id="date2" runat="server" calendarmode="Date" CalendarResource="images/date/">
        </cc1:Calendar>
    </td>
  </tr>
  
  <tr>
    <td height="25">&nbsp;</td>
    <td height="25" colspan="3">&nbsp;
    <asp:Button ID="btsearch" runat="server" Text="搜 索" OnClick="btsearch_Click" SkinID="blue"/>
        </td>
  </tr>
</table>
    </div>
    </form>
</body>
</html>
