<%@ page language="C#" autoeventwireup="true" inherits="party_index, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="Pager" Namespace="Wuqi.Webdiyer" TagPrefix="DataPager" %>
<%@ Register TagName="meta" TagPrefix="UC" Src="~/s/include/meta.ascx" %>
<%@ Register TagName="head" TagPrefix="UC" Src="~/s/include/head.ascx" %>
<%@ Register TagName="tip_bar" TagPrefix="UC" Src="~/s/include/tip_bar.ascx" %>
<%@ Register TagName="foot" TagPrefix="UC" Src="~/s/include/foot.ascx" %>
<!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">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title>活动频道_<%=ZK.config("sitetitle") %></title><meta name="keywords" content="<%=ZK.config("sitekeywords") %>" />
    <meta name="description" content="<%=ZK.config("sitedescription") %>" />
    <UC:meta ID="meta1" runat="server" />
    <link type="text/css" rel="stylesheet" href="/party/party_index.css" />
</head>
<body>
    <div class="wrap"><a name="pagetop" id="pagetop"></a>
        <UC:head ID="head1" runat="server" />
        <UC:tip_bar ID="tip_bar1" runat="server" />
        <div class="box">
            <asp:Panel ID="Panel1" runat="server">
                <div class="c1 mt5">
                    <div class="b">
                        <div class="fl"></div>
                        <div class="con">热门活动</div>
                        <div class="fr"></div>
                        <div class="clear"></div>
                    </div>
                    <div class="v">
                        <div class="self_party_tj">
                            <ul>
                                <%=PartyTJ() %></ul>
                            <div class="clear"></div>
                        </div>
                    </div>
                </div>
            </asp:Panel>
            <div class="hto">
                <div class="fl flow" style="width: 745px;">
                    <div class="c1 mt5">
                        <div class="b">
                            <div class="fl"></div>
                            <div class="con">所有活动</div>
                            <div class="fr"></div>
                            <div class="clear"></div>
                        </div>
                        <div class="v" style="padding: 0 5px 5px 5px;">
                            <asp:Panel ID="Panel_Nodata" runat="server" Visible="false" style="padding-top:5px;">
                                <div class="tip_nodata" id="tip_nodata" style="background-position: 12px 12px;">No data!&nbsp;&nbsp;还没有活动！</a></div>
                            </asp:Panel>
                            <asp:Panel ID="Panel_List" runat="server" CssClass="party_list">
                                <asp:Repeater ID="Repeater1" runat="server">
                                    <ItemTemplate><div class="flow" style="height:5px;"></div>
                                        <div class="item">
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td class="td1">
                                                        <div><a href="/party/view.aspx?id=<%#Eval("id")%>" target="_blank"><img alt="" src="<%#get1(Eval("thumbnail").ToString()) %>" /></a></div>
                                                    </td>
                                                    <td class="td2">
                                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                            <tr>
                                                                <td>
                                                                    <strong class="s14"><a href="/party/view.aspx?id=<%#Eval("id")%>" target="_blank"><%#Eval("title")%></a></strong>
                                                                    <div>活动时间：<%#Eval("starttime")%></div>
                                                                    <div>活动人数：<%#WM.DoCount("party_reg", "where enable="+WM.True+" and fid=" + Eval("id").ToString())%>人</div>
                                                                    <div><a href="/party/view.aspx?id=<%#Eval("id")%>" target="_blank">参加活动&raquo;</a></div>
                                                                </td>
                                                                <td width="180">
                                                                    <div width="180">
                                                                        <div>活动费用：<%#Eval("consumption")%>元/人</div>
                                                                        <div>活动区域：<%#Eval("area")%></div>
                                                                    </div>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                    <td class="td3">
                                                        <div><a href="/party/view.aspx?id=<%#Eval("id")%>" target="_blank">状态：<%#Eval("state")%></a></div>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </asp:Panel>
                            <asp:Panel ID="Panel_Turn" runat="server" Visible="false">
                                <div id="DataPager">
                                    <table border="0" cellspacing="0" cellpadding="0" style="margin: 0 auto">
                                        <tr>
                                            <td>
                                                <DataPager:AspNetPager ID="Pager1" runat="server" OnPageChanged="Pager1_PageChanged" Style="padding-top: 10px;" UrlPagingTarget="_self" PageSize="8" UrlPaging="true" FirstPageText="最前页" PrevPageText="上一页" NextPageText="下一页" LastPageText="最后页" PagingButtonSpacing="0" CssClass="turn" CurrentPageButtonClass="turn_on" SubmitButtonClass="pager_but" PageIndexBoxClass="pager_inp" SubmitButtonText="转到" ShowPageIndexBox="Auto" ShowBoxThreshold="0" ShowDisabledButtons="false" NumericButtonCount="6" FirstLastButtonsClass="turn_flpn" PrevNextButtonsClass="turn_flpn" AlwaysShow="true">
                                                </DataPager:AspNetPager>
                                            </td>
                                        </tr>
                                    </table>
                                    <div class="clear" style="height: 5px"></div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                </div>
                <div class="fr flow" style="width: 200px;">
                    <div class="c1 mt5">
                        <div class="b">
                            <div class="fl"></div>
                            <div class="con" style="width: 100px">发布活动</div>
                            <div class="fr"></div>
                            <div class="clear"></div>
                        </div>
                        <div class="v" style="padding: 10px 0;">
                            <div class="party_do"><a href="/user/party_do.aspx" target="_blank" rel="nofollow">我要发布活动</a></div>
                            <div class="party_gl"><a href="/user/party.aspx" target="_blank" rel="nofollow">我发布的活动</a></div>
                        </div>
                    </div>
                    <div class="c1 mt5">
                        <div class="b">
                            <div class="fl"></div>
                            <div class="con" style="width: 100px">最新报名会员</div>
                            <div class="fr"></div>
                            <div class="clear"></div>
                        </div>
                        <div class="v">
                            <div class="ShowtRegers"><%=GetRegers()%></div>
                            <div class="clear"></div>
                        </div>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
        </div>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
