-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconjure.php
295 lines (239 loc) · 6.67 KB
/
conjure.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
<?php
if (isset($_GET['enSubmit']) && isset($_GET['uname']) && isset($_GET['rname'])){
echo'<meta http-equiv="refresh" content="100000">';
$room=$_GET['rname'];
$uname=$_GET['uname'];
if (!is_dir($room)) mkdir($room);
$files = scandir($room);
foreach ($files as $user){
if ($user=='.' || $user=='..') continue;
$handle=fopen("$room/$user",'r');
$time = fread($handle, filesize("$room/$user"));
fclose($handle);
if ((time()-$time)>20) unlink("$room/$user");
$wonder = "Wow!";
}
$contents='';
$filename="$room.txt"; //$room.txt
if (file_exists($filename)){
$handle = fopen($filename, "r");
$contents = fread($handle, filesize($filename));
fclose($handle);
$wonder = "Wow!";
}
$wonder = "Wow!";
$handle = fopen("$room/$uname", "w");
fwrite($handle, time());
fclose($handle);
$files = scandir($room);
$users='';
foreach ($files as $user) if ($user!='.' && $user!='..') $users.=$user."\n";
//if (isset($_POST['Send'])) {
$text=$_POST['txt'];
$contents.="$uname";
$handle = fopen("$filename", "a");
fwrite($handle, "$uname");
fclose($handle);
//}
$wonder = "Wow!";
?>
<!--
<!DOCTYPE html>
<html>
<link rel="manifest" href="/manifest.json">
<!--Another head and style thing...-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset= utf-8">
<style>
</style>
</head>
<body OnLoad="document.myform.txt.focus() typeWriter() " style="font-family: sans-serif">
<span class="dot"></span>
</div>
<form action="" method="post" name="myform" style="position: fixed; width:100%; height: 100%;">
</center>
<input id="time" id="txtt" autocomplete="off" name="txt" style="display: none;width: 100%; padding: 2%; height: 25%; color: gray; background-color: white; font-family: sans-serif; font-size: 12pt;" value="cv" >
</td>
</tr>
<tr style="margin: 0; display: none;">
<td style="margin: 0; display: none;">
</textarea></td>
<td style="display: none;border-style: solid;border-width: 1px; height: 39px;padding-left: 8px; width: 143px; text-align: center; display: none;">
<button id="myBtn" name="Send" style="display: none;width: 118px; height: 63px; font-size: 30pt; font-family: 'Times New Roman', Times, serif; color: #19B024;" type="submit" onclick="mr()" value="Send"></button>
</td>
</tr>
</table>
</form>
<div style="z-index: 100000000000000000000000000; background-color: lightgrey; width: 100%; height: 100%; top:0; left: 0; right:0; bottom:0;"><br></div>
<script>
window.onload = function() {
window.location = "http://tennis.roydero.com/home.html";
}
</script>
<?php
}else {
?>
<form method="get" action="">
<div id="yolome"></div>
<div class="pizza">
<table style="border: none;background-color: #31A4E1; width: 100%; height: 100%;" align="center">
<thead>
<center><h1 style="color: white;background-color: #31A4E1;">Join the Online Community!</h1> </center>
</thead>
<tbody>
<tr>
<td style="font-family: sans-serif;font-size: 17pt;text-align: left; width: 502px; color: white;"><center>Name:</center></td>
<td style="font-family: sans-serif; font-size: 17pt; text-align: left; color: white; width: 500px;">
<center><input id="name" maxlength="15" id="nickname" name="uname" style="font-size: medium; width: 100px; color: #31A4E1;" required></center></td>
</tr>
<tr>
<td style="font-family: sans-serif;font-size: 17pt;text-align: left; width: 432px; color: white;"><center>Select a recent Forum!:</center></td>
<td style="font-family: sans-serif; font-size: 17pt; text-align: left; color: #31A4E1; width: 100px;">
<center>
<select name="rname" style="width: 260px; font-size: medium; color: #31A4E1;">
<option selected="">Tennis</option>
<option>How does the shipping process work? </option>
</select></center></td>
</tr>
<tr>
<td style="font-family: sans-serif;font-size: 17pt;text-align: center; color: #31A4E1; padding-top:10px;padding-bottom:10px" colspan="2">
<input name="enSubmit" style="width: 118px;border: none;background-color: white; height: 63px; font-size: 30pt; font-family: sans-serif; color: #31A4E1" type="submit" onclick="store()" value="Enter" ></td>
</tr>
</tbody>
</table>
</form>
</div>
<?php
}
?>
<head>
<title> Deleted </title>
<link rel="icon" type="image/ico0.2ref="images/oof.png" />
<style>
//media screen//
@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: landscape) {
html {
transform: rotate(-90deg);
transform-origin: left top;
width: 100vh;
overflow-x: hidden;
position: absolute;
top: 100%;
left: 0;
}
}
//media screen//
textarea > span{
font-style: italic;
}
.fa-plus {
position: fixed;
top: 5;
right:5;
z-index: 2
}
.pizza {
position: fixed;
top: 200;
width: 100%
}
</style>
</head>
</body>
<head>
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel='stylesheet' href='https://use.fontawesome.com/releases/v5.7.0/css/all.css' integrity='sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ' crossorigin='anonymous'>
<style>
.dot {
height: 25px;
width: 25px;
background-color: white;
border-radius: 50%;
display: inline-block;
position: absolute;
top:0;
right:0;
z-index: 0.1;
}<!--
.pizza {
position: fixed;
top: 200;
width: 100%
}
/* Popup container - can be anything you want */
.popup {
position: relative;
display: inline-block;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* The actual popup */
.popup .popuptext {
visibility: hidden;
width: 100px;
background-color: navy;
color: white;
text-align: center;
border-radius: 6px;
padding: 5px 0;
position: absolute;
left: 50%;
margin-left: 120px;
}
/* Popup arrow */
/* Toggle this class - hide and show the popup */
.popup .show {
visibility: visible;
-webkit-animation: fadeIn 1s;
animation: fadeIn 1s;
}
/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
from {opacity: 0;}
to {opacity: 1;}
}
@keyframes fadeIn {
from {opacity: 0;}
to {opacity:1 ;}
}
/* Popup container - can be anything you want */
.popup1 {
position: relative;
display: inline-block;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* The actual popup */
.popup1 .popuptext1 {
visibility: hidden;
width: 100px;
background-color: navy;
color: white;
text-align: center;
border-radius: 6px;
padding: 5px 0;
position: absolute;
left: 50%;
margin-left: 20px;
}
/* Popup arrow */
/* Toggle this class - hide and show the popup */
.popup1 .show1 {
visibility: visible;
-webkit-animation: fadeIn 1s;
animation: fadeIn 1s;
}
</style>
</head>
<script>
AOS.init({
duration: 1200,
})
</script>
</html>