<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="searchResoult.aspx.cs" EnableViewState="false" Inherits="ZYDN.Web.system.myWeb.searchResoult" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
 <title>搜索结果</title>
    <link type="text/css" rel="stylesheet" href="../skins/CSS/main.css" />
    <link type="text/css" rel="stylesheet" href="../skins/CSS/Sys.css" /> 
    <link type="text/css" rel="Stylesheet" href="CSS/myWeb.css" />
    <style type="text/css">
    .menuStyleCss{
        float:left;
        color:blue;
        cursor:hand;
        }
    .TitleRepterStyle{
        border-bottom:solid 1px #efefef;
        border-right:solid 1px #efefef;
        border-top:solid 1px #efefef;       
        text-align:center;
        overflow:hidden;
        }
    .OenItemStyle{
        border-bottom:solid 1px #cccccc;
        border-right:solid 1px #cccccc;
        background-color:#d3d3d3;
        text-align:left; 
        padding-left:5px;
        overflow:hidden;
        }
    .TwoAtemStyle{
        border-bottom:solid 1px #cccccc;
        border-right:solid 1px #cccccc;
        background-color:#ffffff;
        text-align:left; 
        padding-left:5px;
        overflow:hidden;
        }
    </style>  
    <script language="javascript" type="text/javascript" src="../JS/JFramework.js"></script>
    <script language="javascript" type="text/javascript" src="../JS/Sys.js"></script>
    <script language="javascript" type="text/javascript" src="JS/myWeb.js"></script>
    <script language="javascript" type="text/javascript" src="JS/search.js"></script>
    <script language="javascript" type="text/javascript">
    var search=new searchClass();	
    </script>
</head>
<body onload="search.loadPageSearch()">
    <form id="form1" runat="server" style="width:100%; height:90%;">  
        <div id="toolsDiv"></div>
        <div style="width:100%; overflow:auto;" id="bodyDiv">
            <asp:Label ID="lb1" runat="server" Text="没有搜索到相关内容" ForeColor="#ff0000"></asp:Label>
            <asp:Repeater ID="searchResoultLst" runat="server">
                <HeaderTemplate>
                    <table border="0" cellpadding="0" cellspacing="0" style="width:100%;border-left:solid 1px #cccccc;">  
                    <tr>
                        <td class="TitleRepterStyle">名字</td>
                        <td class="TitleRepterStyle">创建日期</td>
                        <td class="TitleRepterStyle">创建人</td>
                        <td class="TitleRepterStyle">简介</td>
                    </tr>
                </HeaderTemplate>
                <ItemTemplate>
                        <tr id="<%# Eval("id")%>" style="cursor:hand;" onmouseover="search.over(this)" onmouseleave="search.leave(this)" onclick="search.addSelChackBox(this)">
                            <td class="M4F"  style="width:40%;padding-left:5px;overflow:hidden;">
                                <div style="float:left;"><input id="<%# Eval("id")%>" type="checkbox" onclick="search.clickCheckBox(this)"/></div>
                                <div style="float:left;padding-top:2px;"><script language="javascript" type="text/javascript">search.loadMenuName('<%# Eval("mid")%>');</script></div>
                                <div style="float:left;padding-top:2px;" id="<%# Eval("id")%>" ondblclick="search.editorDate(this)" title="<%# Eval("title")%>"><%# Eval("title").ToString().Length > 25 ? Eval("title").ToString().Substring(0, 24).Trim()+"..." : Eval("title").ToString() == "" ? "&nbsp;" : Eval("title").ToString().Trim()%></div>
                            </td>
                            <td class="M4F"  style="width:10%;padding-left:5px;border-left:solid 1px #efefef;overflow:hidden;" title="<%#Eval("createDate")%>"><%#Convert.ToDateTime(Eval("createDate")).ToShortDateString()%></td>
                            <td class="M4F"  style="width:10%;padding-left:5px;border-left:solid 1px #efefef;overflow:hidden;"><%# Eval("saveUser")%></td>
                            <td class="M4F"  style="width:40%;padding-left:5px;border-left:solid 1px #efefef; overflow:hidden;" title="<%# Eval("cbs").ToString().Length > 25 ? Eval("cbs").ToString().Substring(0, 24):Eval("cbs").ToString() %>"><%# Eval("cbs").ToString().Length > 25 ? Eval("cbs").ToString().Substring(0, 24).Trim()+"..." : Eval("cbs").ToString() == "" ? "&nbsp;" : Eval("cbs").ToString().Trim()%></td>
                        </tr>
               </ItemTemplate> 
               <FooterTemplate>
                    </table>
               </FooterTemplate>            
            </asp:Repeater>
        </div>
        <div style="width:100%; height:20px; vertical-align:text-bottom;">
        <asp:Button ID="pageUp" runat="server" Text="上一页" CausesValidation="False" Enabled="False"  UseSubmitBehavior="False" />
        <asp:Button ID="pageDown" runat="server" Text="下一页" CausesValidation="False" UseSubmitBehavior="False" />
        <asp:Label ID="pageLabel" runat="server" Text=""></asp:Label>
        </div>      
    </form>
</body>
</html>
