-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherror.php
More file actions
32 lines (28 loc) · 1.21 KB
/
error.php
File metadata and controls
32 lines (28 loc) · 1.21 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
<?php
$show_title="$MSG_ERROR_INFO - $OJ_NAME";
if(isset($OJ_MEMCACHE)) include(dirname(__FILE__)."/header.php");
if(isset($mark)&&$mark==100) {
$ui_class="positive";
$ui_icon="check";
}else{
$ui_class="negative";
$ui_icon="remove";
}
?>
<div class="ui <?php echo $ui_class?> icon message">
<i class="<?php echo $ui_icon?> icon"></i>
<div class="content">
<div class="header" style="margin-bottom: 10px; " ondblclick='$(this).load("refresh-privilege.php")'>
<?php echo $view_errors;?>
<?php if ($OJ_LANG=="cn" && isset($spj[0][0]) && $spj[0][0]!=2 ) echo "<br>如果你是管理员,希望解决这个问题,请打开
<a href='http://hustoj.com' target='_blank'>HUSTOJ常见问题</a>,按Ctrl+F查找上面错误信息中的关键词。<br>\n
如果你不是管理员,可以联系管理员$OJ_ADMIN 。";?>
</div>
<!-- <p><%= err.details %></p> -->
<p>
<!-- <a href="<%= err.nextUrls[text] %>" style="margin-right: 5px; "><%= text %></a> -->
<a href="javascript:history.go(-1)"><?php echo $MSG_BACK;?></a>
</p>
</div>
</div>
<?php include(dirname(__FILE__)."/footer.php");?>