<%@ page language="C#" autoeventwireup="true" inherits="tuan_2_sj, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Register Src="~/tuan/2/head.ascx" TagName="head" TagPrefix="UC" %>
<%@ Register Src="~/tuan/2/foot.ascx" TagName="foot" TagPrefix="UC" %>
<!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>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title>我的团购_<%=ZK.config("title","tuan") %></title>
    <link href="/tuan/<%=ZK.config("tuantemplate", "tuan")  %>/skin/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/s/skin/base.js"></script>
    <script type="text/javascript" src="/tuan/<%=ZK.config("tuantemplate", "tuan")  %>/skin/public.js"></script>
</head>
<body>
    <div class="wrap">
    <UC:head ID="head1" runat="server" />
        <div class="box">            
            <script type="text/javascript">document.getElementById("homemenu").className="";</script>
            <div class="mainside">
                <div class="c1">
                    <div class="m1" style="background-image: url(/tuan/2/skin/mainbox_top_.gif)">
                    </div>
                    <div class="v1" style="background-image: url(/tuan/2/skin/mainbox_bg_.gif)">
                        <%@ register assembly="Pager" namespace="Wuqi.Webdiyer" tagprefix="DataPager" %>
                        <asp:Panel ID="Panel_Nodata" runat="server" Visible="false"><div class="tip_nodata" id="tip_nodata">您未发布团购活动！</div></asp:Panel>
                        <asp:Panel ID="Panel_List" runat="server">
                            <asp:Repeater ID="Repeater1" runat="server">
                                <HeaderTemplate>
                                    <div class="cart_list" style="padding-bottom: 2px">
                                        <table border="0" cellpadding="0" cellspacing="1" width="100%">
                                            <tr>
                                                <th width="80">操作</th>
                                                <th><div class="al" style="padding-left: 10px">团购主题</div></th>
                                                <th width="80">团购价格</th>
                                                <th width="80">团购状态</th>
                                                <th width="80">订单数</th>
                                                <th width="160">发布日期</th>
                                            </tr>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <tr>
                                        <td><a href="/tuan/sj_order.htm?fid=<%#Eval("id") %>">[管理订单]</a></td>
                                        <td><div class="al" style="padding-left: 10px"><a title="打开团购页面" href="/tuan/<%#Eval("id") %>.htm" target="_blank"><%#WM.E(Eval("shorttitle").ToString(), 60, true)%></a></div></td>
                                        <td><%#Convert.ToDouble(Eval("tuanprice").ToString()).ToString("#.##")%></td>
                                        <td><%#get1(Eval("starttime").ToString(), Eval("endtime").ToString())%></td>
                                        <td><%#WM.DoCount("tuan_buy", "where fid=" + Eval("id").ToString())%></td>
                                        <td><%#WMtime.FormatDateTime(Eval("time").ToString(),"")%></td>
                                    </tr>
                                </ItemTemplate>
                                <FooterTemplate></table></div></FooterTemplate>
                            </asp:Repeater>
                        </asp:Panel>
                        <asp:Panel ID="Panel_Turn" runat="server">
                            <table border="0" cellspacing="0" cellpadding="0" class="wto">
                                <tr>
                                    <td>
                                        <DataPager:AspNetPager ID="Pager1" runat="server" OnPageChanged="Pager1_PageChanged"
                                            UrlPagingTarget="_self" PageSize="10" 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: 2px"></div>
                        </asp:Panel>
                        <asp:Literal ID="Literal_Turn_Space" runat="server"><div class="flow" style="height:7px"></div></asp:Literal>
                    </div>
                    <div class="n1" style="background-image: url(/tuan/2/skin/mainbox_bottom_.gif)"></div>
                </div>
            </div>
        </div>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
