-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvisuals.php
More file actions
38 lines (32 loc) · 790 Bytes
/
visuals.php
File metadata and controls
38 lines (32 loc) · 790 Bytes
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
<?php
function header_bar()
{
echo "<table width=192 height=128 style=\"position: absolute; top: 0px; left: 0px;\" >
<tr>
<td>
<h2>MyLoader</h2>
<a href=\"index.php\"><img src=\"images/link.png\"></a>
</td>
</tr>
</table>";
}
function keyboardjs()
{
echo "<script>\n
function goRandomMyLoader()
{
var randomnumber=Math.floor(Math.random()*100000);
window.location.href = \"random.php?t=\"+randomnumber;
}\n
document.onkeypress = function (e)\n
{\n
e = e || window.event;\n
var keypressed=(e.keyCode || e.which);\n
if ( keypressed == 114 ) //r
{
goRandomMyLoader();
}\n
};\n
</script>\n";
}
?>