<%@ page language="C#" autoeventwireup="true" inherits="search_b_s, App_Web_icscf4-s" %>
<%@ Register Src="~/search/bs.ascx" TagName="bs" TagPrefix="bati_bs" %>
<%@ Register Src="~/bottom.ascx" TagName="bottom" TagPrefix="Bati_Bottom" %>
<!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">
    <title id="title1" runat="server"></title>
    <link href="Img/bati_search.css" rel="Stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
            <tr>
                <td style="width: 100%">
                    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                        <tr>
                            <td style="width: 20%">
                                <img src="../Bati_image/batilogo.jpg" /></td>
                            <td colspan="2" style="width: 80%">
                                <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                    <tr>
                                        <td align="center" style="width: 43%; height: 24px">
                                            <asp:TextBox ID="TextBox1" runat="server" TabIndex="1" Width="80%"></asp:TextBox></td>
                                        <td align="left" style="width: 50%; height: 24px">
                                            <table border="0" cellpadding="3" cellspacing="0" style="width: 100%">
                                                <tr>
                                                    <td style="width: 12%">
                                                        <asp:DropDownList ID="DropDownList1" runat="server" Width="67px">
                                                            <asp:ListItem>标题</asp:ListItem>
                                                            <asp:ListItem>作者</asp:ListItem>
                                                        </asp:DropDownList></td>
                                                    <td style="width: 13%">
                                                        <asp:DropDownList ID="DropDownList2" runat="server">
                                                        </asp:DropDownList></td>
                                                    <td style="width: 33%">
                                                        <asp:Button ID="Button1" runat="server" Font-Bold="True" OnClick="Button1_Click"
                                                            Text="搜 索" /></td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 15px;" colspan="3">
                                <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                    <tr>
                                        <td style="width: 100%; border-bottom: #3333cc 1px solid; height: 30px; background-color: #e5ecf9">
                                            &nbsp;<asp:Label ID="Label1" runat="server" Font-Bold="True" ForeColor="Navy" Text="Label"></asp:Label></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td style="width: 100%">
                    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                        <tr>
                            <td style="width: 70%" valign="top">
                                <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                    <tr>
                                        <td style="width: 100%">
                                        <bati_bs:bs ID="bs1" runat="server" />
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td style="width: 30%" valign="top">
                                <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                    <tr>
                                        <td style="width: 100%; height: 30px">
                                            <asp:HyperLink ID="HyperLink1" runat="server" Font-Bold="True" ForeColor="#0000C0"
                                                NavigateUrl="~/Default.aspx">MyBati首页</asp:HyperLink></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 100%">
                                <table border="0" cellpadding="0" cellspacing="0" style="width: 100%; border-right: #f8d9ac 1px solid; border-top: #f8d9ac 1px solid; border-left: #f8d9ac 1px solid; border-bottom: #f8d9ac 1px solid; background-color: #fef4e7;">
                                    <tr>
                                        <td style="width: 100%">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 100%">
                                            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:Mir3WebConnectionString %>">
                                            </asp:SqlDataSource>
                                            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BorderWidth="0px"
                                                CellPadding="0" DataSourceID="SqlDataSource1" ShowHeader="False" Width="100%">
                                                <Columns>
                                                    <asp:BoundField DataField="UserName" HeaderText="UserName" SortExpression="UserName" />
                                                    <asp:HyperLinkField DataNavigateUrlFields="ArticleID" Target="_blank" DataNavigateUrlFormatString="../Bati_Show.aspx?ArticleID={0}"
                                                        DataTextField="Title" DataTextFormatString="{0}" />
                                                    <asp:BoundField DataField="ArticleID" HeaderText="ArticleID" InsertVisible="False"
                                                        SortExpression="ArticleID" Visible="False" />
                                                </Columns>
                                            </asp:GridView>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 100%">
                                        </td>
                                    </tr>
                                </table>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td style="width: 100%">
                <Bati_Bottom:bottom ID="bottom1" runat="server" />
                </td>
            </tr>
        </table>
    
    </form>
</body>
</html>
