<%@ Page CodeBehind="admin_clean.aspx.cs" Language="c#" AutoEventWireup="True" Inherits="Webdisk.admin_clean" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE><LINK href="images/Site_Css.css" 
type=text/css rel=stylesheet>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="images/Css.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.6000.16544" name=GENERATOR>
<style type="text/css">
</style>
    <script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="../js/Common.js" type="text/javascript"></script>
	<script src="../js/calendar.js" type="text/javascript"></script>
</HEAD>
<BODY bgColor=#ffffff topMargin=5 marginwidth="0" marginheight="0">
<form name="Form1" method="post" id="Form1" runat="server">
<DIV></DIV>
<DIV>
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
  <TBODY>
  <TR>
    <TD class=menubar_title><IMG hspace=3 src="images/default.gif" 
      align=absMiddle vspace=3 border=0>&nbsp;<span class="td_title">数据清理</span></TD>
    <TD class=menubar_readme_text vAlign=bottom>&nbsp;</TD>
  </TR>
  <TR>
    <TD class=menubar_function_text height=1>&nbsp;</TD>
    <TD class=menubar_menu_td align=right>&nbsp;</TD></TR>
  <TR>
    <TD colSpan=2 height=5></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
  <TBODY>
  <TR>
    <TD style="PADDING-LEFT: 2px; HEIGHT: 22px" 
    background=images/tab_top_bg.gif>
      <TABLE cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR><!--按钮　Start-->
          <TD>
            <TABLE height=22 cellSpacing=0 cellPadding=0 border=0>
              <TBODY>
              <TR>
                <TD width=3><IMG id=tabImgLeft__0 height=22 
                  src="images/tab_unactive_left.gif" width=3></TD>
                <TD class=tab id=tabLabel__0 onclick=javascript:tabClick(0,1) 
background="images/tab_active_bg.gif" UNSELECTABLE="on">数据清理</TD>
                <TD width=3><IMG id=tabImgRight__0 height=22 
src="images/Menu/tab_active_right.gif" width=3></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD bgColor=#ffffff>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD width=1 background=images/tab_bg.gif><IMG height=1 
            src="images/tab_bg.gif" width=1></TD>
          <TD 
          class="borderstyle" 
          vAlign=top>
            <DIV id=tabContent__0>
              <TABLE cellSpacing=1 cellPadding=3 width="100%" align=center 
            border=0>
                <TBODY>
                  <TR>
                    <TD class=table_title>清理多余的用户文件夹</TD>
                  </TR>
                  <TR>
                    <TD class=table_body><span class="forumrow"><span class="px14">清理数据库已不存在此用户，但硬盘上由于意外原因没有删除掉的用户目录</span></span><BR>
                      选择清理分区：<asp:DropDownList ID="team" runat="server"></asp:DropDownList><asp:Button ID="Submit1" runat="server" Width="100px" class="formbutton" Text="清理" onclick="Submit1_Click"></asp:Button></TD>
                  </TR>
                  <TR>
                    <TD class=table_title>清理多余的共享目录和文件</TD>
                  </TR>
                  <TR>
                    <TD class=table_body 
                  style="HEIGHT: 20px"><span class="px14">清理数据库中仍旧存在共享目录或文件，但硬盘上的目录或文件已不存在</span><BR>
                      选择清理分区：<asp:DropDownList ID="team1" runat="server"></asp:DropDownList>更新时间：
                      <asp:TextBox id="updatedate" runat="server" Columns="17" class="tableTdtext" onfocus="new Calendar().show(this)"></asp:TextBox>
—
<asp:TextBox id="updatedate1" runat="server" Columns="17" class="tableTdtext" onfocus="new Calendar().show(this)"></asp:TextBox>
<asp:Button ID="Submit2" runat="server" Width="100px" class="formbutton" Text="清理" onclick="Submit2_Click"></asp:Button></TD>
                  </TR>
                  <TR>
                    <TD class=table_title>清理上传临时文件夹</TD>
                  </TR>
                  <TR>
                    <TD class=table_body 
                  style="HEIGHT: 20px"><span class="px14">上传过程中非法操作所遗留的临时文件，目录为选项中设置的临时目录</span><br>
                      <asp:Button ID="Submit3" runat="server" Width="100px" class="formbutton" Text="清理" onclick="Submit3_Click"></asp:Button></TD>
                  </TR>
                  <TR>
                    <TD class=table_title>清理回收站</TD>
                  </TR>
                  <TR>
                    <TD class=table_body 
                  style="HEIGHT: 20px">清理：
                      <SELECT id=seltrash name=select2 runat="server">
                        <OPTION value=0 selected>全部</OPTION>
                        <OPTION value=1>1天前</OPTION>
                        <OPTION value=3>3天前</OPTION>
                        <OPTION value=10>10天前</OPTION>
                        <OPTION 
        value=30>1月前</OPTION>
                        <OPTION value=90>3月前</OPTION>
                      </SELECT>
                      <asp:Button class=formbutton id=clean6 runat="server" Text="清理" Width="100px" onclick="clean6_Click"></asp:Button></TD>
                  </TR>
                </TBODY>
              </TABLE>
            </DIV><!--内容框End--></TD>
          <TD width=1 background=images/tab_bg.gif><IMG height=1 
            src="images/tab_bg.gif" width=1></TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD background=images/tab_bg.gif bgColor=#ffffff><IMG height=1 
      src="images/tab_bg.gif" 
width=1></TD></TR></TBODY></TABLE><!--选项卡 End--></DIV>
  <DIV>    
    <div align="center"></div>
  </DIV>
</FORM>
  <SCRIPT language=javascript>
        function tabClick(idx,count) {
          for (i_tr = 0; i_tr < count; i_tr++) {
              var tabImgLeft = eval('document.all.tabImgLeft__' + idx);
              var tabImgRight = eval('document.all.tabImgRight__' + idx);
              var tabLabel = eval('document.all.tabLabel__' + idx);
              var tabContent = eval('document.all.tabContent__' + idx);

              tabImgLeft.src = 'images/tab_active_left.gif';
              tabImgRight.src = 'images/tab_active_right.gif';
              tabLabel.background = 'images/tab_active_bg.gif';
              tabContent.style.visibility = 'visible';
              tabContent.style.display = 'block';
          }
        }
        tabClick(0,1);
       </SCRIPT>
<BR>
</BODY></HTML>
