<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Admin.Html_Html_Public, V5Shop.Shop.Html" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="control/PageBottom.ascx" TagName="PageBottom" TagPrefix="uc1" %>
<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="cc1" %>
<%@ Register Src="control/HiddenField.ascx" TagName="HiddenField" TagPrefix="uc1" %>
<!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></title>
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/control.css" rel="stylesheet" type="text/css" />
    <link href="js/calendar-system.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" language="javascript" src="js/Common.js"></script>

    <script type="text/javascript" language="javascript" src="Js/Calendar.js"></script>

    <script type="text/javascript" language="javascript" src="Js/Calendar-zh.js"></script>

    <script type="text/javascript" language="javascript" src="Js/Calendar-Setup.js"></script>

</head>
<body>
    <form id="form1" runat="server">
        <div class="OperateTitle">
            <div>
                <asp:Label ID="lblAdd" runat="server" Text="【 站点发布 】"></asp:Label>
                <asp:LinkButton ID="btnIndex" runat="server" OnClick="btnIndex_Click" CausesValidation="False">主站发布</asp:LinkButton>
                <asp:LinkButton ID="btnProduct" runat="server" OnClick="btnProduct_Click" CausesValidation="False">商城系统</asp:LinkButton>
                <asp:LinkButton ID="btnArticle" runat="server" OnClick="btnArticle_Click" CausesValidation="False">文章系统</asp:LinkButton>
                <asp:LinkButton ID="btnOther" runat="server" OnClick="btnOther_Click" CausesValidation="False">其它系统</asp:LinkButton>
                <asp:LinkButton ID="OnekeyPublic" runat="server" OnClick="OnekeyPublic_Click" CausesValidation="False">一键发布</asp:LinkButton>
            </div>
        </div>
        <div id="index" runat="server" visible="true">
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="OperateTable">
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="lblPublicIndex" runat="server" Text="发布首页："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:ListBox ID="lbPubList" runat="server" Height="300px" SelectionMode="Multiple"
                            Width="200px"></asp:ListBox><asp:Label ID="lblHelpNotice" runat="server" Text="可多选"></asp:Label></td>
                    <td bgcolor="#FFFFFF" align="left" style="height: 30px">
                        <asp:Button ID="btnPublicIndex" runat="server" Text="开始发布" CssClass="button" OnClick="btnPublicIndex_Click" /></td>
                </tr>
            </table>
        </div>
        <div id="product" runat="server" visible="false">
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="Table1">
                <tr>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px; background-color: #f1f1f1;"
                        colspan="3">
                        <asp:Label ID="Label10" runat="server" Text="系统商品发布："></asp:Label>&nbsp;</td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label1" runat="server" Text="发布所有商品："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2">
                        <asp:Button ID="btnProductAll" runat="server" Text="开始发布" CssClass="button" OnClick="btnProductAll_Click"
                            CausesValidation="False" /></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label2" runat="server" Text="发布最新商品："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2">
                        <asp:TextBox ID="txtTopCount" runat="server" Width="85px" MaxLength="10">20</asp:TextBox>
                        <asp:Button ID="btnTopCount" runat="server" Text="开始发布" CssClass="button" OnClick="btnTopCount_Click" CausesValidation="False" /></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label7" runat="server" Text="按ID发布："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2">
                        <asp:TextBox ID="txtStartID" runat="server" Width="85px"></asp:TextBox>
                        -
                        <asp:TextBox ID="txtEndID" runat="server" Width="85px"></asp:TextBox>
                        <asp:Button ID="btnIDProduct" runat="server" Text="开始发布" CssClass="button" OnClick="btnIDProduct_Click" CausesValidation="False" /></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label8" runat="server" Text="按日期发布："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2">
                        <asp:TextBox ID="txtStartDate" runat="server" Width="85px"></asp:TextBox><asp:RequiredFieldValidator
                            ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtStartDate"
                            Display="Dynamic" ErrorMessage="不能为空"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="txtStartDate"
                            Display="Dynamic" ErrorMessage="日期格式不正确" ValidationExpression="^\d{4}-(\d{2}|\d{1})-(\d{2}|\d{1})( (\d{2}|\d{1}):(\d{2}|\d{1}):(\d{2}|\d{1}))*"></asp:RegularExpressionValidator><img id="sltStart" src="images/calendar1.gif" title="打开日历" alt="打开日历" align="absmiddle" />
                        -
                        <asp:TextBox ID="txtEndDate" runat="server" Width="85px"></asp:TextBox><asp:RequiredFieldValidator
                            ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtEndDate" Display="Dynamic"
                            ErrorMessage="不能为空"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ControlToValidate="txtEndDate"
                            Display="Dynamic" ErrorMessage="日期格式不正确" ValidationExpression="^\d{4}-(\d{2}|\d{1})-(\d{2}|\d{1})( (\d{2}|\d{1}):(\d{2}|\d{1}):(\d{2}|\d{1}))*"></asp:RegularExpressionValidator><img id="sltEnd" src="images/calendar1.gif" title="打开日历" alt="打开日历" align="absmiddle" />
                        <asp:Button ID="btnProductDatePublic" runat="server" Text="开始发布" CssClass="button"
                            OnClick="btnProductDatePublic_Click" /></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label9" runat="server" Text="按分类发布："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2" valign="middle">
                        <div style="vertical-align: middle; float: left">
                            <asp:ListBox ID="lbProductCategory" runat="server" Height="200px" SelectionMode="Multiple"
                                Width="200px"></asp:ListBox>&nbsp;
                        </div>
                        <div style="padding-top: 80px; float: left">
                            <asp:Button ID="btnListProdcut" runat="server" Text="开始发布" CssClass="button" OnClick="btnListProdcut_Click" CausesValidation="False" />
                        </div>
                    </td>
                </tr>
                <tr>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px; background-color: #f1f1f1;"
                        colspan="3">
                        <asp:Label ID="Label11" runat="server" Text="系统分类发布："></asp:Label></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label12" runat="server" Text="发布所有分类："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2">
                        <asp:Button ID="btnCategoryAll" runat="server" Text="开始发布" CssClass="button"
                            OnClick="btnCategoryAll_Click" CausesValidation="False" /></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label14" runat="server" Text="发布分类："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2" valign="middle">
                        <div style="vertical-align: middle; float: left">
                            <asp:ListBox ID="lbCategory" runat="server" Height="200px" SelectionMode="Multiple"
                                Width="200px"></asp:ListBox>&nbsp;
                        </div>
                        <div style="padding-top: 80px; float: left">
                            <asp:Button ID="btnListCategory" runat="server" Text="开始发布" CssClass="button" OnClick="btnListCategory_Click" CausesValidation="False" />
                        </div>
                    </td>
                </tr>
            </table>

            <script type="text/javascript">
                            //日历控件
        Calendar.setup({
	        inputField     :    "txtStartDate",
	        ifFormat       :    "%Y-%m-%d", 
	        button         :    "sltStart",
	        align          :    "Br",
	        singleClick    :    true
        });
        Calendar.setup({
	        inputField     :    "txtEndDate",
	        ifFormat       :    "%Y-%m-%d", 
	        button         :    "sltEnd",
	        align          :    "Br",
	        singleClick    :    true
        }); 
            </script>

        </div>
        <div id="article" runat="server" visible="false">
                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="Table2">
                <tr>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px; background-color: #f1f1f1;"
                        colspan="3">
                        <asp:Label ID="Label3" runat="server" Text="系统文章发布："></asp:Label>&nbsp;</td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label4" runat="server" Text="发布所有文章："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2">
                        <asp:Button ID="btnArticleAll" runat="server" Text="开始发布" CssClass="button" OnClick="btnArticleAll_Click"
                            CausesValidation="False" /></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label13" runat="server" Text="发布最新文章："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2">
                        <asp:TextBox ID="txtArticleTopCount" runat="server" Width="85px" MaxLength="10">20</asp:TextBox>
                        <asp:Button ID="btnArticleTopCount" runat="server" Text="开始发布" CssClass="button" OnClick="btnArticleTopCount_Click" CausesValidation="False" /></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label15" runat="server" Text="按ID发布："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2">
                        <asp:TextBox ID="txtArticleStartID" runat="server" Width="85px"></asp:TextBox>
                        -
                        <asp:TextBox ID="txtArticleEndID" runat="server" Width="85px"></asp:TextBox>
                        <asp:Button ID="btnArticleIDArticle" runat="server" Text="开始发布" CssClass="button" OnClick="btnIDArticle_Click" CausesValidation="False" /></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label16" runat="server" Text="按日期发布："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2">
                        <asp:TextBox ID="txtArticleStartDate" runat="server" Width="85px"></asp:TextBox><asp:RequiredFieldValidator
                            ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtArticleStartDate"
                            Display="Dynamic" ErrorMessage="不能为空"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtArticleStartDate"
                            Display="Dynamic" ErrorMessage="日期格式不正确" ValidationExpression="^\d{4}-(\d{2}|\d{1})-(\d{2}|\d{1})( (\d{2}|\d{1}):(\d{2}|\d{1}):(\d{2}|\d{1}))*"></asp:RegularExpressionValidator><img id="Img1" src="images/calendar1.gif" title="打开日历" alt="打开日历" align="absmiddle" />
                        -
                        <asp:TextBox ID="txtArticleEndDate" runat="server" Width="85px"></asp:TextBox><asp:RequiredFieldValidator
                            ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtArticleEndDate" Display="Dynamic"
                            ErrorMessage="不能为空"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtArticleEndDate"
                            Display="Dynamic" ErrorMessage="日期格式不正确" ValidationExpression="^\d{4}-(\d{2}|\d{1})-(\d{2}|\d{1})( (\d{2}|\d{1}):(\d{2}|\d{1}):(\d{2}|\d{1}))*"></asp:RegularExpressionValidator><img id="Img2" src="images/calendar1.gif" title="打开日历" alt="打开日历" align="absmiddle" />
                        <asp:Button ID="btnArticleDatePublic" runat="server" Text="开始发布" CssClass="button"
                            OnClick="btnArticleDatePublic_Click" /></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label17" runat="server" Text="按分类发布："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2" valign="middle">
                        <div style="vertical-align: middle; float: left">
                            <asp:ListBox ID="lbArticleCategoryList" runat="server" Height="200px" SelectionMode="Multiple"
                                Width="200px"></asp:ListBox>&nbsp;
                        </div>
                        <div style="padding-top: 80px; float: left">
                            <asp:Button ID="btnListArticle" runat="server" Text="开始发布" CssClass="button" OnClick="btnListArticle_Click" CausesValidation="False" />
                        </div>
                    </td>
                </tr>
                <tr>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px; background-color: #f1f1f1;"
                        colspan="3">
                        <asp:Label ID="Label18" runat="server" Text="文章分类发布："></asp:Label></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label19" runat="server" Text="发布所有分类："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2">
                        <asp:Button ID="btnAllArticleCategory" runat="server" Text="开始发布" CssClass="button"
                            OnClick="btnAllArticleCategory_Click" CausesValidation="False" /></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label20" runat="server" Text="发布分类："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2" valign="middle">
                        <div style="vertical-align: middle; float: left">
                            <asp:ListBox ID="lbArticleCategory" runat="server" Height="200px" SelectionMode="Multiple"
                                Width="200px"></asp:ListBox>&nbsp;
                        </div>
                        <div style="padding-top: 80px; float: left">
                            <asp:Button ID="btnListArticleCategory" runat="server" Text="开始发布" CssClass="button" OnClick="btnListArticleCategory_Click" CausesValidation="False" />
                        </div>
                    </td>
                </tr>
            </table>

            <script type="text/javascript">
                            //日历控件
        Calendar.setup({
	        inputField     :    "txtArticleStartDate",
	        ifFormat       :    "%Y-%m-%d", 
	        button         :    "Img1",
	        align          :    "Br",
	        singleClick    :    true
        });
        Calendar.setup({
	        inputField     :    "txtArticleEndDate",
	        ifFormat       :    "%Y-%m-%d", 
	        button         :    "Img2",
	        align          :    "Br",
	        singleClick    :    true
        }); 
            </script>
        </div>
        <div id="other" runat="server" visible="false">
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="Table3">
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label5" runat="server" Text="发布所有品牌："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2"><asp:Button ID="btnBrand" runat="server" Text="开始发布" CssClass="button" OnClick="btnBrand_Click" CausesValidation="False" /></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label6" runat="server" Text="发布所有帮助类别："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2">
                        <asp:Button ID="btnHelpCategory" runat="server" Text="开始发布" CssClass="button" OnClick="btnHelpCategory_Click" CausesValidation="False" /></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label21" runat="server" Text="发布所有帮助："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2">
                        <asp:Button ID="btnHelp" runat="server" Text="开始发布" CssClass="button" OnClick="btnHelp_Click" CausesValidation="False" /></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label22" runat="server" Text="发布所有活动："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2">
                        <asp:Button ID="btnAct" runat="server" Text="开始发布" CssClass="button" OnClick="btnAct_Click" CausesValidation="False" /></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label23" runat="server" Text="发布所有团购："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2">
                        <asp:Button ID="btnGroupBuy" runat="server" Text="开始发布" CssClass="button" OnClick="btnGroupBuy_Click" CausesValidation="False" /></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label24" runat="server" Text="发布所有夺宝骑兵："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2">
                        <asp:Button ID="btnSnatch" runat="server" Text="开始发布" CssClass="button" OnClick="btnSnatch_Click" CausesValidation="False" /></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label25" runat="server" Text="发布所有公告："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2">
                        <asp:Button ID="btnNotice" runat="server" Text="开始发布" CssClass="button" OnClick="btnNotice_Click" CausesValidation="False" /></td>
                </tr>                               
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label26" runat="server" Text="发布所有信息："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2">
                        <asp:Button ID="btnInfo" runat="server" Text="开始发布" CssClass="button" OnClick="btnInfo_Click" CausesValidation="False" /></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="Label27" runat="server" Text="发布所有导购："></asp:Label></td>
                    <td align="left" bgcolor="#FFFFFF" style="height: 30px;" colspan="2">
                        <asp:Button ID="btnGuide" runat="server" Text="开始发布" CssClass="button" OnClick="btnGuide_Click" CausesValidation="False" /></td>
                </tr>
            </table>
        </div>

        <script type="text/javascript">
            //加TABLE样式
            //InitTrClass();
        </script>

        <uc1:PageBottom ID="PageBottom1" runat="server" />
    </form>
</body>
</html>
