<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PicNews2.aspx.cs" Inherits="Web.Customize.jbedu.PicNews2" %>

<!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></title>    
    <link href="../../Css/public.css" type="text/css" rel="stylesheet" />   
    <link href="../../Images/CSS/bigClass.css" rel="stylesheet" type="text/css" />
</head>
<body style="margin:0px; padding:0px;">
    <form id="form1" runat="server">
    <div>
    <ul class="nsy-picnews2-ul" >
        <%
            for (int i = 0; table != null && i < table.Rows.Count; i++)
            {
        %>
        <li class="nsy-picnews2-li1">
        <span class="nsy-picnews2-img">
        <a title="<%= table.Rows[i]["intactTitle"] %>" href="../../newsInfo.aspx?pkId=<%= table.Rows[i]["pkId"] %>" target="_blank" >
        <img alt="" height="<%= table.Rows[i]["height"] %>" width="<%= table.Rows[i]["width"] %>" src="../../<%= table.Rows[i]["imageName"] %>" /></a></span>
        <a class="nsy-picnews2Title" target="_blank" title="<%= table.Rows[i]["intactTitle"] %>" href="../../newsInfo.aspx?pkId=<%= table.Rows[i]["pkId"] %>"><%= Common.StringHelper.SubString(Regex.Replace(table.Rows[i]["intactTitle"].ToString(), @"<[\/\!]*?[^<>]*?>", ""), 20, "") %></a>
        <p class="nsy-picnews2-summary"><%= Common.StringHelper.SubString(Regex.Replace(table.Rows[i]["descript"].ToString(), @"<[\/\!]*?[^<>]*?>", ""), 70, "...")%>
        <a class="nsy-picNews2-link" href="../../newsInfo.aspx?pkId=<%= table.Rows[i]["pkId"] %>" target="_blank">[详细]</a>
        </p>
        </li>
        <%
            }
        %>
        </ul>
    </div>
    </form>
</body>
</html>
