print "<td class=\"aws\" colspan=\"".($colspan-1)."\">".($LastTime?Format_Date($LastTime,0):"NA")."</td>\n";\r
print "</tr>\n";\r
\r
- # Show main indicators\r
+ # Show main indicators title row\r
print "<tr>";\r
if ($LogType eq 'W' || $LogType eq 'S') { print "<td bgcolor=\"#$color_TableBGTitle\"> </td>"; }\r
if ($ShowMonthStats =~ /U/i) { print "<td width=\"$w%\" bgcolor=\"#$color_u\"".($TOOLTIPON?" onmouseover=\"ShowTip(2);\" onmouseout=\"HideTip(2);\"":"").">$Message[11]</td>"; } else { print "<td bgcolor=\"#$color_TableBGTitle\" width=\"20%\"> </td>"; }\r
if ($ShowMonthStats =~ /H/i) { print "<td width=\"$w%\" bgcolor=\"#$color_h\"".($TOOLTIPON?" onmouseover=\"ShowTip(4);\" onmouseout=\"HideTip(4);\"":"").">$Message[57]</td>"; } else { print "<td bgcolor=\"#$color_TableBGTitle\" width=\"20%\"> </td>"; }\r
if ($ShowMonthStats =~ /B/i) { print "<td width=\"$w%\" bgcolor=\"#$color_k\"".($TOOLTIPON?" onmouseover=\"ShowTip(5);\" onmouseout=\"HideTip(5);\"":"").">$Message[75]</td>"; } else { print "<td bgcolor=\"#$color_TableBGTitle\" width=\"20%\"> </td>"; }\r
print "</tr>\n";\r
+ # Show main indicators values for viewed traffic\r
print "<tr>";\r
if ($LogType eq 'M') { \r
print "<td class=\"aws\">$Message[165]</td>";\r
if ($ShowMonthStats =~ /B/i) { print "<td><b>".Format_Bytes(int($TotalBytes))."</b><br />($RatioBytes $Message[108]/".lc($Message[($LogType eq 'M'?149:12)]).")</td>"; } else { print "<td> </td>"; }\r
}\r
print "</tr>\n";\r
- print "<tr>";\r
- if ($LogType eq 'M') { \r
- print "<td class=\"aws\">$Message[166]</td>";\r
- print "<td> <br /> </td>\n";\r
- print "<td> <br /> </td>\n";\r
- if ($ShowMonthStats =~ /H/i) { print "<td><b>$TotalNotViewedHits</b></td>"; } else { print "<td> </td>"; }\r
- if ($ShowMonthStats =~ /B/i) { print "<td><b>".Format_Bytes(int($TotalNotViewedBytes))."</b></td>"; } else { print "<td> </td>"; }\r
- }\r
- else {\r
- if ($LogType eq 'W' || $LogType eq 'S') { print "<td class=\"aws\">$Message[161] *</td>"; }\r
- print "<td colspan=\"2\"> <br /> </td>\n";\r
- if ($ShowMonthStats =~ /P/i) { print "<td><b>$TotalNotViewedPages</b></td>"; } else { print "<td> </td>"; }\r
- if ($ShowMonthStats =~ /H/i) { print "<td><b>$TotalNotViewedHits</b></td>"; } else { print "<td> </td>"; }\r
- if ($ShowMonthStats =~ /B/i) { print "<td><b>".Format_Bytes(int($TotalNotViewedBytes))."</b></td>"; } else { print "<td> </td>"; }\r
- }\r
- print "</tr>\n";\r
+ # Show main indicators values for not viewed traffic values\r
+ if ($LogType eq 'M' || $LogType eq 'W' || $LogType eq 'S') {\r
+ print "<tr>";\r
+ if ($LogType eq 'M') { \r
+ print "<td class=\"aws\">$Message[166]</td>";\r
+ print "<td> <br /> </td>\n";\r
+ print "<td> <br /> </td>\n";\r
+ if ($ShowMonthStats =~ /H/i) { print "<td><b>$TotalNotViewedHits</b></td>"; } else { print "<td> </td>"; }\r
+ if ($ShowMonthStats =~ /B/i) { print "<td><b>".Format_Bytes(int($TotalNotViewedBytes))."</b></td>"; } else { print "<td> </td>"; }\r
+ }\r
+ else {\r
+ if ($LogType eq 'W' || $LogType eq 'S') { print "<td class=\"aws\">$Message[161] *</td>"; }\r
+ print "<td colspan=\"2\"> <br /> </td>\n";\r
+ if ($ShowMonthStats =~ /P/i) { print "<td><b>$TotalNotViewedPages</b></td>"; } else { print "<td> </td>"; }\r
+ if ($ShowMonthStats =~ /H/i) { print "<td><b>$TotalNotViewedHits</b></td>"; } else { print "<td> </td>"; }\r
+ if ($ShowMonthStats =~ /B/i) { print "<td><b>".Format_Bytes(int($TotalNotViewedBytes))."</b></td>"; } else { print "<td> </td>"; }\r
+ }\r
+ print "</tr>\n";\r
+ }\r
&tab_end($LogType eq 'W' || $LogType eq 'S'?"* $Message[159]":"");\r
\r
# BY MONTH\r