<%@ page language="C#" autoeventwireup="true" inherits="manage_Config_EmptyData, App_Web_gsi5yeuj" enableviewstatemac="false" masterpagefile="~/Manage/I/Default.master" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Register Src="~/Manage/I/ASCX/SPwd.ascx" TagPrefix="uc1" TagName="SPwd" %>
<asp:Content runat="server" ContentPlaceHolderID="head">
    <title>清空数据</title>
</asp:Content>
<asp:Content runat="server" ContentPlaceHolderID="Content">
    <uc1:SPwd runat="server" ID="SPwd" Visible="false" />
    <div id="maindiv" runat="server" visible="false">
    <table class="table table-striped table-bordered table-hover">
        <tr class="tdbg">
            <td class="tdbgleft"></td>
            <td class="tdbgleft">本操作将删除系统中的用户自定义表：</td>
        </tr>
        <tr class="tdbg">
            <td class="tdbgleft" style="width: 350px; text-align: center;">选择要清除测试数据的数据库类别：
            </td>
            <td>
                <asp:CheckBoxList ID="TableNames" runat="server">
                    <asp:ListItem Selected="True" Value="ZL_C\_%">ZL_C_&nbsp;&nbsp;[内容副表数据]</asp:ListItem>
                    <asp:ListItem Selected="True" Value="ZL_commodities">ZL_Commodities&nbsp;&nbsp;[商城主表数据]</asp:ListItem>
                    <asp:ListItem Selected="True" Value="ZL_Store\_%">ZL_Store_&nbsp;&nbsp;[自定义商城表]</asp:ListItem>
                    <asp:ListItem Selected="True" Value="ZL_CommonModel">ZL_Commonmodel&nbsp;&nbsp;[所有内容主表数据]</asp:ListItem>
                    <asp:ListItem Selected="True" Value="ZL_Node">ZL_Node&nbsp;&nbsp;[节点表]</asp:ListItem>
                    <asp:ListItem Selected="False" Value="ZL_User">ZL_User&nbsp;&nbsp;[所有用户数据(不涉及管理员信息)]</asp:ListItem>
                </asp:CheckBoxList>
            </td>
        </tr>
    </table>
    <asp:Button ID="EmptyData" runat="server" Text="一键清空测试数据" CssClass="btn btn-primary" OnClick="EmptyData_Click" />
    <div id="confirm" runat="server" visible="false">
        <span>本操作不可逆，如果您需要重置系统，则可以使用此功能还原为默认初始状态。还原完成后，请<a href="javascript:parent.ShowMain('Config/ConfigGuide.aspx','Config/SiteOption.aspx?tad=1')" style="color: Red;">点击这里</a>进行开销，使模板与之相符</span>
        <asp:Button ID="ConfirmClr" runat="server" Text="确认操作" CssClass="btn btn-primary" OnClick="ConfirmClr_Click" OnClientClick="return confirm('不可恢复性清除数据,确认操作？');" />
    </div></div>
</asp:Content>
<asp:Content runat="server" ContentPlaceHolderID="ScriptContent">
    <script type="text/javascript" src="/js/Common.js"></script>
</asp:Content>
