using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.IO; // Local namespaces using uk.eurologic.lib.core; using uk.eurologic.lib.acme; public partial class ACME_UploadImg : System.Web.UI.Page { protected CAcmeUser m_User; protected const int DEFAULT_IMG_WIDTH = 360; protected void Page_Load(object sender, EventArgs e) { m_User = new CAcmeUser(Request.Cookies); //m_ParentTextAreaId = Utils.RQ("txtid", ""); //m_CurrentFolder = Utils.RQ("folder", ""); //====================================================== // DEBUGGING ONLY (Comment out when live and working) //--m_User = new CAcmeUser(1); // AJR //--m_ParentTextAreaId = "Container$_Control$"; //====================================================== if (!IsPostBack) { hdOpenerTextAreaId.Value = Utils.RQ("txtid", ""); hdShowThumbnails.Value = Utils.RQ("thumbs", ""); // Get list of folders CUploads uploads = new CUploads("img"); uploads.popFoldersList(FolderList.Items); // Add a