[3.000]
# Scripts option
$option_pages = "";
$option_inc = "";
$option_real = "";
$option_hour = "";
$option_day = "";
$option_week = "-g line";
$option_month = "";
$option_agent = "";
$option_refer = "";
$option_session = "-d 10";
$option_error = "-k";
$option_history = "";
$option_url = "";
[3.001]
$searchjs = "search.js";
$popup_graph_width = 120;
[3.003]
$toggle_on = "chkCheckAll.gif";
$toggle_off = "chkUnCheckAll.gif";
$incpagehost = "pagehost";
[3.005]
$rss_file = '';
for ($i=0;$i<=$#rss_file;$i++) {
    $rss_file .= "^".$rss_file[$i]."|";
    }
chop($rss_file);
$nb_rss_item = 20;
$icon_mini_rss = "rss".$pngext;
$icon_rss = "rss".$pngext;
$filerss= "rss";
$xmlext = ".xml";
$dirxml = "xml";
[3.007]
$tabnameyear = "tab-year".$htmlext;
$statnameyear = "stat-year".$htmlext;
$icon_year = "year".$pngext;
$icon_xml = "xml".$pngext;
$icon_hacker = "hacker".$pngext;
$icon_spam = "spam".$pngext;
$icon_bounce = "bounce".$pngext;
[3.010]
$actif_year = 0;
$option_year = "";
$year_launch = 1;
$year_launch_time = 0;
[3.011]
$percentage_ima_bkg = "percentImage.png";
$percentage_ima = "percentImage_back1.png";
[3.014]
$url_users = 0;
[3.023]
$fileheatmap = "heatmap";
$icon_heatmap = "heatmap".$pngext;
[3.024]
$array_down = "g-down".$gifext;
$array_up = "g-up".$gifext;
$array_same = "g-same".$gifext;
$resolv_users_file = "";
[3.025]
$filecity = "city";
$dircity = "city";
$geoipcity = 0;
$geoipcity_file = "";
[3.026]
$worldmap_x = 500;
$worldmap_y = 250;
$icon_city = "city".$pngext;
[3.031]
$filecpu = "cpu";
$css_menu_w3perl = "menu_manual.css";
$filetime = "time".$htmlext;
$filevisit = "visite".$htmlext;
$filemainsites = "sites".$htmlext;
$dureesession = "duree".$htmlext;
$filerobot = "robots".$htmlext;
$fileaverage = "pages".$htmlext;
$loginuser = "login";
$filelogin = $loginuser.$htmlext;

