Ejemplo n.º 1
0
        public override string Render(string systemName, string charName, string charId, NameValueCollection headers, NameValueCollection query)
        {
            if (query["archive"] == "old")
            {
                factory.ArchiveOldLogs();
            }
            else if (query["archive"] == "all")
            {
                factory.ArchiveAllLogs();
            }

            string theReportList = ShowReportList();

            return("<html><title>NavBot</title><body>" + ReplaceVariables(header, systemName, charName, charId) + ShowReportList() + "</body></html>");
        }