-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbug-report.php
More file actions
38 lines (34 loc) · 1.43 KB
/
bug-report.php
File metadata and controls
38 lines (34 loc) · 1.43 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
33
34
35
36
37
38
<?php
$pass = "test";
if(isset($_REQUEST['pass']) && $_REQUEST['pass'] == $pass) {
?>
<!DOCTYPE html>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<head>
<style>
body {width:563px; height:300px;margin:0;font-family:arial;font-size:12px;}
</style>
</head>
<body>
<iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="http://form.jotformeu.com/form/31793077686367" frameborder="0" style="width:100%; height:727px; border:none;" scrolling="no"></iframe>
<script type="text/javascript">window.handleIFrameMessage = function(e) {var args = e.data.split(":");var iframe = document.getElementById("JotFormIFrame");if (!iframe)return;switch (args[0]) {case "scrollIntoView":iframe.scrollIntoView();break;case "setHeight":iframe.style.height = args[1] + "px";break;}};if (window.addEventListener) {window.addEventListener("message", handleIFrameMessage, false);} else if (window.attachEvent) {window.attachEvent("onmessage", handleIFrameMessage);}</script>
</body>
</html>
<?
}
else {
if(isset($_REQUEST['pass']) && $_REQUEST['pass'] != $pass) {
echo '<center style="position:relative; top:50%;"><b>Contraseña incorrecta. Intentelo de nuevo.</b><br>';
}
?>
<center style="position:relative; top:50%;">
Por favor, indroduzca una contraseña:<br>
<form method="get">
<input type="password" name="pass" />
<input type="submit" value="Entrar" />
</form>
</center>
<?php
}
?>