<%@ page language="C#" autoeventwireup="true" inherits="user_mall, 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="mall_do.aspx"><img src="/skin/public/mall_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="mall_do.aspx">(发布商品出售信息)</a></div>
                                </asp:Panel>
                                <asp:Panel ID="Panel_List" runat="server">
                                    <asp:Literal ID="Literal3" runat="server"></asp:Literal><asp:Repeater ID="Repeater1" runat="server">
                                        <HeaderTemplate>
                                            <div class="list1">
                                                <table border="0" cellspacing="1" cellpadding="0" width="100%">
                                                    <tr>
                                                        <th width="120">
                                                            信息编号
                                                        </th>
                                                        <th>
                                                            <div class="al" style="padding-left: 10px">
                                                                出售的商品</div>
                                                        </th>
                                                        <th width="70">
                                                            状态
                                                        </th>
                                                        <th width="100">
                                                            管理订单
                                                        </th>
                                                        <th width="100">
                                                            操作
                                                        </th>
                                                    </tr>
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                           <tr>
                                                <td title="<%#WMtime.FormatDateTime(Eval("time").ToString(),"")%>">
                                                    CP<%#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=\"#\" onclick=\"window.location='mall_do.aspx?act=mod&id=" + Eval("id") + "&ReturnUrl=\'+base64en(location.href)\" style=\"color:#f60\">[上传图片]</a>&nbsp;", "<a title=\"点击查看图片！\" href=\"" + Eval("thumbnail").ToString() + "\" target=\"_blank\"><img src=\"/skin/public/pic.gif\" align=\"absmiddle\" /></a>")%><a
                                                            href="/mall/<%#Eval("id")%>.htm" target="_blank" title="点击打开商品"><%#WM.E(Eval("title"), 44, true)%></a>
                                                    </div>
                                                </td>
                                                <td>
                                                   <%#WMcompare.IsEqual(WMreplace.ConvertBit(Eval("enable").ToString()), "1", "[已审核]", "[未审核]")%>
                                                </td>
                                                <td>
                                                  <a href="/mall/sj_order.htm?id=<%#Eval("id") %>" target="_blank" style="color:#f60">管理订单(<%#WM.DoCount("mall_order", "where fid=" + Eval("id").ToString()).ToString()%>)</a>                                                        
                                                </td>
                                                <td>
                                                    <a href="#" onclick="act('del','<%#Eval("id")%>',location.href,'确定删除吗？')">[删除]</a>&nbsp;
                                                    <a href="#" onclick="window.location='mall_do.aspx?act=mod&id=<%#Eval("id")%>&ReturnUrl='+base64en(location.href)">
                                                        [修改]</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>
