|
34 | 34 | <script src="include/checksource.js"></script>
|
35 | 35 | <form id=frmSolution action="submit.php" method="post" onsubmit='do_submit()'>
|
36 | 36 | <?php if (isset($id)){?>
|
37 |
| -Problem <span class=blue><b><?php echo $id?></b></span> |
| 37 | +<b><br><?php echo $MSG_PROBLEM."ID : "?> <span class=blue><?php echo $id?></b><br></span> |
38 | 38 | <input id=problem_id type='hidden' value='<?php echo $id?>' name="id" ><br>
|
39 | 39 | <?php }else{
|
40 | 40 | //$PID="ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
41 | 41 | //if ($pid>25) $pid=25;
|
42 | 42 | ?>
|
43 |
| -Problem <span class=blue><b><?php echo chr($pid+ord('A'))?></b></span> of Contest <span class=blue><b><?php echo $cid?></b></span><br> |
| 43 | +<b><br><?php echo $MSG_PROBLEM."ID : "?> <span class=blue><b><?php echo chr($pid+ord('A'))?></b><br></span> of Contest <span class=blue><b><?php echo $cid?></b></span><br> |
44 | 44 | <input id="cid" type='hidden' value='<?php echo $cid?>' name="cid">
|
45 | 45 | <input id="pid" type='hidden' value='<?php echo $pid?>' name="pid">
|
46 | 46 | <?php }?>
|
47 |
| -<span id="language_span">Language: |
| 47 | + |
| 48 | +<span id="language_span"><?php echo $MSG_LANG?>: |
48 | 49 | <select id="language" name="language" onChange="reloadtemplate($(this).val());" >
|
49 | 50 | <?php
|
50 | 51 | $lang_count=count($language_ext);
|
|
63 | 64 | }
|
64 | 65 | ?>
|
65 | 66 | </select>
|
66 |
| -<?php if($OJ_VCODE){?> |
67 |
| -<?php echo $MSG_VCODE?>: |
68 |
| -<input name="vcode" size=4 type=text><img id="vcode" alt="click to change" onclick="this.src='vcode.php?'+Math.random()"> |
69 |
| -<?php }?> |
70 |
| - |
71 |
| -<br> |
72 | 67 | </span>
|
| 68 | + |
73 | 69 | <?php if($OJ_ACE_EDITOR){ ?>
|
74 |
| - <pre style="width:80%;height:600" cols=180 rows=20 id="source"><?php echo htmlentities($view_src,ENT_QUOTES,"UTF-8")?></pre><br> |
| 70 | + <pre style="width:80%;height:600;font-size:13pt" cols=180 rows=20 id="source"><?php echo htmlentities($view_src,ENT_QUOTES,"UTF-8")?></pre> |
75 | 71 | <input type=hidden id="hide_source" name="source" value=""/>
|
76 | 72 | <?php }else{ ?>
|
77 |
| - <textarea style="width:80%;height:600" cols=180 rows=20 id="source" name="source"><?php echo htmlentities($view_src,ENT_QUOTES,"UTF-8")?></textarea><br> |
| 73 | + <textarea style="width:80%;height:600" cols=180 rows=20 id="source" name="source"><?php echo htmlentities($view_src,ENT_QUOTES,"UTF-8")?></textarea> |
78 | 74 | <?php }?>
|
79 | 75 |
|
80 | 76 | <?php if (isset($OJ_TEST_RUN)&&$OJ_TEST_RUN){?>
|
|
83 | 79 | <textarea style="width:30%" cols=10 rows=5 id="out" name="out" disabled="true" >SHOULD BE:
|
84 | 80 | <?php echo $view_sample_output?>
|
85 | 81 | </textarea>
|
86 |
| -<br> |
87 | 82 | <?php } ?>
|
| 83 | +<?php if($OJ_VCODE){?> |
| 84 | +<?php echo $MSG_VCODE?>: |
| 85 | +<input name="vcode" size=4 type=text> <img id="vcode" alt="click to change" onclick="this.src='vcode.php?'+Math.random()">* |
| 86 | +<?php }?> |
| 87 | +<br><br> |
88 | 88 | <input id="Submit" class="btn btn-info" type=button value="<?php echo $MSG_SUBMIT?>" onclick="do_submit();" >
|
89 | 89 | <?php if (isset($OJ_ENCODE_SUBMIT)&&$OJ_ENCODE_SUBMIT){?>
|
90 | 90 | <input class="btn btn-success" title="WAF gives you reset ? try this." type=button value="Encoded <?php echo $MSG_SUBMIT?>" onclick="encoded_submit();">
|
|
0 commit comments