From 9f8c6ce698d44b026b09c387d9fdb8e23060915b Mon Sep 17 00:00:00 2001 From: Jimmi08 Date: Fri, 19 Jan 2018 22:59:49 +0100 Subject: [PATCH 1/5] TodaysVisits templated --- e107_plugins/log/stats.php | 32 +++++++++++++------- e107_plugins/log/templates/log_template.php | 33 +++++++++++++++++++++ 2 files changed, 54 insertions(+), 11 deletions(-) create mode 100644 e107_plugins/log/templates/log_template.php diff --git a/e107_plugins/log/stats.php b/e107_plugins/log/stats.php index 815a32d5d..fd42db864 100644 --- a/e107_plugins/log/stats.php +++ b/e107_plugins/log/stats.php @@ -24,6 +24,7 @@ e107::includeLan(e_PLUGIN.'log/languages/'.e_LANGUAGE.'.php'); $bar = (file_exists(THEME.'images/bar.png') ? THEME_ABS.'images/bar.png' : e_IMAGE_ABS.'generic/bar.png'); $mes = e107::getMessage(); + e107::css('inline', " /* Site Stats */ @@ -840,7 +841,10 @@ class siteStats */ function renderTodaysVisits($do_errors = FALSE) { - $do_errors = $do_errors && ADMIN && getperms('P'); // Only admins can see page errors + $tp = e107::getParser(); + $template = e107::getTemplate('log', 'log', 'todaysvisits', true, true); + + $do_errors = $do_errors && ADMIN && getperms('P'); // Only admins can see page errors // Now run through and keep either the non-error pages, or the error pages, according to $do_errors $totalArray = array(); @@ -864,23 +868,29 @@ class siteStats $totalu += $info['unq']; } - $text = " - - - - - \n"; + $text = $template['start']; foreach($totalArray as $key => $info) { if($info['ttl']) - { + { $percentage = round(($info['ttl']/$totalv) * 100, 2); - $text .= "\n\n\n\n\n"; + + $var = array('ITEM_URL' => $info['url'], + 'ITEM_KEY' => $this->getLabel($key), + 'ITEM_BAR' => $this -> bar($percentage, $info['ttl']." [".$info['unq']."]"), + 'ITEM_PERC'=> $percentage, + ); + + $text .= $tp->simpleParse($template['item'], $var); + } } - $text .= "
".ADSTAT_L19."".ADSTAT_L20."%
".$this->getLabel($key)." - ".$this -> bar($percentage, $info['ttl']." [".$info['unq']."]")."".$percentage."%
".ADSTAT_L21." [".ADSTAT_L22."]{$totalv} [{$totalu}]
"; + $var = array('TOTALV' => $totalv, + 'TOTALU' => $totalu, + ); + $text .= $tp->simpleParse($template['end'], $var); + return $text; } diff --git a/e107_plugins/log/templates/log_template.php b/e107_plugins/log/templates/log_template.php new file mode 100644 index 000000000..2e8a14daf --- /dev/null +++ b/e107_plugins/log/templates/log_template.php @@ -0,0 +1,33 @@ + + + + + + +\n"; + +$LOG_TEMPLATE['todaysvisits']['item'] = +"\n\n +\n\n"; + +$LOG_TEMPLATE['todaysvisits']['end'] = +" +
".ADSTAT_L19."".ADSTAT_L20."%
+ +{ITEM_KEY} +{ITEM_BAR}{ITEM_PERC}%
".ADSTAT_L21." [".ADSTAT_L22."]{TOTALV} [{TOTALU}]
+"; + \ No newline at end of file From 572e355aba3632ed3cab8346d86a7418a63b6e9d Mon Sep 17 00:00:00 2001 From: Jimmi08 Date: Sat, 20 Jan 2018 12:19:04 +0100 Subject: [PATCH 2/5] alltimevisits templated --- e107_plugins/log/stats.php | 106 +++++++++++--------- e107_plugins/log/templates/log_template.php | 86 +++++++++++++++- 2 files changed, 145 insertions(+), 47 deletions(-) diff --git a/e107_plugins/log/stats.php b/e107_plugins/log/stats.php index fd42db864..47cc3f0c7 100644 --- a/e107_plugins/log/stats.php +++ b/e107_plugins/log/stats.php @@ -909,7 +909,8 @@ class siteStats { $sql = e107::getDB(); $tp = e107::getParser(); - + $template = e107::getTemplate('log', 'log', 'alltimevisits_total', true, true); + $text = ''; $sql->select("logstats", "*", "log_id='pageTotal' "); $row = $sql->fetch(); @@ -940,18 +941,8 @@ class siteStats $totalArray = $this -> arraySort($totalArray, "ttlv"); - $text .= "\n - - - - - - - - \n - - - \n"; + $text .= $template['start']; + foreach($totalArray as $key => $info) { @@ -959,20 +950,25 @@ class siteStats { if (!$info['url'] && (($key == 'index') || (strpos($key,':index') !== FALSE))) $info['url'] = e_HTTP.'index.php'; // Avoids empty link $percentage = round(($info['ttlv']/$total) * 100, 2); - $text .= " - - - - \n"; + + $var = array('ITEM_URL' => $info['url'], + 'ITEM_KEY' => $this->getLabel($key,true), + 'ITEM_TITLE' => $this->getLabel($key), + 'ITEM_BAR' => $this->bar($percentage, $info['ttlv']), + 'ITEM_PERC'=> $percentage, + 'ITEM_DELETE'=> ($can_delete ? " " : ""), + ); + $text .= $tp->simpleParse($template['item'], $var); } } - $text .= "\n
".ADSTAT_L19."".ADSTAT_L23."%
- ".($can_delete ? "".ADSTAT_L39." " : "")." - getLabel($key)."\" >".$this->getLabel($key,true)." - "; - $text .= "".$this->bar($percentage, $info['ttlv'])."".$percentage."%
".ADSTAT_L21."".number_format($total)."
"; - + + $var = array('TOTAL' => number_format($total), + ); + $text .= $tp->simpleParse($template['end'], $var); + $template = e107::getTemplate('log', 'log', 'alltimevisits_unique', true, true); + $uniqueArray = array(); $totalv = 0; foreach ($this -> dbPageInfo as $k => $v) @@ -986,13 +982,7 @@ class siteStats } $uniqueArray = $this -> arraySort($uniqueArray, "unqv"); - $text .= "
- - - - - - \n"; + $text .= $template['start']; foreach($uniqueArray as $key => $info) { @@ -1000,14 +990,18 @@ class siteStats { if (!$info['url'] && (($key == 'index') || (strpos($key,':index') !== FALSE))) $info['url'] = e_HTTP.'index.php'; // Avoids empty link $percentage = round(($info['unqv']/$totalv) * 100, 2); - $text .= " - - - - \n"; + + $var = array('ITEM_URL' => $info['url'], + 'ITEM_KEY' => $tp->text_truncate($key, 50), + 'ITEM_BAR' => $this -> bar($percentage, $info['unqv']), + 'ITEM_PERC'=> $percentage, + ); + $text .= $tp->simpleParse($template['item'], $var); } } - $text .= "\n
".ADSTAT_L19."".ADSTAT_L24."%
".$tp->text_truncate($key, 50)."".$this -> bar($percentage, $info['unqv'])."".$percentage."%
".ADSTAT_L21."".number_format($totalv)."
"; + $var = array('TOTAL' => number_format($totalv), + ); + $text .= $tp->simpleParse($template['end'], $var); return $text; } @@ -1023,7 +1017,10 @@ class siteStats function renderBrowsers($selection = FALSE, $show_version=TRUE) { $sql = e107::getDB(); - + $tp = e107::getParser(); + $template = e107::getTemplate('log', 'log', 'browsers', true, true); + + if (!$selection) $selection = array(1); if (!is_array($selection)) $selection = array(1); $text = ''; @@ -1099,7 +1096,7 @@ class siteStats } $total = array_sum($browserArray); - + $text .= " \n @@ -1163,6 +1160,8 @@ class siteStats function renderOses($selection = FALSE, $show_version=TRUE) { $sql = e107::getDB(); + $tp = e107::getParser(); + $template = e107::getTemplate('log', 'log', 'oses', true, true); if (!$selection) $selection = array(1); if (!is_array($selection)) $selection = array(1); $text = ''; @@ -1296,7 +1295,9 @@ class siteStats function renderDomains($selection = FALSE) { $sql = e107::getDB(); - + $tp = e107::getParser(); + $template = e107::getTemplate('log', 'log', 'domains', true, true); + if (!$selection) $selection = array(1); if (!is_array($selection)) $selection = array(1); $text = ''; @@ -1382,7 +1383,9 @@ class siteStats function renderScreens($selection = FALSE) { $sql = e107::getDB(); - + $tp = e107::getParser(); + $template = e107::getTemplate('log', 'log', 'screens', true, true); + if (!$selection) $selection = array(1); if (!is_array($selection)) $selection = array(1); $text = ''; @@ -1485,7 +1488,9 @@ class siteStats function renderRefers($selection = FALSE) { $sql = e107::getDB(); - + $tp = e107::getParser(); + $template = e107::getTemplate('log', 'log', 'refers', true, true); + if (!$selection) $selection = array(1); if (!is_array($selection)) $selection = array(1); $text = ''; @@ -1578,7 +1583,8 @@ class siteStats function renderQueries($selection = FALSE) { $sql = e107::getDB(); - + $tp = e107::getParser(); + $template = e107::getTemplate('log', 'log', 'queries', true, true); if (!$selection) $selection = array(1); if (!is_array($selection)) $selection = array(1); @@ -1661,7 +1667,11 @@ class siteStats */ function recentVisitors() { - if(!is_array($this -> fileRecent) || !count($this -> fileRecent)) + + $tp = e107::getParser(); + $template = e107::getTemplate('log', 'log', 'visitors', true, true); + + if(!is_array($this -> fileRecent) || !count($this -> fileRecent)) { return "
".ADSTAT_L25.".
"; } @@ -1712,7 +1722,9 @@ class siteStats function renderDaily() { $sql = e107::getDB(); - + $tp = e107::getParser(); + $template = e107::getTemplate('log', 'log', 'daily', true, true); + $td = date("Y-m-j", time()); $dayarray[$td] = array(); $pagearray = array(); @@ -1885,7 +1897,9 @@ class siteStats function renderMonthly() { $sql = e107::getDB(); - + $tp = e107::getParser(); + $template = e107::getTemplate('log', 'log', 'monthly', true, true); + // Month format entries have log_id = yyyy-mm if(!$entries = $sql->select("logstats", "*", "log_id REGEXP('^[[:digit:]]+\-[[:digit:]]+$') ORDER BY CONCAT(LEFT(log_id,4), RIGHT(log_id,2)) DESC")) { diff --git a/e107_plugins/log/templates/log_template.php b/e107_plugins/log/templates/log_template.php index 2e8a14daf..4e2b7ea43 100644 --- a/e107_plugins/log/templates/log_template.php +++ b/e107_plugins/log/templates/log_template.php @@ -30,4 +30,88 @@ $LOG_TEMPLATE['todaysvisits']['end'] = "
".ADSTAT_L21." [".ADSTAT_L22."]{TOTALV} [{TOTALU}]
"; - \ No newline at end of file + + +$LOG_TEMPLATE['alltimevisits_total']['start'] = " +
+\n + + + + + + + + \n + + + \n"; +$LOG_TEMPLATE['alltimevisits_total']['item'] = " + + + + + \n +"; +$LOG_TEMPLATE['alltimevisits_total']['end'] = " + \n
".ADSTAT_L19."".ADSTAT_L23."%
+ {ITEM_DELETE} + + {ITEM_KEY} + {ITEM_BAR}{ITEM_PERC}%
".ADSTAT_L21."{TOTAL}
"; + +$LOG_TEMPLATE['alltimevisits_unique']['start'] = "
+
+ + + + + + \n"; +$LOG_TEMPLATE['alltimevisits_unique']['item'] = " + + + + \n"; +$LOG_TEMPLATE['alltimevisits_unique']['end'] = " + + +\n
".ADSTAT_L19."".ADSTAT_L24."%
+ {ITEM_KEY}{ITEM_BAR}{ITEM_PERC}%
".ADSTAT_L21."{TOTAL}
"; + + +$LOG_TEMPLATE['browsers']['start'] = ""; +$LOG_TEMPLATE['browsers']['item'] = ""; +$LOG_TEMPLATE['browsers']['end'] = ""; + +$LOG_TEMPLATE['oses']['start'] = ""; +$LOG_TEMPLATE['oses']['item'] = ""; +$LOG_TEMPLATE['oses']['end'] = ""; + +$LOG_TEMPLATE['domains']['start'] = ""; +$LOG_TEMPLATE['domains']['item'] = ""; +$LOG_TEMPLATE['domains']['end'] = ""; + +$LOG_TEMPLATE['screens']['start'] = ""; +$LOG_TEMPLATE['screens']['item'] = ""; +$LOG_TEMPLATE['screens']['end'] = ""; + +$LOG_TEMPLATE['refers']['start'] = ""; +$LOG_TEMPLATE['refers']['item'] = ""; +$LOG_TEMPLATE['refers']['end'] = ""; + +$LOG_TEMPLATE['queries']['start'] = ""; +$LOG_TEMPLATE['queries']['item'] = ""; +$LOG_TEMPLATE['queries']['end'] = ""; + +$LOG_TEMPLATE['visitors']['start'] = ""; +$LOG_TEMPLATE['visitors']['item'] = ""; +$LOG_TEMPLATE['visitors']['end'] = ""; + +$LOG_TEMPLATE['daily']['start'] = ""; +$LOG_TEMPLATE['daily']['item'] = ""; +$LOG_TEMPLATE['daily']['end'] = ""; + +$LOG_TEMPLATE['monthly']['start'] = ""; +$LOG_TEMPLATE['monthly']['item'] = ""; +$LOG_TEMPLATE['monthly']['end'] = ""; \ No newline at end of file From 546ec32899047bce396e37fd2837afa29a0a027f Mon Sep 17 00:00:00 2001 From: Jimmi08 Date: Sat, 20 Jan 2018 12:46:50 +0100 Subject: [PATCH 3/5] browser stats templated --- e107_plugins/log/stats.php | 43 ++++++++++----------- e107_plugins/log/templates/log_template.php | 29 ++++++++++++-- 2 files changed, 47 insertions(+), 25 deletions(-) diff --git a/e107_plugins/log/stats.php b/e107_plugins/log/stats.php index 47cc3f0c7..c10a4530c 100644 --- a/e107_plugins/log/stats.php +++ b/e107_plugins/log/stats.php @@ -956,7 +956,7 @@ class siteStats 'ITEM_TITLE' => $this->getLabel($key), 'ITEM_BAR' => $this->bar($percentage, $info['ttlv']), 'ITEM_PERC'=> $percentage, - 'ITEM_DELETE'=> ($can_delete ? " ($can_delete ? " ".ADSTAT_L39." " : ""), ); $text .= $tp->simpleParse($template['item'], $var); @@ -1097,18 +1097,11 @@ class siteStats $total = array_sum($browserArray); - $text .= " - \n - - - \n - - - \n - - \n"; + $var = array('START_CAPTION' => $this->browser_headings[$act].$pars['hdg_extra'], + 'START_TITLE' => ($this -> order ? ADSTAT_L48 : ADSTAT_L49), + 'START_URL' => e_SELF."?".($show_version ? "3" : "14").($this -> order ? "" : ".1" ), + ); + $text .= $tp->simpleParse($template['start'], $var); if (count($browserArray)) { @@ -1128,20 +1121,26 @@ class siteStats $image = "unknown.png"; } $percentage = round(($info/$total) * 100, 2); - $text .= " - ". - ($entries == 1 ? "" : "")." - - \n"; + $var = array( + 'ITEM_IMAGE' => ($image ? " " : ""), + 'ITEM_KEY' => $key, + 'ITEM_BAR' => $this -> bar($percentage, $info), + 'ITEM_PERC'=> $percentage, + ); + $text .= $tp->simpleParse($template['item'], $var); + + $text .= ""; } - $text .= " - \n"; + + $var = array('TOTAL' => number_format($total), + ); + $text .= $tp->simpleParse($template['end'], $var); + $text .= ""; } else { - $text .= "\n"; + $text .= $tp->simpleParse($template['nostatistic']); } - $text .= "
".$this->browser_headings[$act].$pars['hdg_extra']."
- ".ADSTAT_L26." - ".ADSTAT_L21."%
".($image ? " " : "").$key."".$this -> bar($percentage, $info)."".$this -> bar($percentage, $info)."".$percentage."%
".ADSTAT_L21."{$total}
".ADSTAT_L25."

"; } return $text; } diff --git a/e107_plugins/log/templates/log_template.php b/e107_plugins/log/templates/log_template.php index 4e2b7ea43..89075b735 100644 --- a/e107_plugins/log/templates/log_template.php +++ b/e107_plugins/log/templates/log_template.php @@ -80,9 +80,32 @@ $LOG_TEMPLATE['alltimevisits_unique']['end'] = " \n"; -$LOG_TEMPLATE['browsers']['start'] = ""; -$LOG_TEMPLATE['browsers']['item'] = ""; -$LOG_TEMPLATE['browsers']['end'] = ""; +$LOG_TEMPLATE['browsers']['start'] = " +
+\n + + + \n + + + \n + + \n"; +$LOG_TEMPLATE['browsers']['item'] = " + + + + +\n"; +$LOG_TEMPLATE['browsers']['end'] = " + + +
{START_CAPTION}
+ ".ADSTAT_L26." + ".ADSTAT_L21."%
{ITEM_IMAGE}{ITEM_KEY}{ITEM_BAR}{ITEM_PERC}%
".ADSTAT_L21."{TOTAL}

"; + +$LOG_TEMPLATE['browsers']['nostatistic'] = +"".ADSTAT_L25."
"; $LOG_TEMPLATE['oses']['start'] = ""; $LOG_TEMPLATE['oses']['item'] = ""; From b502aeb0b6e3c4da288a55be2292179d63fed358 Mon Sep 17 00:00:00 2001 From: Jimmi08 Date: Sat, 20 Jan 2018 12:57:26 +0100 Subject: [PATCH 4/5] operating system templated --- e107_plugins/log/stats.php | 37 ++++++++++----------- e107_plugins/log/templates/log_template.php | 25 ++++++++++++-- 2 files changed, 39 insertions(+), 23 deletions(-) diff --git a/e107_plugins/log/stats.php b/e107_plugins/log/stats.php index c10a4530c..67fe9654d 100644 --- a/e107_plugins/log/stats.php +++ b/e107_plugins/log/stats.php @@ -1135,7 +1135,6 @@ class siteStats $var = array('TOTAL' => number_format($total), ); $text .= $tp->simpleParse($template['end'], $var); - $text .= ""; } else { @@ -1235,17 +1234,12 @@ class siteStats } $total = array_sum($osArray); - $text .= " - \n - - - \n - - \n - - - \n"; + $var = array('START_CAPTION' => $this->browser_headings[$act].$pars['hdg_extra'], + 'START_TITLE' => ($this -> order ? "sort by total" : "sort alphabetically"), + 'START_URL' => e_SELF."?".($show_version ? "4" : "15").($this -> order ? "" : ".1" ), + ); + $text .= $tp->simpleParse($template['start'], $var); + if (count($osArray)) { @@ -1265,19 +1259,22 @@ class siteStats elseif(stristr($key, "Android")) { $image = "android.png"; } $percentage = round(($info/$total) * 100, 2); - $text .= " - ". - ($entries == 1 ? "" : "")." - - \n"; + $var = array( + 'ITEM_IMAGE' => ($image ? " " : ""), + 'ITEM_KEY' => $key, + 'ITEM_BAR' => $this -> bar($percentage, $info), + 'ITEM_PERC'=> $percentage, + ); + $text .= $tp->simpleParse($template['item'], $var); } - $text .= "\n"; + $var = array('TOTAL' => number_format($total), + ); + $text .= $tp->simpleParse($template['end'], $var); } else { - $text .= "\n"; + $text .= $tp->simpleParse($template['nostatistic']); } - $text .= "
".$this->browser_headings[$act].$pars['hdg_extra']."
- ".ADSTAT_L27."".ADSTAT_L21."%
".($image ? " " : "").$key."".$this -> bar($percentage, $info)."".$this -> bar($percentage, $info)."".$percentage."%
".ADSTAT_L21."{$total} 
".ADSTAT_L25."

"; } return $text; } diff --git a/e107_plugins/log/templates/log_template.php b/e107_plugins/log/templates/log_template.php index 89075b735..1d38dc939 100644 --- a/e107_plugins/log/templates/log_template.php +++ b/e107_plugins/log/templates/log_template.php @@ -107,9 +107,28 @@ $LOG_TEMPLATE['browsers']['end'] = " $LOG_TEMPLATE['browsers']['nostatistic'] = "".ADSTAT_L25."
"; -$LOG_TEMPLATE['oses']['start'] = ""; -$LOG_TEMPLATE['oses']['item'] = ""; -$LOG_TEMPLATE['oses']['end'] = ""; +$LOG_TEMPLATE['oses']['start'] = " +
+\n + + + \n + + \n + + +"; +$LOG_TEMPLATE['oses']['item'] = $LOG_TEMPLATE['browsers']['item']; +$LOG_TEMPLATE['oses']['end'] = " + + + + + +
{START_CAPTION}
+ ".ADSTAT_L27."".ADSTAT_L21."%
".ADSTAT_L21."{TOTAL} 

"; +$LOG_TEMPLATE['oses']['nostatistic'] = $LOG_TEMPLATE['browsers']['nostatistic']; + $LOG_TEMPLATE['domains']['start'] = ""; $LOG_TEMPLATE['domains']['item'] = ""; From f36ee93666ecbc42d1c2349a38742de3b23419ee Mon Sep 17 00:00:00 2001 From: Jimmi08 Date: Wed, 24 Jan 2018 19:19:34 +0100 Subject: [PATCH 5/5] domains stats templated --- e107_plugins/log/stats.php | 32 +++++++++++---------- e107_plugins/log/templates/log_template.php | 27 +++++++++++++++-- 2 files changed, 41 insertions(+), 18 deletions(-) diff --git a/e107_plugins/log/stats.php b/e107_plugins/log/stats.php index 67fe9654d..12e13db39 100644 --- a/e107_plugins/log/stats.php +++ b/e107_plugins/log/stats.php @@ -1267,8 +1267,8 @@ class siteStats ); $text .= $tp->simpleParse($template['item'], $var); } - $var = array('TOTAL' => number_format($total), - ); + $var = array('TOTAL' => number_format($total)); + $text .= $tp->simpleParse($template['end'], $var); } else @@ -1335,11 +1335,11 @@ class siteStats } $total = array_sum($domArray); - $text .= " \n - \n - \n\n - \n\n\n"; + $var = array('START_CAPTION' => $this->browser_headings[$act].$pars['hdg_extra'], + 'START_TITLE' => ($this -> order ? "sort by total" : "sort alphabetically"), + 'START_URL' => e_SELF."?5".($this -> order ? "" : ".1" ), + ); + $text .= $tp->simpleParse($template['start'], $var); if (count($domArray)) { @@ -1348,20 +1348,22 @@ class siteStats if($key = $this -> getcountry($key)) { $percentage = round(($info/$total) * 100, 2); - $text .= " - - - - \n"; + $var = array( + 'ITEM_KEY' => $key, + 'ITEM_BAR' => $this -> bar($percentage, $info), + 'ITEM_PERC'=> $percentage, + ); + $text .= $tp->simpleParse($template['item'], $var); } } - $text .= "\n"; + //before: $var = array('TOTAL' => $total, + $var = array('TOTAL' => number_format($total)); + $text .= $tp->simpleParse($template['end'], $var); } else { - $text .= "\n"; + $text .= $tp->simpleParse($template['nostatistic']); } - $text .= "
".$this->browser_headings[$act].$pars['hdg_extra']."
- ".ADSTAT_L28."".ADSTAT_L21."%
".$key."".$this -> bar($percentage, $info)."".$percentage."%
".ADSTAT_L21."$total
".ADSTAT_L25."

"; } return $text; } diff --git a/e107_plugins/log/templates/log_template.php b/e107_plugins/log/templates/log_template.php index 1d38dc939..29ca6ac04 100644 --- a/e107_plugins/log/templates/log_template.php +++ b/e107_plugins/log/templates/log_template.php @@ -130,9 +130,30 @@ $LOG_TEMPLATE['oses']['end'] = " $LOG_TEMPLATE['oses']['nostatistic'] = $LOG_TEMPLATE['browsers']['nostatistic']; -$LOG_TEMPLATE['domains']['start'] = ""; -$LOG_TEMPLATE['domains']['item'] = ""; -$LOG_TEMPLATE['domains']['end'] = ""; +$LOG_TEMPLATE['domains']['start'] = " +
+ + + \n + + \n"; + +$LOG_TEMPLATE['domains']['item'] = " + + + + +"; +$LOG_TEMPLATE['domains']['end'] = " + + + + + +
{START_CAPTION}
+ ".ADSTAT_L28."".ADSTAT_L21."%
{ITEM_KEY}{ITEM_BAR}{ITEM_PERC}%
".ADSTAT_L21."{TOTAL} 

"; +$LOG_TEMPLATE['domains']['nostatistic'] = $LOG_TEMPLATE['browsers']['nostatistic']; + $LOG_TEMPLATE['screens']['start'] = ""; $LOG_TEMPLATE['screens']['item'] = "";