<%@ Page Language="C#" AutoEventWireup="true" Inherits="EoyooCMS.ManageCode.Content_NoticeList" %>

<!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>
    <title>站内公告</title>
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <script type="text/javascript" src="Script/Jquery.js"></script>
    <script type="text/javascript" src="Script/Common.js"></script>
    <script type="text/javascript" src="Script/Content_NoticeList.js"></script>
    <link href="Style/Iframe.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="wrapper-div">    
	<!-- 文章列表管理 -->
        <!-- 标 -->
            <div class="title-tab">
            <div class="title"><span class="title-ico titico7 F B">站内公告</span></div>
            </div>
        <!-- end 标 -->
        
        <div class="clear-8"></div>
            <a href="Content_NoticeList_Control.aspx?com=add" class="bule-btn m_right6 W f_left text_centent">添加公告</a>
            

            <p class="PageBox">
                <%=getPagesInfo%>
            </p>
        <div class="clear-8"></div>
        
        <!-- 通用table -->
        <table class="table-1">
        	<thead>
            	<tr>
                	<th width="62%" class="text_left">公告信息 <span class="X NoB">[总数:<%=_pageCount %>]</span></th>
                    <th width="12%">点击</th>
                    <th width="12%">发表时间</th>
                    <th width="8%">操作</th>
                </tr>
            </thead>
            <tbody id="article_Tbody">
            <%if (_noticeListDat.Rows.Count > 0) %>
            <%{ %>
                <%foreach (System.Data.DataRow dat in _noticeListDat.Rows) %>
                <%{ %>
            	    <tr>
                	    <td class="text_left">
                            <a class="B H" href="Content_NoticeList_Control.aspx?com=alter&toid=<%=dat["id"].ToString() %>"><%=EoyooCMS.Common.StringPlus.StrCut(dat["title"].ToString(),60,"...")%></a> <span class="X Size9">(<%=getTime3(dat["addtime"].ToString())%>)</span>
                            <br />
                            <span class="V"><%=cutText(RemoveHtml(dat["content"].ToString()), 118, "…")%></span>
                            
                        </td>
                        <td><span class="X Size9"><%=dat["clicks"].ToString()%></span></td>
                        <td>
                    	    <span class="G">(<%=getTime1(dat["addtime"].ToString())%>)</span><br />
                            <span class="V Size9"><%=getTime2(dat["addtime"].ToString())%></span>
                        </td>
                        <td>
                    	    <a href="Content_NoticeList_Control.aspx?com=alter&toid=<%=dat["id"].ToString() %>" class="Q underline">[编辑]</a>
                            <br />
                            <a href="<%=dat["id"].ToString() %>" title="<%=dat["title"].ToString() %>" rel="del" class="R underline">[删除]</a>
                        </td>
                    </tr>
                <%} %>  
            <%} %>
            <%else %>
            <%{ %>
            <tr>
                <td  colspan="4" class="text_left"><span class="V">暂无数据</span> <a class="Q B underline" href="Content_NoticeList_Control.aspx?com=add">[马上添加]</a></td>
            </tr>
            <%} %>   
            </tbody>
        </table>
        <!-- end 通用table -->
        <div class="clear-8"></div>
        <a href="Content_NoticeList_Control.aspx?com=add" class="bule-btn W f_left text_centent">添加公告</a>
        <p class="PageBox">
            <%=getPagesInfo%>
        </p>
        <div class="clear-8"></div>

    <!-- end 文章列表管理 -->
</div>

</body>
</html>
