$Message[40] \n";
print "\n";
- $count=0;
+ my $count=0;
foreach my $key (sort { $_se_referrals_h{$b} <=> $_se_referrals_h{$a} } keys (%_se_referrals_h)) {
my $newreferer=$SearchEnginesHashIDLib{$key}||$key;
print "| - $newreferer | $_se_referrals_h{$key} | \n";
@@ -4432,7 +4451,7 @@ EOF
print "$CENTER ";
&tab_head($Message[32],19);
print "| $Message[32] | $Message[57] | $Message[15] | \n";
- $count=0;
+ my $count=0;
foreach my $key (sort { $_errors_h{$b} <=> $_errors_h{$a} } keys (%_errors_h)) {
my $p=int($_errors_h{$key}/$TotalErrors*1000)/10;
if ($httpcode{$key}) { print ""; }
@@ -4457,3 +4476,29 @@ else {
0; # Do not remove this line
+
+#-------------------------------------------------------
+# ALGORITHM SUMMARY
+# Read config file
+# Init variables
+# If 'update'
+# Get last history file name
+# Read this last history file (LastLine, data arrays, ...)
+# Loop on each new line in log file
+# If line older than LastLine, skip
+# If new line
+# If other month/year, save data arrays, reset them
+# Analyse record and complete data arrays
+# End of new line
+# End of loop
+# End of 'update'
+# Save data arrays
+# Reset data arrays if not required month/year
+# Loop for each month of current year
+# If required month, read 1st and 2nd part of history file for this month
+# If not required month, read 1st part of history file for this month
+# End of loop
+# If 'output'
+# Show data arrays in HTML page
+# End of 'output'
+#-------------------------------------------------------
|