<tr> <td> Author: </td> <td> <tmpl_var author> </td></tr>
<tr> <td> Added by: </td> <td> <tmpl_var owner> </td></tr>
</table>
- <h3><center>Time: 12:21</center></h3>
+ <!-- <h3><center>Time: 12:21</center></h3>
<table class="table">
<thead><tr><th>#</th> <th>User</th><th>Score</th></tr></thead>
<tr class="active"> <td> 1 </td> <td> asd_asd</td> <td>1000</td> </tr>
<tr> <td> 3 </td> <td> asd_asd</td> <td>23</td> </tr>
<tr> <td> 4 </td> <td> asd_asd</td> <td>23</td> </tr>
<tr> <td> 5 </td> <td> asd_asd</td> <td>23</td> </tr>
- </table>
+ </table> -->
<tmpl_if cansubmit>
<h3>Submit solution</h3>
<div class="input-group">
+ <form action="https://gm.ieval.ro/action/submit" method="POST" enctype="multipart/form-data">
<input type="hidden" name="problem" value="<tmpl_var id>">
<tmpl_if_defined contest><input type="hidden" name="contest" value="<tmpl_var contest>"></tmpl_if_defined>
<label>File: <input name="prog" required type="file"></label>
- <form action="https://gm.ieval.ro/action/submit" method="POST" enctype="multipart/form-data"><textarea class="form-control" style="width: 25em; height: 25em;" placeholder="Source code"></textarea><br>
+ <textarea class="form-control"placeholder="Source code" name="source_code"></textarea><br>
<div class="input-group-btn">
<label>File format: <select name="prog_format" required>
<tmpl_loop formats><option value="<tmpl_var _>"><tmpl_var _></option>