Files
hustoj/web/template/sidebar/error.php
2024-10-10 12:56:56 +08:00

31 lines
1.2 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?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");?>