-
Notifications
You must be signed in to change notification settings - Fork 0
/
newcomp.php
50 lines (48 loc) · 1.97 KB
/
newcomp.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
<!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>Music School</title>
</head>
<body background="img/img.php.png">
<div style="position:absolute; width:100%; z-index:1; " align="center" >
<div style="width:760px; z-index:2; background-color:#ffffff;" align="left">
<div id="page-wrap">
<table id="Table_01" width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<form action="execute.php" method="post">
<tr><td bgcolor="#FFFFFF"><textarea name="tcccode" id="code"></textarea></td></tr>
<tr><td>
<br />
<br />
File Name <input type="text" name="file_name" value="" /></td></tr>
<tr> <td><br />
<input type="submit" name="submit" value="Submit" /></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>