Repository navigation
Expand file tree
/
Copy pathsubmit.php
More file actions
66 lines (63 loc) · 2.08 KB
/
Copy pathsubmit.php
File metadata and controls
66 lines (63 loc) · 2.08 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html>
<head>
<title>CM Online Judge | Welcome</title>
<link rel="stylesheet" type="text/css" href="./css/style.css">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta name="description" content="Online judge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="keywords" content="competitive programmming, coding challenge, programmming problems">
<meta name="author" content="Vishal Anand">
<script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script>
</head>
<body>
<section id="head">
<?php
include "header.php";
?>
</section>
<div class="maincontainer" style="height: 600px;">
<section id="main">
<div class="main">
<div class="prob_title">
Paste and Submit your code here:
</div>
<div class="code_editor">
<form name="submit_form" action="./uploads/submit.inc.php" method="POST">
<div class="wrapper"><!--
<code id="ace-editorid">#include "iostream"
int main(){
cout<<"Hello World\n";
return 0;
} </code>
<textarea id="new_textarea" name="code_editor" style="display: none;"></textarea>
</div>
<script>
document.getElementById("ace-editorid").oninput = function(){
document.getElementById("new_textarea").innerText = document.getElementById("ace-editorid").innerHTML;
}
</script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/ace/1.1.3/ace.js'></script>
<script src="./css/script.js"></script> -->
<textarea name="new_textarea" cols="100" rows="25">
</textarea><br>
Type the Problem ID: <input type="text" name="probId">
<input type="submit" name="b_code_submit" class="submit_query">
</form>
</div>
</div>
</section>
</div>
</section id="foot">
<div id="divfoot">
<?php
include "footer.php"
?>
</div>
</section>
</body>
</body>
</html>