<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="search_Default" %>
<%@ Import Namespace="D.Common" %>
<%@ Import Namespace="D.BLL" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <style>
        body { font-size: 12px; font-family: 'Microsoft YaHei'; padding: 0px; margin: 0px; }
        ul, li { list-style: none; padding: 0px; }
        .main { width: 1000px; margin: 0px auto; }
        .top { width: 100%; height: 50px; line-height: 50px; float: left; text-align: center; font-size: 14px; border-bottom: solid 1px #cccccc; }
        .search { float: left; height: 40px; width: 100%; padding-top: 5px; }
        .list { width: 100%; float: left; }

            .list div p { float: left; padding: 0px; margin: 0px; width: auto; }
        .title { font-size: 16px; height: 30px; line-height: 30px; }
        .url { height: 25px; line-height: 25px; }
            .url a { color: green; text-decoration: none; }
        .time { margin-left: 20px; color: hsl(0, 0%, 50%); }
        .size { margin-left: 20px; color: hsl(128, 90%, 42%); }
        .page { height: 60px; line-height: 40px; width: 100%; float: left; }
        .footer { border-top: solid 1px #cccccc; width: 100%; height: 50px; float: left; padding-top: 10px; text-align: center; }

        .listimg {border: 1px #ddd solid; padding:5px; width: auto; height: 65px; overflow: hidden; text-align: center; display: table; float: left; position: relative; margin-right: 10px; }
            .listimg a { display: table-cell; vertical-align: middle; width: auto; height: 65px; }
                .listimg a img { border: 1px #ddd solid; margin: 0 auto; max-height: 65px; }
            /*For IE7*/
            * + html .listimg a { position: absolute; top: 50%; width: 100%; text-align: center; height: auto; }
                * + html .imga a img { position: relative; top: -50%; left: -50%; }
            /*For IE6*/
            *html .listimg a { position: absolute; top: 51%; width: 100%; text-align: center; height: auto; display: block; }
                *html .listimg a img { position: relative; top: -50%; left: -50%; width: expression(this.width>120?"120px":"auto"); height: expression(this.height>65?"65px":"auto"); }
    </style>
<link href="/images/css/black.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div class="main">
        <div class="top">易点内容管理系统（DianCMS）头部标签sss</div>
    </div>
    <form id="form1" runat="server">
        <div class="main">
            <asp:Repeater ID="RepSearchIndex" runat="server">
                <ItemTemplate>
                    <div class="list">
    <div class="title"><a href="<%#Eval("Url") %>" target="_blank"><%#Eval("Title") %></a></div>
    <div>
        <%#GetImgUrl(Eval("ImgUrl","{0}"),Eval("Url","{0}")) %>
        <p>
            <li><%#Eval("Content") %></li>
            <li class="url"><a href="<%#Eval("Url") %>" target="_blank"><%#Eval("Url") %></a> <span class="time"><%#Eval("UpdateTime") %></span><span class="size"><%#(decimal.Parse(Eval("Size","{0}"))/1024).ToString("0.00") %>KB</span></li>
        </p>
    </div>
</div>
                </ItemTemplate>
            </asp:Repeater>
        </div>
        <div class="main">
            <div class="page">
                <div class="black"><asp:Literal ID="LitPager" runat="server"></asp:Literal></div>
            </div>
        </div>
    </form>
    <div class="main">
        <div class="footer">易点内容管理系统（DianCMS）底部标签</div>
    </div>
</body>
</html>