-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathOR.php
32 lines (30 loc) · 812 Bytes
/
OR.php
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
<?php
$title="Organised Robbery";
require_once("members/config.php");
include("members/Countdown_he.php");
include("members/countdown_p.php");
checks();
online();
$row=mysql_fetch_array(mysql_query("SELECT username FROM Players WHERE id='{$_COOKIE['id']}' LIMIT 1;"));
$u = $row[0];
$sql = mysql_query("SELECT LSD FROM Robbery WHERE leader='$u' OR driver='$u' OR ee='$u' OR wep='$u' LIMIT 1;");
$row = mysql_fetch_array($sql);
$LSD = $row[0];
if (mysql_num_rows($sql) < 1) {
$url .= '/members/OR.php';
header("Location: $url");
exit();
} elseif($LSD == 'L') {
$url .= '/members/OR.php';
header("Location: $url");
exit();
} elseif($LSD == 'S') {
$url .= '/members/SOR.php';
header("Location: $url");
exit();
} elseif($LSD == 'D') {
$url .= '/members/DOR.php';
header("Location: $url");
exit();
}
?>