-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherror404.php
More file actions
39 lines (37 loc) · 1.06 KB
/
Copy patherror404.php
File metadata and controls
39 lines (37 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/*
Copyright 2008 - Peer Oliver Schmidt
GPLv2 Licensed
*/
/*
* This file is used to display the detail page for the supplied media file
* identified by PK_File
*/
include_once("lib.inc.php");
error_reporting(E_ALL);
connectDB();
/* $currentUser = 1;
$currentScreen = 1;
$currentRoom = 3;
$PK_File = 0;
*/ global $pk_file,$currentUser, $currentScreen, $currentRoom, $currentEntertainArea, $link, $mediaLink;
if (isset($_COOKIE["currentUser"])) { $currentUser = $_COOKIE["currentUser"]; }
if (isset($_COOKIE["currentRoom"])) { $currentRoom = $_COOKIE["currentRoom"]; }
if (isset($_GET["room"])) {
$currentRoom = $_GET["room"];
$currentRoom = intval($currentRoom);
$currentEntertainArea = getEntertainArea($link,$currentRoom);
}
if (isset($_GET["screen"])) {
$currentScreen = $_GET["screen"];
$currentScreen = intval($currentScreen);
}
if (isset($_GET["user"])) {
$currentUser = $_GET["user"];
}
if (isset($_GET["pk_file"])) {
$PK_File = $_GET["pk_file"];
}
print "<ul><li>This feature is not implemented</li>\n";
print "</ul>\n";
?>