<%@ page language="C#" autoeventwireup="true" inherits="shop_coupons, 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="foot" TagPrefix="UC" Src="~/s/include/foot.ascx" %>
<%@ Register TagName="shop_head" TagPrefix="UC" Src="~/shop/head.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>优惠券_<%=ShopName %></title><meta name="keywords" content="<%=ZK.config("sitekeywords") %>" />
    <meta name="description" content="<%=ZK.config("sitedescription") %>" />
    <UC:meta ID="meta1" runat="server" />
    <asp:Literal ID="HidePublicHead" runat="server"></asp:Literal>
</head>
<body>
    <div class="wrap"><a name="pagetop" id="pagetop"></a><UC:head ID="head1" runat="server" />
        <div class="box pt5">
            <form id="form1" runat="server">
            <UC:shop_head ID="shop_head1" runat="server" />
            <asp:Literal ID="LiteralHeadBg" runat="server"></asp:Literal>
            <div class="shop_c2 mt5">
                <div class="shop_b2">
                    <div class="fl"></div>
                    <div class="con">优惠券</div>
                    <div class="fr"></div>
                    <div class="clear"></div>
                </div>
                <div class="shop_v2">
                    <div class="shop_info_list_box"><%@ 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;(还没有发布相关信息！)</div>
                        </asp:Panel>
                        <asp:Panel ID="Panel_List" runat="server">
                            <asp:Repeater ID="Repeater1" runat="server">
                                <HeaderTemplate>
                                    <div class="couponslist">
                                        <ul>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <li>
                                        <div class="con1">
                                            <table border="0" cellpadding="0" cellspacing="0" width="100%" height="160">
                                                <tr>
                                                    <td>
                                                        <a href="/coupons/<%#Eval("id")%>.htm" target="_blank"><img alt="<%#Server.HtmlEncode(Eval("title").ToString())%>" src="<%#ZK.getThumbnailZoom(Eval("thumbnail").ToString(),"200","150") %>" onload="ResizePic(this,200,150)" /></a>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                        <div class="con2"><a href="/coupons/<%#Eval("id")%>.htm" target="_blank"><%#WM.E(Eval("title"),30,true) %></a></div>
                                        <div class="con3">截至<%#WMtime.FormatDateTime(Eval("endtime").ToString(),"yyyy年MM月dd日") %></div>
                                    </li>
                                </ItemTemplate>
                                <FooterTemplate>
                                    </ul><div class="clear"></div>
                                    </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="12" 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>
            </form>
        </div>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
