<%@ page language="C#" autoeventwireup="true" inherits="Coupon_y, LebiMall" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<!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 id="Head1" runat="server">
    <title><%=model.Title %>-优惠券预览</title>
    <meta name="description" content=<%=model.Description %> />
    <meta name="keywords" content=<%=model.Keywords %> />
    <link href="images/css/css3.css" rel="stylesheet" type="text/css" />
    <link href="images/css/css.css" rel="stylesheet" type="text/css" />
    <link href="images/css/couponyl.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="images/js/shopjs.js"></script>
    <script>
        function search2(){
            var texts2=document.getElementById("ser2").value;
            var select_v2=document.getElementById("Select3").value;
            window.location="list.aspx?tid="+select_v2+"&titlec="+escape(texts2);
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div id="top-menu02">
        <div id="top-menu">
            <div class="right">
                <script type="text/javascript">indexhead();</script>
            </div>
        </div>
    </div>
    <div id="top">
        <div id="logo">
            <a href="http://<%=Request.Url.Host %><%=model.WebPath %>/">
                <img src="Upload/WebAdminImages/<%=model.Logoimg %>" border="0" /></a></div>
    </div>
    <div id="sp-menu">
        <ul>
            <li><a href="http://<%=Request.Url.Host %><%=model.WebPath %>/">首页</a></li>
            <%for (int i = 0; i < ds_tab.Tables[0].Rows.Count; i++){ %>
            <li><%if (model.Tab == "1")
                  { %>
                <a href="<%= ds_tab.Tables[0].Rows[i]["tdirname"]%>/" target="_blank"><%= ds_tab.Tables[0].Rows[i]["tname"]%></a>
                <%}else{%>
                <a href="TopTab.aspx?type=<%= ds_tab.Tables[0].Rows[i]["tdirname"]%>" target="_blank"><%= ds_tab.Tables[0].Rows[i]["tname"]%></a>
                <%} %></li>
            <%} %>
            <li><a href="http://<%=Request.Url.Host %><%=model.WebPath %>/News/" target="_blank">资讯</a></li>
        </ul>
        <p>
            <span><a href="ShopCoupon.aspx">优惠券</a></span></p>
    </div>
        <div id="contenter2">
            <div id="contenter">
                <script type="text/javascript">shopLeft();</script>
                <div id="right">
                    <div class="page-title">
                        <a class="back" href="#" onclick="javascript:window.history.back();"><span>返回上一页</span></a>
                        <h2 class="shop clearfix">
                            优惠券预览
                        </h2>
                    </div>
                    <div class="contenter">
                    <div style="margin-bottom:5px;">优惠券名称：<%=ds2.Tables[0].Rows[0]["cname"] %></div>
                        <div class="TickerNav" style="left: -18px; top: -1px">
                           <div class="TagBoard">优惠券</div>
                            <div class="OutSide">
                                <div class="InSide">
                                    <img alt="" src="Upload/logoc/<%=ds2.Tables[0].Rows[0]["clogo"] %>" width=250 height=60>
                                    <div class="EstoreInfo">
                                        <img alt="" width=100px height=80px src="Upload/logoc/<%=ds2.Tables[0].Rows[0]["flogo"] %>">
                                        <div class="DetailInfo">
                                            <div class="P">
                                                <span>名 称：</span><a href="<%=getYm(ds.Tables[0].Rows[0]["id"].ToString(),ds.Tables[0].Rows[0]["syuming"].ToString()) %>" target="_blank"><%=ds.Tables[0].Rows[0]["sname"]%></a></div>
                                            <div class="P">
                                                <span>电 话：</span><%=ds.Tables[0].Rows[0]["sphone"]%></div>
                                            <div class="P">
                                                <span>地 址：</span><%=ds.Tables[0].Rows[0]["saddress"]%></div>
                                        </div>
                                    </div>
                                    <div class="EstoreEx">
                                        <div class="DetailEx">
                                            <div class="P">
                                                <strong>优惠券说明：</strong></div>
                                            <%if (elist != null){for (int i = 0; i < elist.Length; i++){ %>
                                            <div class='P'><span>●</span><%=elist[i] %></div>
                                            <%}} %>
                                        </div>
                                        <div class="PriceTag">
                                            <h2>
                                                <span style="font-size:12px;"><%=ds2.Tables[0].Rows[0]["Cexplain_v"] %></span></h2>
                                            <span style="font-size:10px;"><strong><%=ds2.Tables[0].Rows[0]["Cexpires"] %></strong> </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="ReMark">
                                <img src="images/TickerAngle.gif">
                            </div>
                        </div>
                        <div style="height: 10px">&nbsp;</div>
                    </div>
                </div>
                <div class="both"></div>
                 <div id="footer">
                <div id="copyright">
                    <div class="search">
                        <div class="search-left">
                            <div class="search-left-title">
                                搜索：</div>
                            <div class="search-left-form">
                                <input type="text" runat="server" id="ser2" size="30" /></div>
                            <div class="search-left-list">
                                <select id="Select3" runat="server">
                                </select>
                            </div>
                            <div class="search-left-button">
                                <img src="images/search-buttom.gif" width="60" height="20" onclick="search2()" /></div>
                        </div>
                        <div class="search-right">
                            <div runat=server id="div_s2"></div>
                        </div>
                    </div>
                </div>
            </div>
                <div class="copyright" runat="server" id="copr"></div>
            </div>
        </div>
    </form>
    
</body>
</html>
