using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.IO; namespace PageBox { /// ///

Display log.html.

///

Copyright (c) 2002 Alexis Grandemange
/// Mail: alexis.grandemange@pagebox.net

///
This program is free software; you can redistribute it and/or
	/// modify it under the terms of the GNU Lesser General Public
	/// License as published by the Free Software Foundation; version
	/// 2.1 of the License.
	/// This library is distributed in the hope that it will be useful,
	/// but WITHOUT ANY WARRANTY; without even the implied warranty of
	/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
	/// GNU Lesser General Public License for more details.
	/// A copy of the GNU Lesser General Public License lesser.txt should be
	/// included in the distribution.
///
public class audit : System.Web.UI.Page { protected System.Web.UI.WebControls.HyperLink logo; protected System.Web.UI.WebControls.Label AuditLab; protected System.Web.UI.WebControls.HyperLink Support; protected System.Web.UI.WebControls.Label LabStatus; protected System.Web.UI.HtmlControls.HtmlInputButton BtnClear; protected System.Web.UI.HtmlControls.HtmlInputButton BtnRefresh; public audit() { Page.Init += new System.EventHandler(Page_Init); } private void Page_Load(object sender, System.EventArgs e) { } private void Page_Init(object sender, EventArgs e) { // // CODEGEN: This call is required by the ASP.NET Web Form Designer. // InitializeComponent(); } #region Web Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.Load += new System.EventHandler(this.Page_Load); } #endregion /// /// Called on refresh event. Refresh log display. /// public void refresh(object sender, EventArgs e) { } /// /// Called on clear event. Remove log.html. /// public void clear(object sender, EventArgs e) { if (File.Exists(Global.path + "\\log.html")) File.Delete(Global.path + "\\log.html"); } /// /// Include log.html /// public void include() { if (File.Exists(Global.path + "\\log.html")) Response.WriteFile(Global.path + "\\log.html"); } } }