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

<%@ Register TagName="meta" TagPrefix="UC" Src="~/e/meta.ascx" %>
<%@ Register TagName="head" TagPrefix="UC" Src="~/e/head.ascx" %>
<%@ Register TagName="foot" TagPrefix="UC" Src="~/e/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 id="Head1" runat="server">
    <UC:meta ID="meta1" runat="server" />
</head>
<body>
    <form id="form1" runat="server" autocomplete="off">
    <asp:Label ID="pathcode" runat="server" Style="display: none">
   &nbsp;&raquo;&nbsp;在线压缩
    </asp:Label>
    <UC:head ID="head2" runat="server" />
    <%--main start--%>
    <div class="c1">
        <div class="b1">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td class="b1_l">
                    </td>
                    <td>
                        <div class="con1">
                            <ul>
                                <li class="on"><a href="zip.aspx">在线压缩</a></li>
                                <li><a href="unzip.aspx">在线解压</a></li>
                            </ul>
                            <div class="clear">
                            </div>
                        </div>
                    </td>
                    <td align="right">
                        <div class="con2">
                        </div>
                    </td>
                    <td class="b1_r">
                    </td>
                </tr>
            </table>
        </div>
        <div class="v1">
            <div class="do1">

                <script type="text/javascript">
                
                function check(){
                if(document.getElementById("TextBox1").value==""){alert("要压缩的目录不能为空！");return false;}
                if(document.getElementById("TextBox2").value==""){alert("压缩的目标文件不能为空！");return false;}
                if(confirm("确定执行压缩操作吗？"))alert("压缩过程中请耐心等候！");else return false;
                }
                </script>

                <table border="0" cellpadding="0" cellspacing="0" class="table1">
                    <tr>
                        <td class="tt">
                            <b>要压缩的目录：</b>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox1" runat="server" MaxLength="200" CssClass="inp1" Width="250"
                                Text="/"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tt">
                            <b>压缩的目标文件： </b>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox2" runat="server" MaxLength="200" CssClass="inp1" Width="250"
                                Text="/zkcms_city_bak.zip"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tt">
                            &nbsp;
                        </td>
                        <td>
                            <asp:Button ID="Button1" runat="server" CssClass="but1" Text="压缩" OnClick="Button1_Click"
                                OnClientClick="return check()" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    <%--main end--%>
    <UC:foot ID="foot1" runat="server" />
    </form>
</body>
</html>
