File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 9797 if ($ OJ_BBS )echo "<a class= \"small ui red button \" href= \"discuss.php?pid= $ id \"> $ MSG_BBS </a> " ;
9898 }else {
9999 echo "<a href= \"contest.php?cid= $ cid \" class= \"ui orange button \"> $ MSG_RETURN_CONTEST </a> " ;
100- if ($ contest_is_over )
101- echo "<a id='submit' class= \"small ui primary button \" href= \"submitpage.php?id= $ id \"> $ MSG_SUBMIT </a> " ;
102- else
103- echo "<a id='submit' class= \"small ui primary button \" href= \"submitpage.php?cid= $ cid&pid= $ pid&langmask= $ langmask \"> $ MSG_SUBMIT </a> " ;
104- echo "<a class= \"small ui positive button \" href= \"status.php?problem_id= $ id \"> $ MSG_GLOBAL $ MSG_SUBMIT_RECORD </a> " ;
105- echo "<a class= \"small ui orange button \" href= \"status.php?problem_id= $ PID [$ pid ]&cid= $ cid \"> $ MSG_THIS_CONTEST $ MSG_SUBMIT_RECORD </a> " ;
100+ if ($ contest_is_over ){
101+ echo "<a id='submit' class= \"small ui primary button \" href= \"submitpage.php?id= $ id \"> $ MSG_SUBMIT </a> " ;
102+ echo "<a class= \"small ui positive button \" href= \"status.php?problem_id= $ id \"> $ MSG_GLOBAL $ MSG_SUBMIT_RECORD </a> " ;
103+ }else {
104+ echo "<a id='submit' class= \"small ui primary button \" href= \"submitpage.php?cid= $ cid&pid= $ pid&langmask= $ langmask \"> $ MSG_SUBMIT </a> " ;
105+ }
106+ echo "<a class= \"small ui orange button \" href= \"status.php?problem_id= $ PID [$ pid ]&cid= $ cid \"> $ MSG_THIS_CONTEST $ MSG_SUBMIT_RECORD </a> " ;
106107
107108 }
108109 if (!file_exists ($ OJ_DATA ."/ " .$ id ."/solution.name " )) echo "<a class='small ui primary button' href='#' onclick='transform()' role='button'> $ MSG_SHOW_OFF </a> " ;
You can’t perform that action at this time.
0 commit comments