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

<%@ 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" %>
<%@ Register TagName="side_menu" TagPrefix="UC" Src="~/user/side_menu.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" />
    <style type="text/css">
        .self_tip
        {
            border: solid 1px #ffe5a5;
            background: #fff5de url(/s/skin/prompt_small.gif) no-repeat 10px 9px;
            padding: 6px 6px 6px 32px;
            color: #666;
            width: 700px;
            margin: 0 auto;
        }
        .self_tip a, .self_tip a:hover
        {
            color: #f60;
        }
    </style>
</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" />
        <form id="form1" runat="server">
        <div class="box">
            <div class="hot">
                <div class="fl" style="width: 180px">
                    <div class="c1 mt5">
                        <div class="b">
                            <div class="fl">
                            </div>
                            <div class="con" style="width: 80px">
                                功能菜单</div>
                            <div class="fr">
                            </div>
                            <div class="clear">
                            </div>
                        </div>
                        <div class="v">
                            <UC:side_menu ID="side_menu1" runat="server" />
                                <script type="text/javascript">showonly_user_side_menu("2,3,4,5,6");</script>
                        </div>
                    </div>
                </div>
                <div class="fr flow" style="width: 765px">
                    <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-top: 10px;">
                            <div class="self_tip">
                                <asp:Literal ID="Literal2" runat="server">您不是VIP会员，无权发布团购活动！&nbsp;您可以<a href="vip.aspx" target="_blank">[升级成为VIP会员]</a>&nbsp;&nbsp;<a href="vip.aspx?introduce" target="_blank">[了解VIP会员特权]</a></asp:Literal></div>
                            <div class="ar" style="padding: 6px 5px 6px 0">
                                <asp:Literal ID="Literal1" runat="server"></asp:Literal><a href="tuan_do.aspx"><img
                                    src="/skin/public/tuan_do.gif" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" /></a></div>
                        </div>
                    </div>
                    <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="v1">
                                <%@ register assembly="Pager" namespace="Wuqi.Webdiyer" tagprefix="DataPager" %>
                                <asp:Panel ID="Panel_Nodata" runat="server" Visible="false">
                                    <div class="tip_nodata" id="tip_nodata" style="background-position: 12px 13px">
                                        No data!&nbsp;<a href="tuan_do.aspx">(发布团购活动)</a></div>
                                </asp:Panel>
                                <asp:Literal ID="Literal3" runat="server"></asp:Literal><asp:Panel ID="Panel_List" runat="server">
                                    <asp:Repeater ID="Repeater1"
                                        runat="server">
                                        <HeaderTemplate>
                                            <div class="list1">
                                                <table border="0" cellspacing="1" cellpadding="0" width="100%">
                                                    <tr>
                                                        <th width="105">
                                                            编号
                                                        </th>
                                                        <th>
                                                            <div class="al" style="padding-left: 10px">
                                                                团购主题</div>
                                                        </th>
                                                        <th width="90">
                                                            团购状态
                                                        </th>
                                                        <th width="90">
                                                            订单数
                                                        </th>
                                                        <th width="100">
                                                            操作
                                                        </th>
                                                    </tr>
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                            <tr>
                                                <td>
                                                    TG<%#Eval("id")%><%#WMtime.FormatDateTime(Eval("time").ToString(),"yyMMdd")%>
                                                </td>
                                                <td>
                                                    <div class="al" style="padding-left: 10px">
                                                        <%#WMcompare.IsEmpty(Eval("thumbnail").ToString(), "", "<a title=\"点击查看封面图片！\" href=\"" + Eval("thumbnail").ToString() + "\" target=\"_blank\"><img src=\"/skin/public/pic.gif\" align=\"absmiddle\" /></a>")%><a
                                                            href="/tuan/<%#Eval("id")%>.htm" target="_blank"><%#WM.E(Eval("shorttitle"), 46, true)%></a>
                                                    </div>
                                                </td>
                                                <td title="团购活动截止至：<%#WMtime.FormatDateTime(Eval("endtime").ToString(),"yyyy-MM-dd HH:mm")%>">
                                                    <%#get1(Eval("starttime").ToString(), Eval("endtime").ToString())%>
                                                </td>
                                                <td>
                                                    <%#WM.DoCount("tuan_buy", "where fid=" + Eval("id").ToString())%>
                                                </td>
                                                <td>
                                                    <a href="/tuan/sj_order.htm?fid=<%#Eval("id")%>"" " target="_blank">[查看管理订单]</a>
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            </table></div>
                                        </FooterTemplate>
                                    </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"
                                                        UrlPagingTarget="_self" PageSize="20" 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">
                                                    </DataPager:AspNetPager>
                                                </td>
                                            </tr>
                                        </table>
                                        <div class="clear" style="height: 8px">
                                        </div>
                                    </div>
                                </asp:Panel>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="clear">
                </div>
            </div>
        </div>
        </form>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
