<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Cleanup.aspx.cs" Inherits="MyTunes.Admin.Cleanup" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            font-size: large;
            text-align: center;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Panel id="PanelUnauthorized" runat="server">
        Unauthorized Access Detected</asp:Panel>
    <asp:Panel ID="PanelRun" runat="server">
    <table id="Table3" cellspacing="1" cellpadding="1" width="60%" border="2" 
            class="adminForm">
     <tr>
      <td class="style1" colspan="2">Cleanup Records</td>
     </tr>
     <tr>
      <td colspan="2">Click one of the buttons below to begin a background process.</td>
     </tr>
        <tr>
            <td colspan="2">
                <b>Delete Temp Files</b> removes playlist files created more than 24 hours ago.</td>
        </tr>
     <tr>
     <td colspan="2">&nbsp;<b>Remove Bad Records</b> checks for records in the database that 
         reference files that no longer exist.<br />
         <br />
         NOTE: If you are connected to a remote server&#39;s music library and the network is 
         down, this will delete all the songs in the database.<i><b> Please be careful!</b></i></td>
     </tr>
     <tr>
      <td align="center">
       <asp:Button id="btnCleanPlaylists" runat="server" Text="Delete Temp FIles" 
              onclick="btnCleanPlaylists_Click"></asp:Button></td>
         <td align="center">
             <asp:Button ID="BtnCleanup" runat="server" onclick="BtnCleanup_Click" 
                 Text="Remove Bad Records" />
         </td>
     </tr>
    </table>
    </asp:Panel>
</asp:Content>
