X7ROOT File Manager
Current Path:
/usr/libexec/webmin/virtualmin-awstats
usr
/
libexec
/
webmin
/
virtualmin-awstats
/
📁
..
📄
CHANGELOG
(2.11 KB)
📄
LICENSE
(34.32 KB)
📄
README.md
(1.59 KB)
📄
awstats.pl
(962 B)
📄
cgi_args.pl
(469 B)
📄
config
(116 B)
📄
config-debian-linux
(199 B)
📄
config-freebsd
(137 B)
📄
config-mandrake-linux-10.0-*
(106 B)
📄
config-redhat-linux-10.0-*
(208 B)
📄
config-suse-linux-9.3-*
(116 B)
📄
config.cgi
(4.2 KB)
📄
config.info
(642 B)
📄
config.info.nl
(713 B)
📄
config.info.no
(655 B)
📄
config.info.tr
(642 B)
📄
config_save.cgi
(2.14 KB)
📄
defaultacl
(48 B)
📄
edit.cgi
(3.5 KB)
📄
generate.cgi
(1.28 KB)
📁
help
📄
icon.cgi
(533 B)
📁
images
📄
index.cgi
(1.61 KB)
📄
install-type
(4 B)
📁
lang
📄
module.info
(123 B)
📄
module.info.af.auto
(30 B)
📄
module.info.ar.auto
(29 B)
📄
module.info.be.auto
(26 B)
📄
module.info.bg.auto
(26 B)
📄
module.info.ca.auto
(25 B)
📄
module.info.cs.auto
(26 B)
📄
module.info.da.auto
(29 B)
📄
module.info.de
(28 B)
📄
module.info.el.auto
(31 B)
📄
module.info.es.auto
(28 B)
📄
module.info.eu.auto
(32 B)
📄
module.info.fa.auto
(27 B)
📄
module.info.fi.auto
(28 B)
📄
module.info.fr.auto
(25 B)
📄
module.info.he.auto
(27 B)
📄
module.info.hr.auto
(26 B)
📄
module.info.hu.auto
(29 B)
📄
module.info.it.auto
(26 B)
📄
module.info.ja.auto
(28 B)
📄
module.info.ko.auto
(22 B)
📄
module.info.lt.auto
(42 B)
📄
module.info.lv.auto
(26 B)
📄
module.info.ms.auto
(26 B)
📄
module.info.mt.auto
(29 B)
📄
module.info.nl
(27 B)
📄
module.info.no
(29 B)
📄
module.info.pl.auto
(29 B)
📄
module.info.pt.auto
(30 B)
📄
module.info.pt_BR.auto
(33 B)
📄
module.info.ro.auto
(27 B)
📄
module.info.ru.auto
(29 B)
📄
module.info.sk.auto
(26 B)
📄
module.info.sl.auto
(27 B)
📄
module.info.sv.auto
(29 B)
📄
module.info.th.auto
(44 B)
📄
module.info.tr.auto
(29 B)
📄
module.info.uk.auto
(26 B)
📄
module.info.ur.auto
(31 B)
📄
module.info.vi.auto
(26 B)
📄
module.info.zh.auto
(22 B)
📄
module.info.zh_TW.auto
(25 B)
📁
newfeatures
📄
run-all-awstats.pl
(748 B)
📄
save.cgi
(3.48 KB)
📁
tmp
📄
view.cgi
(1.25 KB)
📄
virtual_feature.pl
(22.55 KB)
📄
virtualmin-awstats-lib.pl
(13.77 KB)
Editing: index.cgi
#!/usr/bin/perl # Show all damains for which awstats is enabled, plus their schedules use strict; use warnings; our (%access, %text); our $module_name; require './virtualmin-awstats-lib.pl'; &foreign_require("cron", "cron-lib.pl"); &ui_print_header(undef, $text{'index_title'}, "", undef, 1, 1); # Make sure it is installed my $err = &check_awstats(); if ($err) { print $err,"\n"; print &text('index_econfig', "../config.cgi?$module_name"),"<p>\n"; &foreign_require("software", "software-lib.pl"); my $lnk = &software::missing_install_link( "awstats", $text{'index_awstats'}, "../$module_name/", $text{'index_title'}); print $lnk,"<p>\n" if ($lnk); &ui_print_footer("/", $text{'index'}); exit; } # Build table for domains my @alldoms = &list_configs(); my @doms = grep { &can_domain($_) } @alldoms; my @table; foreach my $d (sort { $a cmp $b } @doms) { my $conf = &get_config($d); my $log = &find_value("LogFile", $conf); my $job = &find_cron_job($d); push(@table, [ $access{'editsched'} ? "<a href='edit.cgi?dom=$d'>$d</a>" : $d, $log, $job ? &text('index_yes', &cron::when_text($job)) : $text{'index_no'}, &ui_links_row([ "<a href='view.cgi?config=$d'>$text{'index_view'}</a>", "<a href='config.cgi?dom=$d'>$text{'index_conf'}</a>", ]), ]); } # Show domains table print &ui_form_columns_table( undef, undef, 0, $access{'create'} ? [ [ "edit.cgi?new=1", $text{'index_add'} ] ] : [ ], undef, [ $text{'index_dom'}, $text{'index_log'}, $text{'index_sched'}, $text{'index_report'} ], undef, \@table, undef, 0, undef, $text{'index_none'}); &ui_print_footer("/", $text{'index'});
Upload File
Create Folder