$doclien = "doclien".$htmlext;
$docimage = "docimage".$htmlext;
$docsize = "docsize".$htmlext;
$docrepert = "docrepert".$htmlext;
$new = "newdoc".$htmlext;
$tree = "tree".$htmlext;
$frame = "frames".$htmlext;
$doublons = "doublons".$htmlext;
$imawidth = "width".$htmlext;
$imaalt = "alt".$htmlext;
$useless = "useless".$htmlext;
$cdrom = "cdrom".$htmlext;
$fileabsolute = "absolute".$htmlext;
$filelinksym = "symbolic".$htmlext;
$nofile = "nofile".$htmlext;
[3.033]
$cornersjs = "rounded_corners.js";
$curvy_bottom_jss = "<script type=\"text/JavaScript\">\nwindow.onload = function() {\n settings = {\n tl: { radius: 0 },\n tr: { radius: 0 },\n bl: { radius: 10 },\n  br: { radius: 10 },\n  antiAlias: true,\n  autoPad: true,\n  validTags: [\"div\"]\n  }\n var myBoxObject = new curvyCorners(settings, \"curly\");\n myBoxObject.applyCornersToAll();\nvar cookie = readCookie(\"style\");var title = cookie ? cookie : getPreferredStyleSheet();setActiveStyleSheet(title);ieFix(\'menucss\');\n }\n</script>\n";
$locconf = "locconf";
$css_menu_iefixjs = "css_menu_iefix.js";
[3.034]
$localhost = "127.0.0.1";
$localhost_port = 80;
[3.035]
$icon_calendar = "calendar.gif";
$dayrange = "dayrange".$plext;
$calendarpopupjs = "CalendarPopup.js";
[3.036]
$homeicons2 = "homepage";
[3.037]
$icon_bookmark = "bookmark".$pngext;
[3.041]
$localserver_port = 80 if ($localserver_port eq '');
$localserver_protocol = "http" if ($localserver_protocol eq '');
$localhost_protocol = "http" if ($localhost_protocol eq '');
$hostdate = "hostdate";
[3.042]
$miscstats_heatmap_url = "/w3perl/resources/heatmap.php";
[3.043]
$style_switcherjs = "styleswitcher.js";
$curvy_bottom_jss = "<script type=\"text/JavaScript\">\nwindow.onload = function() {\n var cookie = readCookie(\"style\");var title = cookie ? cookie : getPreferredStyleSheet();setActiveStyleSheet(title);\nieFix(\'menucss\');\nsettings_title = {\n tl: { radius: 10 },\n tr: { radius: 10 },\n bl: { radius: 10 },\n  br: { radius: 10 },\n  antiAlias: true,\n  autoPad: true,\n  validTags: [\"div\"]\n  }\nvar myBoxObject_title = new curvyCorners(settings_title, \"curly_title\");\n myBoxObject_title.applyCornersToAll();\nsettings = {\n tl: { radius: 0 },\n tr: { radius: 0 },\n bl: { radius: 10 },\n  br: { radius: 10 },\n  antiAlias: true,\n  autoPad: true,\n  validTags: [\"div\"]\n  }\nvar myBoxObject = new curvyCorners(settings, \"curly\");\n myBoxObject.applyCornersToAll();\n }\n</script>\n";
$css_menu_w3perl = "menu.css";
[3.047]
$inc_user = 1 if ($inc_user eq '');
[3.053]
$count_max_pie = 10;
$pie_square = $ymax+5;
$others = "others".$gifext;
$struct_compressed_logfile =~ s/rotate_index/rotate/;
@compressed_logfile_fields = split(/[^a-zA-Z0-9_]+/,$struct_compressed_logfile);
@compressed_sep_fields = split(/\%[a-zA-Z0-9_]+/,$struct_compressed_logfile);
for ($i=1;$i<=$#compressed_logfile_fields;$i++) {
    $compressed_logfile_fields[$i] = "%".$compressed_logfile_fields[$i];
    $fields_compressed_logfile{$compressed_logfile_fields[$i]} = $i;
}
[3.061]
$curvy_bottom_jss = "<script type=\"text/JavaScript\">\nwindow.onload = function() {\n var cookie = readCookie(\"style\");var title = cookie ? cookie : getPreferredStyleSheet();setActiveStyleSheet(title);\nieFix(\'menucss\');\n }\n</script>\n";
[3.062]
$incfilehost = "filehost";
[3.070]
## Reject redirection status code (30X status code) : 0 = yes (default);
$redirect_flag = 0;
$login_forbidden_str = "[\/]";
[3.071]
if ($mail_format == 1 && $logfile_format eq "Mdaemon") {
    @date_string = split(/%/,$date_format);
    $logfile_sep = "\s+";
}
$fileurl = "listeurl".$txtext;
[3.075]
$inchomepage = "homepage".$txtext;
$filerssdaily = "rss_daily".$txtext;
$incssvirtual = "ssvirtual";
[3.076]
$curvy_bottom_jss = "<script type=\"text/JavaScript\">\nwindow.onload = function() {\n var cookie = readCookie(\"style\");var title = cookie ? cookie : getPreferredStyleSheet();setActiveStyleSheet(title);\nUpdateToolHeader();\nieFix(\'menucss\');\n }\n</script>\n";
[3.081]
$spam = "spam";
[3.095]
@logfile_fields = split(/\s+/,$struct_logfile);
$login_seen = 0;
for ($i=0;$i<=$#logfile_fields;$i++) {
    $fields_logfile{$logfile_fields[$i]} = $i;
    $fields_logfile{$logfile_fields[$i]} += 4 if ($ftp_format == 1 && $logfile_format ne "FTP-IIS");
    $fields_logfile{$logfile_fields[$i]} += 2 if ($mail_format == 1 && $logfile_format !~ /exim/i && $logfile_format !~ /mdaemon/i);
    $login_seen = 1 if ($logfile_fields[$i] eq '%login');
    $fields_after_login{$logfile_fields[$i]} = 0;
    $fields_after_login{$logfile_fields[$i]} = 1 if ($login_seen == 1);
}
[3.096]
if ($struct_logfile =~ "%time") {
  if ($date_format eq '') {
     $error_msg = "You should specify the date format used in your logfile\n";
     &error_config($error_msg);
  }
  @date_string = split(/%/,$date_format);
}
[3.102]
$hide_other_report = 0;
[3.103]
@logfile_fields = split(/\s+/,$struct_logfile);
$login_seen = 0;
$agent_seen = 0;
for ($i=0;$i<=$#logfile_fields;$i++) {
    $fields_logfile{$logfile_fields[$i]} = $i;
    $fields_logfile{$logfile_fields[$i]} += 4 if ($ftp_format == 1 && $logfile_format ne "FTP-IIS");
    $fields_logfile{$logfile_fields[$i]} += 2 if ($mail_format == 1 && $logfile_format !~ /exim/i && $logfile_format !~ /mdaemon/i);
    $login_seen = 1 if ($logfile_fields[$i] eq '%login');
    $agent_seen = 1 if ($logfile_fields[$i] eq '%agent');
    $fields_after_login{$logfile_fields[$i]} = 0;
    $fields_after_login{$logfile_fields[$i]} = 1 if ($login_seen == 1);
    $fields_after_agent{$logfile_fields[$i]} = 0;
    $fields_after_agent{$logfile_fields[$i]} = 1 if ($agent_seen == 1);
}
[3.104]
$max_item_page = 5000 if ($max_item_page eq '');
$display_subitem = 10 if ($display_subitem eq '');
$hide_other_report = 0 if ($hide_other_report eq '');
[3.120]
if ($squid_format == 1 || $mail_format == 1 || $ftp_format == 1 || $mail_format == 1 || $cups_format == 1) {
       $inc_download_aborted = 0;
}
[3.125]
$increversehosts = "hosts_reverse";
[3.131]
$ipv4_skip = 0;
$ipv6_skip = 0;
[3.134]
$logresolvemerge_bin = "logresolvemerge.pl";
[3.171]
$hide_resources_menu = 0 if ($hide_resources_menu eq '');
