-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
53 lines (43 loc) · 1.14 KB
/
index.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<!--
_________ _ __ _________ __ ____
/_ __/ _ ) | |/_/ / ___/ __ \/ / / __ \
/ / / _ |_> < / /__/ /_/ / /__/ /_/ /
/_/ /____//_/|_| & \___/\____/____/\____/
TBX & COLO Productions; F.A.T. Labs 2011
Moar: http://fffff.at/occupy-the-internet/
COPYLEFT
-->
<?php
// IMPORTANT: Put your URL here
$sBaseUrl = "/occupy";
$sRequestUrl = substr($_SERVER["REQUEST_URI"], strlen($sBaseUrl));
if(strpos($sRequestUrl, "?") !== FALSE)
{
// Remove get parameters
$sRequestUrl = substr($sRequestUrl, 0, strpos($sRequestUrl, "?"));
}
$sRequestUrl = substr($sRequestUrl, 1);
if($sRequestUrl != '')
{
$domain = $sRequestUrl;
}
else
{
$domain = 'www.goldmansachs.com';
}
?>
<html>
<head>
<title>
Occupiing <?php echo $domain ?>
</title>
<script src="http://occupyinter.net/embed.js"></script>
</head>
<body scrolling = "no">
<div>
<iframe src="<?php echo 'http://' . $domain ?>" width="100%" height="100%" scrolling="auto" frameborder="0" style="position:absolute; top:100; left:0;"> </iframe>
<?php //echo $content; ?>
</div>
</body>
</html>