This patch makes antvill show the referers of the last 7 days instead of the last 24 hours. --md@hudora.de 2003 --- /usr/home/md/antville/site/referrers.hac Fri Jul 18 16:36:16 2003 +++ ./site/referrers.hac Mon Aug 11 12:53:57 2003 @@ -4,7 +4,7 @@ res.redirect(this.members.href("login")); } -res.data.title = "Referrers in the last 24 hours of " + this.title; +res.data.title = "Referrers in the last 7 days of " + this.title; res.data.body = this.renderSkinAsString("referrers"); this.renderSkin("page"); --- /usr/home/md/antville/site/macros.js Fri Jul 18 16:36:16 2003 +++ ./site/macros.js Mon Aug 11 12:53:34 2003 @@ -564,7 +564,7 @@ // we're doing this with direct db access here // (there's no need to do it with prototypes): var d = new Date(); - d.setDate(d.getDate()-1); // 24 hours ago + d.setDate(d.getDate()-7); // 7 days ago var query = "select ACCESSLOG_REFERRER, count(*) as \"COUNT\" from AV_ACCESSLOG " + "where ACCESSLOG_F_SITE = " + this._id + " and ACCESSLOG_DATE > {ts '" + d.format("yyyy-MM-dd HH:mm:ss") + "'} group by ACCESSLOG_REFERRER "+