2024-10-10
This commit is contained in:
30
web/template/sidebar/error.php
Normal file
30
web/template/sidebar/error.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
$show_title="$MSG_ERROR_INFO - $OJ_NAME";
|
||||
if(isset($OJ_MEMCACHE)) include(dirname(__FILE__)."/header.php");
|
||||
if($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");?>
|
||||
Reference in New Issue
Block a user