blob: 946b847dc4009b4c770c2482e400e6a60155e9d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
$id = preg_replace('/\D/', '', $_GET["id"]);
$wid = preg_replace('/\D/', '', $_GET["wid"]);
$stage = my_addslashes($_GET["stage"]);
$oururl = $_SERVER["HTTP_HOST"].$_SERVER["PHP_SELF"];
$oururl = str_replace("index.php", "", $oururl);
$rtype = my_addslashes($_GET["rtype"]);
if (empty($id)) {
die("No ID given");
}
IF ($rtype == "clanbase") {
include("pages/report_cb.php");
}
IF ($rtype == "bbcode") {
include("pages/report/bbcode.php");
}
IF ($rtype == "clanbase" && $stage == "generate") {
include("pages/report/clanbase.php");
}
?>
|