-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtest.php
More file actions
32 lines (32 loc) · 1.27 KB
/
test.php
File metadata and controls
32 lines (32 loc) · 1.27 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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="jquery.min.js"></script>
<?php if($_GET[test] == 1) { ?>
<script language="JavaScript" src="test.js"></script>
<?php } else { ?>
<?php if($_GET[style] == "simp") { ?>
<script language="JavaScript" src="simp.js"></script>
<?php } else if($_GET[style] == "trad") { ?>
<script language="JavaScript" src="trad.js"></script>
<?php } ?>
<?php } ?>
<script language="JavaScript" src="wld.js"></script>
<link rel="stylesheet" href="wld.css" type="text/css">
</head>
<body>
<div class="mid">
<div class="word"></div>
<div class="keys">
<h2 class="f">non-char.<br />[F]</h2>
<h2 class="j">char.<br />[J]</h2>
</div>
</div>
<form id="logform" action="reg.php" method="POST">
<input type="hidden" name="id" value="<?php echo htmlentities($_GET[id]) ?>">
<input type="hidden" name="style" value="<?php echo htmlentities($_GET[style]) ?>">
<input type="hidden" name="test" value="<?php echo htmlentities($_GET[test]) ?>">
<textarea name="log"></textarea>
</form>
</body>
</html>