移除多余的无用代码

This commit is contained in:
2026-04-10 16:36:57 +08:00
parent f20b7aa61c
commit addada1823
1691 changed files with 209 additions and 334971 deletions

View File

@@ -20,7 +20,7 @@ echo "Balloon Color: <font color='".$ball_color[$view_pid]."'>".$ball_name[$view
<input onclick="location.href='balloon.php?id=<?php echo $id?>&cid=<?php echo $cid?>';" type="button" value="<?php echo $MSG_PRINT_DONE?>">
<img src="image/wx.jpg" height="100px" width="100px">
<?php echo $view_map?>
<script src="<?php echo $OJ_CDN_URL?>template/bs3/jquery.min.js"></script>
<script src="<?php echo $OJ_CDN_URL?>template/syzoj/jquery.min.js"></script>
<script>
$("td:contains(<?php echo $view_user?>)").css("background-color","<?php echo $ball_color[$view_pid]?>");

View File

@@ -10,7 +10,6 @@
<link rel="stylesheet" type="text/css" href="template/<?php echo $OJ_TEMPLATE?>/scrollboard.css">
<title><?php echo $OJ_NAME?></title>
<?php
$OJ_TEMPLATE="bs3";
include("template/$OJ_TEMPLATE/css.php");?>
</head>

View File

@@ -21,7 +21,7 @@ or
</script>
-->
<script src="<?php echo $OJ_CDN_URL.$path_fix."template/bs3/"?>bootstrap.min.js"></script>
<script src="<?php echo $OJ_CDN_URL.$path_fix."template/syzoj/"?>bootstrap.min.js"></script>
<script>
$(document).ready(function(){
var msg="<marquee style='margin-top:-10px;margin-bottom:10px' id=broadcast direction='left' scrollamount=3 scrolldelay=50 onMouseOver='this.stop()'"+
@@ -57,8 +57,8 @@ $(".hint pre").each(function(){
});
console.log("If you want to change the appearance of the web pages, make a copy of bs3 under template directory.\nRename it to whatever you like, and change the $OJ_TEMPLATE value in db_info.inc.php\nAfter that modify files under your own directory .\n");
console.log("To enable mathjax in hustoj, check line 15 in /home/judge/src/web/template/bs3/js.php");
console.log("The current deployment keeps only the syzoj template. If you want another appearance, copy template/syzoj to a new directory and update $OJ_TEMPLATE in db_info.inc.php.\n");
console.log("To enable mathjax in hustoj, check this file: /home/judge/src/web/template/syzoj/js.php");
</script>

View File

@@ -692,7 +692,7 @@ if ($pr_flag) {
};
</script>
<script id="MathJax-script" async src="template/bs3/tex-chtml.js"></script>
<script id="MathJax-script" async src="template/syzoj/tex-chtml.js"></script>
<style>
.jumbotron1 {
font-size: 18px;