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

<%@ Register TagName="topbar" TagPrefix="UC" Src="~/mall/topbar.ascx" %>
<%@ Register TagName="head" TagPrefix="UC" Src="~/mall/head.ascx" %>
<%@ Register TagName="foot" TagPrefix="UC" Src="~/mall/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>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title><asp:Literal ID="LiteralPageTitle" runat="server"></asp:Literal>_<%=ZK.config("title","mall") %></title>
    <meta name="keywords" content=" <%=ZK.config("keywords","mall") %>" />
    <meta name="description" content=" <%=ZK.config("description","mall") %>" />
    <script type="text/javascript" src="/s/skin/base.js"></script>
    <link type="text/css" rel="stylesheet" href="/mall/skin/style.css" />
    <script type="text/javascript" src="/s/skin/base64.js"></script>
    <script type="text/javascript" src="/s/skin/tinybox.js"></script>
    <script type="text/javascript" src="/skin/public/public.js"></script>
    <script type="text/javascript" src="/mall/skin/public.js"></script>
</head>
<body>
    <%--<noscript><style type="text/css">body, .wrap{background-color: #fff;background-image: none;}.box, .topbar{display: none;}</style><div class="noscript">您的浏览器不支持Javascript，请升级你的浏览器或者打开Javascript支持！</div></noscript>--%>
    <a name="pagetop" id="pagetop"></a>
    <div class="wrap">
        <UC:topbar ID="topbar1" runat="server" />
        <UC:head ID="head1" runat="server" />
        <div class="box">
            <div class="hto">
                <div class="fl flow" style="width: 200px; padding-top:366px">
                    <div class="c1">
                        <div class="b3">
                            <div class="fl"></div>
                            <div class="con">我的网购</div>
                            <div class="fr"></div>
                            <div class="clear"></div>
                        </div>
                        <div class="v1" style="padding-bottom:8px;border-color:#e05d5d">
                            <div class="ce" style="padding-top:8px"><a href="/user/mall_do.aspx" target="_blank" rel="nofollow"><img alt="" src="/mall/skin/mall_do_btn1.gif" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" /></a></div>
                            <div class="ce" style="padding-top:8px"><a href="/user/mall.aspx" target="_blank" rel="nofollow"><img alt="" src="/mall/skin/mall_do_btn2.gif" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" /></a></div>
                            <div class="ce" style="padding-top:8px"><a href="cart.aspx"><img alt="" src="/mall/skin/mall_do_btn3.gif" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" /></a></div>
                            <div class="ce" style="padding-top:8px"><a href="mall_order.htm"><img alt="" src="/mall/skin/mall_do_btn4.gif" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" /></a></div>
                        </div>
                    </div>
                    <div class="c1 mt10">
                        <div class="b3">
                            <div class="fl"></div>
                            <div class="con">团购热卖</div>
                            <div class="fr"></div>
                            <div class="clear"></div>
                        </div>
                        <div class="v1" style="border-color:#e05d5d">
                            <asp:Panel ID="Panel_DefaultTuan" runat="server">  
                                <div class="v1_b">
                                    <asp:Literal ID="Literal_tuan" runat="server"></asp:Literal>
                                    <script type="text/javascript">
                                        var tms = [];var day = [];var hour = [];var minute = [];var second = [];
                                        function takeCount(){if(document.getElementById("tuan_d1"))setTimeout("takeCount()", 1000);
                                        for (var i = 0, j = tms.length; i < j; i++){tms[i] -= 1000;
                                        var days = Math.floor(tms[i] / (1000 * 60 * 60 * 24));var hours = Math.floor(tms[i] / (1000 * 60 * 60)) % 24;var minutes = Math.floor(tms[i] / (1000 * 60)) % 60;var seconds = Math.floor(tms[i] / 1000) % 60;
                                        if (days < 0)days = 0;if (hours < 0)hours = 0;if (minutes < 0)minutes = 0;if (seconds < 0)seconds = 0;
                                        document.getElementById(day[i]).innerHTML = days;document.getElementById(hour[i]).innerHTML = hours;document.getElementById(minute[i]).innerHTML = minutes;document.getElementById(second[i]).innerHTML = seconds;}}
                                        if(document.getElementById("tuan_d1"))setTimeout("takeCount()", 1000);
                                        tms[tms.length] = "<asp:Literal ID="Literal2_" runat="server"></asp:Literal>";
                                        day[day.length] = "tuan_d1";
                                        hour[hour.length] = "tuan_h1";
                                        minute[minute.length] = "tuan_m1";
                                        second[second.length] = "tuan_s1";
                                    </script>
                                </div>
                            </asp:Panel>
                            <asp:Literal ID="Literal_CustomTuan" runat="server"></asp:Literal>
                        </div>
                    </div>                    
                    <%=ZK.config("ViewSideCustom","mall") %>
                </div>
                <div class="fr flow" style="width: 740px">                    
                    <div class="view">
                        <div class="view_title"><a href="/mall/list.htm?classid=<%=_classid%>" title="返回查看该类更多商品">[<%=WMread.GetBy("n", "mall_class", "id", _classid)%>]</a><asp:Literal ID="Literal_title" runat="server"></asp:Literal></div>
                    <div class="view_x1">
                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <td class="td1"><div class="con1"><asp:Literal ID="Literal_thumbnail" runat="server"></asp:Literal></div></td>
                                <td class="td2">                    
                                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                        <tr>
                                            <td class="sontd1"><asp:Literal ID="Literal6" runat="server">本站价格</asp:Literal>：</td>
                                            <td>                    
                                                 <table border="0" cellpadding="0" cellspacing="0">
                                                     <tr>
                                                         <td style="line-height:28px; vertical-align:top"><span style="font-size:22px;color:#ff4e00; padding-right:5px"><asp:Literal ID="Literal_buyprice" runat="server"></asp:Literal></span></td><td><asp:Label ID="Label1" runat="server" Text="元" style="padding-right:15px"></asp:Label></td>
                                                         <td class="sontd1"><asp:Literal ID="Literal7" runat="server">市场价格</asp:Literal>：</td>
                                                         <td style="line-height:28px; vertical-align:top"><span style="font-size:22px;color:#999; text-decoration:line-through; padding-right:5px"><asp:Literal ID="Literal_oldprice" runat="server"></asp:Literal></span></td><td><asp:Literal ID="Literal8" runat="server">元</asp:Literal></td>
                                                     </tr>
                                                 </table>
                                            </td>
                                        </tr>                                      
                                        <tr>
                                            <td class="sontd1">联系人：</td>
                                            <td><asp:Literal ID="Literal_contact" runat="server"></asp:Literal></td>
                                        </tr>
                                        <tr>
                                            <td class="sontd1">商家电话：</td>
                                            <td style="line-height:28px; vertical-align:top"><span style="font-size:22px;color:#4ea038; padding-right:5px"><asp:Literal ID="Literal_phone" runat="server"></asp:Literal></span></td>
                                        </tr>
                                        <tr>
                                            <td class="sontd1">所在地：</td>
                                            <td><div class="flow" style="height:32px"><asp:Literal ID="Literal_area" runat="server"></asp:Literal></div></td>
                                        </tr>
                                        <tr>                   
                                          <td colspan="2" style="padding:20px 0;">
                                              <table border="0" cellpadding="0" cellspacing="0">
                                                  <tr>
                                                      <td style="background-image:none"><div class="none" id="view_cart_added"></div><img alt="" src="/mall/skin/buy.gif" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" onclick="MallAddCart(1,'<%=WM.RQ("id") %>')" style="cursor:pointer" /></td><td style="background-image:none" width="10">&nbsp;</td>
                                                      <td style="background-image:none"><img alt="" src="/mall/skin/addcart.gif" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" onclick="MallAddCart(0,'<%=WM.RQ("id") %>')" style="cursor:pointer" /></td>
                                                  </tr>
                                              </table>
                                          </td>
                                        </tr>
                                        <tr>
                                            <td class="sontd1">发布会员：</td>
                                            <td><strong style="padding-right:10px"><asp:Literal ID="Literal_U" runat="server"></asp:Literal></td>
                                        </tr>
                                        <tr>
                                           <td class="sontd1">浏览次数：</td>
                                           <td>
                                              <table border="0" cellpadding="0" cellspacing="0">
                                                   <tr>
                                                       <td style="*line-height:28px; vertical-align:top"><span style="font-size:12px;padding-right:2px"><asp:Literal ID="Literal_click" runat="server"></asp:Literal></span></td>
                                                       <td>次</td>
                                                   </tr>
                                              </table>
                                           </td>
                                        </tr>
                                    </table>
                                    <div style="padding-top: 10px; color: #666">
                                        <!-- Baidu Button BEGIN -->
                                            <div id="bdshare" class="bdshare_t bds_tools_32 get-codes-bdshare">
                                                <a class="bds_qzone"></a>
                                                <a class="bds_tsina"></a>
                                                <a class="bds_tqq"></a>
                                                <a class="bds_renren"></a>
                                                <a class="bds_kaixin001"></a>
                                                <a class="bds_tqf"></a>
                                                <a class="bds_baidu"></a>
                                                <a class="bds_copy"></a>
                                                <span class="bds_more">更多</span>
                                            </div>
                                            <script type="text/javascript" id="bdshare_js" data="type=tools" ></script>
                                            <script type="text/javascript" id="bdshell_js"></script>
                                            <script type="text/javascript">
	                                            document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?t=" + new Date().getHours();
                                            </script>
                                            <div class="clear"></div>
                                        <!-- Baidu Button END -->                                        
                                    </div>
                                </td>
                            </tr>
                        </table>                    
                    </div>
                    
                    
                   <div class="view_tab">
                       <ul>
                           <li onclick="document.getElementById('view_tab_5').className='view_tab';movearea(this,'mall_moveareav1');document.getElementById('mall_moveareav1_blockquote5').className='block';" class="on"><a href="javascript:void(0)" onfocus="this.blur()">详细介绍</a></li>
                           <li onclick="document.getElementById('view_tab_2').className='none';movearea(this,'mall_moveareav1')"><a href="javascript:void(0)" onfocus="this.blur()">购物说明</a></li>
                           <li onclick="document.getElementById('view_tab_3').className='none';movearea(this,'mall_moveareav1')"><a href="javascript:void(0)" onfocus="this.blur()">使用说明</a></li>
                           <li onclick="document.getElementById('view_tab_4').className='none';movearea(this,'mall_moveareav1')"><a href="javascript:void(0)" onfocus="this.blur()">售后服务</a></li>
                           <li onclick="document.getElementById('view_tab_5').className='none';movearea(this,'mall_moveareav1')"><a href="javascript:void(0)" onfocus="this.blur()">留言评论</a></li>
                           <asp:Literal ID="Literal_CompanyT" runat="server" Visible="false"><li onclick="movearea(this,'mall_moveareav1')"><a href="javascript:void(0)" onfocus="this.blur()">商家介绍</a></li></asp:Literal>
                       </ul>
                       <div class="clear"></div>
                   </div>
                    <div class="mall_view_content" id="mall_moveareav1">
                        <blockquote class="block">
                            <asp:Literal ID="Literal_custom" runat="server"></asp:Literal>
                            <div class="mall_view_content_con1"><asp:Literal ID="Literal1" runat="server"></asp:Literal></div>
                        </blockquote>
                        <blockquote class="<%=cssclass2 %>">                    
                            <div class="view_tab" id="view_tab_2"><ul><li class="on"><a href="javascript:void(0)" onfocus="this.blur()">购物说明</a></li></ul><div class="clear"></div></div>                    
                            <div class="mall_view_content_con1"><asp:Literal ID="Literal2" runat="server"></asp:Literal></div>
                        </blockquote>
                        <blockquote class="<%=cssclass3 %>">                    
                            <div class="view_tab" id="view_tab_3"><ul><li class="on"><a href="javascript:void(0)" onfocus="this.blur()">使用说明</a></li></ul><div class="clear"></div></div>                    
                            <div class="mall_view_content_con1"><asp:Literal ID="Literal3" runat="server"></asp:Literal></div>
                        </blockquote>
                        <blockquote class="<%=cssclass4 %>">                    
                            <div class="view_tab" id="view_tab_4"><ul><li class="on"><a href="javascript:void(0)" onfocus="this.blur()">售后服务</a></li></ul><div class="clear"></div></div>                    
                            <div class="mall_view_content_con1"><asp:Literal ID="Literal4" runat="server"></asp:Literal></div>
                        </blockquote>
                        <blockquote class="block" id="mall_moveareav1_blockquote5">                    
                            <div class="view_tab" id="view_tab_5"><ul><li class="on"><a href="javascript:void(0)" onfocus="this.blur()">留言评论</a></li></ul><div class="clear"></div></div>
                            <div class="pl">
                                        <div class="pl_c">
                                            <div class="pl_b" style="border-top-width: 0">我要评论</div>
                                            <div class="pl_add">
                                                <table border="0" cellpadding="0" cellspacing="0">
                                                    <tr valign="top">
                                                        <td>
                                                            <input type="hidden" id="pl_inp_init" value="请文明留言，遵守互联网法规！" />
                                                            <textarea id="pl_content" class="pl_inp" style="width:596px" onfocus="if('<%=ZK.uid %>'==''){setInterval(intervalCheckLogin,1000);show_minilogin(<%=ZK.sDZ %>);}else {if(this.value==document.getElementById('pl_inp_init').value)this.value='';}"></textarea>
                                                            <div class="pl_smiley">
                                                                <script type="text/javascript">  
                                                                    document.getElementById("pl_content").value=document.getElementById("pl_inp_init").value;
                                                                    show_pl_smiley("pl_content",document.getElementById("pl_inp_init").value,22);
                                                                </script>
                                                            </div>
                                                        </td>
                                                        <td>
                                                            <input type="button" id="pl_but" class="pl_but" value="发表留言" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" onclick="save_pl('<%=ZK.uid %>','mall_pl','pl_content','pl_but',<%=WM.RQ("id") %>,document.getElementById('pl_inp_init').value,<%=WMread.GetBy("uid", "mall", "id",WM.RQ("id"))%>)">
                                                            <div class="red" style="padding-top: 5px"><%=WMcompare.IsEmpty(ZK.uid, "发表留言请先登录！","")%></div>
                                                            <script type="text/javascript">interval_pl(<%=WM.RQ("id") %>,"pl_but");</script>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                            <asp:Panel ID="Panel_pl_list" runat="server">
                                                <div class="pl_b">买家评论</div>
                                                <div class="pl_list">
                                                    <%@ register assembly="Pager" namespace="Wuqi.Webdiyer" tagprefix="DataPager" %>
                                                    <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_OnItemDataBound">
                                                        <ItemTemplate>
                                                            <div class="pl_item">
                                                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                                    <tr valign="top">
                                                                        <td class="pl_item_con1"><a href="/space/?uid=<%#Eval("uid") %>" target="_blank"><img alt="" src="<%#ZK.m_face(Eval("uid").ToString(),"50")%>" onmouseover="hover(this,0.7)" onmouseout="hover(this,1)" /></a></td>
                                                                        <td class="pl_item_con2">
                                                                            <div class="son1">
                                                                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                                                    <tr>
                                                                                        <td><a href="/space/?uid=<%#Eval("uid") %>" target="_blank"><strong><%#ZK.m_u(Eval("uid").ToString())%></strong></a>&nbsp;&nbsp;发表于&nbsp;<%#WMtime.Diff(Eval("time").ToString(), "yyyy-M-d HH:mm")%>&nbsp;&nbsp;&nbsp;&nbsp;<%#WMip.SetIP("(", Eval("ip").ToString(), ")")%></td>
                                                                                        <td align="right"><a href="javascript:void(0)" class="str" onclick="show_pl_re(<%#Eval("id") %>)">回复</a>&nbsp;&nbsp;<asp:Label ID="Label_floor" runat="server"></asp:Label></td>
                                                                                    </tr>
                                                                                </table>
                                                                            </div>
                                                                            <div class="son2"><%#Eval("content") %></div>
                                                                            <div class="son3" id="pl_re_<%#Eval("id") %>" style="display: none">
                                                                                <div><textarea id="pl_re_content_<%#Eval("id") %>" class="pl_inp" style="height: 50px"></textarea></div>
                                                                                <script type="text/javascript">show_pl_smiley("pl_re_content_<%#Eval("id") %>","");</script>
                                                                                <div style="padding-top: 5px"><input type="button" id="pl_but" class="but4" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" onclick="save_pl_re('<%=ZK.uid %>','mall_pl_re',<%#Eval("id") %>,this)" value="发表回复"></div>
                                                                            </div>
                                                                            <%#ZK.get_pl_re("mall_pl_re", Eval("id").ToString())%>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </div>
                                                        </ItemTemplate>
                                                        <FooterTemplate><div class="abs flow" style="height: 1px; background-color: #ffffff; width: 740px;margin-top: -1px"></div></FooterTemplate>
                                                    </asp:Repeater>
                                                    <asp:Panel ID="Panel_Turn" runat="server" Visible="false" Style="padding-bottom: 5px">
                                                        <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>
                                            </asp:Panel>
                                        </div>                                 
                                    </div>             
                        </blockquote>
                        <asp:Literal ID="Literal_CompanyC" runat="server"></asp:Literal>
                        <asp:Literal ID="JS1" runat="server"></asp:Literal>
                    </div>                    
                    </div>
                    <div class="c1 mt10">
                        <div class="b3">
                            <div class="fl"></div>
                            <div class="con"><asp:Literal ID="Literal5" runat="server">该商家出售的其它商品</asp:Literal></div><div class="fr" style="width:200px; padding-right:8px"><a href="/user/mall_do.aspx" target="_blank" rel="nofollow">我也要发布商品出售&raquo;</a></div>
                            <div class="clear"></div>
                        </div>
                        <div class="v1" style="border-color:#e05d5d;"><div class="v1_c"><ul><asp:Literal ID="Literal_topmall" runat="server"></asp:Literal></ul><div class="clear"></div></div></div>
                    </div>
                    </div>
                <div class="clear"></div>
            </div>
        </div>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
