if (!indexonly) tmpsort();
if(email[0] == '\0') {
- if((ReportType & REPORT_TYPE_DOWNLOADS) != 0) download_report();
+ topuser();
- if(DansGuardianConf[0] != '\0') {
- dansguardian_log();
- }
+ if (!indexonly) {
+ if((ReportType & REPORT_TYPE_DOWNLOADS) != 0) download_report();
- squidguard_log();
+ if(DansGuardianConf[0] != '\0') {
+ dansguardian_log();
+ }
- topuser();
+ squidguard_log();
- if((ReportType & REPORT_TYPE_TOPSITES) != 0) topsites();
+ if((ReportType & REPORT_TYPE_TOPSITES) != 0) topsites();
- if((ReportType & REPORT_TYPE_SITES_USERS) != 0) siteuser();
- gen_denied_report();
+ if((ReportType & REPORT_TYPE_SITES_USERS) != 0) siteuser();
+ gen_denied_report();
- authfail_report();
+ authfail_report();
- if(smartfilter) smartfilter_report();
+ if(smartfilter) smartfilter_report();
- if(DansGuardianConf[0] != '\0') dansguardian_report();
+ if(DansGuardianConf[0] != '\0') dansguardian_report();
- squidguard_report();
+ squidguard_report();
- if(!indexonly && (ReportType & REPORT_TYPE_USERS_SITES) != 0) htmlrel();
+ if((ReportType & REPORT_TYPE_USERS_SITES) != 0) htmlrel();
+ }
make_index();