forked from elmadev/elmastats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimp.php
23 lines (23 loc) · 773 Bytes
/
imp.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php include("top.php"); ?>
<?php
if ($users[$_GET["u"]]["nick"] != "") {
/*$n = 0;
while (file_exists("historyz/" . $_GET["u"] . "_" . $n)) $n++;
$ctimes = array(array(array()));
for ($x = 0;$x < $n;$x++) $ctimes[$x] = htimes("historyz/" . $_GET["u"] . "_" . $x);*/
switch ($_GET["m"]) {
case "tt":
echo("<img src=\"graph.php?u=" . $_GET["u"] . "&m=" . $_GET["m"] . "&w=799&h=352\"/>");
break;
case "int":
echo("<img src=\"graph.php?u=" . $_GET["u"] . "&m=" . $_GET["m"] . "&i=" . $_GET["i"] . "&w=799&h=352\"/>");
break;
default:
error("Invalid parameters!");
break;
}
} else {
error("Kuski doesn't exist!");
}
?>
<?php include("tpo.php"); ?>