From 529ffcbfa97ab51a64a97f6dff08aeb2bc0cc105 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 24 Aug 2021 15:38:16 +0200 Subject: Update --- Neutron-trunk/cms-special/admin-v2/stats/index.php | 280 +++++++++++++++++++++ 1 file changed, 280 insertions(+) create mode 100644 Neutron-trunk/cms-special/admin-v2/stats/index.php (limited to 'Neutron-trunk/cms-special/admin-v2/stats') diff --git a/Neutron-trunk/cms-special/admin-v2/stats/index.php b/Neutron-trunk/cms-special/admin-v2/stats/index.php new file mode 100644 index 0000000..81b4b69 --- /dev/null +++ b/Neutron-trunk/cms-special/admin-v2/stats/index.php @@ -0,0 +1,280 @@ + + "Statistiques", "headerName" => "Statistiques" ]; require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/precontent.php"; ?> +" . $lang["admin-stats"]["new"] . "

" . $lang["admin-stats"]["notice"] . "

"); } ?> + 0) { + $cmonth = $cmonth + $count; + } + } + } + + if ($cmonth > 0) { + if ($cmonth > 1) { + if ($showYear) { + echo("{$lang["admin-stats"]["months"][$month - 1]} {$year}{$lang["admin-stats"]["separator"]} {$cmonth} {$lang["admin-stats"]["visits2"]}"); + } else { + echo("{$lang["admin-stats"]["months"][$month - 1]}{$lang["admin-stats"]["separator"]} {$cmonth} {$lang["admin-stats"]["visits2"]}"); + } + } else { + if ($showYear) { + echo("{$lang["admin-stats"]["months"][$month - 1]} {$year}{$lang["admin-stats"]["separator"]} {$cmonth} {$lang["admin-stats"]["visit1"]}"); + } else { + echo("{$lang["admin-stats"]["months"][$month - 1]}{$lang["admin-stats"]["separator"]} {$cmonth} {$lang["admin-stats"]["visit1"]}"); + } + } + } + } +} + +?> +

+ + + 0) { + $day = (int)trim($file); + if ($count > 1) { + echo(""); + } else { + echo(""); + } + } + } + } + } + + ?> + +
{$day} {$mtxt}{$lang["admin-stats"]["separator"]} {$count} {$lang["admin-stats"]["visits2"]}
{$day} {$mtxt}{$lang["admin-stats"]["separator"]} {$count} {$lang["admin-stats"]["visit1"]}
+ +

+ + + + +
+ +

+ + + + +
+ + +
+

+

+

+"); + } + } +} + +?> +
{$newdatestr}{$lang["admin-stats"]["separator"]}" . file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/stats/" . $date) . " {$lang["admin-stats"]["visits"]}
+

+ + + "); + echo(""); + echo(""); + echo(""); + echo(""); + echo(""); + echo(""); + echo(""); + echo(""); + echo(""); + echo(""); + echo(""); + ?> + +
{$lang["admin-stats"]["months"][0]}{$lang["admin-stats"]["separator"]}{$visits['01']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][1]}{$lang["admin-stats"]["separator"]}{$visits['02']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][2]}{$lang["admin-stats"]["separator"]}{$visits['03']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][3]}{$lang["admin-stats"]["separator"]}{$visits['04']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][4]}{$lang["admin-stats"]["separator"]}{$visits['05']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][5]}{$lang["admin-stats"]["separator"]}{$visits['06']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][6]}{$lang["admin-stats"]["separator"]}{$visits['07']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][7]}{$lang["admin-stats"]["separator"]}{$visits['08']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][8]}{$lang["admin-stats"]["separator"]}{$visits['09']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][9]}{$lang["admin-stats"]["separator"]}{$visits['10']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][10]}{$lang["admin-stats"]["separator"]}{$visits['11']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][11]}{$lang["admin-stats"]["separator"]}{$visits['12']} {$lang["admin-stats"]["visits"]}
+

+ + + "); + echo(""); + echo(""); + echo(""); + echo(""); + echo(""); + echo(""); + echo(""); + echo(""); + echo(""); + echo(""); + echo(""); + ?> + +
{$lang["admin-stats"]["months"][0]} " . ((int)date("Y") - 1) . "{$lang["admin-stats"]["separator"]}{$visits['01']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][1]} " . ((int)date("Y") - 1) . "{$lang["admin-stats"]["separator"]}{$visits['02']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][2]} " . ((int)date("Y") - 1) . "{$lang["admin-stats"]["separator"]}{$visits['03']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][3]} " . ((int)date("Y") - 1) . "{$lang["admin-stats"]["separator"]}{$visits['04']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][4]} " . ((int)date("Y") - 1) . "{$lang["admin-stats"]["separator"]}{$visits['05']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][5]} " . ((int)date("Y") - 1) . "{$lang["admin-stats"]["separator"]}{$visits['06']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][6]} " . ((int)date("Y") - 1) . "{$lang["admin-stats"]["separator"]}{$visits['07']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][7]} " . ((int)date("Y") - 1) . "{$lang["admin-stats"]["separator"]}{$visits['08']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][8]} " . ((int)date("Y") - 1) . "{$lang["admin-stats"]["separator"]}{$visits['09']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][9]} " . ((int)date("Y") - 1) . "{$lang["admin-stats"]["separator"]}{$visits['10']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][10]} " . ((int)date("Y") - 1) . "{$lang["admin-stats"]["separator"]}{$visits['11']} {$lang["admin-stats"]["visits"]}
{$lang["admin-stats"]["months"][11]} " . ((int)date("Y") - 1) . "{$lang["admin-stats"]["separator"]}{$visits['12']} {$lang["admin-stats"]["visits"]}
+ + \ No newline at end of file -- cgit