-
Notifications
You must be signed in to change notification settings - Fork 0
/
comp1.php
59 lines (58 loc) · 2.68 KB
/
comp1.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<link href="css/styles.css" rel="stylesheet" type="text/css" />
<link href="menu_bar.css" rel="stylesheet" type="text/css" />
<link href="css/fade.css" rel="stylesheet" type="text/css" />
<link href="css/styles.css" rel="stylesheet" type="text/css" />
<link href="lib/codemirror.css" rel="stylesheet" type="text/css" />
<script src="lib/codemirror.js"></script>
<script src="mode/clike/clike.js"></script>
<link rel="stylesheet" href="docs/docs.css" />
<link rel="stylesheet" href="lib/theme/night.css" />
<script src="mode/javascript/javascript.js"></script>
<style>.CodeMirror {border:2px solid black;}</style>
<title>The-Code Plus</title>
</head>
<body>
<div style="position:absolute; width:100%; z-index:1;" align="center">
<div style="width:760px; z-index:2;" align="left">
<div class="Search"><form class="showtextback" action="search.php" id="cse-search-box">
<div>
<input type="hidden" name="cx" value="partner-pub-3744574135711352:1463638204" />
<input type="hidden" name="ie" value="UTF-8" />
<input type="text" name="q" size="16" />
<input type="submit" name="sa" value="Search" />
</div>
</form>
<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script>
</div>
<div style="position:relative;margin:240px -150px auto -95px;"><?php include('aa_03.php');?></div>
<div id="page-wrap">
<table width="800px">
<form action="execute.php" method="post">
<tr><td><span style="color:navy blue;font-weight:bold;">TYPE YOUR CODE</span></td></tr>
<tr><td bgcolor="#669999"><textarea name="tcccode" id="code"></textarea></td></tr>
<tr></tr><tr></tr><tr></tr>
<tr><td>Enter a filename: <input type="text" name="file"/> Enter your inputs
<textarea name="input"></textarea></td></tr>
<tr></tr><tr></tr><tr></tr>
<tr><td> <input type="submit" name="Submit" value="Submit your code"/></td></tr>
</form>
</table>
</div>
</div>
<script>
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
lineNumbers: true,
matchBrackets: true,
mode: "text/x-csrc"
});
function selectTheme(node) {
var theme = node.options[node.selectedIndex].innerHTML;
editor.setOption("theme", theme);
}
</script>
</body>
</html>