<%@ page language="C#" autoeventwireup="true" inherits="WebAdmin_Clear_Log, LebiMall" %>

<!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">
<title>数据维护</title>
    <link href="css/css.css" type="text/css" rel="stylesheet" /> 
    <script type="text/javascript" src="js/MyCalendar.js"></script>
    <script type="text/javascript" src="js/checked.js"></script>
     <link href="css/tipswindown.css" type="text/css" rel="stylesheet" />
    <script src="js/jquery.js" type="text/javascript"></script>
    <script src="js/tipswindown.js" type="text/javascript"></script>
    <script src="js/topHead.js" type="text/javascript"></script>
    <script type="text/javascript" src="../images/js/Ajax.js"></script>
<script type="text/javascript">
    function visate(){
       if(document.getElementById("clear").checked){
            document.getElementById("btnSub2").click();
           return true;
       }if(document.getElementById("backup").checked){
       document.getElementById("btnSub2").click();
          return true;
       }
       alert("请选择操作!");
       return false;
    }
</script>
</head>
<body>
    <form id="form1" runat="server">
        <script>header(6,9,"images/");</script>
   
    <!--面包屑-->
    <div class="blank clearfix"></div>
    
    <!--功能区-->
   <div class="tabmenus mainwidth">
            <ul>
                <li><a href="Corp.aspx"><span>网站授权</span></a></li>
                <li><a href="AdminSQL.aspx"><span>命令执行</span></a></li>
                <li><a href="Ipblock.aspx"><span>IP锁定</span></a></li>
                <li><a href="Admin_upfile.aspx"><span>上传管理</span></a></li>
                <li class="current"><a href="clear_Log.aspx"><span>数据维护</span></a></li>
            </ul>
        </div>
    <div class="tab-mainbody">
        <div class="tab-mainbody2">
        <div class="functionHandleArea clearfix">
                <input type="image" id="btnSub" src="images/bt_app.gif" runat="server" onclick="visate();;return false;" />                
        </div>
        <div id="datalist">
        <table cellpadding="0" cellspacing="0" width="100%" border="0" id="list">
                    <tr>
                        <th>数据维护</th><th><div id="serverResponse" ></div>&nbsp;</th>
                    </tr>
                    <tr>
                        <td class="row" style="width: 20%;">
                            <input type="checkbox" id="clear" value="1" />清除数据库日志</td>
                        <td>
                             <div id="clearLog" runat="server"></div>
                        </td>
                    </tr>
                    <tr>
                        <td class="row" style="width: 20%;">
                            <input type="checkbox" id="backup" value="1" />备份数据库</td>
                        <td>
                            <div id="backUpDB" runat="server">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" class="list-foot">
                            <input type="image" src="images/bt_app.gif" runat="server" onclick="visate();;return false;" /></td>
                    </tr>
                </table>
            <script type="text/javascript">tdshowm("list");</script>
            <input id="btnSub2" type="button" style="display:none;" runat="server" onserverclick="btnSub_ServerClick" />
        </div>
        </div>
    </div>
    </form>
</body>
</html>
