-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaged_managed.php
More file actions
32 lines (31 loc) · 1.53 KB
/
aged_managed.php
File metadata and controls
32 lines (31 loc) · 1.53 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
<?php
echo"<body style='background-color:black'>";
if(isset($_GET["managed"])){
$managed=$_GET["managed"];
unset($_COOKIE["managed"]);
setcookie("managed", "", time() -99999);
setcookie("managed", $managed, time()+9999999);
echo"<form method='get' action='index.php' name='main' target='_top'>";
// if($managed==3) echo"<input type=hidden name='url' value='ndis_dashboard.php'>";
// else
echo"<input type=hidden name='url' value='".$_GET["url"]."'>";
echo"<input type=hidden name='pstat' value='1'>
</form>";
?> <script language=JavaScript> document.main.submit(); </script> <?php
}
if(isset($_GET["managed2"])){
$managed2=$_GET["managed2"];
unset($_COOKIE["managed2"]);
setcookie("managed2", "", time() -99999);
setcookie("managed2", $managed2, time()+9999999);
echo"<form method='get' action='index.php' name='main' target='_self'>";
// if($managed==3) echo"<input type=hidden name='url' value='ndis_dashboard.php'>";
// else
echo"<input type=hidden name='url' value='".$_GET["url"]."'>
<input type=hidden name='pstat' value='1'>
<input type=hidden name='pid' value='".$_GET["pid"]."'>
</form>";
?> <script language=JavaScript> document.main.submit(); </script> <?php
}
echo"</body>";
?>