From e3298dbeaae79bb1d384fa8cd78a67be89819720 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 24 Aug 2021 15:37:01 +0200 Subject: Initial commit --- online/index.php | 184 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 184 insertions(+) create mode 100644 online/index.php (limited to 'online/index.php') diff --git a/online/index.php b/online/index.php new file mode 100644 index 0000000..27c277f --- /dev/null +++ b/online/index.php @@ -0,0 +1,184 @@ +diff($dtT)->format('%h'); + $rest = $dtF->diff($dtT)->format("%i " . l("min, ", "mn, ") . " %s " . l("secs", "sec")); + $hours = ($dtF->diff($dtT)->format('%a') * $hours) . " " . l("hrs, ", "hr, "); + + return $hours . $rest; +} + +function l($fr, $en) { + if (isset($_GET['lang'])) { + if ($_GET['lang'] == "en") { + $_SERVER['HTTP_ACCEPT_LANGUAGE'] = "en"; + } else if ($_GET['lang'] == "fr") { + $_SERVER['HTTP_ACCEPT_LANGUAGE'] = "fr"; + } + } + if (substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2) == "fr") { + return $fr; + } else { + return $en; + } +} + +?> + + + + + Kartik Online + + + + + + + + + + + + + +
+ +
+
+
+ +
+

+

+ +
+
+
+
+
+
    + + + +
  • + + +
  • + +
+ +

+ +
+
+
+
+
+
+
+ + +
    + $items): ?> + $value): ?> +
  • + +
    - + + +
    (%) + + +
    (%) + +
    (~ ) + +
    + + (~ ) + + +
    + + (~ ) + + +
    (~ ) + +
    + + + +
  • + + +
+ +

+ +
+
+
+
+
+
+
+ +

+
+
%">
+
+ +

+ +
+
+
+
+
+ + + + -- cgit