移除多余的无用代码
This commit is contained in:
@@ -1,144 +0,0 @@
|
||||
var i = 0;
|
||||
var interval = 800;
|
||||
|
||||
function auto_refresh() {
|
||||
interval *=2 ;
|
||||
var tb = window.document.getElementById('result-tab');
|
||||
var rows = tb.rows;
|
||||
var i=rows.length-1;
|
||||
for (; i>0; i--) {
|
||||
var result = $(rows[i].cells[4].children[0]).attr("result");
|
||||
result=$(rows[i].cells[4]).find("span").attr("result");
|
||||
rows[i].cells[4].className = "td_result";
|
||||
var sid = $(rows[i].cells[0]).text();
|
||||
|
||||
if (result<4||result>14) {
|
||||
window.setTimeout("fresh_result("+sid+")",interval);
|
||||
console.log("auto_refresh "+sid+" actived!");
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(i==0){
|
||||
console.log("no more");
|
||||
$("iframe").remove(); //
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function findRow(solution_id) {
|
||||
var tb = window.document.getElementById('result-tab');
|
||||
var rows = tb.rows;
|
||||
for (var i=1; i<rows.length; i++) {
|
||||
var cell = rows[i].cells[0];
|
||||
if ($(cell).text()==solution_id)
|
||||
return rows[i];
|
||||
}
|
||||
}
|
||||
function fancy(td){
|
||||
console.log(user_id+":fancy");
|
||||
$(td).html("<div id='bannerFancy' style='position:absolute;top:0px;left:0px;width:100%' class='ui main container'></div><audio autoplay=\"autoplay\" preload=\"auto\" src=\"http://cdn.m.hustoj.com:8090/bg/ac.mp3\"></audio>");
|
||||
window.setTimeout("$(\"#bannerFancy\").html(\"<iframe border=0 src='fancy.php' width='100%' height='800px'></iframe>\");",500);
|
||||
window.setTimeout("$(\"#bannerFancy\").remove();",5000);
|
||||
}
|
||||
function fresh_result(solution_id) {
|
||||
var xmlhttp;
|
||||
if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
|
||||
xmlhttp = new XMLHttpRequest();
|
||||
}
|
||||
else {// code for IE6, IE5
|
||||
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
|
||||
}
|
||||
|
||||
xmlhttp.onreadystatechange = function() {
|
||||
if (xmlhttp.readyState==4 && xmlhttp.status==200) {
|
||||
var tb = window.document.getElementById('result-tab');
|
||||
var row = findRow(solution_id);
|
||||
//alert(row);
|
||||
var r = xmlhttp.responseText;
|
||||
var ra = r.split(",");
|
||||
ra[0] = parseInt(ra[0]);
|
||||
// alert(r);
|
||||
// alert(judge_result[r]);
|
||||
var loader = "<img width=18 src=image/loader.gif>";
|
||||
row.cells[5].innerHTML = ra[1];
|
||||
row.cells[6].innerHTML = ra[2];
|
||||
|
||||
if(ra[3] != undefined && row.cells[10] != undefined)
|
||||
row.cells[10].innerHTML = ra[3];
|
||||
|
||||
if (ra[0]<4) {
|
||||
//console.log(loader);
|
||||
if (-1==row.cells[4].innerHTML.indexOf("loader")) {
|
||||
//console.log(row.cells[3].innerHTML);
|
||||
row.cells[4].innerHTML += loader;
|
||||
}
|
||||
interval *= 1.5;
|
||||
window.setTimeout("fresh_result("+solution_id+")",interval);
|
||||
}
|
||||
else {
|
||||
//console.log(ra[0]);
|
||||
switch (ra[0]) {
|
||||
case 4:
|
||||
case 14:
|
||||
if(user_id==ra[5]){
|
||||
fancy(row.cells[4]);
|
||||
row.cells[4].innerHTML += "<a href=reinfo.php?sid="+solution_id+" class='"+judge_color[ra[0]]+"'>"+judge_result[ra[0]]+"</a>";
|
||||
}else{
|
||||
row.cells[4].innerHTML = "<a href=reinfo.php?sid="+solution_id+" class='"+judge_color[ra[0]]+"'>"+judge_result[ra[0]]+"</a>";
|
||||
}
|
||||
break;
|
||||
case 5:
|
||||
case 6:
|
||||
case 7:
|
||||
case 8:
|
||||
case 9:
|
||||
case 10:
|
||||
row.cells[4].innerHTML = "<a href=reinfo.php?sid="+solution_id+" class='"+judge_color[ra[0]]+"'>"+judge_result[ra[0]]+" :"+(oj_mark=='percent'?100-ra[4].trim():ra[4].trim())+"%</a>";
|
||||
break;
|
||||
case 11:
|
||||
row.cells[4].innerHTML = "<a href=ceinfo.php?sid="+solution_id+" class='"+judge_color[ra[0]]+"'>"+judge_result[ra[0]]+"</a>";
|
||||
break;
|
||||
default:
|
||||
// row.cells[4].innerHTML = "<span class='"+judge_color[ra[0]]+"'>"+judge_result[ra[0]]+" AC:"+ra[4].trim()+"%</span>";
|
||||
}
|
||||
$(row.cells[4].children[0]).attr("result",ra[0]);
|
||||
auto_refresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
xmlhttp.open("GET","status-ajax.php?solution_id="+solution_id,true);
|
||||
xmlhttp.send();
|
||||
}
|
||||
|
||||
var hj_ss = "<select class='http_judge form-control' length='2' name='result'>";
|
||||
|
||||
for (var i=0; i<10; i++) {
|
||||
if(i==3 || i==4 ) continue;
|
||||
hj_ss += " <option value='"+i+"'>"+judge_result[i]+" </option>";
|
||||
}
|
||||
|
||||
hj_ss += "</select>";
|
||||
hj_ss += "<input name='manual' type='hidden'>";
|
||||
hj_ss += "<input class='http_judge form-control' size=5 title='输入判定原因与提示' name='explain' type='text'>";
|
||||
hj_ss += "<input type='button' class='http_judge' name='manual' value='确定' onclick='http_judge(this)' >";
|
||||
|
||||
$(".http_judge_form").append(hj_ss);
|
||||
|
||||
window.setTimeout("auto_refresh();",1000);
|
||||
|
||||
$(".td_result").mouseover(function () {
|
||||
//$(this).children(".label").hide(300);
|
||||
$(this).find("form").show(600);
|
||||
var sid = $(this).find("span[class=original]").attr("sid");
|
||||
$(this).find("span[class=original]").load("status-ajax.php?q=user_id&solution_id="+sid);
|
||||
});
|
||||
|
||||
$(".http_judge_form").hide();
|
||||
|
||||
function http_judge(btn) {
|
||||
var sid = $(btn).parent()[0].children[0].value;
|
||||
$.post("admin/problem_judge.php",$(btn).parent().serialize(),function(data,textStatus) {
|
||||
if(textStatus=="success")window.setTimeout("fresh_result("+sid+")",1000);
|
||||
})
|
||||
return false;
|
||||
}
|
||||
@@ -1,69 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta http-equiv="refresh" content="10; url='balloon.php?cid=<?php echo $cid?>'">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME.$MSG_BALLOON?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<form style="float:left;display:inline" action="balloon.php" method="get">
|
||||
Contest ID:<input type="text" name="cid" value="<?php echo $cid?>" >
|
||||
<input type="submit" class="btn btn-primary" value="Check">
|
||||
</form>
|
||||
<div style="float:right;display:inline">
|
||||
<form style="float:left;" action="balloon.php?cid=<?php echo $cid?>" method="post" onsubmit="return confirm('Delete All Tasks?');">
|
||||
<input type="hidden" name="cid" value="<?php echo $cid?>" >
|
||||
<input type="hidden" name="clean" >
|
||||
<input type="submit" class='btn btn-danger' value="Clean">
|
||||
<?php require_once(dirname(__FILE__)."/../../include/set_post_key.php")?>
|
||||
</form>
|
||||
</div>
|
||||
<table class="table table-striped content-box-header">
|
||||
<tr><td>id<td><?php echo $MSG_USER_ID?><td><?php echo $MSG_COLOR?><td><?php echo $MSG_STATUS?><td></tr>
|
||||
<?php
|
||||
foreach($view_balloon as $row){
|
||||
echo "<tr>\n";
|
||||
foreach($row as $table_cell){
|
||||
echo "<td>";
|
||||
echo $table_cell;
|
||||
echo "</td>";
|
||||
}
|
||||
$i++;
|
||||
echo "</tr>\n";
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,34 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo htmlentities(str_replace("\n\r","\n",$view_user),ENT_QUOTES,"utf-8")?></title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Balloon Ticket</h1>
|
||||
<?php
|
||||
echo "<h2>".htmlentities(str_replace("\n\r","\n",$view_user),ENT_QUOTES,"utf-8")."\n";
|
||||
echo "-".htmlentities(str_replace("\n\r","\n",$view_school),ENT_QUOTES,"utf-8")."-".htmlentities(str_replace("\n\r","\n",$view_nick),ENT_QUOTES,"utf-8")."\n"."</h2>";
|
||||
echo "Problem ".$PID[$view_pid]."<br>";
|
||||
if(isset($_GET['fb']) && intval($_GET['fb'])==1){
|
||||
echo "Balloon Color: <font color='".$ball_color[$view_pid]."'>".$ball_name[$view_pid]." First Blood! </font><br>";
|
||||
}else{
|
||||
echo "Balloon Color: <font color='".$ball_color[$view_pid]."'>".$ball_name[$view_pid]."</font><br>";
|
||||
}
|
||||
?>
|
||||
<input onclick="window.print();" type="button" value="<?php echo $MSG_PRINTER?>">
|
||||
<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?>include/jquery-latest.js"></script>
|
||||
<script>
|
||||
$("td:contains(<?php echo $view_user?>)").css("background-color","<?php echo $ball_color[$view_pid]?>");
|
||||
|
||||
</script>
|
||||
</body>
|
||||
@@ -1,87 +0,0 @@
|
||||
.toprow{
|
||||
background-color:#79a3d5;
|
||||
white-space:nowrap;
|
||||
}
|
||||
.toprow,.navbar .navbar-nav li a,.navbar-header .navbar-brand{
|
||||
color:#999;
|
||||
}
|
||||
.dropdown-menu,.navbar-default{
|
||||
background-color:#79a3d5;
|
||||
background-image: linear-gradient(to bottom, #323a81 0px, #79a3d5 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.15) inset, 0px 1px 5px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.http_judge_form{
|
||||
white-space:nowrap;
|
||||
}
|
||||
.center{
|
||||
text-align: center
|
||||
}
|
||||
.sampledata {
|
||||
background: none repeat scroll 0 0 #ccccFF;
|
||||
font-family: Monospace;
|
||||
font-size: 18px;
|
||||
line-height:2px;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
body {
|
||||
padding: 5px;
|
||||
background-image: url(http://appserver.m.bing.net/BackgroundImageService/TodayImageService.svc/GetTodayImage?dateOffset=0&urlEncodeHeaders=true&osName=windowsPhone&osVersion=8.10&orientation=800x480&deviceName=WP8&mkt=en-US);
|
||||
background-attachment: fixed;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
opacity: 0.9;
|
||||
|
||||
}
|
||||
.navbar{
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
padding: 0 auto;
|
||||
top: 0;
|
||||
left: 0;
|
||||
-moz-opacity: 0.9;
|
||||
-khtml-opacity: 0.9;
|
||||
opacity: 0.9;
|
||||
z-index: 9999;
|
||||
color:#999;
|
||||
border: 0px solid #000;
|
||||
}
|
||||
/* funny color*/
|
||||
|
||||
.dropdown-menu,.navbar-default{
|
||||
color:#999;
|
||||
background-color:#000000;
|
||||
background-image: linear-gradient(to bottom, #000000 0px, #000000 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.15) inset, 0px 1px 5px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.btn-warning{
|
||||
background-color:#ff8000;
|
||||
}
|
||||
.btn-success{
|
||||
background-color:#33cc99;
|
||||
}
|
||||
.panel-default{
|
||||
padding: 5px;
|
||||
background-image: url(../../image/background.jpg);
|
||||
border: 1px solid #eee;
|
||||
margin-top:50px;
|
||||
}
|
||||
|
||||
.jumbotron{
|
||||
color:#000;
|
||||
background-color:#ddd;
|
||||
margin-top:50px;
|
||||
}
|
||||
.btn-danger{
|
||||
background-color:#d3406d;
|
||||
}
|
||||
.toprow{
|
||||
color:#999;
|
||||
background-color:#000000;
|
||||
white-space:nowrap;
|
||||
}
|
||||
|
||||
@@ -1,75 +0,0 @@
|
||||
.toprow{
|
||||
background-color:#79a3d5;
|
||||
white-space:nowrap;
|
||||
}
|
||||
.toprow,.navbar .navbar-nav li a,.navbar-header .navbar-brand{
|
||||
color:#999;
|
||||
}
|
||||
.dropdown-menu,.navbar-default{
|
||||
background-color:#79a3d5;
|
||||
background-image: linear-gradient(to bottom, #323a81 0px, #79a3d5 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.15) inset, 0px 1px 5px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.http_judge_form{
|
||||
white-space:nowrap;
|
||||
}
|
||||
.center{
|
||||
text-align: center
|
||||
}
|
||||
.sampledata {
|
||||
background: none repeat scroll 0 0 #ccccFF;
|
||||
font-family: Monospace;
|
||||
font-size: 18px;
|
||||
line-height:2px;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
.navbar{
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
padding: 0 auto;
|
||||
top: 0;
|
||||
left: 0;
|
||||
-moz-opacity: 0.9;
|
||||
-khtml-opacity: 0.9;
|
||||
opacity: 0.9;
|
||||
z-index: 9999;
|
||||
color:#999;
|
||||
}
|
||||
/* funny color*/
|
||||
|
||||
.dropdown-menu,.navbar-default{
|
||||
color:#999;
|
||||
background-color:#000000;
|
||||
background-image: linear-gradient(to bottom, #000000 0px, #000000 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.15) inset, 0px 1px 5px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.btn-warning{
|
||||
background-color:#ff8000;
|
||||
}
|
||||
.btn-success{
|
||||
background-color:#33cc99;
|
||||
}
|
||||
.panel-default{
|
||||
padding: 5px;
|
||||
background-image: url(../../image/background.jpg);
|
||||
border: 1px solid #eee;
|
||||
margin-top:50px;
|
||||
}
|
||||
|
||||
.jumbotron{
|
||||
background-color:#efefef;
|
||||
margin-top:50px;
|
||||
}
|
||||
.btn-danger{
|
||||
background-color:#d3406d;
|
||||
}
|
||||
a,.label,.toprow{
|
||||
color:#999;
|
||||
background-color:#000000;
|
||||
white-space:nowrap;
|
||||
}
|
||||
@@ -1,63 +0,0 @@
|
||||
.toprow{
|
||||
background-color:#79a3d5;
|
||||
white-space:nowrap;
|
||||
}
|
||||
.toprow,.navbar .navbar-nav li a,.navbar-header .navbar-brand{
|
||||
color:#fff;
|
||||
}
|
||||
.dropdown-menu,.navbar-default{
|
||||
background-color:#79a3d5;
|
||||
background-image: linear-gradient(to bottom, #323a81 0px, #79a3d5 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.15) inset, 0px 1px 5px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.http_judge_form{
|
||||
white-space:nowrap;
|
||||
}
|
||||
.center{
|
||||
text-align: center
|
||||
}
|
||||
.panel-default{
|
||||
padding: 5px;
|
||||
background-image: url(../../image/background.jpg);
|
||||
border: 1px solid #eee;
|
||||
margin-top:50px;
|
||||
}
|
||||
|
||||
.container .jumbotron{
|
||||
padding: 5px;
|
||||
background-image: url(../../image/background.jpg);
|
||||
border: 1px solid #eee;
|
||||
margin-top:50px;
|
||||
}
|
||||
.sampledata {
|
||||
background: none repeat scroll 0 0 #ccccFF;
|
||||
font-family: Monospace;
|
||||
font-size: 18px;
|
||||
line-height:2px;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
.navbar{
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
padding: 0 auto;
|
||||
top: 0;
|
||||
left: 0;
|
||||
-moz-opacity: 0.9;
|
||||
-khtml-opacity: 0.9;
|
||||
opacity: 0.9;
|
||||
z-index: 9999;
|
||||
color:#999;
|
||||
}
|
||||
.red{
|
||||
color:red;
|
||||
}
|
||||
.green{
|
||||
color:green;
|
||||
}
|
||||
.blue{
|
||||
color:blue;
|
||||
}
|
||||
/* funny color*/
|
||||
5
web/template/bs3/bootstrap-theme.min.css
vendored
5
web/template/bs3/bootstrap-theme.min.css
vendored
File diff suppressed because one or more lines are too long
5
web/template/bs3/bootstrap.min.css
vendored
5
web/template/bs3/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
7
web/template/bs3/bootstrap.min.js
vendored
7
web/template/bs3/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,48 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<div class='panel panel-default'>
|
||||
<div class='panel-heading'>
|
||||
<h4>
|
||||
<?php echo $MSG_SOURCE?>
|
||||
</h4>
|
||||
</div>
|
||||
<div class='panel-body content'>
|
||||
<?php echo $view_category?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,228 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
<link href='<?php echo $OJ_CDN_URL?>highlight/styles/shCore.css' rel='stylesheet' type='text/css'/>
|
||||
<link href='<?php echo $OJ_CDN_URL?>highlight/styles/shThemeDefault.css' rel='stylesheet' type='text/css'/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<div class="brush:c" id='source' name="source"></div>
|
||||
<pre class="brush:c;" id='errtxt' ><?php echo $view_reinfo?></pre>
|
||||
<div id='errexp'><!--Explain:--></div>
|
||||
|
||||
<script>
|
||||
var i=0;
|
||||
var pats=new Array();
|
||||
var exps=new Array();
|
||||
pats[i]=/System\.out\.print.*%.*/;
|
||||
exps[i++]="<?php echo $MSG_SYSTEM_OUT_PRINT; ?>";
|
||||
pats[i]=/.*没有那个文件或目录.*/;
|
||||
exps[i++]="<?php echo $MSG_NO_SUCH_FILE_OR_DIRECTORY; ?>";
|
||||
pats[i]=/not a statement/;
|
||||
exps[i++]="<?php echo $MSG_NOT_A_STATEMENT; ?>";
|
||||
pats[i]=/class, interface, or enum expected/;
|
||||
exps[i++]="<?php echo $MSG_EXPECTED_CLASS_INTERFACE_ENUM; ?>";
|
||||
pats[i]=/asm.*java/;
|
||||
exps[i++]="<?php echo $MSG_SUBMIT_JAVA_AS_C_LANG; ?>";
|
||||
pats[i]=/package .* does not exist/;
|
||||
exps[i++]="<?php echo $MSG_DOES_NOT_EXIST_PACKAGE; ?>";
|
||||
pats[i]=/possible loss of precision/;
|
||||
exps[i++]="<?php echo $MSG_POSSIBLE_LOSS_OF_PRECISION; ?>";
|
||||
pats[i]=/incompatible types/;
|
||||
exps[i++]="<?php echo $MSG_INCOMPATIBLE_TYPES; ?>";
|
||||
pats[i]=/illegal start of expression/;
|
||||
exps[i++]="<?php echo $MSG_ILLEGAL_START_OF_EXPRESSION; ?>";
|
||||
pats[i]=/cannot find symbol/;
|
||||
exps[i++]="<?php echo $MSG_CANNOT_FIND_SYMBOL; ?>";
|
||||
pats[i]=/';' expected/;
|
||||
exps[i++]="<?php echo $MSG_EXPECTED_SEMICOLON; ?>";
|
||||
pats[i]=/should be declared in a file named/;
|
||||
exps[i++]="<?php echo $MSG_DECLARED_JAVA_FILE_NAMED; ?>";
|
||||
pats[i]=/expected ‘.*’ at end of input/;
|
||||
exps[i++]="<?php echo $MSG_EXPECTED_WILDCARD_CHARACTER_AT_END_OF_INPUT; ?>";
|
||||
pats[i]=/invalid conversion from ‘.*’ to ‘.*’/;
|
||||
exps[i++]="<?php echo $MSG_INVALID_CONVERSION; ?>";
|
||||
pats[i]=/warning.*declaration of 'main' with no type/;
|
||||
exps[i++]="<?php echo $MSG_NO_RETURN_TYPE_IN_MAIN; ?>";
|
||||
pats[i]=/'.*' was not declared in this scope/;
|
||||
exps[i++]="<?php echo $MSG_NOT_DECLARED_IN_SCOPE; ?>";
|
||||
pats[i]=/main’ must return ‘int’/;
|
||||
exps[i++]="<?php echo $MSG_MAIN_MUST_RETURN_INT; ?>";
|
||||
pats[i]=/expected identifier or '\(' before numeric constant/
|
||||
exps[i++]="<?php echo $MSG_EXPECTED_IDENTIFIER; ?>";
|
||||
pats[i]=/printf.*was not declared in this scope/;
|
||||
exps[i++]="<?php echo $MSG_PRINTF_NOT_DECLARED_IN_SCOPE; ?>";
|
||||
pats[i]=/warning: ignoring return value of/;
|
||||
exps[i++]="<?php echo $MSG_IGNOREING_RETURN_VALUE; ?>";
|
||||
pats[i]=/:.*__int64’ undeclared/;
|
||||
exps[i++]="<?php echo $MSG_NOT_DECLARED_INT64; ?>";
|
||||
pats[i]=/:.*expected ‘;’ before/;
|
||||
exps[i++]="<?php echo $MSG_EXPECTED_SEMICOLON_BEFORE; ?>";
|
||||
pats[i]=/ .* undeclared \(first use in this function\)/;
|
||||
exps[i++]="<?php echo $MSG_UNDECLARED_NAME; ?>";
|
||||
pats[i]=/scanf.*was not declared in this scope/;
|
||||
exps[i++]="<?php echo $MSG_SCANF_NOT_DECLARED_IN_SCOPE; ?>";
|
||||
pats[i]=/memset.*was not declared in this scope/;
|
||||
exps[i++]="<?php echo $MSG_MEMSET_NOT_DECLARED_IN_SCOPE; ?>";
|
||||
pats[i]=/malloc.*was not declared in this scope/;
|
||||
exps[i++]="<?php echo $MSG_MALLOC_NOT_DECLARED_IN_SCOPE; ?>";
|
||||
pats[i]=/puts.*was not declared in this scope/;
|
||||
exps[i++]="<?php echo $MSG_PUTS_NOT_DECLARED_IN_SCOPE; ?>";
|
||||
pats[i]=/gets.*was not declared in this scope/;
|
||||
exps[i++]="<?php echo $MSG_GETS_NOT_DECLARED_IN_SCOPE; ?>";
|
||||
pats[i]=/str.*was not declared in this scope/;
|
||||
exps[i++]="<?php echo $MSG_STRING_NOT_DECLARED_IN_SCOPE; ?>";
|
||||
pats[i]=/‘import’ does not name a type/;
|
||||
exps[i++]="<?php echo $MSG_NO_TYPE_IMPORT_IN_C_CPP; ?>";
|
||||
pats[i]=/asm’ undeclared/;
|
||||
exps[i++]="<?php echo $MSG_ASM_UNDECLARED; ?>";
|
||||
pats[i]=/redefinition of/;
|
||||
exps[i++]="<?php echo $MSG_REDEFINITION_OF; ?>";
|
||||
pats[i]=/expected declaration or statement at end of input/;
|
||||
exps[i++]="<?php echo $MSG_EXPECTED_DECLARATION_OR_STATEMENT; ?>";
|
||||
pats[i]=/warning: unused variable/;
|
||||
exps[i++]="<?php echo $MSG_UNUSED_VARIABLE; ?>";
|
||||
pats[i]=/implicit declaration of function/;
|
||||
exps[i++]="<?php echo $MSG_IMPLICIT_DECLARTION_OF_FUNCTION; ?>";
|
||||
pats[i]=/too .* arguments to function/;
|
||||
exps[i++]="<?php echo $MSG_ARGUMENTS_ERROR_IN_FUNCTION; ?>";
|
||||
pats[i]=/expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘namespace’/;
|
||||
exps[i++]="<?php echo $MSG_EXPECTED_BEFORE_NAMESPACE; ?>";
|
||||
pats[i]=/stray ‘\\[0123456789]*’ in program/;
|
||||
exps[i++]="<?php echo $MSG_STRAY_PROGRAM; ?>";
|
||||
pats[i]=/division by zero/;
|
||||
exps[i++]="<?php echo $MSG_DIVISION_BY_ZERO; ?>";
|
||||
pats[i]=/cannot be used as a function/;
|
||||
exps[i++]="<?php echo $MSG_CANNOT_BE_USED_AS_A_FUNCTION; ?>";
|
||||
pats[i]=/format .* expects type .* but argument .* has type .*/;
|
||||
exps[i++]="<?php echo $MSG_CANNOT_FIND_TYPE; ?>";
|
||||
pats[i]=/类.*是公共的,应在名为 .*java 的文件中声明/;
|
||||
exps[i++]="<?php echo $MSG_JAVA_CLASS_ERROR; ?>";
|
||||
pats[i]=/expected ‘\)’ before ‘.*’ token/;
|
||||
exps[i++]="<?php echo $MSG_EXPECTED_BRACKETS_TOKEN; ?>";
|
||||
pats[i]=/找不到符号/;
|
||||
exps[i++]="<?php echo $MSG_NOT_FOUND_SYMBOL; ?>";
|
||||
pats[i]=/需要为 class、interface 或 enum/;
|
||||
exps[i++]="<?php echo $MSG_NEED_CLASS_INTERFACE_ENUM; ?>";
|
||||
pats[i]=/符号: 类 .*List/;
|
||||
exps[i++]="<?php echo $MSG_CLASS_SYMBOL_ERROR; ?>";
|
||||
pats[i]=/方法声明无效;需要返回类型/;
|
||||
exps[i++]="<?php echo $MSG_INVALID_METHOD_DECLARATION; ?>";
|
||||
pats[i]=/expected.*before.*&.*token/;
|
||||
exps[i++]="<?php echo $MSG_EXPECTED_AMPERSAND_TOKEN; ?>";
|
||||
pats[i]=/非法的表达式开始/;
|
||||
exps[i++]="<?php echo $MSG_DECLARED_FUNCTION_ORDER; ?>";
|
||||
pats[i]=/需要 ';'/;
|
||||
exps[i++]="<?php echo $MSG_NEED_SEMICOLON; ?>";
|
||||
pats[i]=/extra tokens at end of #include directive/;
|
||||
exps[i++]="<?php echo $MSG_EXTRA_TOKEN_AT_END_OF_INCLUDE; ?>";
|
||||
pats[i]=/int.*hasNext/;
|
||||
exps[i++]="<?php echo $MSG_INT_HAS_NEXT; ?>";
|
||||
pats[i]=/unterminated comment/;
|
||||
exps[i++]="<?php echo $MSG_UNTERMINATED_COMMENT; ?>";
|
||||
pats[i]=/expected '=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token/;
|
||||
exps[i++]="<?php echo $MSG_EXPECTED_BRACES_TOKEN; ?>";
|
||||
pats[i]=/进行语法解析时已到达文件结尾/;
|
||||
exps[i++]="<?php echo $MSG_REACHED_END_OF_FILE_1; ?>";
|
||||
pats[i]=/subscripted value is neither array nor pointer/;
|
||||
exps[i++]="<?php echo $MSG_SUBSCRIPT_ERROR; ?>";
|
||||
pats[i]=/expected expression before ‘%’ token/;
|
||||
exps[i++]="<?php echo $MSG_EXPECTED_PERCENT_TOKEN; ?>";
|
||||
pats[i]=/expected expression before ‘.*’ token/;
|
||||
exps[i++]="<?php echo $MSG_EXPECTED_EXPRESSION_TOKEN; ?>";
|
||||
pats[i]=/expected but/;
|
||||
exps[i++]="<?php echo $MSG_EXPECTED_BUT; ?>";
|
||||
pats[i]=/redefinition of ‘main’/;
|
||||
exps[i++]="<?php echo $MSG_REDEFINITION_MAIN; ?>";
|
||||
pats[i]=/iostream: No such file or directory/;
|
||||
exps[i++]="<?php echo $MSG_IOSTREAM_ERROR; ?>";
|
||||
pats[i]=/expected unqualified-id before ‘\[’ token/;
|
||||
exps[i++]="<?php echo $MSG_EXPECTED_UNQUALIFIED_ID_TOKEN; ?>";
|
||||
pats[i]=/解析时已到达文件结尾/;
|
||||
exps[i++]="<?php echo $MSG_REACHED_END_OF_FILE_2; ?>";
|
||||
pats[i]=/非法字符/;
|
||||
exps[i++]="<?php echo $MSG_INVALID_SYMBOL; ?>";
|
||||
pats[i]=/应在名为.*的文件中声明/;
|
||||
exps[i++]="<?php echo $MSG_DECLARED_FILE_NAMED; ?>";
|
||||
pats[i]=/variably modified/;
|
||||
exps[i++]="<?php echo $MSG_VARIABLY_MODIFIED; ?>";
|
||||
pats[i]=/gets' was not declared in this scope/;
|
||||
exps[i++]="<?php echo $MSG_FUNCTION_GETS_REMOVIED; ?>";
|
||||
pats[i]=/redefinition of/;
|
||||
exps[i++]="重复定义了函数,有些题目要求不提交main函数,提交前请进行确认。";
|
||||
|
||||
|
||||
function explain(){
|
||||
var errmsg=$("#errtxt").text();
|
||||
var expmsg="<?php echo $MSG_ERROR_EXPLAIN; ?>:<br><hr>";
|
||||
for(var i=0;i<pats.length;i++){
|
||||
var pat=pats[i];
|
||||
var exp=exps[i];
|
||||
var ret=pat.exec(errmsg);
|
||||
if(ret){
|
||||
expmsg+=ret+" : "+exp+"<br><hr>";
|
||||
}
|
||||
}
|
||||
document.getElementById("errexp").innerHTML=expmsg;
|
||||
}
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shCore.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushCpp.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushCss.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushJava.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushDelphi.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushRuby.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushBash.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushPython.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushPhp.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushPerl.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushCSharp.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushVb.js' type='text/javascript'></script>
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$("#source").load("showsource2.php?id=<?php echo $id?>",function(response,status,xhr){
|
||||
|
||||
if(status=="success"){
|
||||
SyntaxHighlighter.config.bloggerMode = false;
|
||||
SyntaxHighlighter.config.clipboardSwf = 'highlight/scripts/clipboard.swf';
|
||||
SyntaxHighlighter.highlight();
|
||||
explain();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,145 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
<link type="text/css" rel="stylesheet" href="mergely/codemirror.css" />
|
||||
<link type="text/css" rel="stylesheet" href="mergely/mergely.css" />
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
|
||||
|
||||
<!-- Requires jQuery -->
|
||||
<body style="width: 100%;">
|
||||
<table style="width: 100%;"><tr>
|
||||
<td style="width: 50%;"><input type="checkbox" id="ignorews">ignore witespaces</td>
|
||||
</tr></table>
|
||||
<br/>
|
||||
|
||||
<table style="width: 100%;"><tr>
|
||||
<td style="width: 50%;"><tt id="path-lhs"></tt> <a id="save-lhs" class="save-link" href="#">save</a></td>
|
||||
<td style="width: 50%;"><tt id="path-rhs"></tt> <a id="save-rhs" class="save-link" href="#">save</a></td>
|
||||
</tr></table>
|
||||
|
||||
<div id="mergely-resizer" style="height: 450px;">
|
||||
<div id="compare">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
|
||||
<!-- Requires CodeMirror 2.16 -->
|
||||
<script type="text/javascript" src="mergely/codemirror.js"></script>
|
||||
|
||||
<!-- Requires Mergely -->
|
||||
<script type="text/javascript" src="mergely/mergely.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
$('#compare').mergely({
|
||||
width: 'auto',
|
||||
height: 'auto', // containing div must be given a height
|
||||
cmsettings: { readOnly: false },
|
||||
});
|
||||
var lhs_url = 'getsource.php?id=<?php echo intval($_GET['left'])?>';
|
||||
var rhs_url = 'getsource.php?id=<?php echo intval($_GET['right'])?>';
|
||||
$.ajax({
|
||||
type: 'GET', async: true, dataType: 'text',
|
||||
url: lhs_url,
|
||||
success: function (response) {
|
||||
$('#path-lhs').text(lhs_url);
|
||||
$('#compare').mergely('lhs', response);
|
||||
}
|
||||
});
|
||||
$.ajax({
|
||||
type: 'GET', async: true, dataType: 'text',
|
||||
url: rhs_url,
|
||||
success: function (response) {
|
||||
$('#path-rhs').text(rhs_url);
|
||||
$('#compare').mergely('rhs', response);
|
||||
}
|
||||
});
|
||||
|
||||
function checkFileList(files) {
|
||||
if (typeof window.FileReader !== 'function')
|
||||
error_msg("The file API isn't supported on this browser yet.");
|
||||
|
||||
if (files.length>0) readFile(files[0], "lhs");
|
||||
if (files.length>1) readFile(files[1], "rhs");
|
||||
}
|
||||
|
||||
function readFile(file, side) {
|
||||
var reader = new FileReader();
|
||||
reader.onload = function file_onload() {
|
||||
// document.getElementById('td1').innerHTML = ..
|
||||
$('#path-'+side).text(file.name);
|
||||
$('#compare').mergely(side, reader.result);
|
||||
}
|
||||
reader.readAsBinaryString(file);
|
||||
|
||||
}
|
||||
function handleDragOver(evt) {
|
||||
evt.stopPropagation();
|
||||
evt.preventDefault();
|
||||
evt.dataTransfer.dropEffect = 'copy'; // Explicitly show this is a copy.
|
||||
}
|
||||
function handleFileSelect(evt) {
|
||||
document.getElementById('drop_zone').visibility = "collapse";
|
||||
evt.stopPropagation();
|
||||
evt.preventDefault();
|
||||
var files = evt.dataTransfer.files; // FileList object.
|
||||
checkFileList(files);
|
||||
}
|
||||
var dropZone = document.getElementById('drop_zone');
|
||||
document.body.addEventListener('dragover', handleDragOver, false);
|
||||
document.body.addEventListener('drop', handleFileSelect, false);
|
||||
|
||||
function download_content(a, side) {
|
||||
//a.innerHTML = "preparing content..";
|
||||
var txt = $('#compare').mergely('get', side);
|
||||
var datauri = "data:plain/text;charset=UTF-8," + encodeURIComponent(txt);
|
||||
a.setAttribute('download', side+".txt");
|
||||
a.setAttribute('href', datauri);
|
||||
//a.innerHTML = "content ready.";
|
||||
}
|
||||
document.getElementById('save-lhs').addEventListener('mouseover', function() { download_content(this, "lhs"); }, false);
|
||||
document.getElementById('save-rhs').addEventListener('mouseover', function() { download_content(this, "lhs"); }, false);
|
||||
document.getElementById('ignorews').addEventListener('change', function() {
|
||||
$('#compare').mergely('options', { ignorews: this.checked });
|
||||
}, false);
|
||||
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,169 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title>
|
||||
<?php echo $OJ_NAME?>
|
||||
</title>
|
||||
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<center>
|
||||
<div>
|
||||
<h3><?php echo $MSG_CONTEST_ID?> : <?php echo $view_cid?></h3> <br><h2> <?php echo $view_title ?></h2>
|
||||
<p>
|
||||
<?php echo $view_description?><br>
|
||||
-- <?php echo $view_contest_creator?>
|
||||
</p>
|
||||
<br>
|
||||
<?php echo $MSG_SERVER_TIME?> : <span id=nowdate > <?php echo date("Y-m-d H:i:s")?></span>
|
||||
<br>
|
||||
|
||||
<?php if (isset($OJ_RANK_LOCK_PERCENT)&&$OJ_RANK_LOCK_PERCENT!=0) { ?>
|
||||
Lock Board Time: <?php echo date("Y-m-d H:i:s", $view_lock_time) ?><br/>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($now>$end_time) {
|
||||
echo "<span class=text-muted>$MSG_Ended</span>";
|
||||
}
|
||||
else if ($now<$start_time) {
|
||||
echo "<span class=text-success>$MSG_Start </span>";
|
||||
echo "<span class=text-success>$MSG_TotalTime</span>"." ".formatTimeLength($end_time-$start_time);
|
||||
}
|
||||
else {
|
||||
echo "<span class=text-danger>$MSG_Running</span> ";
|
||||
echo "<span class=text-danger>$MSG_LeftTime</span>"." ".formatTimeLength($end_time-$now);
|
||||
}
|
||||
?>
|
||||
|
||||
<br><br>
|
||||
|
||||
<?php echo $MSG_CONTEST_STATUS?> :
|
||||
|
||||
<?php
|
||||
if ($now>$end_time)
|
||||
echo "<span class=text-muted>".$MSG_End."</span>";
|
||||
else if ($now<$start_time)
|
||||
echo "<span class=text-success>".$MSG_Start."</span>";
|
||||
else
|
||||
echo "<span class=text-danger>".$MSG_Running."</span>";
|
||||
?>
|
||||
|
||||
|
||||
<?php echo $MSG_CONTEST_OPEN?> :
|
||||
|
||||
<?php if ($view_private=='0')
|
||||
echo "<span class=text-primary>".$MSG_Public."</span>";
|
||||
else
|
||||
echo "<span class=text-danger>".$MSG_Private."</span>";
|
||||
?>
|
||||
|
||||
<br>
|
||||
|
||||
<?php echo $MSG_START_TIME?> : <?php echo $view_start_time?>
|
||||
<br>
|
||||
<?php echo $MSG_END_TIME?> : <?php echo $view_end_time?>
|
||||
<br><br>
|
||||
|
||||
<div class="btn-group">
|
||||
<a href="contest.php?cid=<?php echo $cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_PROBLEMS?></a>
|
||||
<a href="status.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_STATUS?></a>
|
||||
<a href="contestrank.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_STANDING?></a>
|
||||
<a href="contestrank-oi.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo "OI".$MSG_STANDING?></a>
|
||||
<a href="conteststatistics.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_STATISTICS?></a>
|
||||
<?php if(isset($_SESSION[$OJ_NAME.'_'.'administrator']) || isset($_SESSION[$OJ_NAME.'_'.'contest_creator'])) {?>
|
||||
<a href="suspect_list.php?cid=<?php echo $view_cid?>" class="btn btn-warning btn-sm"><?php echo $MSG_IP_VERIFICATION?></a>
|
||||
<a href="user_set_ip.php?cid=<?php echo $view_cid?>" class="btn btn-success btn-sm"><?php echo $MSG_SET_LOGIN_IP?></a>
|
||||
<a target="_blank" href="../../admin/contest_edit.php?cid=<?php echo $view_cid?>" class="btn btn-success btn-sm"><?php echo "EDIT"?></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<table id='problemset' class='table table-striped' width='90%'>
|
||||
<thead>
|
||||
<tr align=center class='toprow'>
|
||||
<td></td>
|
||||
<td style="cursor:hand" onclick="sortTable('problemset', 1, 'int');" ><?php echo $MSG_PROBLEM_ID?></td>
|
||||
<td><?php echo $MSG_TITLE?></td>
|
||||
<!-- <td><?php echo $MSG_SOURCE?></td> -->
|
||||
<td style="cursor:hand" onclick="sortTable('problemset', 4, 'int');"><?php echo $MSG_SOVLED?></td>
|
||||
<td style="cursor:hand" onclick="sortTable('problemset', 5, 'int');"><?php echo $MSG_SUBMIT?></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody align='center'>
|
||||
<?php
|
||||
$cnt=0;
|
||||
foreach ($view_problemset as $row) {
|
||||
if ($cnt)
|
||||
echo "<tr class='oddrow'>";
|
||||
else
|
||||
echo "<tr class='evenrow'>";
|
||||
|
||||
foreach ($row as $table_cell) {
|
||||
echo "<td>";
|
||||
echo "\t".$table_cell;
|
||||
echo "</td>";
|
||||
}
|
||||
echo "</tr>";
|
||||
$cnt=1-$cnt;
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- /container -->
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
|
||||
<script src="<?php echo $OJ_CDN_URL?>include/sortTable.js"></script>
|
||||
|
||||
<script>
|
||||
var diff = new Date("<?php echo date("Y/m/d H:i:s")?>").getTime()-new Date().getTime();
|
||||
//alert(diff);
|
||||
function clock() {
|
||||
var x,h,m,s,n,xingqi,y,mon,d;
|
||||
var x = new Date(new Date().getTime()+diff);
|
||||
y = x.getYear()+1900;
|
||||
|
||||
if (y>3000)
|
||||
y -= 1900;
|
||||
|
||||
mon = x.getMonth()+1;
|
||||
d = x.getDate();
|
||||
xingqi = x.getDay();
|
||||
h = x.getHours();
|
||||
m = x.getMinutes();
|
||||
s = x.getSeconds();
|
||||
n = y+"-"+(mon>=10?mon:"0"+mon)+"-"+(d>=10?d:"0"+d)+" "+(h>=10?h:"0"+h)+":"+(m>=10?m:"0"+m)+":"+(s>=10?s:"0"+s);
|
||||
|
||||
//alert(n);
|
||||
document.getElementById('nowdate').innerHTML = n;
|
||||
setTimeout("clock()",1000);
|
||||
}
|
||||
clock();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,508 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title>
|
||||
<?php echo $OJ_NAME?>
|
||||
</title>
|
||||
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<?php
|
||||
function formatTimeLength($length) {
|
||||
$hour = 0;
|
||||
$minute = 0;
|
||||
$second = 0;
|
||||
$result = '';
|
||||
|
||||
global $MSG_SECONDS, $MSG_MINUTES, $MSG_HOURS, $MSG_DAYS;
|
||||
|
||||
if ($length>=60) {
|
||||
$second = $length%60;
|
||||
|
||||
if ($second>0 && $second<10) {
|
||||
$result = '0'.$second.' '.$MSG_SECONDS;}
|
||||
else if ($second>0) {
|
||||
$result = $second.' '.$MSG_SECONDS;
|
||||
}
|
||||
|
||||
$length = floor($length/60);
|
||||
if ($length >= 60) {
|
||||
$minute = $length%60;
|
||||
|
||||
if ($minute==0) {
|
||||
if ($result != '') {
|
||||
$result = '00'.' '.$MSG_MINUTES.' '.$result;
|
||||
}
|
||||
}
|
||||
else if ($minute>0 && $minute<10) {
|
||||
if ($result != '') {
|
||||
$result = '0'.$minute.' '.$MSG_MINUTES.' '.$result;}
|
||||
}
|
||||
else {
|
||||
$result = $minute.' '.$MSG_MINUTES.' '.$result;
|
||||
}
|
||||
|
||||
$length = floor($length/60);
|
||||
|
||||
if ($length >= 24) {
|
||||
$hour = $length%24;
|
||||
|
||||
if ($hour==0) {
|
||||
if ($result != '') {
|
||||
$result = '00'.' '.$MSG_HOURS.' '.$result;
|
||||
}
|
||||
}
|
||||
else if ($hour>0 && $hour<10) {
|
||||
if($result != '') {
|
||||
$result = '0'.$hour.' '.$MSG_HOURS.' '.$result;
|
||||
}
|
||||
}
|
||||
else {
|
||||
$result = $hour.' '.$MSG_HOURS.' '.$result;
|
||||
}
|
||||
|
||||
$length = floor($length / 24);
|
||||
$result = $length .$MSG_DAYS.' '.$result;
|
||||
}
|
||||
else {
|
||||
$result = $length.' '.$MSG_HOURS.' '.$result;
|
||||
}
|
||||
}
|
||||
else {
|
||||
$result = $length.' '.$MSG_MINUTES.' '.$result;
|
||||
}
|
||||
}
|
||||
else {
|
||||
$result = $length.' '.$MSG_SECONDS;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
?>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
|
||||
<?php
|
||||
if (isset($_GET['cid'])) {
|
||||
$cid = intval($_GET['cid']);
|
||||
$view_cid = $cid;
|
||||
//print $cid;
|
||||
|
||||
//check contest valid
|
||||
$sql = "SELECT * FROM `contest` WHERE `contest_id`=?";
|
||||
$result = pdo_query($sql,$cid);
|
||||
|
||||
$rows_cnt = count($result);
|
||||
$contest_ok = true;
|
||||
$password = "";
|
||||
|
||||
if (isset($_POST['password']))
|
||||
$password = $_POST['password'];
|
||||
|
||||
if (false) {
|
||||
$password = stripslashes($password);
|
||||
}
|
||||
|
||||
if ($rows_cnt==0) {
|
||||
$view_title = "比赛已经关闭!";
|
||||
}
|
||||
else{
|
||||
$row = $result[0];
|
||||
$view_private = $row['private'];
|
||||
|
||||
if ($password!="" && $password==$row['password'])
|
||||
$_SESSION[$OJ_NAME.'_'.'c'.$cid] = true;
|
||||
|
||||
if ($row['private'] && !isset($_SESSION[$OJ_NAME.'_'.'c'.$cid]))
|
||||
$contest_ok = false;
|
||||
|
||||
if($row['defunct']=='Y')
|
||||
$contest_ok = false;
|
||||
|
||||
if (isset($_SESSION[$OJ_NAME.'_'.'administrator']))
|
||||
$contest_ok = true;
|
||||
|
||||
$now = time();
|
||||
$start_time = strtotime($row['start_time']);
|
||||
$end_time = strtotime($row['end_time']);
|
||||
$view_description = $row['description'];
|
||||
$view_title = $row['title'];
|
||||
$view_start_time = $row['start_time'];
|
||||
$view_end_time = $row['end_time'];
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if (isset($_GET['cid'])) {?>
|
||||
<center>
|
||||
<div>
|
||||
<h3><?php echo $MSG_CONTEST_ID?> : <?php echo $view_cid?> - <?php echo $view_title ?></h3>
|
||||
<p>
|
||||
<?php echo $view_description?>
|
||||
</p>
|
||||
<br>
|
||||
<?php echo $MSG_SERVER_TIME?> : <span id=nowdate > <?php echo date("Y-m-d H:i:s")?></span>
|
||||
<br>
|
||||
|
||||
<?php if (isset($OJ_RANK_LOCK_PERCENT)&&$OJ_RANK_LOCK_PERCENT!=0) { ?>
|
||||
Lock Board Time: <?php echo date("Y-m-d H:i:s", $view_lock_time) ?><br/>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($now>$end_time) {
|
||||
echo "<span class=text-muted>$MSG_Ended</span>";
|
||||
}
|
||||
else if ($now<$start_time) {
|
||||
echo "<span class=text-success>$MSG_Start </span>";
|
||||
echo "<span class=text-success>$MSG_TotalTime</span>"." ".formatTimeLength($end_time-$start_time);
|
||||
}
|
||||
else {
|
||||
echo "<span class=text-danger>$MSG_Running</span> ";
|
||||
echo "<span class=text-danger>$MSG_LeftTime</span>"." ".formatTimeLength($end_time-$now);
|
||||
}
|
||||
?>
|
||||
|
||||
<br><br>
|
||||
|
||||
<?php echo $MSG_CONTEST_STATUS?> :
|
||||
|
||||
<?php
|
||||
if ($now>$end_time)
|
||||
echo "<span class=text-muted>".$MSG_End."</span>";
|
||||
else if ($now<$start_time)
|
||||
echo "<span class=text-success>".$MSG_Start."</span>";
|
||||
else
|
||||
echo "<span class=text-danger>".$MSG_Running."</span>";
|
||||
?>
|
||||
|
||||
|
||||
<?php echo $MSG_CONTEST_OPEN?> :
|
||||
|
||||
<?php if ($view_private=='0')
|
||||
echo "<span class=text-primary>".$MSG_Public."</span>";
|
||||
else
|
||||
echo "<span class=text-danger>".$MSG_Private."</span>";
|
||||
?>
|
||||
|
||||
<br>
|
||||
|
||||
<?php echo $MSG_START_TIME?> : <?php echo $view_start_time?>
|
||||
<br>
|
||||
<?php echo $MSG_END_TIME?> : <?php echo $view_end_time?>
|
||||
<br><br>
|
||||
|
||||
<div class="btn-group">
|
||||
<a href="contest.php?cid=<?php echo $cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_PROBLEMS?></a>
|
||||
<a href="status.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_SUBMIT?></a>
|
||||
<a href="contestrank.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_STANDING?></a>
|
||||
<a href="contestrank-oi.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo "OI".$MSG_STANDING?></a>
|
||||
<a href="conteststatistics.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_STATISTICS?></a>
|
||||
<?php if(isset($_SESSION[$OJ_NAME.'_'.'administrator']) || isset($_SESSION[$OJ_NAME.'_'.'contest_creator'])) {?>
|
||||
<a href="suspect_list.php?cid=<?php echo $view_cid?>" class="btn btn-warning btn-sm"><?php echo $MSG_IP_VERIFICATION?></a>
|
||||
<a href="user_set_ip.php?cid=<?php echo $view_cid?>" class="btn btn-success btn-sm"><?php echo $MSG_SET_LOGIN_IP?></a>
|
||||
<a target="_blank" href="../../admin/contest_edit.php?cid=<?php echo $view_cid?>" class="btn btn-success btn-sm"><?php echo "EDIT"?></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</center>
|
||||
<?php }?>
|
||||
|
||||
<br>
|
||||
<?php
|
||||
$rank = 1;
|
||||
?>
|
||||
<center>
|
||||
<a href="contestrank.xls.php?cid=<?php echo $cid?>" >Download</a>
|
||||
<h4><?php if (isset($locked_msg)) echo $locked_msg;?></h4>
|
||||
<?php
|
||||
if ($OJ_MEMCACHE) {
|
||||
if (isset($_SESSION[$OJ_NAME.'_'.'administrator'])) {
|
||||
echo ' | <a href="contestrank3.php?cid='.$cid.'">滚榜</a>';
|
||||
|
||||
if($OJ_MEMCACHE)
|
||||
echo '<a href="contestrank2.php?cid='.$cid.'">Replay</a>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
</center>
|
||||
|
||||
<table id="rank" class="table-hover table-striped" align=center width=80%>
|
||||
<thead>
|
||||
<tr class='toprow'>
|
||||
<td class="{sorter:'false'} text-center"><?php echo $MSG_STANDING?></td>
|
||||
<td class='text-center'><?php echo $MSG_USER?></td>
|
||||
<td class='text-center'><?php echo $MSG_NICK?></td>
|
||||
<td class='text-center'><?php echo $MSG_SOVLED?></td>
|
||||
<td class='text-center'><?php echo $MSG_CONTEST_PENALTY?></td>
|
||||
<td class='text-center'><?php echo "Mark"?></td>
|
||||
<?php
|
||||
for ($i=0; $i<$pid_cnt; $i++) {
|
||||
if (time() < $end_time) { //during contest/exam time
|
||||
echo "<td class='text-center'><a href=problem.php?cid=$cid&pid=$i>$PID[$i]</a></td>";
|
||||
}
|
||||
else { //over contest/exam time
|
||||
|
||||
//check the problem will be use remained contest/exam
|
||||
$sql = "SELECT `problem_id` FROM `contest_problem` WHERE (`contest_id`=? AND `num`=?)";
|
||||
$tresult = pdo_query($sql, $cid, $i);
|
||||
|
||||
$tpid = $tresult[0][0];
|
||||
$sql = "SELECT `problem_id` FROM `problem` WHERE `problem_id`=? AND `problem_id` IN (
|
||||
SELECT `problem_id` FROM `contest_problem` WHERE `contest_id` IN (
|
||||
SELECT `contest_id` FROM `contest` WHERE (`defunct`='N' AND now()<`end_time`)
|
||||
)
|
||||
)";
|
||||
$tresult = pdo_query($sql, $tpid);
|
||||
|
||||
if (intval($tresult) != 0) //if the problem will be use remained contes/exam */
|
||||
echo "<td class='text-center'>$PID[$i]</td>";
|
||||
else
|
||||
echo "<td class='text-center'><a href='problem.php?id=".$tpid."'>".$PID[$i]."</a></td>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php
|
||||
$cnt=0;
|
||||
for ($i=0; $i<$user_cnt; $i++) {
|
||||
if ($i&1)
|
||||
echo "<tr class='oddrow'>";
|
||||
else
|
||||
echo "<tr class='evenrow'>";
|
||||
|
||||
$nick = $U[$i]->nick;
|
||||
echo "<td class='text-center'>";
|
||||
if ($nick[0]!="*")
|
||||
echo $rank++;
|
||||
else
|
||||
echo "*";
|
||||
echo "</td>";
|
||||
|
||||
$uuid = $U[$i]->user_id;
|
||||
if (isset($_GET['user_id']) && $uuid==$_GET['user_id'])
|
||||
echo "<td class='text-center'bgcolor=#ffff77>";
|
||||
else
|
||||
echo"<td class='text-center'>";
|
||||
echo "<a name=\"$uuid\" href=userinfo.php?user=$uuid>$uuid</a>";
|
||||
echo "</td>";
|
||||
|
||||
echo "<td class='text-center'><a href=userinfo.php?user=$uuid>".htmlentities($U[$i]->nick,ENT_QUOTES,"UTF-8")."</a></td>";
|
||||
|
||||
$usolved = $U[$i]->solved;
|
||||
echo "<td class='text-center'><a href=status.php?user_id=$uuid&cid=$cid>$usolved</a></td>";
|
||||
|
||||
echo "<td class='text-center'>".sec2str($U[$i]->time)."</td>";
|
||||
echo "<td class='text-center'>".($U[$i]->total)."</td>";
|
||||
|
||||
|
||||
for ($j=0; $j<$pid_cnt; $j++) {
|
||||
$bg_color = "eeeeee";
|
||||
if (isset($U[$i]->p_ac_sec[$j])&&$U[$i]->p_ac_sec[$j]>0){
|
||||
$aa = 0x33+$U[$i]->p_wa_num[$j]*32;
|
||||
$aa = $aa>0xaa?0xaa:$aa;
|
||||
$aa = dechex($aa);
|
||||
$bg_color = "$aa"."ff"."$aa";
|
||||
//$bg_color="aaffaa";
|
||||
if ($uuid==$first_blood[$j]) {
|
||||
$bg_color = "aaaaff";
|
||||
}
|
||||
}
|
||||
else if(isset($U[$i]->p_wa_num[$j]) && $U[$i]->p_wa_num[$j]>0) {
|
||||
$aa = 0xaa-$U[$i]->p_wa_num[$j]*10;
|
||||
$aa = $aa>16?$aa:16;
|
||||
$aa = dechex($aa);
|
||||
$bg_color = "ff$aa$aa";
|
||||
}
|
||||
echo "<td class='well' style='background-color:#$bg_color'>";
|
||||
if (isset($U[$i])) {
|
||||
if (isset($U[$i]->p_ac_sec[$j]) && $U[$i]->p_ac_sec[$j]>0)
|
||||
echo sec2str($U[$i]->p_ac_sec[$j]);
|
||||
else if (isset($U[$i]->p_wa_num[$j]) && intval($U[$i]->p_wa_num[$j])>0 && isset($U[$i]->p_pass_rate[$j]))
|
||||
echo "(+".(floatval($U[intval($i)]->p_pass_rate[intval($j)])*100).")";
|
||||
}
|
||||
}
|
||||
echo "</tr>\n";
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- /container -->
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
<script type="text/javascript" src="include/jquery.tablesorter.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$.tablesorter.addParser({
|
||||
//set a unique id
|
||||
id: 'punish',
|
||||
is: function(s) {
|
||||
//return false so this parser is not auto detected
|
||||
return false;
|
||||
},format: function(s) {
|
||||
//format your data for normalization
|
||||
var v = s.toLowerCase().replace(/\:/,'').replace(/\:/,'').replace(/\(-/,'.').replace(/\)/,'');
|
||||
//alert(v);
|
||||
v = parseFloat('0'+v);
|
||||
return v>1?v:v+Number.MAX_VALUE-1;
|
||||
},
|
||||
// set type, either numeric or text
|
||||
type: 'numeric'
|
||||
});
|
||||
|
||||
$("#rank").tablesorter({
|
||||
headers: {
|
||||
4: {
|
||||
sorter:'punish'
|
||||
}
|
||||
<?php
|
||||
for ($i=0; $i<$pid_cnt; $i++) {
|
||||
echo ",".($i+5).": { sorter:'punish'}";
|
||||
}
|
||||
?>
|
||||
}
|
||||
});
|
||||
|
||||
<?php if($OJ_SHOW_METAL) { ?>
|
||||
metal();
|
||||
<?php } ?>
|
||||
|
||||
setTimeout(function(){document.location.href='/contestrank-oi.php?cid=<?php echo $cid?>'},60000);
|
||||
});
|
||||
</script>
|
||||
|
||||
<script>
|
||||
function getTotal(rows) {
|
||||
var total = 0;
|
||||
for (var i=0; i<rows.length && total==0; i++) {
|
||||
try {
|
||||
total = parseInt(rows[rows.length-i].cells[0].innerHTML);
|
||||
if (isNaN(total))
|
||||
total = 0;
|
||||
}
|
||||
catch (e) {
|
||||
}
|
||||
}
|
||||
return total;
|
||||
}
|
||||
|
||||
function metal() {
|
||||
var tb = window.document.getElementById('rank');
|
||||
var rows = tb.rows;
|
||||
try {
|
||||
<?php
|
||||
//若有队伍从未进行过任何提交,数据库solution表里不会有数据,榜单上该队伍不存在,总rows数量不等于报名参赛队伍数量,奖牌比例的计算会出错
|
||||
//解决办法:可以为现场赛采用人为设定有效参赛队伍数$OJ_ON_SITE_TEAM_TOTAL,值为0时则采用榜单计算。详情见db_info.inc.php
|
||||
if ($OJ_ON_SITE_TEAM_TOTAL!=0)
|
||||
echo "var total=".$OJ_ON_SITE_TEAM_TOTAL.";";
|
||||
else
|
||||
echo "var total=getTotal(rows);";
|
||||
?>
|
||||
|
||||
//alert(total);
|
||||
for (var i=1; i<rows.length; i++) {
|
||||
var cell = rows[i].cells[0];
|
||||
var acc = rows[i].cells[3];
|
||||
var ac = parseInt(acc.innerText);
|
||||
|
||||
if (isNaN(ac))
|
||||
ac = parseInt(acc.textContent);
|
||||
|
||||
if (cell.innerHTML!="*" && ac>0) {
|
||||
var r = parseInt(cell.innerHTML);
|
||||
if (r==1) {
|
||||
cell.innerHTML = "Winner";
|
||||
|
||||
//cell.style.cssText="background-color:gold;color:red";
|
||||
cell.className = "badge btn-warning center-block";
|
||||
}
|
||||
|
||||
if (r>1 && r<=total*.05+1)
|
||||
cell.className = "badge btn-warning center-block";
|
||||
|
||||
if (r>total*.05+1 && r<=total*.20+1)
|
||||
cell.className = "badge btn-success center-block";
|
||||
|
||||
if(r>total*.20+1 && r<=total*.45+1)
|
||||
cell.className = "badge btn-danger center-block";
|
||||
|
||||
if(r>total*.45+1 && ac>0)
|
||||
cell.className = "badge badge-info center-block";
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
//alert(e);
|
||||
}
|
||||
}
|
||||
|
||||
<?php if($OJ_SHOW_METAL) { ?>
|
||||
metal();
|
||||
<?php } ?>
|
||||
</script>
|
||||
|
||||
<script>
|
||||
var diff = new Date("<?php echo date("Y/m/d H:i:s")?>").getTime()-new Date().getTime();
|
||||
//alert(diff);
|
||||
function clock() {
|
||||
var x,h,m,s,n,xingqi,y,mon,d;
|
||||
var x = new Date(new Date().getTime()+diff);
|
||||
y = x.getYear()+1900;
|
||||
|
||||
if (y>3000)
|
||||
y -= 1900;
|
||||
|
||||
mon = x.getMonth()+1;
|
||||
d = x.getDate();
|
||||
xingqi = x.getDay();
|
||||
h = x.getHours();
|
||||
m = x.getMinutes();
|
||||
s = x.getSeconds();
|
||||
n = y+"-"+(mon>=10?mon:"0"+mon)+"-"+(d>=10?d:"0"+d)+" "+(h>=10?h:"0"+h)+":"+(m>=10?m:"0"+m)+":"+(s>=10?s:"0"+s);
|
||||
|
||||
//alert(n);
|
||||
document.getElementById('nowdate').innerHTML = n;
|
||||
setTimeout("clock()",1000);
|
||||
}
|
||||
clock();
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.well {
|
||||
background-image:none;
|
||||
padding:1px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
td {
|
||||
white-space:nowrap;
|
||||
}
|
||||
</style>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,548 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title>
|
||||
<?php echo $OJ_NAME?>
|
||||
</title>
|
||||
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<?php
|
||||
function formatTimeLength($length) {
|
||||
$hour = 0;
|
||||
$minute = 0;
|
||||
$second = 0;
|
||||
$result = '';
|
||||
|
||||
global $MSG_SECONDS, $MSG_MINUTES, $MSG_HOURS, $MSG_DAYS;
|
||||
|
||||
if ($length>=60) {
|
||||
$second = $length%60;
|
||||
|
||||
if ($second>0 && $second<10) {
|
||||
$result = '0'.$second.' '.$MSG_SECONDS;}
|
||||
else if ($second>0) {
|
||||
$result = $second.' '.$MSG_SECONDS;
|
||||
}
|
||||
|
||||
$length = floor($length/60);
|
||||
if ($length >= 60) {
|
||||
$minute = $length%60;
|
||||
|
||||
if ($minute==0) {
|
||||
if ($result != '') {
|
||||
$result = '00'.' '.$MSG_MINUTES.' '.$result;
|
||||
}
|
||||
}
|
||||
else if ($minute>0 && $minute<10) {
|
||||
if ($result != '') {
|
||||
$result = '0'.$minute.' '.$MSG_MINUTES.' '.$result;}
|
||||
}
|
||||
else {
|
||||
$result = $minute.' '.$MSG_MINUTES.' '.$result;
|
||||
}
|
||||
|
||||
$length = floor($length/60);
|
||||
|
||||
if ($length >= 24) {
|
||||
$hour = $length%24;
|
||||
|
||||
if ($hour==0) {
|
||||
if ($result != '') {
|
||||
$result = '00'.' '.$MSG_HOURS.' '.$result;
|
||||
}
|
||||
}
|
||||
else if ($hour>0 && $hour<10) {
|
||||
if($result != '') {
|
||||
$result = '0'.$hour.' '.$MSG_HOURS.' '.$result;
|
||||
}
|
||||
}
|
||||
else {
|
||||
$result = $hour.' '.$MSG_HOURS.' '.$result;
|
||||
}
|
||||
|
||||
$length = floor($length / 24);
|
||||
$result = $length .$MSG_DAYS.' '.$result;
|
||||
}
|
||||
else {
|
||||
$result = $length.' '.$MSG_HOURS.' '.$result;
|
||||
}
|
||||
}
|
||||
else {
|
||||
$result = $length.' '.$MSG_MINUTES.' '.$result;
|
||||
}
|
||||
}
|
||||
else {
|
||||
$result = $length.' '.$MSG_SECONDS;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
?>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
|
||||
<?php
|
||||
if (isset($_GET['cid'])) {
|
||||
$cid = intval($_GET['cid']);
|
||||
$view_cid = $cid;
|
||||
//print $cid;
|
||||
|
||||
//check contest valid
|
||||
$sql = "SELECT * FROM `contest` WHERE `contest_id`=?";
|
||||
$result = pdo_query($sql,$cid);
|
||||
|
||||
$rows_cnt = count($result);
|
||||
$contest_ok = true;
|
||||
$password = "";
|
||||
|
||||
if (isset($_POST['password']))
|
||||
$password = $_POST['password'];
|
||||
|
||||
if (false) {
|
||||
$password = stripslashes($password);
|
||||
}
|
||||
|
||||
if ($rows_cnt==0) {
|
||||
$view_title = "比赛已经关闭!";
|
||||
}
|
||||
else{
|
||||
$row = $result[0];
|
||||
$view_private = $row['private'];
|
||||
|
||||
if ($password!="" && $password==$row['password'])
|
||||
$_SESSION[$OJ_NAME.'_'.'c'.$cid] = true;
|
||||
|
||||
if ($row['private'] && !isset($_SESSION[$OJ_NAME.'_'.'c'.$cid]))
|
||||
$contest_ok = false;
|
||||
|
||||
if($row['defunct']=='Y')
|
||||
$contest_ok = false;
|
||||
|
||||
if (isset($_SESSION[$OJ_NAME.'_'.'administrator']))
|
||||
$contest_ok = true;
|
||||
|
||||
$now = time();
|
||||
$start_time = strtotime($row['start_time']);
|
||||
$end_time = strtotime($row['end_time']);
|
||||
$view_description = $row['description'];
|
||||
$view_title = $row['title'];
|
||||
$view_start_time = $row['start_time'];
|
||||
$view_end_time = $row['end_time'];
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if (isset($_GET['cid'])) {?>
|
||||
<center>
|
||||
<div>
|
||||
<h3><?php echo $MSG_CONTEST_ID?> : <?php echo $view_cid?> - <?php echo $view_title ?></h3>
|
||||
<p>
|
||||
<?php echo $view_description?>
|
||||
</p>
|
||||
<br>
|
||||
<?php echo $MSG_SERVER_TIME?> : <span id=nowdate > <?php echo date("Y-m-d H:i:s")?></span>
|
||||
<br>
|
||||
|
||||
<?php if (isset($OJ_RANK_LOCK_PERCENT)&&$OJ_RANK_LOCK_PERCENT!=0) { ?>
|
||||
Lock Board Time: <?php echo date("Y-m-d H:i:s", $view_lock_time) ?><br/>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($now>$end_time) {
|
||||
echo "<span class=text-muted>$MSG_Ended</span>";
|
||||
}
|
||||
else if ($now<$start_time) {
|
||||
echo "<span class=text-success>$MSG_Start </span>";
|
||||
echo "<span class=text-success>$MSG_TotalTime</span>"." ".formatTimeLength($end_time-$start_time);
|
||||
}
|
||||
else {
|
||||
echo "<span class=text-danger>$MSG_Running</span> ";
|
||||
echo "<span class=text-danger>$MSG_LeftTime</span>"." ".formatTimeLength($end_time-$now);
|
||||
}
|
||||
?>
|
||||
|
||||
<br><br>
|
||||
|
||||
<?php echo $MSG_CONTEST_STATUS?> :
|
||||
|
||||
<?php
|
||||
if ($now>$end_time)
|
||||
echo "<span class=text-muted>".$MSG_End."</span>";
|
||||
else if ($now<$start_time)
|
||||
echo "<span class=text-success>".$MSG_Start."</span>";
|
||||
else
|
||||
echo "<span class=text-danger>".$MSG_Running."</span>";
|
||||
?>
|
||||
|
||||
|
||||
<?php echo $MSG_CONTEST_OPEN?> :
|
||||
|
||||
<?php if ($view_private=='0')
|
||||
echo "<span class=text-primary>".$MSG_Public."</span>";
|
||||
else
|
||||
echo "<span class=text-danger>".$MSG_Private."</span>";
|
||||
?>
|
||||
|
||||
<br>
|
||||
|
||||
<?php echo $MSG_START_TIME?> : <?php echo $view_start_time?>
|
||||
<br>
|
||||
<?php echo $MSG_END_TIME?> : <?php echo $view_end_time?>
|
||||
<br><br>
|
||||
|
||||
<div class="btn-group">
|
||||
<a href="contest.php?cid=<?php echo $cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_PROBLEMS?></a>
|
||||
<a href="status.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_SUBMIT?></a>
|
||||
<a href="contestrank.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_STANDING?></a>
|
||||
<a href="contestrank-oi.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo "OI".$MSG_STANDING?></a>
|
||||
<a href="conteststatistics.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_STATISTICS?></a>
|
||||
<?php if(isset($_SESSION[$OJ_NAME.'_'.'administrator']) || isset($_SESSION[$OJ_NAME.'_'.'contest_creator'])) {?>
|
||||
<a href="suspect_list.php?cid=<?php echo $view_cid?>" class="btn btn-warning btn-sm"><?php echo $MSG_IP_VERIFICATION?></a>
|
||||
<a href="user_set_ip.php?cid=<?php echo $view_cid?>" class="btn btn-success btn-sm"><?php echo $MSG_SET_LOGIN_IP?></a>
|
||||
<a target="_blank" href="../../admin/contest_edit.php?cid=<?php echo $view_cid?>" class="btn btn-success btn-sm"><?php echo "EDIT"?></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</center>
|
||||
<?php }?>
|
||||
|
||||
<br>
|
||||
<?php
|
||||
$rank = 1;
|
||||
?>
|
||||
<center>
|
||||
<a href="contestrank.xls.php?cid=<?php echo $cid?>" >Download</a>
|
||||
<h4><?php if (isset($locked_msg)) echo $locked_msg;?></h4>
|
||||
<?php
|
||||
if ($OJ_MEMCACHE) {
|
||||
if (isset($_SESSION[$OJ_NAME.'_'.'administrator'])) {
|
||||
echo ' | <a href="contestrank3.php?cid='.$cid.'">滚榜</a>';
|
||||
|
||||
if($OJ_MEMCACHE)
|
||||
echo '<a href="contestrank2.php?cid='.$cid.'">Replay</a>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
</center>
|
||||
|
||||
<table id="rank" class="table-hover table-striped" align=center width=80%>
|
||||
<thead>
|
||||
<tr class='toprow'>
|
||||
<td class="{sorter:'false'} text-center"><?php echo $MSG_STANDING?></td>
|
||||
<td class='text-center'><?php echo $MSG_USER?></td>
|
||||
<td class='text-center'><?php echo $MSG_NICK?></td>
|
||||
<td class='text-center'><?php echo $MSG_SOVLED?></td>
|
||||
<td class='text-center'><?php echo $MSG_CONTEST_PENALTY?></td>
|
||||
<?php
|
||||
for ($i=0; $i<$pid_cnt; $i++) {
|
||||
if (time() < $end_time) { //during contest/exam time
|
||||
echo "<td class='text-center'><a href=problem.php?cid=$cid&pid=$i>$PID[$i]</a></td>";
|
||||
}
|
||||
else { //over contest/exam time
|
||||
|
||||
//check the problem will be use remained contest/exam
|
||||
$sql = "SELECT `problem_id` FROM `contest_problem` WHERE (`contest_id`=? AND `num`=?)";
|
||||
$tresult = pdo_query($sql, $cid, $i);
|
||||
|
||||
$tpid = $tresult[0][0];
|
||||
$sql = "SELECT `problem_id` FROM `problem` WHERE `problem_id`=? AND `problem_id` IN (
|
||||
SELECT `problem_id` FROM `contest_problem` WHERE `contest_id` IN (
|
||||
SELECT `contest_id` FROM `contest` WHERE (`defunct`='N' AND now()<`end_time`)
|
||||
)
|
||||
)";
|
||||
$tresult = pdo_query($sql, $tpid);
|
||||
|
||||
if (intval($tresult) != 0) //if the problem will be use remained contes/exam */
|
||||
echo "<td class='text-center'>$PID[$i]</td>";
|
||||
else
|
||||
echo "<td class='text-center'><a href='problem.php?id=".$tpid."'>".$PID[$i]."</a></td>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php
|
||||
$cnt=0;
|
||||
for ($i=0; $i<$user_cnt; $i++) {
|
||||
if ($i&1)
|
||||
echo "<tr class='oddrow'>";
|
||||
else
|
||||
echo "<tr class='evenrow'>";
|
||||
|
||||
$nick = $U[$i]->nick;
|
||||
echo "<td class='text-center'>";
|
||||
if ($nick[0]!="*")
|
||||
echo $rank++;
|
||||
else
|
||||
echo "*";
|
||||
echo "</td>";
|
||||
|
||||
$uuid = $U[$i]->user_id;
|
||||
if (isset($_GET['user_id']) && $uuid==$_GET['user_id'])
|
||||
echo "<td class='text-center'bgcolor=#ffff77>";
|
||||
else
|
||||
echo"<td class='text-center'>";
|
||||
echo "<a name=\"$uuid\" href=userinfo.php?user=$uuid>$uuid</a>";
|
||||
echo "</td>";
|
||||
|
||||
echo "<td class='text-center'><a href=userinfo.php?user=$uuid>".htmlentities($U[$i]->nick,ENT_QUOTES,"UTF-8")."</a></td>";
|
||||
|
||||
$usolved = $U[$i]->solved;
|
||||
echo "<td class='text-center'><a href=status.php?user_id=$uuid&cid=$cid>$usolved</a></td>";
|
||||
|
||||
echo "<td class='text-center'>".sec2str($U[$i]->time)."</td>";
|
||||
|
||||
for ($j=0; $j<$pid_cnt; $j++) {
|
||||
$bg_color = "eeeeee";
|
||||
if (isset($U[$i]->p_ac_sec[$j])&&$U[$i]->p_ac_sec[$j]>0){
|
||||
$aa = 0x33+$U[$i]->p_wa_num[$j]*32;
|
||||
$aa = $aa>0xaa?0xaa:$aa;
|
||||
$aa = dechex($aa);
|
||||
$bg_color = "$aa"."ff"."$aa";
|
||||
//$bg_color="aaffaa";
|
||||
if ($uuid==$first_blood[$j]) {
|
||||
$bg_color = "aaaaff";
|
||||
}
|
||||
}
|
||||
else if(isset($U[$i]->p_wa_num[$j]) && $U[$i]->p_wa_num[$j]>0) {
|
||||
$aa = 0xaa-$U[$i]->p_wa_num[$j]*10;
|
||||
$aa = $aa>16?$aa:16;
|
||||
$aa = dechex($aa);
|
||||
$bg_color = "ff$aa$aa";
|
||||
}
|
||||
echo "<td class='well' style='background-color:#$bg_color'>";
|
||||
if (isset($U[$i])) {
|
||||
if (isset($U[$i]->p_ac_sec[$j]) && $U[$i]->p_ac_sec[$j]>0)
|
||||
echo sec2str($U[$i]->p_ac_sec[$j]);
|
||||
if (isset($U[$i]->p_wa_num[$j]) && $U[$i]->p_wa_num[$j]>0)
|
||||
echo "(-".$U[$i]->p_wa_num[$j].")";
|
||||
}
|
||||
}
|
||||
echo "</tr>\n";
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
if(!empty($absent)){
|
||||
?>
|
||||
|
||||
<div style="background-color: #fff; height: 18px; margin-top: -18px; "></div>
|
||||
<div class="ui segment" style="margin-top: 0px; ">
|
||||
<?php echo "$MSG_ABSENT"; ?>
|
||||
<div class="ui list">
|
||||
<?php
|
||||
foreach($absent as $a){
|
||||
$uid=htmlentities($a['user_id'],ENT_QUOTES,"UTF-8");
|
||||
echo "<a href='userinfo.php?user=".$uid."' >$uid</a> ";
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<!-- /container -->
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
<script type="text/javascript" src="include/jquery.tablesorter.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
function syncScrolls()
|
||||
{
|
||||
document.getElementById('header').scrollTop= document.getElementById('data').scrollTop
|
||||
}
|
||||
$(document).ready(function(){
|
||||
|
||||
<?php if (isset($OJ_CONTEST_RANK_FIX_HEADER)&&$OJ_CONTEST_RANK_FIX_HEADER){?>
|
||||
$("#data")[0].style.width=($("#main")[0].clientWidth-300)+"px";
|
||||
$("#tbheader")[0].style.height=($("#main")[0].clientHeight)+"px";
|
||||
console.log("data:"+$("#data")[0].clientWidth);
|
||||
console.log("main:"+$("#main")[0].clientWidth);
|
||||
<?php } ?>
|
||||
$.tablesorter.addParser({
|
||||
//set a unique id
|
||||
id: 'punish',
|
||||
is: function(s) {
|
||||
//return false so this parser is not auto detected
|
||||
return false;
|
||||
},format: function(s) {
|
||||
//format your data for normalization
|
||||
var v = s.toLowerCase().replace(/\:/,'').replace(/\:/,'').replace(/\(-/,'.').replace(/\)/,'');
|
||||
//alert(v);
|
||||
v = parseFloat('0'+v);
|
||||
return v>1?v:v+Number.MAX_VALUE-1;
|
||||
},
|
||||
// set type, either numeric or text
|
||||
type: 'numeric'
|
||||
});
|
||||
|
||||
$("#rank").tablesorter({
|
||||
headers: {
|
||||
4: {
|
||||
sorter:'punish'
|
||||
}
|
||||
<?php
|
||||
for ($i=0; $i<$pid_cnt; $i++) {
|
||||
echo ",".($i+5).": { sorter:'punish'}";
|
||||
}
|
||||
?>
|
||||
}
|
||||
});
|
||||
|
||||
<?php if($OJ_SHOW_METAL) { ?>
|
||||
metal();
|
||||
<?php } ?>
|
||||
|
||||
setTimeout(function(){document.location.href='/contestrank.php?cid=<?php echo $cid?>'},60000);
|
||||
});
|
||||
</script>
|
||||
|
||||
<script>
|
||||
function getTotal(rows) {
|
||||
var total = 0;
|
||||
for (var i=0; i<rows.length && total==0; i++) {
|
||||
try {
|
||||
total = parseInt(rows[rows.length-i].cells[0].innerHTML);
|
||||
if (isNaN(total))
|
||||
total = 0;
|
||||
}
|
||||
catch (e) {
|
||||
}
|
||||
}
|
||||
return total;
|
||||
}
|
||||
|
||||
function metal() {
|
||||
var tb = window.document.getElementById('rank');
|
||||
var rows = tb.rows;
|
||||
var header="";
|
||||
try {
|
||||
<?php
|
||||
//若有队伍从未进行过任何提交,数据库solution表里不会有数据,榜单上该队伍不存在,总rows数量不等于报名参赛队伍数量,奖牌比例的计算会出错
|
||||
//解决办法:可以为现场赛采用人为设定有效参赛队伍数$OJ_ON_SITE_TEAM_TOTAL,值为0时则采用榜单计算。详情见db_info.inc.php
|
||||
if (isset($OJ_ON_SITE_TEAM_TOTAL) && $OJ_ON_SITE_TEAM_TOTAL!=0)
|
||||
echo "var total=".$OJ_ON_SITE_TEAM_TOTAL.";";
|
||||
else
|
||||
echo "var total=getTotal(rows);";
|
||||
?>
|
||||
|
||||
//alert(total);
|
||||
for (var i=1; i<rows.length; i++) {
|
||||
var cell = rows[i].cells[0];
|
||||
var acc = rows[i].cells[3];
|
||||
var ac = parseInt(acc.innerText);
|
||||
|
||||
if (isNaN(ac))
|
||||
ac = parseInt(acc.textContent);
|
||||
|
||||
if (cell.innerHTML!="*" && ac>0) {
|
||||
var r = parseInt(cell.innerHTML);
|
||||
if (r==1) {
|
||||
cell.innerHTML = "Winner";
|
||||
//cell.style.cssText="background-color:gold;color:red";
|
||||
cell.className = "badge btn-warning center-block";
|
||||
}
|
||||
|
||||
if (r>1 && r<=total*.05+1)
|
||||
cell.className = "badge btn-warning center-block";
|
||||
|
||||
if (r>total*.05+1 && r<=total*.20+1)
|
||||
cell.className = "badge btn-success center-block";
|
||||
|
||||
if(r>total*.20+1 && r<=total*.45+1)
|
||||
cell.className = "badge btn-danger center-block";
|
||||
|
||||
if(r>total*.45+1 && ac>0)
|
||||
cell.className = "badge badge-info center-block";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
<?php if (isset($OJ_CONTEST_RANK_FIX_HEADER)&&$OJ_CONTEST_RANK_FIX_HEADER){?>
|
||||
for (var i=0; i<rows.length; i++) {
|
||||
header+="<tr style='height:23px'>";
|
||||
for(var j=0;j<5;j++){
|
||||
header+=rows[i].cells[j].outerHTML;
|
||||
rows[i].cells[j].hidden=true;
|
||||
rows[i].cells[j].innerHTML="";
|
||||
}
|
||||
header+="</tr>";
|
||||
}
|
||||
$("#tbheader").append("<table class=oddrow >"+header+"</table>");
|
||||
<?php } ?>
|
||||
|
||||
}
|
||||
catch (e) {
|
||||
//alert(e);
|
||||
}
|
||||
}
|
||||
|
||||
<?php if($OJ_SHOW_METAL) { ?>
|
||||
metal();
|
||||
<?php } ?>
|
||||
</script>
|
||||
|
||||
<script>
|
||||
var diff = new Date("<?php echo date("Y/m/d H:i:s")?>").getTime()-new Date().getTime();
|
||||
//alert(diff);
|
||||
function clock() {
|
||||
var x,h,m,s,n,xingqi,y,mon,d;
|
||||
var x = new Date(new Date().getTime()+diff);
|
||||
y = x.getYear()+1900;
|
||||
|
||||
if (y>3000)
|
||||
y -= 1900;
|
||||
|
||||
mon = x.getMonth()+1;
|
||||
d = x.getDate();
|
||||
xingqi = x.getDay();
|
||||
h = x.getHours();
|
||||
m = x.getMinutes();
|
||||
s = x.getSeconds();
|
||||
n = y+"-"+(mon>=10?mon:"0"+mon)+"-"+(d>=10?d:"0"+d)+" "+(h>=10?h:"0"+h)+":"+(m>=10?m:"0"+m)+":"+(s>=10?s:"0"+s);
|
||||
|
||||
//alert(n);
|
||||
document.getElementById('nowdate').innerHTML = n;
|
||||
setTimeout("clock()",1000);
|
||||
}
|
||||
clock();
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.well {
|
||||
background-image:none;
|
||||
padding:1px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
td {
|
||||
white-space:nowrap;
|
||||
}
|
||||
</style>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,374 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<?php
|
||||
$rank=1;
|
||||
?>
|
||||
<center><h3>Contest RankList -- <?php echo $title?></h3>
|
||||
<h4><?php if(isset($locked_msg)) echo $locked_msg; ?></h4>
|
||||
<a href="contestrank.xls.php?cid=<?php echo $cid?>" >Download</a></center>
|
||||
<table id=rank><thead><tr class=toprow align=center><td class="{sorter:'false'}" width=5%>Rank<th width=10%>User</th><th width=10%>Nick</th><th width=5%>Solved</th><th width=5%>Penalty</th>
|
||||
<?php
|
||||
for ($i=0;$i<$pid_cnt;$i++)
|
||||
echo "<td><a href=problem.php?cid=$cid&pid=$i>$PID[$i]</a></td>";
|
||||
echo "</tr></thead>\n<tbody>";
|
||||
if(false)for ($i=0;$i<$user_cnt;$i++){
|
||||
if ($i&1) echo "<tr class=oddrow align=center>\n";
|
||||
else echo "<tr class=evenrow align=center>\n";
|
||||
echo "<td>";
|
||||
$uuid=$U[$i]->user_id;
|
||||
$nick=$U[$i]->nick;
|
||||
if($nick[0]!="*")
|
||||
echo $rank++;
|
||||
else
|
||||
echo "*";
|
||||
$usolved=$U[$i]->solved;
|
||||
if(isset($_GET['user_id'])&&$uuid==$_GET['user_id']) echo "<td bgcolor=#ffff77>";
|
||||
else echo"<td>";
|
||||
echo "<a name=\"$uuid\" href=userinfo.php?user=$uuid>$uuid</a>";
|
||||
echo "<td><a href=userinfo.php?user=$uuid>".htmlentities($U[$i]->nick,ENT_QUOTES,"UTF-8")."</a>";
|
||||
echo "<td><a href=status.php?user_id=$uuid&cid=$cid>$usolved</a>";
|
||||
echo "<td>".sec2str($U[$i]->time);
|
||||
for ($j=0;$j<$pid_cnt;$j++){
|
||||
$bg_color="eeeeee";
|
||||
if (isset($U[$i]->p_ac_sec[$j])&&$U[$i]->p_ac_sec[$j]>0){
|
||||
$aa=0x33+$U[$i]->p_wa_num[$j]*32;
|
||||
$aa=$aa>0xaa?0xaa:$aa;
|
||||
$aa=dechex($aa);
|
||||
$bg_color="$aa"."ff"."$aa";
|
||||
//$bg_color="aaffaa";
|
||||
if($uuid==$first_blood[$j]){
|
||||
$bg_color="aaaaff";
|
||||
}
|
||||
}else if(isset($U[$i]->p_wa_num[$j])&&$U[$i]->p_wa_num[$j]>0) {
|
||||
$aa=0xaa-$U[$i]->p_wa_num[$j]*10;
|
||||
$aa=$aa>16?$aa:16;
|
||||
$aa=dechex($aa);
|
||||
$bg_color="ff$aa$aa";
|
||||
}
|
||||
echo "<td class=well style='background-color:#$bg_color'>";
|
||||
if(isset($U[$i])){
|
||||
if (isset($U[$i]->p_ac_sec[$j])&&$U[$i]->p_ac_sec[$j]>0)
|
||||
echo sec2str($U[$i]->p_ac_sec[$j]);
|
||||
if (isset($U[$i]->p_wa_num[$j])&&$U[$i]->p_wa_num[$j]>0)
|
||||
echo "(-".$U[$i]->p_wa_num[$j].")";
|
||||
}
|
||||
}
|
||||
echo "</tr>\n";
|
||||
}
|
||||
echo "</tbody></table>";
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
<script type="text/javascript" src="include/jquery.tablesorter.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function()
|
||||
{
|
||||
$.tablesorter.addParser({
|
||||
// set a unique id
|
||||
id: 'punish',
|
||||
is: function(s) {
|
||||
// return false so this parser is not auto detected
|
||||
return false;
|
||||
},
|
||||
format: function(s) {
|
||||
// format your data for normalization
|
||||
var v=s.toLowerCase().replace(/\:/,'').replace(/\:/,'').replace(/\(-/,'.').replace(/\)/,'');
|
||||
//alert(v);
|
||||
v=parseFloat('0'+v);
|
||||
return v>1?v:v+Number.MAX_VALUE-1;
|
||||
},
|
||||
// set type, either numeric or text
|
||||
type: 'numeric'
|
||||
});
|
||||
$("#rank").tablesorter({
|
||||
headers: {
|
||||
4: {
|
||||
sorter:'punish'
|
||||
}
|
||||
<?php
|
||||
for ($i=0;$i<$pid_cnt;$i++){
|
||||
echo ",".($i+5).": { ";
|
||||
echo " sorter:'punish' ";
|
||||
echo "}";
|
||||
}
|
||||
?>
|
||||
}
|
||||
});
|
||||
}
|
||||
);
|
||||
</script>
|
||||
<script>
|
||||
function getTotal(rows){
|
||||
var total=0;
|
||||
return rows.length-1;
|
||||
for(var i=0;i<rows.length&&total==0;i++){
|
||||
try{
|
||||
total=parseInt(rows[rows.length-i].cells[0].innerHTML);
|
||||
if(isNaN(total)) total=0;
|
||||
}catch(e){
|
||||
|
||||
}
|
||||
}
|
||||
return total;
|
||||
|
||||
}
|
||||
function metal(){
|
||||
var tb=window.document.getElementById('rank');
|
||||
var rows=tb.rows;
|
||||
try{
|
||||
var total=getTotal(rows);
|
||||
//alert(total);
|
||||
for(var i=1;i<rows.length;i++){
|
||||
var cell=rows[i].cells[0];
|
||||
var acc=rows[i].cells[3];
|
||||
var ac=parseInt(acc.innerHTML);
|
||||
if (isNaN(ac)) ac=parseInt(acc.textContent);
|
||||
|
||||
|
||||
if(cell.innerHTML!="*"&&ac>0){
|
||||
|
||||
var r=i;
|
||||
if(r==1){
|
||||
cell.innerHTML="Winner";
|
||||
//cell.style.cssText="background-color:gold;color:red";
|
||||
cell.className="badge btn-warning";
|
||||
}else{
|
||||
cell.innerHTML=r;
|
||||
}
|
||||
if(r>1&&r<=total*.05+1)
|
||||
cell.className="badge btn-warning";
|
||||
if(r>total*.05+1&&r<=total*.20+1)
|
||||
cell.className="badge";
|
||||
if(r>total*.20+1&&r<=total*.45+1)
|
||||
cell.className="badge btn-danger";
|
||||
if(r>total*.45+1&&ac>0)
|
||||
cell.className="badge badge-info";
|
||||
}
|
||||
}
|
||||
}catch(e){
|
||||
alert(e);
|
||||
}
|
||||
}
|
||||
<?php if($OJ_SHOW_METAL) { ?>
|
||||
metal();
|
||||
<?php } ?>
|
||||
replay();
|
||||
<?php if (isset($solution_json)) echo "var solutions=$solution_json;"?>
|
||||
var replay_index=0;
|
||||
function replay(){
|
||||
replay_index=0;
|
||||
window.setTimeout("add()",1000);
|
||||
}
|
||||
function add(){
|
||||
if(replay_index>=solutions.length) return metal();
|
||||
var solution=solutions[replay_index];
|
||||
var tab=$("#rank");
|
||||
var row=findrow(tab,solution);
|
||||
if(row==null)
|
||||
tab.append(newrow(tab,solution));
|
||||
row=findrow(tab,solution);
|
||||
update(tab,row,solution);
|
||||
replay_index++;
|
||||
sort(tab[0].rows);
|
||||
<?php if($OJ_SHOW_METAL) { ?>
|
||||
metal();
|
||||
<?php } ?>
|
||||
window.setTimeout("add()",5);
|
||||
}
|
||||
function sec2str(sec){
|
||||
var ret="";
|
||||
if(sec<36000) ret="0" ;
|
||||
ret+=parseInt(sec/3600);
|
||||
ret+=":";
|
||||
if(sec%3600/60<10) ret+="0" ;
|
||||
ret+=parseInt(sec%3600/60);
|
||||
ret+=":";
|
||||
if(sec%60<10) ret+="0";
|
||||
ret+=parseInt(sec%60);
|
||||
return ret;
|
||||
}
|
||||
function str2sec(str){
|
||||
var s=str.split(":");
|
||||
var h=parseInt(s[0]);
|
||||
var m=parseInt(s[1]);
|
||||
var s=parseInt(s[2]);
|
||||
return h*3600+m*60+s;
|
||||
}
|
||||
function colorful(td,ac,num){
|
||||
if(num<0) num=-num;else num=0;
|
||||
num*=10
|
||||
if(num>255) num=255;
|
||||
if(ac&&num>200) num=200;
|
||||
var rb=ac?num:255-num;
|
||||
if(ac){
|
||||
// td.className="well green";
|
||||
td.style="background-color: rgb("+rb+",255,"+rb+");";
|
||||
}else{
|
||||
td.style="background-color: rgb(255,"+rb+","+rb+");";
|
||||
}
|
||||
}
|
||||
function update(tab,row,solution){
|
||||
var col=parseInt(solution["num"])+5;
|
||||
var old=row.cells[col].innerHTML;
|
||||
var time=0;
|
||||
if(old!="") time=parseInt(old);
|
||||
if(!(old.charAt(0)=='-'||old=='')) return;
|
||||
if(parseInt(solution["result"])==4){
|
||||
if(old.charAt(0)=='-'||old=='') {
|
||||
var pt=time;
|
||||
time= parseInt(solution["in_date"])-time*1200;
|
||||
|
||||
penalty=str2sec(row.cells[4].innerHTML);
|
||||
penalty+=time;
|
||||
row.cells[4].innerHTML=sec2str(penalty);
|
||||
row.cells[col].innerHTML=sec2str( parseInt(solution["in_date"]));
|
||||
if(pt!=0)
|
||||
row.cells[col].innerHTML+="("+pt+")";
|
||||
colorful(row.cells[col],true,pt);
|
||||
}else{
|
||||
if(row.cells[col].className=="well green");
|
||||
}
|
||||
row.cells[3].innerHTML=parseInt(row.cells[3].innerHTML)+1;
|
||||
}else{
|
||||
time--;
|
||||
row.cells[col].innerHTML=time;
|
||||
colorful(row.cells[col],false,time);
|
||||
}
|
||||
/*
|
||||
if(parseInt(solution["result"])==4){
|
||||
if(row.cells[col].className!="well green"){
|
||||
}
|
||||
row.cells[col].className="well green";
|
||||
}else{
|
||||
if(row.cells[col].className!="well green")
|
||||
row.cells[col].className="well red";
|
||||
}
|
||||
*/
|
||||
}
|
||||
function sort(rows){
|
||||
for(var i=1;i<rows.length;i++){
|
||||
for(var j=1;j<i;j++){
|
||||
if(cmp(rows[i],rows[j])){
|
||||
swapNode(rows[i],rows[j]);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
function swapNode(node1,node2)
|
||||
{
|
||||
var parent = node1.parentNode;//父节点
|
||||
var t1 = node1.nextSibling;//两节点的相对位置
|
||||
var t2 = node2.nextSibling;
|
||||
$(node1).fadeToggle("slow");
|
||||
$(node2).fadeToggle("slow");
|
||||
//如果是插入到最后就用appendChild
|
||||
if(t1) parent.insertBefore(node2,t1);
|
||||
else parent.appendChild(node2);
|
||||
if(t2) parent.insertBefore(node1,t2);
|
||||
else parent.appendChild(node1);
|
||||
$(node1).fadeToggle("slow");
|
||||
$(node2).fadeToggle("slow");
|
||||
}
|
||||
function cmp(a,b){
|
||||
if(parseInt(a.cells[3].innerHTML)>parseInt(b.cells[3].innerHTML))
|
||||
return true;
|
||||
|
||||
if(parseInt(a.cells[3].innerHTML)==parseInt(b.cells[3].innerHTML))
|
||||
return str2sec(a.cells[4].innerHTML)<str2sec(b.cells[4].innerHTML);
|
||||
}
|
||||
function trim(str){ //删除左右两端的空格
|
||||
return str.replace(/(^\s*)|(\s*$)/g, "");
|
||||
}
|
||||
function newrow(tab,solution){
|
||||
|
||||
var row="<tr><td></td><td>"+solution['user_id']+"</td>";
|
||||
row+="<td>"+trim(solution['nick'])+"</td>";
|
||||
row+="<td>";
|
||||
var css="grey";
|
||||
var time=0;
|
||||
if(solution['result']==4){
|
||||
row+="1";
|
||||
time=solution['in_date'];
|
||||
count=sec2str( time);
|
||||
css="well green";
|
||||
} else{
|
||||
row+="0";
|
||||
css="well red";
|
||||
count=-1;
|
||||
}
|
||||
row+="</td>";
|
||||
var n=tab[0].rows[0].cells.length;
|
||||
row+="<td>"+sec2str(time)+"</td>";
|
||||
|
||||
for(var i=5;i<n;i++) {
|
||||
if(i-5==solution['num'])
|
||||
row+="<td class='"+css+"'>"+count+"</td>";
|
||||
else
|
||||
row+="<td></td>";
|
||||
}
|
||||
row+="</tr>";
|
||||
return row;
|
||||
}
|
||||
function findrow(tab,solution){
|
||||
var rows=tab[0].rows;
|
||||
for(var i=0;i<rows.length;i++){
|
||||
if(rows[i].cells[1].innerHTML==solution['user_id'])
|
||||
return rows[i];
|
||||
|
||||
}
|
||||
return null;
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.well{
|
||||
background-image:none;
|
||||
padding:1px;
|
||||
}
|
||||
td{
|
||||
white-space:nowrap;
|
||||
|
||||
}
|
||||
.red{
|
||||
background-color:#ffa0a0;
|
||||
}
|
||||
.green{
|
||||
background-color:#33ff33;
|
||||
}
|
||||
|
||||
</style>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,44 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
<link rel="stylesheet" type="text/css" href="template/<?php echo $OJ_TEMPLATE?>/scrollboard.css">
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
<script type="text/javascript" src="include/jquery.tablesorter.js?v=0.1"></script>
|
||||
<script type="text/javascript" src="template/<?php echo $OJ_TEMPLATE?>/scrollboard.js?v=0.09"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
var board = new Board(<?php echo $problem_num?>, new Array(<?php echo $gold_num?>, <?php echo $silver_num?>, <?php echo $bronze_num?>),StringToDate("<?php echo $start_time_str?>"), StringToDate("<?php echo $lock_time_str?>"),<?php echo $cid?>);
|
||||
|
||||
board.showInitBoard();
|
||||
$('html').click(function(e) {
|
||||
board.keydown();
|
||||
});
|
||||
$('html').keydown(function(e) {
|
||||
if(e.keyCode==13)
|
||||
board.keydown();
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,128 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<br><br>
|
||||
<table align=center width=80%>
|
||||
<tr align='center'>
|
||||
<td>
|
||||
<form class=form-inline method=post action=contest.php>
|
||||
<input class="form-control" name=keyword value="<?php if(isset($_POST['keyword'])) echo htmlentities($_POST['keyword'],ENT_QUOTES,"UTF-8")?>" placeholder="<?php echo $MSG_CONTEST_NAME?>">
|
||||
<button class="form-control" type=submit><?php echo $MSG_SEARCH?></button>
|
||||
<a href="contest.php" ><?php echo $MSG_VIEW_ALL_CONTESTS ?></a>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
|
||||
<center><h3><?php echo $MSG_SERVER_TIME?> <span id=nowdate></span></h3></center><br>
|
||||
|
||||
<table class='table table-striped' width=90%>
|
||||
<thead>
|
||||
<tr class=toprow align=center>
|
||||
<td><?php echo $MSG_CONTEST_ID?></td>
|
||||
<td><?php echo $MSG_CONTEST_NAME?></td>
|
||||
<td><?php echo $MSG_CONTEST_STATUS?></td>
|
||||
<td><?php echo $MSG_CONTEST_OPEN?></td>
|
||||
<td><?php echo $MSG_CONTEST_CREATOR?></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody align='center'>
|
||||
<?php
|
||||
$cnt=0;
|
||||
foreach($view_contest as $row){
|
||||
if ($cnt)
|
||||
echo "<tr class='oddrow'>";
|
||||
else
|
||||
echo "<tr class='evenrow'>";
|
||||
$i=0;
|
||||
foreach($row as $table_cell){
|
||||
if($i==2) echo "<td class=text-left>";
|
||||
else echo "<td>";
|
||||
echo "\t".$table_cell;
|
||||
echo "</td>";
|
||||
$i++;
|
||||
}
|
||||
echo "</tr>";
|
||||
$cnt=1-$cnt;
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<nav class="center">
|
||||
<small>
|
||||
<ul class="pagination">
|
||||
<li class="page-item"><a href="contest.php?page=1"><<</a></li>
|
||||
<?php
|
||||
if(!isset($page)) $page=1;
|
||||
$page=intval($page);
|
||||
$section=8;
|
||||
$start=$page>$section?$page-$section:1;
|
||||
$end=$page+$section>$view_total_page?$view_total_page:$page+$section;
|
||||
for ($i=$start;$i<=$end;$i++){
|
||||
echo "<li class='".($page==$i?"active ":"")."page-item'><a title='go to page' href='contest.php?page=".$i.(isset($_GET['my'])?"&my":"")."'>".$i."</a></li>";
|
||||
}
|
||||
?>
|
||||
<li class="page-item"><a href="contest.php?page=<?php echo $view_total_page?>">>></a></li>
|
||||
</ul>
|
||||
</small>
|
||||
</nav>
|
||||
</center>
|
||||
|
||||
</div>
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
|
||||
<script>
|
||||
var diff=new Date("<?php echo date("Y/m/d H:i:s")?>").getTime()-new Date().getTime();
|
||||
//alert(diff);
|
||||
function clock()
|
||||
{
|
||||
var x,h,m,s,n,xingqi,y,mon,d;
|
||||
var x = new Date(new Date().getTime()+diff);
|
||||
y = x.getYear()+1900;
|
||||
if (y>3000) y-=1900;
|
||||
mon = x.getMonth()+1;
|
||||
d = x.getDate();
|
||||
xingqi = x.getDay();
|
||||
h=x.getHours();
|
||||
m=x.getMinutes();
|
||||
s=x.getSeconds();
|
||||
n=y+"-"+(mon>=10?mon:"0"+mon)+"-"+(d>=10?d:"0"+d)+" "+(h>=10?h:"0"+h)+":"+(m>=10?m:"0"+m)+":"+(s>=10?s:"0"+s);
|
||||
//alert(n);
|
||||
document.getElementById('nowdate').innerHTML=n;
|
||||
setTimeout("clock()",1000);
|
||||
}
|
||||
|
||||
clock();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,403 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title>
|
||||
<?php echo $OJ_NAME?>
|
||||
</title>
|
||||
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<?php
|
||||
function formatTimeLength($length) {
|
||||
$hour = 0;
|
||||
$minute = 0;
|
||||
$second = 0;
|
||||
$result = '';
|
||||
|
||||
global $MSG_SECONDS, $MSG_MINUTES, $MSG_HOURS, $MSG_DAYS;
|
||||
|
||||
if ($length>=60) {
|
||||
$second = $length%60;
|
||||
|
||||
if ($second>0 && $second<10) {
|
||||
$result = '0'.$second.' '.$MSG_SECONDS;}
|
||||
else if ($second>0) {
|
||||
$result = $second.' '.$MSG_SECONDS;
|
||||
}
|
||||
|
||||
$length = floor($length/60);
|
||||
if ($length >= 60) {
|
||||
$minute = $length%60;
|
||||
|
||||
if ($minute==0) {
|
||||
if ($result != '') {
|
||||
$result = '00'.' '.$MSG_MINUTES.' '.$result;
|
||||
}
|
||||
}
|
||||
else if ($minute>0 && $minute<10) {
|
||||
if ($result != '') {
|
||||
$result = '0'.$minute.' '.$MSG_MINUTES.' '.$result;}
|
||||
}
|
||||
else {
|
||||
$result = $minute.' '.$MSG_MINUTES.' '.$result;
|
||||
}
|
||||
|
||||
$length = floor($length/60);
|
||||
|
||||
if ($length >= 24) {
|
||||
$hour = $length%24;
|
||||
|
||||
if ($hour==0) {
|
||||
if ($result != '') {
|
||||
$result = '00'.' '.$MSG_HOURS.' '.$result;
|
||||
}
|
||||
}
|
||||
else if ($hour>0 && $hour<10) {
|
||||
if($result != '') {
|
||||
$result = '0'.$hour.' '.$MSG_HOURS.' '.$result;
|
||||
}
|
||||
}
|
||||
else {
|
||||
$result = $hour.' '.$MSG_HOURS.' '.$result;
|
||||
}
|
||||
|
||||
$length = floor($length / 24);
|
||||
$result = $length .$MSG_DAYS.' '.$result;
|
||||
}
|
||||
else {
|
||||
$result = $length.' '.$MSG_HOURS.' '.$result;
|
||||
}
|
||||
}
|
||||
else {
|
||||
$result = $length.' '.$MSG_MINUTES.' '.$result;
|
||||
}
|
||||
}
|
||||
else {
|
||||
$result = $length.' '.$MSG_SECONDS;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
?>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
|
||||
<?php
|
||||
if (isset($_GET['cid'])) {
|
||||
$cid = intval($_GET['cid']);
|
||||
$view_cid = $cid;
|
||||
//print $cid;
|
||||
|
||||
//check contest valid
|
||||
$sql = "SELECT * FROM `contest` WHERE `contest_id`=?";
|
||||
$result = pdo_query($sql,$cid);
|
||||
|
||||
$rows_cnt = count($result);
|
||||
$contest_ok = true;
|
||||
$password = "";
|
||||
|
||||
if (isset($_POST['password']))
|
||||
$password = $_POST['password'];
|
||||
|
||||
if (false) {
|
||||
$password = stripslashes($password);
|
||||
}
|
||||
|
||||
if ($rows_cnt==0) {
|
||||
$view_title = "比赛已经关闭!";
|
||||
}
|
||||
else{
|
||||
$row = $result[0];
|
||||
$view_private = $row['private'];
|
||||
|
||||
if ($password!="" && $password==$row['password'])
|
||||
$_SESSION[$OJ_NAME.'_'.'c'.$cid] = true;
|
||||
|
||||
if ($row['private'] && !isset($_SESSION[$OJ_NAME.'_'.'c'.$cid]))
|
||||
$contest_ok = false;
|
||||
|
||||
if($row['defunct']=='Y')
|
||||
$contest_ok = false;
|
||||
|
||||
if (isset($_SESSION[$OJ_NAME.'_'.'administrator']))
|
||||
$contest_ok = true;
|
||||
|
||||
$now = time();
|
||||
$start_time = strtotime($row['start_time']);
|
||||
$end_time = strtotime($row['end_time']);
|
||||
$view_description = $row['description'];
|
||||
$view_title = $row['title'];
|
||||
$view_start_time = $row['start_time'];
|
||||
$view_end_time = $row['end_time'];
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if (isset($_GET['cid'])) {?>
|
||||
<center>
|
||||
<div>
|
||||
<h3><?php echo $MSG_CONTEST_ID?> : <?php echo $view_cid?> - <?php echo $view_title ?></h3>
|
||||
<p>
|
||||
<?php echo $view_description?>
|
||||
</p>
|
||||
<br>
|
||||
<?php echo $MSG_SERVER_TIME?> : <span id=nowdate > <?php echo date("Y-m-d H:i:s")?></span>
|
||||
<br>
|
||||
|
||||
<?php if (isset($OJ_RANK_LOCK_PERCENT)&&$OJ_RANK_LOCK_PERCENT!=0) { ?>
|
||||
Lock Board Time: <?php echo date("Y-m-d H:i:s", $view_lock_time) ?><br/>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($now>$end_time) {
|
||||
echo "<span class=text-muted>$MSG_Ended</span>";
|
||||
}
|
||||
else if ($now<$start_time) {
|
||||
echo "<span class=text-success>$MSG_Start </span>";
|
||||
echo "<span class=text-success>$MSG_TotalTime</span>"." ".formatTimeLength($end_time-$start_time);
|
||||
}
|
||||
else {
|
||||
echo "<span class=text-danger>$MSG_Running</span> ";
|
||||
echo "<span class=text-danger>$MSG_LeftTime</span>"." ".formatTimeLength($end_time-$now);
|
||||
}
|
||||
?>
|
||||
|
||||
<br><br>
|
||||
|
||||
<?php echo $MSG_CONTEST_STATUS?> :
|
||||
|
||||
<?php
|
||||
if ($now>$end_time)
|
||||
echo "<span class=text-muted>".$MSG_End."</span>";
|
||||
else if ($now<$start_time)
|
||||
echo "<span class=text-success>".$MSG_Start."</span>";
|
||||
else
|
||||
echo "<span class=text-danger>".$MSG_Running."</span>";
|
||||
?>
|
||||
|
||||
|
||||
<?php echo $MSG_CONTEST_OPEN?> :
|
||||
|
||||
<?php if ($view_private=='0')
|
||||
echo "<span class=text-primary>".$MSG_Public."</span>";
|
||||
else
|
||||
echo "<span class=text-danger>".$MSG_Private."</span>";
|
||||
?>
|
||||
|
||||
<br>
|
||||
|
||||
<?php echo $MSG_START_TIME?> : <?php echo $view_start_time?>
|
||||
<br>
|
||||
<?php echo $MSG_END_TIME?> : <?php echo $view_end_time?>
|
||||
<br><br>
|
||||
|
||||
<div class="btn-group">
|
||||
<a href="contest.php?cid=<?php echo $cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_PROBLEMS?></a>
|
||||
<a href="status.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_SUBMIT?></a>
|
||||
<a href="contestrank.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_STANDING?></a>
|
||||
<a href="contestrank-oi.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo "OI".$MSG_STANDING?></a>
|
||||
<a href="conteststatistics.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_STATISTICS?></a>
|
||||
<?php if(isset($_SESSION[$OJ_NAME.'_'.'administrator']) || isset($_SESSION[$OJ_NAME.'_'.'contest_creator'])) {?>
|
||||
<a href="suspect_list.php?cid=<?php echo $view_cid?>" class="btn btn-warning btn-sm"><?php echo $MSG_IP_VERIFICATION?></a>
|
||||
<a href="user_set_ip.php?cid=<?php echo $view_cid?>" class="btn btn-success btn-sm"><?php echo $MSG_SET_LOGIN_IP?></a>
|
||||
<a target="_blank" href="../../admin/contest_edit.php?cid=<?php echo $view_cid?>" class="btn btn-success btn-sm"><?php echo "EDIT"?></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</center>
|
||||
<?php }
|
||||
?>
|
||||
<br>
|
||||
<center>
|
||||
<h4><?php if (isset($locked_msg)) echo $locked_msg;?></h4>
|
||||
<table id=cs class="table-hover table-striped" align=center width=90% border=0>
|
||||
<thead>
|
||||
<tr class=toprow>
|
||||
<th class='text-center'></th>
|
||||
<th class='text-center'>AC</th>
|
||||
<th class='text-center'>PE</th>
|
||||
<th class='text-center'>WA</th>
|
||||
<th class='text-center'>TLE</th>
|
||||
<th class='text-center'>MLE</th>
|
||||
<th class='text-center'>OLE</th>
|
||||
<th class='text-center'>RE</th>
|
||||
<th class='text-center'>CE</th>
|
||||
<th class='text-center'>TR</th>
|
||||
<th class='text-center'>|</th>
|
||||
<th class='text-center'>Total</th>
|
||||
<?php
|
||||
$i = 0;
|
||||
foreach ($language_name as $lang) {
|
||||
if (isset($R[$pid_cnt][$i+11]) )
|
||||
echo "<th class='text-center'>$language_name[$i]</th>";
|
||||
else
|
||||
echo "";//"<th class='text-center'></th>";
|
||||
$i++;
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php
|
||||
for ($i=0; $i<$pid_cnt; $i++) {
|
||||
if(!isset($PID[$i]))
|
||||
$PID[$i] = "";
|
||||
|
||||
if ($i&1)
|
||||
echo "<tr class='oddrow'>";
|
||||
else
|
||||
echo "<tr class='evenrow'>";
|
||||
|
||||
if (time()<$end_time) { //during contest/exam time
|
||||
echo "<td class='text-center'><a href=problem.php?cid=$cid&pid=$i>$PID[$i]</a></td>";
|
||||
}
|
||||
else { //over contest/exam time
|
||||
//check the problem will be use remained contest/exam
|
||||
$sql = "SELECT `problem_id` FROM `contest_problem` WHERE (`contest_id`=? AND `num`=?)";
|
||||
$tresult = pdo_query($sql, $cid, $i);
|
||||
|
||||
$tpid = $tresult[0][0];
|
||||
$sql = "SELECT `problem_id` FROM `problem` WHERE `problem_id`=? AND `problem_id` IN (
|
||||
SELECT `problem_id` FROM `contest_problem` WHERE `contest_id` IN (
|
||||
SELECT `contest_id` FROM `contest` WHERE (`defunct`='N' AND now()<`end_time`)
|
||||
)
|
||||
)";
|
||||
$tresult = pdo_query($sql, $tpid);
|
||||
|
||||
if (intval($tresult) != 0) //if the problem will be use remained contes/exam */
|
||||
echo "<td class='text-center'>$PID[$i]</td>";
|
||||
else
|
||||
echo "<td class='text-center'><a href='problem.php?id=".$tpid."'>".$PID[$i]."</a></td>";
|
||||
}
|
||||
|
||||
for ($j=0; $j<count($language_name)+11; $j++) {
|
||||
// if (!isset($R[$i][$j]))
|
||||
// $R[$i][$j]="";
|
||||
if ($j<11 || isset($R[$pid_cnt][$j]) )
|
||||
echo "<td class='text-center'>".$R[$i][$j]."</td>";
|
||||
}
|
||||
echo "</tr>";
|
||||
}
|
||||
|
||||
echo "<tr class='evenrow'>";
|
||||
echo "<td class='text-center'>Total</td>";
|
||||
|
||||
for ($j=0 ; $j<count($language_name)+ 11; $j++) {
|
||||
// if(!isset($R[$i][$j]))
|
||||
// $R[$i][$j]="";
|
||||
|
||||
if ($j<11 || isset($R[$pid_cnt][$j]) )
|
||||
echo "<td class='text-center'>".$R[$i][$j]."</td>";
|
||||
|
||||
}
|
||||
echo "</tr>";
|
||||
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<br><br>
|
||||
|
||||
<table>
|
||||
<div id=submission style="width:600px;height:300px" ></div>
|
||||
</table>
|
||||
|
||||
</center>
|
||||
|
||||
</div>
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
<script type="text/javascript" src="include/jquery.tablesorter.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function()
|
||||
{
|
||||
$("#cs").tablesorter();
|
||||
}
|
||||
);
|
||||
</script>
|
||||
|
||||
<script language="javascript" type="text/javascript" src="include/jquery.flot.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
var d1 = [];
|
||||
var d2 = [];
|
||||
<?php
|
||||
foreach($chart_data_all as $k=>$d){
|
||||
?>
|
||||
d1.push([<?php echo $k?>, <?php echo $d?>]);
|
||||
<?php }?>
|
||||
<?php
|
||||
foreach($chart_data_ac as $k=>$d){
|
||||
?>
|
||||
d2.push([<?php echo $k?>, <?php echo $d?>]);
|
||||
<?php }?>
|
||||
//var d2 = [[0, 3], [4, 8], [8, 5], [9, 13]];
|
||||
// a null signifies separate line segments
|
||||
var d3 = [[0, 12], [7, 12], null, [7, 2.5], [12, 2.5]];
|
||||
$.plot($("#submission"), [
|
||||
{label:"<?php echo $MSG_SUBMIT?>",data:d1,lines: { show: true }},
|
||||
{label:"<?php echo $MSG_SOVLED?>",data:d2,bars:{show:true}} ],{
|
||||
xaxis: {
|
||||
mode: "time"
|
||||
//, max:(new Date()).getTime()
|
||||
//,min:(new Date()).getTime()-100*24*3600*1000
|
||||
},
|
||||
grid: {
|
||||
backgroundColor: { colors: ["#fff", "#333"] }
|
||||
}
|
||||
});
|
||||
});
|
||||
//alert((new Date()).getTime());
|
||||
</script>
|
||||
|
||||
<script>
|
||||
var diff = new Date("<?php echo date("Y/m/d H:i:s")?>").getTime()-new Date().getTime();
|
||||
//alert(diff);
|
||||
function clock() {
|
||||
var x,h,m,s,n,xingqi,y,mon,d;
|
||||
var x = new Date(new Date().getTime()+diff);
|
||||
y = x.getYear()+1900;
|
||||
|
||||
if (y>3000)
|
||||
y -= 1900;
|
||||
|
||||
mon = x.getMonth()+1;
|
||||
d = x.getDate();
|
||||
xingqi = x.getDay();
|
||||
h = x.getHours();
|
||||
m = x.getMinutes();
|
||||
s = x.getSeconds();
|
||||
n = y+"-"+(mon>=10?mon:"0"+mon)+"-"+(d>=10?d:"0"+d)+" "+(h>=10?h:"0"+h)+":"+(m>=10?m:"0"+m)+":"+(s>=10?s:"0"+s);
|
||||
|
||||
//alert(n);
|
||||
document.getElementById('nowdate').innerHTML = n;
|
||||
setTimeout("clock()",1000);
|
||||
}
|
||||
clock();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,385 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title>
|
||||
<?php echo $OJ_NAME?>
|
||||
</title>
|
||||
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
|
||||
<?php
|
||||
if (isset($_GET['cid'])) {
|
||||
$cid = intval($_GET['cid']);
|
||||
$view_cid = $cid;
|
||||
//print $cid;
|
||||
|
||||
//check contest valid
|
||||
$sql = "SELECT * FROM `contest` WHERE `contest_id`=?";
|
||||
$result = pdo_query($sql,$cid);
|
||||
|
||||
$rows_cnt = count($result);
|
||||
$contest_ok = true;
|
||||
$password = "";
|
||||
|
||||
if (isset($_POST['password']))
|
||||
$password = $_POST['password'];
|
||||
|
||||
if (false) {
|
||||
$password = stripslashes($password);
|
||||
}
|
||||
|
||||
if ($rows_cnt==0) {
|
||||
$view_title = "比赛已经关闭!";
|
||||
}
|
||||
else{
|
||||
$row = $result[0];
|
||||
$view_private = $row['private'];
|
||||
|
||||
if ($password!="" && $password==$row['password'])
|
||||
$_SESSION[$OJ_NAME.'_'.'c'.$cid] = true;
|
||||
|
||||
if ($row['private'] && !isset($_SESSION[$OJ_NAME.'_'.'c'.$cid]))
|
||||
$contest_ok = false;
|
||||
|
||||
if($row['defunct']=='Y')
|
||||
$contest_ok = false;
|
||||
|
||||
if (isset($_SESSION[$OJ_NAME.'_'.'administrator']))
|
||||
$contest_ok = true;
|
||||
|
||||
$now = time();
|
||||
$start_time = strtotime($row['start_time']);
|
||||
$end_time = strtotime($row['end_time']);
|
||||
$view_description = $row['description'];
|
||||
$view_title = $row['title'];
|
||||
$view_start_time = $row['start_time'];
|
||||
$view_end_time = $row['end_time'];
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if (isset($_GET['cid'])) {?>
|
||||
<center>
|
||||
<div>
|
||||
<h3><?php echo $MSG_CONTEST_ID?> : <?php echo $view_cid?> - <?php echo $view_title ?></h3>
|
||||
<p>
|
||||
<?php echo $view_description?>
|
||||
</p>
|
||||
<br>
|
||||
<?php echo $MSG_SERVER_TIME?> : <span id=nowdate > <?php echo date("Y-m-d H:i:s")?></span>
|
||||
<br>
|
||||
|
||||
<?php if (isset($OJ_RANK_LOCK_PERCENT)&&$OJ_RANK_LOCK_PERCENT!=0) { ?>
|
||||
Lock Board Time: <?php echo date("Y-m-d H:i:s", $view_lock_time) ?><br/>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($now>$end_time) {
|
||||
echo "<span class=text-muted>$MSG_Ended</span>";
|
||||
}
|
||||
else if ($now<$start_time) {
|
||||
echo "<span class=text-success>$MSG_Start </span>";
|
||||
echo "<span class=text-success>$MSG_TotalTime</span>"." ".formatTimeLength($end_time-$start_time);
|
||||
}
|
||||
else {
|
||||
echo "<span class=text-danger>$MSG_Running</span> ";
|
||||
echo "<span class=text-danger>$MSG_LeftTime</span>"." ".formatTimeLength($end_time-$now);
|
||||
}
|
||||
?>
|
||||
|
||||
<br><br>
|
||||
|
||||
<?php echo $MSG_CONTEST_STATUS?> :
|
||||
|
||||
<?php
|
||||
if ($now>$end_time)
|
||||
echo "<span class=text-muted>".$MSG_End."</span>";
|
||||
else if ($now<$start_time)
|
||||
echo "<span class=text-success>".$MSG_Start."</span>";
|
||||
else
|
||||
echo "<span class=text-danger>".$MSG_Running."</span>";
|
||||
?>
|
||||
|
||||
|
||||
<?php echo $MSG_CONTEST_OPEN?> :
|
||||
|
||||
<?php if ($view_private=='0')
|
||||
echo "<span class=text-primary>".$MSG_Public."</span>";
|
||||
else
|
||||
echo "<span class=text-danger>".$MSG_Private."</span>";
|
||||
?>
|
||||
|
||||
<br>
|
||||
|
||||
<?php echo $MSG_START_TIME?> : <?php echo $view_start_time?>
|
||||
<br>
|
||||
<?php echo $MSG_END_TIME?> : <?php echo $view_end_time?>
|
||||
<br><br>
|
||||
|
||||
<div class="btn-group">
|
||||
<a href="contest.php?cid=<?php echo $cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_PROBLEMS?></a>
|
||||
<a href="status.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_SUBMIT?></a>
|
||||
<a href="contestrank.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_STANDING?></a>
|
||||
<a href="contestrank-oi.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo "OI".$MSG_STANDING?></a>
|
||||
<a href="conteststatistics.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_STATISTICS?></a>
|
||||
<?php if(isset($_SESSION[$OJ_NAME.'_'.'administrator']) || isset($_SESSION[$OJ_NAME.'_'.'contest_creator'])) {?>
|
||||
<a href="suspect_list.php?cid=<?php echo $view_cid?>" class="btn btn-warning btn-sm"><?php echo $MSG_IP_VERIFICATION?></a>
|
||||
<a href="user_set_ip.php?cid=<?php echo $view_cid?>" class="btn btn-success btn-sm"><?php echo $MSG_SET_LOGIN_IP?></a>
|
||||
<a target="_blank" href="../../admin/contest_edit.php?cid=<?php echo $view_cid?>" class="btn btn-success btn-sm"><?php echo "EDIT"?></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</center>
|
||||
<?php }?>
|
||||
|
||||
<br>
|
||||
<div align=center class="input-append">
|
||||
<form id=simform class=form-inline action="status.php" method="get">
|
||||
<?php echo $MSG_PROBLEM_ID?>
|
||||
<input class="form-control" type=text size=4 name=problem_id value='<?php echo htmlspecialchars($problem_id, ENT_QUOTES)?>'>
|
||||
|
||||
<?php echo $MSG_USER?>
|
||||
<input class="form-control" type=text size=4 name=user_id value='<?php echo htmlspecialchars($user_id, ENT_QUOTES)?>'>
|
||||
<?php if (isset($cid)) echo "<input type='hidden' name='cid' value='$cid'>";?>
|
||||
|
||||
<?php echo $MSG_LANG?>
|
||||
<select class="form-control" size="1" name="language">
|
||||
<option value="-1">All</option>
|
||||
<?php
|
||||
if (isset($_GET['language'])) {
|
||||
$selectedLang = intval($_GET['language']);
|
||||
}
|
||||
else {
|
||||
$selectedLang = -1;
|
||||
}
|
||||
|
||||
$lang_count = count($language_ext);
|
||||
$langmask = $OJ_LANGMASK;
|
||||
$lang = (~((int)$langmask))&((1<<($lang_count))-1);
|
||||
for ($i=0; $i<$lang_count; $i++) {
|
||||
if ($lang&(1<<$i))
|
||||
echo "<option value=$i ".($selectedLang==$i?"selected":"").">".$language_name[$i]."</option>";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
|
||||
<?php echo $MSG_RESULT?>
|
||||
<select class="form-control" size="1" name="jresult">
|
||||
<?php
|
||||
if (isset($_GET['jresult']))
|
||||
$jresult_get = intval($_GET['jresult']);
|
||||
else
|
||||
$jresult_get = -1;
|
||||
|
||||
if ($jresult_get>=12 || $jresult_get<0)
|
||||
$jresult_get = -1;
|
||||
/*if ($jresult_get!=-1){
|
||||
$sql=$sql."AND `result`='".strval($jresult_get)."' ";
|
||||
$str2=$str2."&jresult=".strval($jresult_get);
|
||||
}*/
|
||||
if ($jresult_get==-1)
|
||||
echo "<option value='-1' selected>All</option>";
|
||||
else
|
||||
echo "<option value='-1'>All</option>";
|
||||
|
||||
for ($j=0; $j<12; $j++) {
|
||||
$i = ($j+4)%12;
|
||||
if ($i==$jresult_get)
|
||||
echo "<option value='".strval($jresult_get)."' selected>".$jresult[$i]."</option>";
|
||||
else
|
||||
echo "<option value='".strval($i)."'>".$jresult[$i]."</option>";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
|
||||
<?php
|
||||
if (isset($_SESSION[$OJ_NAME.'_'.'administrator']) || isset($_SESSION[$OJ_NAME.'_'.'source_browser'])) {
|
||||
if (isset($_GET['showsim']))
|
||||
$showsim = intval($_GET['showsim']);
|
||||
else
|
||||
$showsim = 0;
|
||||
|
||||
echo "SIM
|
||||
<select id=\"appendedInputButton\" class=\"form-control\" name=showsim onchange=\"document.getElementById('simform').submit();\">
|
||||
<option value=0 ".($showsim==0?'selected':'').">All</option>
|
||||
<option value=50 ".($showsim==50?'selected':'').">50</option>
|
||||
<option value=60 ".($showsim==60?'selected':'').">60</option>
|
||||
<option value=70 ".($showsim==70?'selected':'').">70</option>
|
||||
<option value=80 ".($showsim==80?'selected':'').">80</option>
|
||||
<option value=90 ".($showsim==90?'selected':'').">90</option>
|
||||
<option value=100 ".($showsim==100?'selected':'').">100</option>
|
||||
</select> ";
|
||||
|
||||
|
||||
}
|
||||
echo "<input type=submit class='form-control' value='$MSG_SEARCH'></form>";
|
||||
?>
|
||||
</form>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<div id=center>
|
||||
<table id=result-tab class="table table-striped content-box-header" align=center width=80%>
|
||||
<thead>
|
||||
<tr class='toprow'>
|
||||
<td class="text-center">
|
||||
<?php echo $MSG_RUNID?>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<?php echo $MSG_USER?>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<?php echo $MSG_NICK?>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<?php echo $MSG_PROBLEM_ID?>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<?php echo $MSG_RESULT?>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<?php echo $MSG_MEMORY?>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<?php echo $MSG_TIME?>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<?php echo $MSG_LANG?>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<?php echo $MSG_CODE_LENGTH?>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<?php echo $MSG_SUBMIT_TIME?>
|
||||
</td>
|
||||
<?php if (isset($_SESSION[$OJ_NAME.'_'.'administrator'])) {
|
||||
echo "<th class='text-center'>";
|
||||
echo $MSG_JUDGER;
|
||||
echo "</th>";
|
||||
} ?>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$cnt = 0;
|
||||
foreach ($view_status as $row) {
|
||||
if ($cnt)
|
||||
echo "<tr class='oddrow'>";
|
||||
else
|
||||
echo "<tr class='evenrow'>";
|
||||
|
||||
$i = 0;
|
||||
foreach ($row as $table_cell) {
|
||||
if ($i==2 || $i==8)
|
||||
echo "<td class='text-center'>";
|
||||
else if ($i==0 || $i==4 || $i==5 || $i==6 || $i==7)
|
||||
echo "<td class='text-right'>";
|
||||
else
|
||||
echo "<td>";
|
||||
|
||||
echo $table_cell;
|
||||
echo "</td>";
|
||||
$i++;
|
||||
}
|
||||
|
||||
echo "</tr>\n";
|
||||
$cnt = 1-$cnt;
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div align=center id=center>
|
||||
<nav id="page" class="center">
|
||||
<small>
|
||||
<ul class="pagination">
|
||||
<?php
|
||||
echo "<li class='page-item'> <a href=status.php?".$str2."><< Top</a></li>";
|
||||
if (isset($_GET['prevtop']))
|
||||
echo "<li class='page-item'> <a href=status.php?".$str2."&top=".intval($_GET['prevtop']).">< Prev</a></li>";
|
||||
else
|
||||
echo "<li class='page-item'> <a href=status.php?".$str2."&top=".($top+50).">< Prev</a></li>";
|
||||
echo "<li class='page-item'> <a href=status.php?".$str2."&top=".$bottom."&prevtop=$top>Next ></a></li>";
|
||||
?>
|
||||
</ul>
|
||||
</small>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- /container -->
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
|
||||
<script>
|
||||
var judge_result = [<?php
|
||||
foreach ($judge_result as $result) {
|
||||
echo "'$result',";
|
||||
} ?>
|
||||
''];
|
||||
|
||||
var judge_color = [<?php
|
||||
foreach ($judge_color as $result) {
|
||||
echo "'$result',";
|
||||
} ?>
|
||||
''];
|
||||
var oj_mark='<?php echo $OJ_MARK ?>';
|
||||
var user_id="<?php if (isset($_SESSION[$OJ_NAME."_user_id"]) && $OJ_FANCY_RESULT ) echo $_SESSION[$OJ_NAME."_user_id"]; ?>";
|
||||
|
||||
</script>
|
||||
|
||||
<script src="<?php echo $OJ_CDN_URL?>template/<?php echo $OJ_TEMPLATE?>/auto_refresh.js" ></script>
|
||||
|
||||
<script>
|
||||
var diff = new Date("<?php echo date("Y/m/d H:i:s")?>").getTime()-new Date().getTime();
|
||||
//alert(diff);
|
||||
function clock() {
|
||||
var x,h,m,s,n,xingqi,y,mon,d;
|
||||
var x = new Date(new Date().getTime()+diff);
|
||||
y = x.getYear()+1900;
|
||||
|
||||
if (y>3000)
|
||||
y -= 1900;
|
||||
|
||||
mon = x.getMonth()+1;
|
||||
d = x.getDate();
|
||||
xingqi = x.getDay();
|
||||
h = x.getHours();
|
||||
m = x.getMinutes();
|
||||
s = x.getSeconds();
|
||||
n = y+"-"+(mon>=10?mon:"0"+mon)+"-"+(d>=10?d:"0"+d)+" "+(h>=10?h:"0"+h)+":"+(m>=10?m:"0"+m)+":"+(s>=10?s:"0"+s);
|
||||
|
||||
//alert(n);
|
||||
document.getElementById('nowdate').innerHTML = n;
|
||||
setTimeout("clock()",1000);
|
||||
}
|
||||
clock();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -1,17 +0,0 @@
|
||||
<?php
|
||||
|
||||
$dir=basename(getcwd());
|
||||
if($dir=="discuss3"||$dir=="admin") $path_fix="../";
|
||||
else $path_fix="";
|
||||
?>
|
||||
|
||||
<!-- 新 Bootstrap 核心 CSS 文件 -->
|
||||
<link rel="stylesheet" href="<?php echo $path_fix."template/$OJ_TEMPLATE/"?>bootstrap.min.css">
|
||||
|
||||
<?php if(!isset($OJ_FLAT)||!$OJ_FLAT){?>
|
||||
<!-- 可选的Bootstrap主题文件(一般不用引入) -->
|
||||
<link rel="stylesheet" href="<?php echo $OJ_CDN_URL.$path_fix."template/$OJ_TEMPLATE/"?>bootstrap-theme.min.css">
|
||||
<?php }?>
|
||||
<link rel="stylesheet" href="<?php echo $path_fix."template/$OJ_TEMPLATE/$OJ_CSS"?>?v=0.1">
|
||||
<link rel="stylesheet" href="<?php echo $OJ_CDN_URL.$path_fix."template/$OJ_TEMPLATE/"?>katex.min.css">
|
||||
<link rel="stylesheet" href="<?php echo $OJ_CDN_URL.$path_fix."template/$OJ_TEMPLATE/"?>mathjax.css">
|
||||
@@ -1,55 +0,0 @@
|
||||
<!-- /web/template/bs3/discuss.php -->
|
||||
|
||||
<?php $show_title="$MSG_BBS - $OJ_NAME"; ?>
|
||||
|
||||
<?php
|
||||
$view_discuss=ob_get_contents();
|
||||
ob_end_clean();
|
||||
require_once(dirname(__FILE__)."/../../lang/$OJ_LANG.php");
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
<title>
|
||||
<?php echo $OJ_NAME?>
|
||||
</title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<?php include("include/bbcode.php");?>
|
||||
<div class="padding">
|
||||
<h1><?php echo $news_title ?></h1>
|
||||
<div class="ui existing segment">
|
||||
<?php echo $view_discuss?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,42 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php if(isset($OJ_MEMCACHE)) include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<?php echo $view_errors?>
|
||||
<p>
|
||||
<iframe src="refresh-privilege.php" height="0px" width="0px" alt="auto try obtain new privielges on error" ></iframe>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,221 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<hr>
|
||||
<center>
|
||||
<font size="+3"><?php echo $OJ_NAME?> Online Judge FAQ</font>
|
||||
</center>
|
||||
|
||||
<hr>
|
||||
|
||||
<p><font color=green>Q</font>:gets函数没有了吗?<br>
|
||||
<font color=red>A</font>:gets函数因为不能限制输入的长度,造成了历史上大量的缓冲区溢出漏洞,因此在最新版本中被彻底删除了,请使用fgets这个函数取代。
|
||||
或者使用下面的宏定义来取代:<br>
|
||||
<pre>#define gets(S) fgets(S,sizeof(S),stdin)</pre><br>
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
<p><font color=green>Q</font>:这个在线裁判系统使用什么样的编译器和编译选项?<br>
|
||||
<font color=red>A</font>:系统运行于<a href="http://www.debian.org/">Debian</a>/<a href="http://www.ubuntu.com">Ubuntu</a>
|
||||
Linux. 使用<a href="http://gcc.gnu.org/">GNU GCC/G++</a> 作为C/C++编译器,
|
||||
<a href="http://www.freepascal.org">Free Pascal</a> 作为pascal 编译器 ,用
|
||||
<a href="http://openjdk.java.net/">openjdk-17.0.4</a> 编译 Java. 对应的编译选项如下:<br>
|
||||
</p>
|
||||
<table border="1">
|
||||
<tr>
|
||||
<td>C:</td>
|
||||
<td><font color=blue>gcc Main.c -o Main -fno-asm -Wall -lm --static -std=c99 -DONLINE_JUDGE</font>
|
||||
<pre>#pragma GCC optimize ("O2")</pre> 可以手工开启O2优化
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>C++:</td>
|
||||
<td><font color=blue>g++ -fno-asm -Wall -lm --static -std=c++14 -DONLINE_JUDGE -o Main Main.cc</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Pascal:</td>
|
||||
<td><font color=blue>fpc Main.pas -oMain -O1 -Co -Cr -Ct -Ci </font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Java:</td>
|
||||
<td><font color="blue">javac -J-Xms32m -J-Xmx256m Main.java</font>
|
||||
<br>
|
||||
<font size="-1" color="red">*Java has 2 more seconds and 512M more memory when running and judging.</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p> 编译器版本为(系统可能升级编译器版本,这里仅供参考):<br>
|
||||
|
||||
<font color=blue>Gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)</font><br>
|
||||
<font color=blue>Glibc 2.31-0ubuntu9.2</font><br>
|
||||
<font color=blue>Free Pascal Compiler version 3.0.4+dfsg-23 [2019/11/25] for x86_64</font><br>
|
||||
<font color=blue>Openjdk 17</font><br>
|
||||
<font color=blue>Python 3.8.5</font><br>
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
<p><font color=green>Q</font>:程序怎样取得输入、进行输出?<br>
|
||||
<font color=red>A</font>:你的程序应该从标准输入 stdin('Standard Input')获取输入,并将结果输出到标准输出 stdout('Standard Output').例如,在C语言可以使用 'scanf' ,在C++可以使用'cin' 进行输入;在C使用 'printf' ,在C++使用'cout'进行输出.</p>
|
||||
<p>用户程序不允许直接读写文件, 如果这样做可能会判为运行时错误 "<font color=green>Runtime Error</font>"。<br>
|
||||
<br>
|
||||
下面是 1000题的参考答案</p>
|
||||
<p> C++:<br>
|
||||
</p>
|
||||
<pre><font color="blue">
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
int main(){
|
||||
// io speed up
|
||||
const char endl = '\n';
|
||||
std::ios::sync_with_stdio(false);
|
||||
cin.tie(nullptr);
|
||||
|
||||
int a,b;
|
||||
while(cin >> a >> b)
|
||||
cout << a+b << endl;
|
||||
return 0;
|
||||
}
|
||||
</font></pre>
|
||||
C:<br>
|
||||
<pre><font color="blue">
|
||||
#include <stdio.h>
|
||||
int main(){
|
||||
int a,b;
|
||||
while(scanf("%d %d",&a, &b) != EOF)
|
||||
printf("%d\n",a+b);
|
||||
return 0;
|
||||
}
|
||||
</font></pre>
|
||||
PASCAL:<br>
|
||||
<pre><font color="blue">
|
||||
program p1001(Input,Output);
|
||||
var
|
||||
a,b:Integer;
|
||||
begin
|
||||
while not eof(Input) do
|
||||
begin
|
||||
Readln(a,b);
|
||||
Writeln(a+b);
|
||||
end;
|
||||
end.
|
||||
</font></pre>
|
||||
<br><br>
|
||||
|
||||
Java:<br>
|
||||
<pre><font color="blue">
|
||||
import java.util.*;
|
||||
public class Main{
|
||||
public static void main(String args[]){
|
||||
Scanner cin = new Scanner(System.in);
|
||||
int a, b;
|
||||
while (cin.hasNext()){
|
||||
a = cin.nextInt(); b = cin.nextInt();
|
||||
System.out.println(a + b);
|
||||
}
|
||||
}
|
||||
}</font></pre>
|
||||
Python3<br>
|
||||
<pre>import io
|
||||
import sys
|
||||
sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='utf8')
|
||||
for line in sys.stdin:
|
||||
a = line.split()
|
||||
print(int(a[0]) + int(a[1]))
|
||||
</pre>
|
||||
为了方便使用本地文件调试,C/C++也可以用下面的方法来仅在本地运行时进行输入、输出重定向。
|
||||
<pre>
|
||||
#ifdnef ONLINE_JUDGE
|
||||
freopen("sample.in", "r", stdin);
|
||||
freopen("sample.out", "w", stdout);
|
||||
#endif
|
||||
</pre>
|
||||
|
||||
<hr>
|
||||
<font color=green>Q</font>:为什么我的程序在自己的电脑上正常编译,而系统告诉我编译错误!<br>
|
||||
<font color=red>A</font>:GCC的编译标准与VC6有些不同,更加符合c/c++标准:<br>
|
||||
<ul>
|
||||
<li><font color=blue>main</font> 函数必须返回<font color=blue>int</font>, <font color=blue>void main</font> 的函数声明会报编译错误。<br>
|
||||
<li><font color=green>i</font> 在循环外失去定义 "<font color=blue>for</font>(<font color=blue>int</font> <font color=green>i</font>=0...){...}"<br>
|
||||
<li><font color=green>itoa</font> 不是ansi标准函数.<br>
|
||||
<li><font color=green>__int64</font> 不是ANSI标准定义,只能在VC使用, 但是可以使用<font color=blue>long long</font>声明64位整数。<br>如果用了__int64,试试提交前加一句#define __int64 long long, scanf和printf 请使用%lld作为格式
|
||||
</ul>
|
||||
<hr>
|
||||
<font color=green>Q</font>:系统返回信息都是什么意思?<br>
|
||||
<font color=red>A</font>:详见下述:<br>
|
||||
<p><font color=blue>Pending</font> : 系统忙,你的答案在排队等待. </p>
|
||||
<p><font color=blue>Pending Rejudge</font>: 因为数据更新或其他原因,系统将重新判你的答案.</p>
|
||||
<p><font color=blue>Compiling</font> : 正在编译.<br>
|
||||
</p>
|
||||
<p><font color="blue">Running & Judging</font>: 正在运行和判断.<br>
|
||||
</p>
|
||||
<p><font color=blue>Accepted</font> : 程序通过!<br>
|
||||
<br>
|
||||
<font color=blue>Presentation Error</font> : 答案基本正确,但是格式不对。<br>
|
||||
<br>
|
||||
<font color=blue>Wrong Answer</font> : 答案不对,仅仅通过样例数据的测试并不一定是正确答案,一定还有你没想到的地方.<br>
|
||||
<br>
|
||||
<font color=blue>Time Limit Exceeded</font> : 运行超出时间限制,检查下是否有死循环,或者应该有更快的计算方法。<br>
|
||||
<br>
|
||||
<font color=blue>Memory Limit Exceeded</font> : 超出内存限制,数据可能需要压缩,检查内存是否有泄露。<br>
|
||||
<br>
|
||||
<font color=blue>Output Limit Exceeded</font>: 输出超过限制,你的输出比正确答案长了两倍.<br>
|
||||
<br>
|
||||
<font color=blue>Runtime Error</font> : 运行时错误,非法的内存访问,数组越界,指针漂移,调用禁用的系统函数。请点击后获得详细输出。<br>
|
||||
</p>
|
||||
<p> <font color=blue>Compile Error</font> : 编译错误,请点击后获得编译器的详细输出。<br>
|
||||
<br>
|
||||
</p>
|
||||
<hr>
|
||||
<font color=green>Q</font>:如何参加在线比赛?<br>
|
||||
<font color=red>A</font>:<a href=registerpage.php>注册</a> 一个帐号,然后就可以练习,点击比赛列表Contests可以看到正在进行的比赛并参加。<br>
|
||||
<br>
|
||||
<hr>
|
||||
<center>
|
||||
<font color=green size="+2">其他问题请访问<a href="bbs.php"><?php echo $OJ_NAME?>论坛系统</a></font>
|
||||
</center>
|
||||
<hr>
|
||||
<center>
|
||||
<table width=100% border=0>
|
||||
<tr>
|
||||
<td align=right width=65%>
|
||||
<a href = "index.php"><font color=red><?php echo $OJ_NAME?></font></a>
|
||||
<a href = "https://github.com/zhblue/hustoj"><font color=red>2024.8.4</font></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
</div>
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,203 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title>
|
||||
<?php echo $OJ_NAME?>
|
||||
</title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
|
||||
<hr>
|
||||
<center>
|
||||
<font size="+3">
|
||||
<?php echo $OJ_NAME?> FAQ</font>
|
||||
</center>
|
||||
<hr>
|
||||
|
||||
<font color=green>Q</font>:이 채점시스템에서 사용하는 코드 컴파일 옵션은?<br>
|
||||
<font color=red>A</font>:이 채점시스템은 <a href="http://www.debian.org/">Debian Linux</a>에서 운영됩니다. C/C++ 코드는 <a href="http://gcc.gnu.org/">GNU GCC/G++</a> 컴파일러, Pascal 코드는 <a href="http://www.freepascal.org">Free Pascal</a> 컴파일러, Java 코드는 <a href="http://openjdk.java.net">openjdk-7-jdk</a> 컴파일러를 사용합니다. 각 언어별 코드 컴파일 옵션은 다음과 같습니다.:<br>
|
||||
<br>
|
||||
|
||||
<table border="1">
|
||||
<tr>
|
||||
<td>C:</td>
|
||||
<td>
|
||||
<font color=blue>gcc Main.c -o Main -fno-asm -Wall -lm --static -std=c99 -DONLINE_JUDGE</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>C++:</td>
|
||||
<td>
|
||||
<font color=blue>g++ Main.cc -o Main -fno-asm -Wall -lm --static -std=c++11 -DONLINE_JUDGE</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Pascal:</td>
|
||||
<td>
|
||||
<font color=blue>fpc Main.pas -oMain -O1 -Co -Cr -Ct -Ci </font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Java:</td>
|
||||
<td>
|
||||
<font color="blue">javac -J-Xms32m -J-Xmx256m Main.java</font>
|
||||
<br>
|
||||
<font size="-1" color="red">*Java 코드를 실행하고 채점하는 경우 +2초, +512MB 가 추가됩니다.</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>- 컴파일러 버전은 다음과 같습니다.:<br>
|
||||
<font color=blue>Gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)</font><br>
|
||||
<font color=blue>Glibc 2.31-0ubuntu9.2</font><br>
|
||||
<font color=blue>Free Pascal Compiler version 3.0.4+dfsg-23 [2019/11/25] for x86_64</font><br>
|
||||
<font color=blue>Openjdk "17.0.4+8-1~20.04"</font><br>
|
||||
<font color=blue>Python 3.8.5</font><br>
|
||||
|
||||
<hr>
|
||||
<font color=green>Q</font>:코드 작성시 데이터 입출력은 어떻게 하나요?<br>
|
||||
<font color=red>A</font>:stdin('표준입력')에서 읽고, stdout('표준출력')으로 출력해야합니다. 예를 들어, C언어에서는 'scanf', C++ 언어에서는 'cin' 을 이용해서 stdin(입력)을 읽어들입니다. 또한, C언어에서는 'printf', C++언어에서는 'cout'을 이용해 stdout(출력)으로 출력할 수 있습니다.<br> 파일 입출력을 사용한 코드를 제출하는 경우에는 "<font color=green>Runtime Error</font>(실행 중 에러)" 메시지를 받게 됩니다.<br><br> C++ 입출력 예시:<br>
|
||||
<pre><font color="blue">
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
int main(){
|
||||
int a,b;
|
||||
while(cin >> a >> b)
|
||||
cout << a+b << endl;
|
||||
return 0;
|
||||
}
|
||||
</font></pre> C 입출력 예시:<br>
|
||||
<pre><font color="blue">
|
||||
#include <stdio.h>
|
||||
int main(){
|
||||
int a,b;
|
||||
while(scanf("%d %d",&a, &b) != EOF)
|
||||
printf("%d\n",a+b);
|
||||
return 0;
|
||||
}
|
||||
</font></pre> Pascal 입출력 예시:<br>
|
||||
<pre><font color="blue">
|
||||
program p1001(Input,Output);
|
||||
var
|
||||
a,b:Integer;
|
||||
begin
|
||||
while not eof(Input) do
|
||||
begin
|
||||
Readln(a,b);
|
||||
Writeln(a+b);
|
||||
end;
|
||||
end.
|
||||
</font></pre> Java 입출력 예시:<br>
|
||||
<pre><font color="blue">
|
||||
import java.util.*;
|
||||
public class Main{
|
||||
public static void main(String args[]){
|
||||
Scanner cin = new Scanner(System.in);
|
||||
int a, b;
|
||||
while (cin.hasNext()){
|
||||
a = cin.nextInt(); b = cin.nextInt();
|
||||
System.out.println(a + b);
|
||||
}
|
||||
}
|
||||
}</font></pre>
|
||||
|
||||
<hr>
|
||||
<font color=green>Q</font>:컴파일 에러는 언제 발생하나요?!<br>
|
||||
<font color=red>A</font>:GNU 와 MS-VC++ 는 다음과 같이 다릅니다.:<br>
|
||||
<ul>
|
||||
<li>
|
||||
<font color=blue>main</font> 함수의 데이터형은 반드시 <font color=blue>int</font> 이어야 합니다. <font color=blue>void main</font> 으로 작성한 경우 Compile Error 메시지를 받게 됩니다.<br>
|
||||
<li>
|
||||
<font color=green>i</font> 변수가 "<font color=blue>for</font>(<font color=blue>int </font><font color=green>i</font>=0...){...}" 와 같이 선언되어있는 상태인데 for 코드블록 밖에서 참조되는 경우 Compile Error 메시지를 받게 됩니다.<br>
|
||||
<li>
|
||||
<font color=green>itoa</font> 함수는 ANSI 표준 함수가 아닙니다.<br>
|
||||
<li>
|
||||
VC 에서 사용되는 <font color=green>__int64</font> 데이터형도 ANSI 표준이 아닙니다. 따라서, 64비트 정수 데이터형을 위해서는
|
||||
<font color=blue>long long</font> 을 사용해야합니다. <br>MSVC6.0 를 위해서 #define __int64 long long 와 같은 전처리 코드를 사용할 수도 있습니다.
|
||||
</ul>
|
||||
<hr>
|
||||
<font color=green>Q</font>:채점 코드 제출 후 받게 되는 메시지들은 어떤 의미인가요?<br>
|
||||
<font color=red>A</font>:채점 코드 제출 후 받게 되는 메시지들의 의미는 다음과 같습니다.:<br>
|
||||
<br>
|
||||
- <font color=blue>채점 대기중</font> : 코드가 제출되고 채점을 기다리고 있는 상태입니다. 대부분의 경우 조금만 기다리면 채점이 진행됩니다.
|
||||
<br>
|
||||
- <font color=blue>재채점 대기중</font> : 채점 데이터가 갱신되어 재채점을 기다리고 있는 상태입니다.
|
||||
<br>
|
||||
- <font color=blue>컴파일중</font> : 제출된 코드를 컴파일 중이라는 의미입니다.
|
||||
<br>
|
||||
- <font color="blue">채점중</font>: 채점이 진행되고 있는 상태라는 의미입니다.
|
||||
<br>
|
||||
- <font color=blue>모두 맞음</font> : 모든 채점 데이터에 대해서 정확한 답을 출력했다는 의미입니다.
|
||||
<br>
|
||||
- <font color=blue>출력형식 다름</font> : 출력된 결과가 문제에서 출력해야하는 출력형식과 다르게 출력되었다는 의미입니다. 문제의 출력형식에서 요구하는 형식과 똑같아야 합니다. 답 출력 후 출력형식에는 없는 공백문자나 줄 바꿈이 더 출력되지는 않았는지 확인해 보아야 합니다.
|
||||
<br>
|
||||
- <font color=blue>틀림</font> : 틀린 답을 출력한 것을 의미합니다. 채점 시스템에 등록하는 채점 데이터들은 외부로 공개하지 않는 것이 일반적입니다. 제출한 코드가 틀린 답을 출력하는 경우가 어떤 경우일지 더 생각해 보아야 합니다.
|
||||
<br>
|
||||
- <font color=blue>시간제한 초과</font> : 제한시간 이내에 답을 출력하지 못했다는 것을 의미합니다. 좀 더 빠르면서도 정확한 결과를 출력하도록 소스 코드를 수정해야합니다.
|
||||
<br>
|
||||
- <font color=blue>메모리제한 초과</font> : 제출한 프로그램이 제한된 메모리용량보다 더 많은 기억공간을 사용했다는 것을 의미합니다. 일반적으로는 메모리를 더 적게 사용하는 코드로 수정해야합니다.
|
||||
<br>
|
||||
- <font color=blue>출력제한 초과</font>: 제출한 프로그램이 제한된 출력량 이상으로 결과를 출력했다는 것을 의미합니다. 대부분의 경우 무한 반복 실행 구조에 의해 발생합니다. 채점 시스템의 출력 제한 바이트 수는 1M bytes 입니다.
|
||||
<br>
|
||||
- <font color=blue>실행중 에러</font> : 제출한 프로그램이 실행되는 도중에 오류가 발생했다는 것을 의미합니다. 예를 들어, 'segmentation fault(허용되지 않는 메모리 영역에 접근하는 경우: 배열 인덱스 초과 등)','floating point exception(실수 계산 예외: 0 으로 나누는 등)','used forbidden functions(제한된 함수를 사용한 경우: 파일 처리 함수 등이 사용된 경우 등)', 'tried to access forbidden memories(허용되지 않는 시스템 메모리 영역 등에 접근하는 경우 등)' 등에 의해 발생합니다.
|
||||
<br>
|
||||
- <font color=blue>컴파일 에러</font> : 제출한 소스코드를 ANSI 표준(gcc/g++/gpc) 컴파일러로 컴파일하지 못했다는 것을 의미합니다. 컴파일 오류 메시지가 아닌 오류 경고(warning)는 이 메시지를 출력하지 않습니다. 메시지 부분을 누르면 컴파일 오류 메시지를 확인할 수도 있습니다.<br>
|
||||
|
||||
<hr>
|
||||
<font color=green>Q</font>: 온라인 대회(Online Contests)는 어떻게 참가하나요?<br>
|
||||
<font color=red>A</font>: 먼저 <a href=registerpage.php>회원가입</a> 을 통해 계정을 만들어야 온라인 대회에 참여할 수 있게 됩니다.<br>
|
||||
<br>
|
||||
<hr>
|
||||
|
||||
<center>
|
||||
<font color=green size="+2">궁금한 내용이나 건의사항은 <a href="bbs.php"><?php echo $MSG_BBS?></a>를 사용해 도움 받을 수도 있습니다.
|
||||
</font>
|
||||
</center>
|
||||
<hr>
|
||||
<center>
|
||||
<table width=100% border=0>
|
||||
<tr>
|
||||
<td align=right width=65%>
|
||||
<a href="index.php">
|
||||
<font color=red><?php echo $OJ_NAME?></font>
|
||||
<font color=red>20.09.15</font>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,55 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<hr>
|
||||
<center>
|
||||
<font size="+3"><?php echo $OJ_NAME?> FAQ</font>
|
||||
</center>
|
||||
<hr>
|
||||
<?php echo $view_faqs?>
|
||||
<hr>
|
||||
<center>
|
||||
<table width=100% border=0>
|
||||
<tr>
|
||||
<td align=right width=65%>
|
||||
<a href = "index.php"><font color=red><?php echo $OJ_NAME?></font></a>
|
||||
<a href = "https://github.com/zhblue/hustoj"><font color=red>17.12.01</font></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
</div>
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,222 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title>
|
||||
<?php echo $OJ_NAME?>
|
||||
</title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<hr>
|
||||
<center>
|
||||
<font size="+3">
|
||||
<?php echo $OJ_NAME?> FAQ</font>
|
||||
</center>
|
||||
<hr>
|
||||
<p>
|
||||
<font color=green>Q</font>:What is the compiler the judge is using and what are the compiler options?<br>
|
||||
<font color=red>A</font>:The online judge system is running on <a href="http://www.debian.org/">Debian Linux</a>. We are using <a href="http://gcc.gnu.org/">GNU GCC/G++</a> for C/C++ compile,
|
||||
<a href="http://www.freepascal.org">Free Pascal</a> for pascal compile and
|
||||
<a href="http://openjdk.java.net">openjdk-7-jdk</a> for Java. The compile options are:<br>
|
||||
</p>
|
||||
<table border="1">
|
||||
<tr>
|
||||
<td>C:</td>
|
||||
<td>
|
||||
<font color=blue>gcc Main.c -o Main -fno-asm -Wall -lm --static -std=c99 -DONLINE_JUDGE</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>C++:</td>
|
||||
<td>
|
||||
<font color=blue>g++ Main.cc -o Main -fno-asm -Wall -lm --static -std=c++11 -DONLINE_JUDGE</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Pascal:</td>
|
||||
<td>
|
||||
<font color=blue>fpc Main.pas -oMain -O1 -Co -Cr -Ct -Ci </font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Java:</td>
|
||||
<td>
|
||||
<font color="blue">javac -J-Xms32m -J-Xmx256m Main.java</font>
|
||||
<br>
|
||||
<font size="-1" color="red">*Java has 2 more seconds and 512M more memory when running and judging.</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p> Our compiler software version:<br>
|
||||
<font color=blue>Gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)</font><br>
|
||||
<font color=blue>Glibc 2.31-0ubuntu9.2</font><br>
|
||||
<font color=blue>Free Pascal Compiler version 3.0.4+dfsg-23 [2019/11/25] for x86_64</font><br>
|
||||
<font color=blue>Openjdk "17.0.4+8-1~20.04"</font><br>
|
||||
<font color=blue>Python 3.8.5</font><br>
|
||||
</p>
|
||||
<hr>
|
||||
<font color=green>Q</font>:Where is the input and the output?<br>
|
||||
<font color=red>A</font>:Your program shall read input from stdin('Standard Input') and write output to stdout('Standard Output').For example,you can use 'scanf' in C or 'cin' in C++ to read from stdin,and use 'printf' in C or 'cout' in C++ to write to stdout.<br> User programs are not allowed to open and read from/write to files, you will get a "
|
||||
<font color=green>Runtime Error</font>" if you try to do so.<br><br> Here is a sample solution for problem 1000 using C++:<br>
|
||||
<pre><font color="blue">
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
int main(){
|
||||
// io speed up
|
||||
const char endl = '\n';
|
||||
std::ios::sync_with_stdio(false);
|
||||
cin.tie(nullptr);
|
||||
|
||||
int a,b;
|
||||
while(cin >> a >> b)
|
||||
cout << a+b << endl;
|
||||
return 0;
|
||||
}
|
||||
</font></pre> Here is a sample solution for problem 1000 using C:<br>
|
||||
<pre><font color="blue">
|
||||
#include <stdio.h>
|
||||
int main(){
|
||||
int a,b;
|
||||
while(scanf("%d %d",&a, &b) != EOF)
|
||||
printf("%d\n",a+b);
|
||||
return 0;
|
||||
}
|
||||
</font></pre> Here is a sample solution for problem 1000 using PASCAL:<br>
|
||||
<pre><font color="blue">
|
||||
program p1001(Input,Output);
|
||||
var
|
||||
a,b:Integer;
|
||||
begin
|
||||
while not eof(Input) do
|
||||
begin
|
||||
Readln(a,b);
|
||||
Writeln(a+b);
|
||||
end;
|
||||
end.
|
||||
</font></pre>
|
||||
<br><br> Here is a sample solution for problem 1000 using Java:<br>
|
||||
<pre><font color="blue">
|
||||
import java.util.*;
|
||||
public class Main{
|
||||
public static void main(String args[]){
|
||||
Scanner cin = new Scanner(System.in);
|
||||
int a, b;
|
||||
while (cin.hasNext()){
|
||||
a = cin.nextInt(); b = cin.nextInt();
|
||||
System.out.println(a + b);
|
||||
}
|
||||
}
|
||||
}</font></pre>
|
||||
|
||||
<hr>
|
||||
<font color=green>Q</font>:Why did I get a Compile Error? It's well done!<br>
|
||||
<font color=red>A</font>:There are some differences between GNU and MS-VC++, such as:<br>
|
||||
<ul>
|
||||
<li>
|
||||
<font color=blue>main</font> must be declared as
|
||||
<font color=blue>int</font>,
|
||||
<font color=blue>void main</font> will end up with a Compile Error.<br>
|
||||
<li>
|
||||
<font color=green>i</font> is out of definition after block "
|
||||
<font color=blue>for</font>(
|
||||
<font color=blue>int</font>
|
||||
<font color=green>i</font>=0...){...}"<br>
|
||||
<li>
|
||||
<font color=green>itoa</font> is not an ANSI function.<br>
|
||||
<li>
|
||||
<font color=green>__int64</font> of VC is not ANSI, but you can use
|
||||
<font color=blue>long long</font> for 64-bit integer.<br>try use #define __int64 long long when submit codes from MSVC6.0
|
||||
</ul>
|
||||
<hr>
|
||||
<font color=green>Q</font>:What is the meaning of the judge's reply XXXXX?<br>
|
||||
<font color=red>A</font>:Here is a list of the judge's replies and their meaning:<br>
|
||||
<p>
|
||||
<font color=blue>Pending</font> : The judge is so busy that it can't judge your submit at the moment, usually you just need to wait a minute and your submit will be judged. </p>
|
||||
<p>
|
||||
<font color=blue>Pending Rejudge</font>: The test datas has been updated, and the submit will be judged again and all of these submission was waiting for the Rejudge.</p>
|
||||
<p>
|
||||
<font color=blue>Compiling</font> : The judge is compiling your source code.<br>
|
||||
</p>
|
||||
<p>
|
||||
<font color="blue">Running & Judging</font>: Your code is running and being judging by our Online Judge.<br>
|
||||
</p>
|
||||
<p>
|
||||
<font color=blue>Accepted</font> : OK! Your program is correct!.<br>
|
||||
<br>
|
||||
<font color=blue>Presentation Error</font> : Your output format is not exactly the same as the judge's output, although your answer to the problem is correct. Check your output for spaces, blank lines,etc against the problem output specification.<br>
|
||||
<br>
|
||||
<font color=blue>Wrong Answer</font> : Correct solution not reached for the inputs. The inputs and outputs that we use to test the programs are not public (it is recomendable to get accustomed to a true contest dynamic ;-).<br>
|
||||
<br>
|
||||
<font color=blue>Time Limit Exceeded</font> : Your program tried to run during too much time.<br>
|
||||
<br>
|
||||
<font color=blue>Memory Limit Exceeded</font> : Your program tried to use more memory than the judge default settings. <br>
|
||||
<br>
|
||||
<font color=blue>Output Limit Exceeded</font>: Your program tried to write too much information. This usually occurs if it goes into a infinite loop. Currently the output limit is 1M bytes.<br>
|
||||
<br>
|
||||
<font color=blue>Runtime Error</font> : All the other Error on the running phrase will get Runtime Error, such as 'segmentation fault','floating point exception','used forbidden functions', 'tried to access forbidden memories' and so on.<br>
|
||||
</p>
|
||||
<p>
|
||||
<font color=blue>Compile Error</font> : The compiler (gcc/g++/gpc) could not compile your ANSI program. Of course, warning messages are not error messages. Click the link at the judge reply to see the actual error message.<br>
|
||||
<br>
|
||||
</p>
|
||||
<hr>
|
||||
<font color=green>Q</font>:How to attend Online Contests?<br>
|
||||
<font color=red>A</font>:Can you submit programs for any practice problems on this Online Judge? If you can, then that is the account you use in an online contest. If you can't, then please <a href=registerpage.php>register</a> an id with password first.<br>
|
||||
<br>
|
||||
<hr>
|
||||
<center>
|
||||
<font color=green size="+2">Any questions/suggestions please post to <a href="bbs.php"><?php echo $MSG_BBS?></a>
|
||||
</font>
|
||||
</center>
|
||||
<hr>
|
||||
this page can be replaced by add a news which titled "<?php echo htmlentities($faqs_name,ENT_QUOTES,"UTF-8")?>";
|
||||
<hr>
|
||||
|
||||
<center>
|
||||
<table width=100% border=0>
|
||||
<tr>
|
||||
<td align=right width=65%>
|
||||
<a href="index.php">
|
||||
<font color=red>HUSTOJ</font>
|
||||
</a>
|
||||
<a href="https://github.com/zhblue/hustoj">
|
||||
<font color=red>2020.01.22</font>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,208 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<hr>
|
||||
<center>
|
||||
<font size="+3"> بۇ سىستېما ھەققىدە</font>
|
||||
</center>
|
||||
<hr>
|
||||
<a href="<?php echo $path_fix?>./template/jiugui/download/index.html"><span class="glyphicon glyphicon-thumbs-up" aria-hidden="true"></span> <?php echo $MSG_EXPORT?></a>
|
||||
<p align="right"><b>بۇ كود تەكشۈرۈش سۇپىسى قانداق تەرجىمىتېر ۋە تەرجىمە ئۇسلۇبلىرىنى قوللىنىدۇ ؟:<font color=green>Q</font><br>
|
||||
مەشغۇلات سىستىمىسىدا يۈگۈرەيدۇ<a href="http://www.ubuntu.com">Ubuntu</a>Linux بۇ سۇپا:<font color=red >A</font> <br>
|
||||
دەل بۇسۇپىنىڭ س\س پلۇس-پلۇس تىل پروگرامما تەرجىمە مۇھىتى <a href="http://gcc.gnu.org/"> GNU GCC/G++</a><br>
|
||||
تىلىنىڭ تەرجىمە مۇھىتىpascal<a href="http://www.freepascal.org"> Free Pascal</a><br>
|
||||
تىلىنىڭ تەرجىمە مۇھىتى ھېسابلىنىدۇ.Java<a href="http://openjdk.java.net/" align="right"> openjdk-7</a><br>
|
||||
</p>
|
||||
<table border="1">
|
||||
<tr>
|
||||
<td>C:</td>
|
||||
<td><font color=blue>gcc Main.c -o Main -fno-asm -Wall -lm --static -std=c99 -DONLINE_JUDGE</font>
|
||||
<pre>#pragma GCC optimize ("O2")</pre> بۇ ئارقىلىق قولدا كرگۈزۈش چىقىرىش ئەلالاشتۇرۇشقىمۇ بولىدۇ
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>C++:</td>
|
||||
<td><font color=blue>g++ -fno-asm -Wall -lm --static -std=c++11 -DONLINE_JUDGE -o Main Main.cc</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Pascal:</td>
|
||||
<td><font color=blue>fpc Main.pas -oMain -O1 -Co -Cr -Ct -Ci </font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Java:</td>
|
||||
<td><font color="blue">javac -J-Xms32m -J-Xmx256m Main.java</font>
|
||||
<br>
|
||||
<font size="-1" color="red">*Java has 2 more seconds and 512M more memory when running and judging.</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p align="right"><b> :سىستىما تىل تەرجىمىتېر نەشىر نۇسخا پايدىلىنىش كۆرسەتكۈچى<br>
|
||||
<font color=blue>Gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)</font><br>
|
||||
<font color=blue>Glibc 2.31-0ubuntu9.2</font><br>
|
||||
<font color=blue>Free Pascal Compiler version 3.0.4+dfsg-23 [2019/11/25] for x86_64</font><br>
|
||||
<font color=blue>Openjdk "14.0.2"</font><br>
|
||||
<font color=blue>Python 3.8.5</font><br>
|
||||
</p>
|
||||
<hr>
|
||||
<p align="right"><b> پروگىرامما قانداق يېزىش چىقىرىش ئىلىپ بارىدۇ ؟ قانداق پىرىنسىپقا بويسىنىدۇ ؟:<font color=green>Q</font><br>
|
||||
ئۆلچەملىك كىرگۈزۈش ئارقىلىق ئۇچۇرنى ئوقۇيدۇ stdin('Standard Input') :<font color=red>A</font><br>
|
||||
ئۆلچەملىك يېزىش ئارقىلىق ئۇچۇرنى چىقىرىدۇ. stdout('Standard Output') <br>
|
||||
نى ئىشلەتسىڭىز بولىدۇ.'scanf' تىلىدا C,نى ئىشلەتسىڭىز 'cin' تىلىدا C++<br>
|
||||
نى ئىشلەتسىڭىز بولىدۇ.'printf' تىلىدا C,نى ئىشلەتسىڭىز 'cout' تىلىدا C++<br>
|
||||
باشقا تىللاردا شۇ تىلنىڭ ئۆلچەملىك ئوقۇش-يېزىشنى ئىشلەتسىڭىز بولىدۇ
|
||||
</p>
|
||||
<p align="right"><b>ئەگەر ئۆلچەملىك ئوقۇش-يېزىشنى ئىشلەتمەي،ھۆججەت ئوقۇش-يېزىشنى ئىشلەتسىڭىز بۇ سۇپا يۈرۈش خاتا دەپ نەتىجە چىقىرىپ بىرىدۇ <br>
|
||||
<font color=green>Runtime Error</font>
|
||||
<br>
|
||||
تۆۋەندە 1000 سوئالنىڭ ئۆلچەملىك كودى بىرىلىدۇ</p>
|
||||
<p> C++:<br>
|
||||
</p>
|
||||
<pre><font color="blue">
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
int main(){
|
||||
int a,b;
|
||||
cin >> a >> b;
|
||||
cout << a+b << endl;
|
||||
return 0;
|
||||
}
|
||||
</font></pre>
|
||||
C:<br>
|
||||
<pre><font color="blue">
|
||||
#include <stdio.h>
|
||||
int main(){
|
||||
int a,b;
|
||||
scanf("%d %d",&a, &b);
|
||||
printf("%d\n",a+b);
|
||||
return 0;
|
||||
}
|
||||
</font></pre>
|
||||
|
||||
<p><b>تۆۋەندىكىلىرى كۆپ كىرگۈزۈش ئەھۋاللىرىنىڭ كودى،1000 سوئالنىڭ كودى ئەمەس <b> </p>
|
||||
PASCAL:<br>
|
||||
<pre><font color="blue">
|
||||
program p1001(Input,Output);
|
||||
var
|
||||
a,b:Integer;
|
||||
begin
|
||||
while not eof(Input) do
|
||||
begin
|
||||
Readln(a,b);
|
||||
Writeln(a+b);
|
||||
end;
|
||||
end.
|
||||
</font></pre>
|
||||
<br><br>
|
||||
|
||||
Java:<br>
|
||||
<pre><font color="blue">
|
||||
import java.util.*;
|
||||
public class Main{
|
||||
public static void main(String args[]){
|
||||
Scanner cin = new Scanner(System.in);
|
||||
int a, b;
|
||||
while (cin.hasNext()){
|
||||
a = cin.nextInt(); b = cin.nextInt();
|
||||
System.out.println(a + b);
|
||||
}
|
||||
}
|
||||
}</font></pre>
|
||||
|
||||
<hr >
|
||||
<b>
|
||||
<p align="right">
|
||||
<b>
|
||||
نىمىشقا كومپۇتېرىمدا مۇۋاپپىقىيەتلىك يۈرگەن كود ب سۇپىدا ئۆتەلمەيدۇ ؟<font color=green>Q</font><br>
|
||||
نىڭ ئۇسلۇبىغا تېخىمۇ بەك ئوخشايدۇc/c++ گە ئوخشىمايدۇ،VC6 نىڭ تەرجىمە ئۇسلۇبى GCC:<font color=red>A</font><br>
|
||||
</p>
|
||||
<ul align="right">
|
||||
<li>دەپ ئېنىقلىما بىرىلگەن ئاساس فۇنكىسىيە ئۆتەلمەيدۇ <font color=blue>void main</font> تىپدا بولىشى زۆرۈر <font color=blue>int</font> فۇنكىسىيە قايىتقان قىممەت چوقۇم <font color=blue>main</font><br>
|
||||
<li >سىرتىغا چىكىتىپ قالغان بولۇشى مۇمكىن "<font color=blue>for</font>(<font color=blue>int</font> <font color=green>i</font>=0...){...}" <font color=green>i</font> ئۆزگەرگۈچى مىقدار<br>
|
||||
<li>ئۆلچەملىك فۇنكىسىيە ئەمەس،خالىغانچە ئىشلەتمەڭ<font color=green>itoa</font><br>
|
||||
<li>نى ئىشلىتىشكە بولىدۇ،ياكى تۆۋەندىكىدەك ئىشلىتىشكىمۇ بولىدۇ <font color=blue>long long</font>دىلا ئىشلىتىشكە بولىدۇ،ئەمماVCئۆلچەملىك ئەمەس،پەقەت <font color=green>__int64</font><br>
|
||||
#define __int64 long long<br>
|
||||
نى ئىشلىتىڭ%lldدە scanf،printf
|
||||
</ul>
|
||||
<hr>
|
||||
<p align="right">
|
||||
<b>
|
||||
سىستىما چىقارغان نەتىجىلەر نىمە مەنىدە؟:<font color=green>Q</font><br>
|
||||
تەپسىلانى تۆۋىندىكىچىە :<font color=red>A</font><br>
|
||||
</p>
|
||||
<p align="right"><b>سىستىما ئالدىراش،ئۆچرەتتە كۈتۈۋاتىدۇ :<font color=blue>Pending</font></p>
|
||||
<p align="right"><b>سان-سىپىر سەۋەپلىك سىستىما قايتا تەكشۈرۈشتە:<font color=blue>Pending Rejudge</font></p>
|
||||
<p align="right"><b>تەرجىمە قىلىنىۋاتىدۇ:<font color=blue>Compiling</font><br>
|
||||
</p>
|
||||
<p align="right"><b>!كود يۈرۈۋاتىدۇ ھەم تەكشۈرۈشتە:<font color="blue">Running & Judging</font><br>
|
||||
</p>
|
||||
<p align="right"><b>!مۇبارەك بولسۇن ،كودىڭىز بارلىق سىناق نۇقتىلىرىدىن مۇۋاپپىقىيەتلىك ئۆتتى:<font color=blue>Accepted</font><br>
|
||||
<br>
|
||||
جاۋاب توغرا ، ئەمما لىكىن فورمات چىقىرىشتا مەسىلە كۆرۈلدى:<font color=blue>Presentation Error</font><br>
|
||||
<br>:<font color=blue>Wrong Answer</font><br>
|
||||
جاۋابىڭىز خاتا!!! ئۈلگە كىرگۈزۈش چىقىرىشتىنلا ئۆتكەن كود توغرا كود بولۇشى ناتايىن،تېخىمۇ ئىنچىكە ئويلىنىپ بېقىڭ،ئارقا سۇپىدا يەنە باشقا كىرگۈزۈش چىقىرىشلار بار
|
||||
<br>
|
||||
كودىڭىز بەلگىلەنگەن چەكلىك ۋاقىت ئىچىدە بارلىق سىناق نۇقتىلىرىدىن ئۆتۈپ بولالمىدى:<font color=blue>Time Limit Exceeded</font><br>
|
||||
<br>
|
||||
كودىڭىز چەكلىمىدىن يۇقرى ئىچكى ساقلىغۇچ سەرىپ قىلدى:<font color=blue>Memory Limit Exceeded</font><br>
|
||||
<br>
|
||||
كودىڭىز بەك كۆپ ئۇچۇر چىقاردى،تەپسىلى كۆرۈپ بېقىڭ ،ئادەتتە چىقىرىش 1 مىگابايىتتىن ئاشمايدۇ:<font color=blue>Output Limit Exceeded</font><br>
|
||||
<br>
|
||||
:<font color=blue>Runtime Error</font><br>
|
||||
يۈرۈش خاتا.گەرچە كودىڭىز توغرا تەرجىمە بولۇنسىمۇ،يۈرۈش جەريانىدا خاتالىق كۆرۈلدى.سەۋەبى بەلكىم تۆۋەندىكىچە:قائىدىگە ئىخلاپ ساقلىغۇچ زىيارىتى ياكى ئىندىكىس،چەكلەنگەن فۇنكىسىيەنى ئىشلىتىش،پويىنتېر ئۇچۇپ يۈرۈش
|
||||
</p>
|
||||
<p align="right"><b>
|
||||
كودىڭىز تەرجىمىدە مەغلۇپ بولدى.كودىڭىزدا ئېغىر دەرجىدە تىل خاتالىق بار،بۇيەرنى چىكىپ تەپسىلاتىنى كۆرۈڭ:<font color=blue>Compile Error</font><br>
|
||||
<br>
|
||||
</p>
|
||||
<hr>
|
||||
<br>
|
||||
<hr>
|
||||
<center>
|
||||
<font color=green size="+2"><a href="bbs.php"><?php echo $OJ_NAME?>论坛系统</a>باشقا كۆپ تەپسىلاتلارنى بۇ يەردىن كۆرۈڭ</font>
|
||||
</center>
|
||||
<hr>
|
||||
<center>
|
||||
<table width=100% border=0>
|
||||
<tr>
|
||||
<td align=right width=65%>
|
||||
<a href = "index.php"><font color=red><?php echo $OJ_NAME?></font></a>
|
||||
<a href = "https://github.com/zhblue/hustoj"><font color=red>17.12.01</font></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
</div>
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,288 +0,0 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata></metadata>
|
||||
<defs>
|
||||
<font id="glyphicons_halflingsregular" horiz-adv-x="1200" >
|
||||
<font-face units-per-em="1200" ascent="960" descent="-240" />
|
||||
<missing-glyph horiz-adv-x="500" />
|
||||
<glyph horiz-adv-x="0" />
|
||||
<glyph horiz-adv-x="400" />
|
||||
<glyph unicode=" " />
|
||||
<glyph unicode="*" d="M600 1100q15 0 34 -1.5t30 -3.5l11 -1q10 -2 17.5 -10.5t7.5 -18.5v-224l158 158q7 7 18 8t19 -6l106 -106q7 -8 6 -19t-8 -18l-158 -158h224q10 0 18.5 -7.5t10.5 -17.5q6 -41 6 -75q0 -15 -1.5 -34t-3.5 -30l-1 -11q-2 -10 -10.5 -17.5t-18.5 -7.5h-224l158 -158 q7 -7 8 -18t-6 -19l-106 -106q-8 -7 -19 -6t-18 8l-158 158v-224q0 -10 -7.5 -18.5t-17.5 -10.5q-41 -6 -75 -6q-15 0 -34 1.5t-30 3.5l-11 1q-10 2 -17.5 10.5t-7.5 18.5v224l-158 -158q-7 -7 -18 -8t-19 6l-106 106q-7 8 -6 19t8 18l158 158h-224q-10 0 -18.5 7.5 t-10.5 17.5q-6 41 -6 75q0 15 1.5 34t3.5 30l1 11q2 10 10.5 17.5t18.5 7.5h224l-158 158q-7 7 -8 18t6 19l106 106q8 7 19 6t18 -8l158 -158v224q0 10 7.5 18.5t17.5 10.5q41 6 75 6z" />
|
||||
<glyph unicode="+" d="M450 1100h200q21 0 35.5 -14.5t14.5 -35.5v-350h350q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-350v-350q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v350h-350q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5 h350v350q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode=" " />
|
||||
<glyph unicode="¥" d="M825 1100h250q10 0 12.5 -5t-5.5 -13l-364 -364q-6 -6 -11 -18h268q10 0 13 -6t-3 -14l-120 -160q-6 -8 -18 -14t-22 -6h-125v-100h275q10 0 13 -6t-3 -14l-120 -160q-6 -8 -18 -14t-22 -6h-125v-174q0 -11 -7.5 -18.5t-18.5 -7.5h-148q-11 0 -18.5 7.5t-7.5 18.5v174 h-275q-10 0 -13 6t3 14l120 160q6 8 18 14t22 6h125v100h-275q-10 0 -13 6t3 14l120 160q6 8 18 14t22 6h118q-5 12 -11 18l-364 364q-8 8 -5.5 13t12.5 5h250q25 0 43 -18l164 -164q8 -8 18 -8t18 8l164 164q18 18 43 18z" />
|
||||
<glyph unicode=" " horiz-adv-x="650" />
|
||||
<glyph unicode=" " horiz-adv-x="1300" />
|
||||
<glyph unicode=" " horiz-adv-x="650" />
|
||||
<glyph unicode=" " horiz-adv-x="1300" />
|
||||
<glyph unicode=" " horiz-adv-x="433" />
|
||||
<glyph unicode=" " horiz-adv-x="325" />
|
||||
<glyph unicode=" " horiz-adv-x="216" />
|
||||
<glyph unicode=" " horiz-adv-x="216" />
|
||||
<glyph unicode=" " horiz-adv-x="162" />
|
||||
<glyph unicode=" " horiz-adv-x="260" />
|
||||
<glyph unicode=" " horiz-adv-x="72" />
|
||||
<glyph unicode=" " horiz-adv-x="260" />
|
||||
<glyph unicode=" " horiz-adv-x="325" />
|
||||
<glyph unicode="€" d="M744 1198q242 0 354 -189q60 -104 66 -209h-181q0 45 -17.5 82.5t-43.5 61.5t-58 40.5t-60.5 24t-51.5 7.5q-19 0 -40.5 -5.5t-49.5 -20.5t-53 -38t-49 -62.5t-39 -89.5h379l-100 -100h-300q-6 -50 -6 -100h406l-100 -100h-300q9 -74 33 -132t52.5 -91t61.5 -54.5t59 -29 t47 -7.5q22 0 50.5 7.5t60.5 24.5t58 41t43.5 61t17.5 80h174q-30 -171 -128 -278q-107 -117 -274 -117q-206 0 -324 158q-36 48 -69 133t-45 204h-217l100 100h112q1 47 6 100h-218l100 100h134q20 87 51 153.5t62 103.5q117 141 297 141z" />
|
||||
<glyph unicode="₽" d="M428 1200h350q67 0 120 -13t86 -31t57 -49.5t35 -56.5t17 -64.5t6.5 -60.5t0.5 -57v-16.5v-16.5q0 -36 -0.5 -57t-6.5 -61t-17 -65t-35 -57t-57 -50.5t-86 -31.5t-120 -13h-178l-2 -100h288q10 0 13 -6t-3 -14l-120 -160q-6 -8 -18 -14t-22 -6h-138v-175q0 -11 -5.5 -18 t-15.5 -7h-149q-10 0 -17.5 7.5t-7.5 17.5v175h-267q-10 0 -13 6t3 14l120 160q6 8 18 14t22 6h117v100h-267q-10 0 -13 6t3 14l120 160q6 8 18 14t22 6h117v475q0 10 7.5 17.5t17.5 7.5zM600 1000v-300h203q64 0 86.5 33t22.5 119q0 84 -22.5 116t-86.5 32h-203z" />
|
||||
<glyph unicode="−" d="M250 700h800q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="⌛" d="M1000 1200v-150q0 -21 -14.5 -35.5t-35.5 -14.5h-50v-100q0 -91 -49.5 -165.5t-130.5 -109.5q81 -35 130.5 -109.5t49.5 -165.5v-150h50q21 0 35.5 -14.5t14.5 -35.5v-150h-800v150q0 21 14.5 35.5t35.5 14.5h50v150q0 91 49.5 165.5t130.5 109.5q-81 35 -130.5 109.5 t-49.5 165.5v100h-50q-21 0 -35.5 14.5t-14.5 35.5v150h800zM400 1000v-100q0 -60 32.5 -109.5t87.5 -73.5q28 -12 44 -37t16 -55t-16 -55t-44 -37q-55 -24 -87.5 -73.5t-32.5 -109.5v-150h400v150q0 60 -32.5 109.5t-87.5 73.5q-28 12 -44 37t-16 55t16 55t44 37 q55 24 87.5 73.5t32.5 109.5v100h-400z" />
|
||||
<glyph unicode="◼" horiz-adv-x="500" d="M0 0z" />
|
||||
<glyph unicode="☁" d="M503 1089q110 0 200.5 -59.5t134.5 -156.5q44 14 90 14q120 0 205 -86.5t85 -206.5q0 -121 -85 -207.5t-205 -86.5h-750q-79 0 -135.5 57t-56.5 137q0 69 42.5 122.5t108.5 67.5q-2 12 -2 37q0 153 108 260.5t260 107.5z" />
|
||||
<glyph unicode="⛺" d="M774 1193.5q16 -9.5 20.5 -27t-5.5 -33.5l-136 -187l467 -746h30q20 0 35 -18.5t15 -39.5v-42h-1200v42q0 21 15 39.5t35 18.5h30l468 746l-135 183q-10 16 -5.5 34t20.5 28t34 5.5t28 -20.5l111 -148l112 150q9 16 27 20.5t34 -5zM600 200h377l-182 112l-195 534v-646z " />
|
||||
<glyph unicode="✉" d="M25 1100h1150q10 0 12.5 -5t-5.5 -13l-564 -567q-8 -8 -18 -8t-18 8l-564 567q-8 8 -5.5 13t12.5 5zM18 882l264 -264q8 -8 8 -18t-8 -18l-264 -264q-8 -8 -13 -5.5t-5 12.5v550q0 10 5 12.5t13 -5.5zM918 618l264 264q8 8 13 5.5t5 -12.5v-550q0 -10 -5 -12.5t-13 5.5 l-264 264q-8 8 -8 18t8 18zM818 482l364 -364q8 -8 5.5 -13t-12.5 -5h-1150q-10 0 -12.5 5t5.5 13l364 364q8 8 18 8t18 -8l164 -164q8 -8 18 -8t18 8l164 164q8 8 18 8t18 -8z" />
|
||||
<glyph unicode="✏" d="M1011 1210q19 0 33 -13l153 -153q13 -14 13 -33t-13 -33l-99 -92l-214 214l95 96q13 14 32 14zM1013 800l-615 -614l-214 214l614 614zM317 96l-333 -112l110 335z" />
|
||||
<glyph unicode="" d="M700 650v-550h250q21 0 35.5 -14.5t14.5 -35.5v-50h-800v50q0 21 14.5 35.5t35.5 14.5h250v550l-500 550h1200z" />
|
||||
<glyph unicode="" d="M368 1017l645 163q39 15 63 0t24 -49v-831q0 -55 -41.5 -95.5t-111.5 -63.5q-79 -25 -147 -4.5t-86 75t25.5 111.5t122.5 82q72 24 138 8v521l-600 -155v-606q0 -42 -44 -90t-109 -69q-79 -26 -147 -5.5t-86 75.5t25.5 111.5t122.5 82.5q72 24 138 7v639q0 38 14.5 59 t53.5 34z" />
|
||||
<glyph unicode="" d="M500 1191q100 0 191 -39t156.5 -104.5t104.5 -156.5t39 -191l-1 -2l1 -5q0 -141 -78 -262l275 -274q23 -26 22.5 -44.5t-22.5 -42.5l-59 -58q-26 -20 -46.5 -20t-39.5 20l-275 274q-119 -77 -261 -77l-5 1l-2 -1q-100 0 -191 39t-156.5 104.5t-104.5 156.5t-39 191 t39 191t104.5 156.5t156.5 104.5t191 39zM500 1022q-88 0 -162 -43t-117 -117t-43 -162t43 -162t117 -117t162 -43t162 43t117 117t43 162t-43 162t-117 117t-162 43z" />
|
||||
<glyph unicode="" d="M649 949q48 68 109.5 104t121.5 38.5t118.5 -20t102.5 -64t71 -100.5t27 -123q0 -57 -33.5 -117.5t-94 -124.5t-126.5 -127.5t-150 -152.5t-146 -174q-62 85 -145.5 174t-150 152.5t-126.5 127.5t-93.5 124.5t-33.5 117.5q0 64 28 123t73 100.5t104 64t119 20 t120.5 -38.5t104.5 -104z" />
|
||||
<glyph unicode="" d="M407 800l131 353q7 19 17.5 19t17.5 -19l129 -353h421q21 0 24 -8.5t-14 -20.5l-342 -249l130 -401q7 -20 -0.5 -25.5t-24.5 6.5l-343 246l-342 -247q-17 -12 -24.5 -6.5t-0.5 25.5l130 400l-347 251q-17 12 -14 20.5t23 8.5h429z" />
|
||||
<glyph unicode="" d="M407 800l131 353q7 19 17.5 19t17.5 -19l129 -353h421q21 0 24 -8.5t-14 -20.5l-342 -249l130 -401q7 -20 -0.5 -25.5t-24.5 6.5l-343 246l-342 -247q-17 -12 -24.5 -6.5t-0.5 25.5l130 400l-347 251q-17 12 -14 20.5t23 8.5h429zM477 700h-240l197 -142l-74 -226 l193 139l195 -140l-74 229l192 140h-234l-78 211z" />
|
||||
<glyph unicode="" d="M600 1200q124 0 212 -88t88 -212v-250q0 -46 -31 -98t-69 -52v-75q0 -10 6 -21.5t15 -17.5l358 -230q9 -5 15 -16.5t6 -21.5v-93q0 -10 -7.5 -17.5t-17.5 -7.5h-1150q-10 0 -17.5 7.5t-7.5 17.5v93q0 10 6 21.5t15 16.5l358 230q9 6 15 17.5t6 21.5v75q-38 0 -69 52 t-31 98v250q0 124 88 212t212 88z" />
|
||||
<glyph unicode="" d="M25 1100h1150q10 0 17.5 -7.5t7.5 -17.5v-1050q0 -10 -7.5 -17.5t-17.5 -7.5h-1150q-10 0 -17.5 7.5t-7.5 17.5v1050q0 10 7.5 17.5t17.5 7.5zM100 1000v-100h100v100h-100zM875 1000h-550q-10 0 -17.5 -7.5t-7.5 -17.5v-350q0 -10 7.5 -17.5t17.5 -7.5h550 q10 0 17.5 7.5t7.5 17.5v350q0 10 -7.5 17.5t-17.5 7.5zM1000 1000v-100h100v100h-100zM100 800v-100h100v100h-100zM1000 800v-100h100v100h-100zM100 600v-100h100v100h-100zM1000 600v-100h100v100h-100zM875 500h-550q-10 0 -17.5 -7.5t-7.5 -17.5v-350q0 -10 7.5 -17.5 t17.5 -7.5h550q10 0 17.5 7.5t7.5 17.5v350q0 10 -7.5 17.5t-17.5 7.5zM100 400v-100h100v100h-100zM1000 400v-100h100v100h-100zM100 200v-100h100v100h-100zM1000 200v-100h100v100h-100z" />
|
||||
<glyph unicode="" d="M50 1100h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM650 1100h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400 q0 21 14.5 35.5t35.5 14.5zM50 500h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM650 500h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400 q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M50 1100h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 1100h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200 q0 21 14.5 35.5t35.5 14.5zM850 1100h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM50 700h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200 q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 700h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM850 700h200q21 0 35.5 -14.5t14.5 -35.5v-200 q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM50 300h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 300h200 q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM850 300h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5 t35.5 14.5z" />
|
||||
<glyph unicode="" d="M50 1100h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 1100h700q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v200 q0 21 14.5 35.5t35.5 14.5zM50 700h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 700h700q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700 q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM50 300h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 300h700q21 0 35.5 -14.5t14.5 -35.5v-200 q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M465 477l571 571q8 8 18 8t17 -8l177 -177q8 -7 8 -17t-8 -18l-783 -784q-7 -8 -17.5 -8t-17.5 8l-384 384q-8 8 -8 18t8 17l177 177q7 8 17 8t18 -8l171 -171q7 -7 18 -7t18 7z" />
|
||||
<glyph unicode="" d="M904 1083l178 -179q8 -8 8 -18.5t-8 -17.5l-267 -268l267 -268q8 -7 8 -17.5t-8 -18.5l-178 -178q-8 -8 -18.5 -8t-17.5 8l-268 267l-268 -267q-7 -8 -17.5 -8t-18.5 8l-178 178q-8 8 -8 18.5t8 17.5l267 268l-267 268q-8 7 -8 17.5t8 18.5l178 178q8 8 18.5 8t17.5 -8 l268 -267l268 268q7 7 17.5 7t18.5 -7z" />
|
||||
<glyph unicode="" d="M507 1177q98 0 187.5 -38.5t154.5 -103.5t103.5 -154.5t38.5 -187.5q0 -141 -78 -262l300 -299q8 -8 8 -18.5t-8 -18.5l-109 -108q-7 -8 -17.5 -8t-18.5 8l-300 299q-119 -77 -261 -77q-98 0 -188 38.5t-154.5 103t-103 154.5t-38.5 188t38.5 187.5t103 154.5 t154.5 103.5t188 38.5zM506.5 1023q-89.5 0 -165.5 -44t-120 -120.5t-44 -166t44 -165.5t120 -120t165.5 -44t166 44t120.5 120t44 165.5t-44 166t-120.5 120.5t-166 44zM425 900h150q10 0 17.5 -7.5t7.5 -17.5v-75h75q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5 t-17.5 -7.5h-75v-75q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v75h-75q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h75v75q0 10 7.5 17.5t17.5 7.5z" />
|
||||
<glyph unicode="" d="M507 1177q98 0 187.5 -38.5t154.5 -103.5t103.5 -154.5t38.5 -187.5q0 -141 -78 -262l300 -299q8 -8 8 -18.5t-8 -18.5l-109 -108q-7 -8 -17.5 -8t-18.5 8l-300 299q-119 -77 -261 -77q-98 0 -188 38.5t-154.5 103t-103 154.5t-38.5 188t38.5 187.5t103 154.5 t154.5 103.5t188 38.5zM506.5 1023q-89.5 0 -165.5 -44t-120 -120.5t-44 -166t44 -165.5t120 -120t165.5 -44t166 44t120.5 120t44 165.5t-44 166t-120.5 120.5t-166 44zM325 800h350q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-350q-10 0 -17.5 7.5 t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5z" />
|
||||
<glyph unicode="" d="M550 1200h100q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM800 975v166q167 -62 272 -209.5t105 -331.5q0 -117 -45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5 t-184.5 123t-123 184.5t-45.5 224q0 184 105 331.5t272 209.5v-166q-103 -55 -165 -155t-62 -220q0 -116 57 -214.5t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5q0 120 -62 220t-165 155z" />
|
||||
<glyph unicode="" d="M1025 1200h150q10 0 17.5 -7.5t7.5 -17.5v-1150q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v1150q0 10 7.5 17.5t17.5 7.5zM725 800h150q10 0 17.5 -7.5t7.5 -17.5v-750q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v750 q0 10 7.5 17.5t17.5 7.5zM425 500h150q10 0 17.5 -7.5t7.5 -17.5v-450q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v450q0 10 7.5 17.5t17.5 7.5zM125 300h150q10 0 17.5 -7.5t7.5 -17.5v-250q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5 v250q0 10 7.5 17.5t17.5 7.5z" />
|
||||
<glyph unicode="" d="M600 1174q33 0 74 -5l38 -152l5 -1q49 -14 94 -39l5 -2l134 80q61 -48 104 -105l-80 -134l3 -5q25 -44 39 -93l1 -6l152 -38q5 -43 5 -73q0 -34 -5 -74l-152 -38l-1 -6q-15 -49 -39 -93l-3 -5l80 -134q-48 -61 -104 -105l-134 81l-5 -3q-44 -25 -94 -39l-5 -2l-38 -151 q-43 -5 -74 -5q-33 0 -74 5l-38 151l-5 2q-49 14 -94 39l-5 3l-134 -81q-60 48 -104 105l80 134l-3 5q-25 45 -38 93l-2 6l-151 38q-6 42 -6 74q0 33 6 73l151 38l2 6q13 48 38 93l3 5l-80 134q47 61 105 105l133 -80l5 2q45 25 94 39l5 1l38 152q43 5 74 5zM600 815 q-89 0 -152 -63t-63 -151.5t63 -151.5t152 -63t152 63t63 151.5t-63 151.5t-152 63z" />
|
||||
<glyph unicode="" d="M500 1300h300q41 0 70.5 -29.5t29.5 -70.5v-100h275q10 0 17.5 -7.5t7.5 -17.5v-75h-1100v75q0 10 7.5 17.5t17.5 7.5h275v100q0 41 29.5 70.5t70.5 29.5zM500 1200v-100h300v100h-300zM1100 900v-800q0 -41 -29.5 -70.5t-70.5 -29.5h-700q-41 0 -70.5 29.5t-29.5 70.5 v800h900zM300 800v-700h100v700h-100zM500 800v-700h100v700h-100zM700 800v-700h100v700h-100zM900 800v-700h100v700h-100z" />
|
||||
<glyph unicode="" d="M18 618l620 608q8 7 18.5 7t17.5 -7l608 -608q8 -8 5.5 -13t-12.5 -5h-175v-575q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v375h-300v-375q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v575h-175q-10 0 -12.5 5t5.5 13z" />
|
||||
<glyph unicode="" d="M600 1200v-400q0 -41 29.5 -70.5t70.5 -29.5h300v-650q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v1100q0 21 14.5 35.5t35.5 14.5h450zM1000 800h-250q-21 0 -35.5 14.5t-14.5 35.5v250z" />
|
||||
<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM525 900h50q10 0 17.5 -7.5t7.5 -17.5v-275h175q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5z" />
|
||||
<glyph unicode="" d="M1300 0h-538l-41 400h-242l-41 -400h-538l431 1200h209l-21 -300h162l-20 300h208zM515 800l-27 -300h224l-27 300h-170z" />
|
||||
<glyph unicode="" d="M550 1200h200q21 0 35.5 -14.5t14.5 -35.5v-450h191q20 0 25.5 -11.5t-7.5 -27.5l-327 -400q-13 -16 -32 -16t-32 16l-327 400q-13 16 -7.5 27.5t25.5 11.5h191v450q0 21 14.5 35.5t35.5 14.5zM1125 400h50q10 0 17.5 -7.5t7.5 -17.5v-350q0 -10 -7.5 -17.5t-17.5 -7.5 h-1050q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5h50q10 0 17.5 -7.5t7.5 -17.5v-175h900v175q0 10 7.5 17.5t17.5 7.5z" />
|
||||
<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM525 900h150q10 0 17.5 -7.5t7.5 -17.5v-275h137q21 0 26 -11.5t-8 -27.5l-223 -275q-13 -16 -32 -16t-32 16l-223 275q-13 16 -8 27.5t26 11.5h137v275q0 10 7.5 17.5t17.5 7.5z " />
|
||||
<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM632 914l223 -275q13 -16 8 -27.5t-26 -11.5h-137v-275q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v275h-137q-21 0 -26 11.5t8 27.5l223 275q13 16 32 16 t32 -16z" />
|
||||
<glyph unicode="" d="M225 1200h750q10 0 19.5 -7t12.5 -17l186 -652q7 -24 7 -49v-425q0 -12 -4 -27t-9 -17q-12 -6 -37 -6h-1100q-12 0 -27 4t-17 8q-6 13 -6 38l1 425q0 25 7 49l185 652q3 10 12.5 17t19.5 7zM878 1000h-556q-10 0 -19 -7t-11 -18l-87 -450q-2 -11 4 -18t16 -7h150 q10 0 19.5 -7t11.5 -17l38 -152q2 -10 11.5 -17t19.5 -7h250q10 0 19.5 7t11.5 17l38 152q2 10 11.5 17t19.5 7h150q10 0 16 7t4 18l-87 450q-2 11 -11 18t-19 7z" />
|
||||
<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM540 820l253 -190q17 -12 17 -30t-17 -30l-253 -190q-16 -12 -28 -6.5t-12 26.5v400q0 21 12 26.5t28 -6.5z" />
|
||||
<glyph unicode="" d="M947 1060l135 135q7 7 12.5 5t5.5 -13v-362q0 -10 -7.5 -17.5t-17.5 -7.5h-362q-11 0 -13 5.5t5 12.5l133 133q-109 76 -238 76q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5h150q0 -117 -45.5 -224 t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5q192 0 347 -117z" />
|
||||
<glyph unicode="" d="M947 1060l135 135q7 7 12.5 5t5.5 -13v-361q0 -11 -7.5 -18.5t-18.5 -7.5h-361q-11 0 -13 5.5t5 12.5l134 134q-110 75 -239 75q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5h-150q0 117 45.5 224t123 184.5t184.5 123t224 45.5q192 0 347 -117zM1027 600h150 q0 -117 -45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5q-192 0 -348 118l-134 -134q-7 -8 -12.5 -5.5t-5.5 12.5v360q0 11 7.5 18.5t18.5 7.5h360q10 0 12.5 -5.5t-5.5 -12.5l-133 -133q110 -76 240 -76q116 0 214.5 57t155.5 155.5t57 214.5z" />
|
||||
<glyph unicode="" d="M125 1200h1050q10 0 17.5 -7.5t7.5 -17.5v-1150q0 -10 -7.5 -17.5t-17.5 -7.5h-1050q-10 0 -17.5 7.5t-7.5 17.5v1150q0 10 7.5 17.5t17.5 7.5zM1075 1000h-850q-10 0 -17.5 -7.5t-7.5 -17.5v-850q0 -10 7.5 -17.5t17.5 -7.5h850q10 0 17.5 7.5t7.5 17.5v850 q0 10 -7.5 17.5t-17.5 7.5zM325 900h50q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM525 900h450q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-450q-10 0 -17.5 7.5t-7.5 17.5v50 q0 10 7.5 17.5t17.5 7.5zM325 700h50q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM525 700h450q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-450q-10 0 -17.5 7.5t-7.5 17.5v50 q0 10 7.5 17.5t17.5 7.5zM325 500h50q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM525 500h450q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-450q-10 0 -17.5 7.5t-7.5 17.5v50 q0 10 7.5 17.5t17.5 7.5zM325 300h50q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM525 300h450q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-450q-10 0 -17.5 7.5t-7.5 17.5v50 q0 10 7.5 17.5t17.5 7.5z" />
|
||||
<glyph unicode="" d="M900 800v200q0 83 -58.5 141.5t-141.5 58.5h-300q-82 0 -141 -59t-59 -141v-200h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-600q0 -41 29.5 -70.5t70.5 -29.5h900q41 0 70.5 29.5t29.5 70.5v600q0 41 -29.5 70.5t-70.5 29.5h-100zM400 800v150q0 21 15 35.5t35 14.5h200 q20 0 35 -14.5t15 -35.5v-150h-300z" />
|
||||
<glyph unicode="" d="M125 1100h50q10 0 17.5 -7.5t7.5 -17.5v-1075h-100v1075q0 10 7.5 17.5t17.5 7.5zM1075 1052q4 0 9 -2q16 -6 16 -23v-421q0 -6 -3 -12q-33 -59 -66.5 -99t-65.5 -58t-56.5 -24.5t-52.5 -6.5q-26 0 -57.5 6.5t-52.5 13.5t-60 21q-41 15 -63 22.5t-57.5 15t-65.5 7.5 q-85 0 -160 -57q-7 -5 -15 -5q-6 0 -11 3q-14 7 -14 22v438q22 55 82 98.5t119 46.5q23 2 43 0.5t43 -7t32.5 -8.5t38 -13t32.5 -11q41 -14 63.5 -21t57 -14t63.5 -7q103 0 183 87q7 8 18 8z" />
|
||||
<glyph unicode="" d="M600 1175q116 0 227 -49.5t192.5 -131t131 -192.5t49.5 -227v-300q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v300q0 127 -70.5 231.5t-184.5 161.5t-245 57t-245 -57t-184.5 -161.5t-70.5 -231.5v-300q0 -10 -7.5 -17.5t-17.5 -7.5h-50 q-10 0 -17.5 7.5t-7.5 17.5v300q0 116 49.5 227t131 192.5t192.5 131t227 49.5zM220 500h160q8 0 14 -6t6 -14v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14v460q0 8 6 14t14 6zM820 500h160q8 0 14 -6t6 -14v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14v460 q0 8 6 14t14 6z" />
|
||||
<glyph unicode="" d="M321 814l258 172q9 6 15 2.5t6 -13.5v-750q0 -10 -6 -13.5t-15 2.5l-258 172q-21 14 -46 14h-250q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5h250q25 0 46 14zM900 668l120 120q7 7 17 7t17 -7l34 -34q7 -7 7 -17t-7 -17l-120 -120l120 -120q7 -7 7 -17 t-7 -17l-34 -34q-7 -7 -17 -7t-17 7l-120 119l-120 -119q-7 -7 -17 -7t-17 7l-34 34q-7 7 -7 17t7 17l119 120l-119 120q-7 7 -7 17t7 17l34 34q7 8 17 8t17 -8z" />
|
||||
<glyph unicode="" d="M321 814l258 172q9 6 15 2.5t6 -13.5v-750q0 -10 -6 -13.5t-15 2.5l-258 172q-21 14 -46 14h-250q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5h250q25 0 46 14zM766 900h4q10 -1 16 -10q96 -129 96 -290q0 -154 -90 -281q-6 -9 -17 -10l-3 -1q-9 0 -16 6 l-29 23q-7 7 -8.5 16.5t4.5 17.5q72 103 72 229q0 132 -78 238q-6 8 -4.5 18t9.5 17l29 22q7 5 15 5z" />
|
||||
<glyph unicode="" d="M967 1004h3q11 -1 17 -10q135 -179 135 -396q0 -105 -34 -206.5t-98 -185.5q-7 -9 -17 -10h-3q-9 0 -16 6l-42 34q-8 6 -9 16t5 18q111 150 111 328q0 90 -29.5 176t-84.5 157q-6 9 -5 19t10 16l42 33q7 5 15 5zM321 814l258 172q9 6 15 2.5t6 -13.5v-750q0 -10 -6 -13.5 t-15 2.5l-258 172q-21 14 -46 14h-250q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5h250q25 0 46 14zM766 900h4q10 -1 16 -10q96 -129 96 -290q0 -154 -90 -281q-6 -9 -17 -10l-3 -1q-9 0 -16 6l-29 23q-7 7 -8.5 16.5t4.5 17.5q72 103 72 229q0 132 -78 238 q-6 8 -4.5 18.5t9.5 16.5l29 22q7 5 15 5z" />
|
||||
<glyph unicode="" d="M500 900h100v-100h-100v-100h-400v-100h-100v600h500v-300zM1200 700h-200v-100h200v-200h-300v300h-200v300h-100v200h600v-500zM100 1100v-300h300v300h-300zM800 1100v-300h300v300h-300zM300 900h-100v100h100v-100zM1000 900h-100v100h100v-100zM300 500h200v-500 h-500v500h200v100h100v-100zM800 300h200v-100h-100v-100h-200v100h-100v100h100v200h-200v100h300v-300zM100 400v-300h300v300h-300zM300 200h-100v100h100v-100zM1200 200h-100v100h100v-100zM700 0h-100v100h100v-100zM1200 0h-300v100h300v-100z" />
|
||||
<glyph unicode="" d="M100 200h-100v1000h100v-1000zM300 200h-100v1000h100v-1000zM700 200h-200v1000h200v-1000zM900 200h-100v1000h100v-1000zM1200 200h-200v1000h200v-1000zM400 0h-300v100h300v-100zM600 0h-100v91h100v-91zM800 0h-100v91h100v-91zM1100 0h-200v91h200v-91z" />
|
||||
<glyph unicode="" d="M500 1200l682 -682q8 -8 8 -18t-8 -18l-464 -464q-8 -8 -18 -8t-18 8l-682 682l1 475q0 10 7.5 17.5t17.5 7.5h474zM319.5 1024.5q-29.5 29.5 -71 29.5t-71 -29.5t-29.5 -71.5t29.5 -71.5t71 -29.5t71 29.5t29.5 71.5t-29.5 71.5z" />
|
||||
<glyph unicode="" d="M500 1200l682 -682q8 -8 8 -18t-8 -18l-464 -464q-8 -8 -18 -8t-18 8l-682 682l1 475q0 10 7.5 17.5t17.5 7.5h474zM800 1200l682 -682q8 -8 8 -18t-8 -18l-464 -464q-8 -8 -18 -8t-18 8l-56 56l424 426l-700 700h150zM319.5 1024.5q-29.5 29.5 -71 29.5t-71 -29.5 t-29.5 -71.5t29.5 -71.5t71 -29.5t71 29.5t29.5 71.5t-29.5 71.5z" />
|
||||
<glyph unicode="" d="M300 1200h825q75 0 75 -75v-900q0 -25 -18 -43l-64 -64q-8 -8 -13 -5.5t-5 12.5v950q0 10 -7.5 17.5t-17.5 7.5h-700q-25 0 -43 -18l-64 -64q-8 -8 -5.5 -13t12.5 -5h700q10 0 17.5 -7.5t7.5 -17.5v-950q0 -10 -7.5 -17.5t-17.5 -7.5h-850q-10 0 -17.5 7.5t-7.5 17.5v975 q0 25 18 43l139 139q18 18 43 18z" />
|
||||
<glyph unicode="" d="M250 1200h800q21 0 35.5 -14.5t14.5 -35.5v-1150l-450 444l-450 -445v1151q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M822 1200h-444q-11 0 -19 -7.5t-9 -17.5l-78 -301q-7 -24 7 -45l57 -108q6 -9 17.5 -15t21.5 -6h450q10 0 21.5 6t17.5 15l62 108q14 21 7 45l-83 301q-1 10 -9 17.5t-19 7.5zM1175 800h-150q-10 0 -21 -6.5t-15 -15.5l-78 -156q-4 -9 -15 -15.5t-21 -6.5h-550 q-10 0 -21 6.5t-15 15.5l-78 156q-4 9 -15 15.5t-21 6.5h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-650q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h750q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5 t7.5 17.5v650q0 10 -7.5 17.5t-17.5 7.5zM850 200h-500q-10 0 -19.5 -7t-11.5 -17l-38 -152q-2 -10 3.5 -17t15.5 -7h600q10 0 15.5 7t3.5 17l-38 152q-2 10 -11.5 17t-19.5 7z" />
|
||||
<glyph unicode="" d="M500 1100h200q56 0 102.5 -20.5t72.5 -50t44 -59t25 -50.5l6 -20h150q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v600q0 41 29.5 70.5t70.5 29.5h150q2 8 6.5 21.5t24 48t45 61t72 48t102.5 21.5zM900 800v-100 h100v100h-100zM600 730q-95 0 -162.5 -67.5t-67.5 -162.5t67.5 -162.5t162.5 -67.5t162.5 67.5t67.5 162.5t-67.5 162.5t-162.5 67.5zM600 603q43 0 73 -30t30 -73t-30 -73t-73 -30t-73 30t-30 73t30 73t73 30z" />
|
||||
<glyph unicode="" d="M681 1199l385 -998q20 -50 60 -92q18 -19 36.5 -29.5t27.5 -11.5l10 -2v-66h-417v66q53 0 75 43.5t5 88.5l-82 222h-391q-58 -145 -92 -234q-11 -34 -6.5 -57t25.5 -37t46 -20t55 -6v-66h-365v66q56 24 84 52q12 12 25 30.5t20 31.5l7 13l399 1006h93zM416 521h340 l-162 457z" />
|
||||
<glyph unicode="" d="M753 641q5 -1 14.5 -4.5t36 -15.5t50.5 -26.5t53.5 -40t50.5 -54.5t35.5 -70t14.5 -87q0 -67 -27.5 -125.5t-71.5 -97.5t-98.5 -66.5t-108.5 -40.5t-102 -13h-500v89q41 7 70.5 32.5t29.5 65.5v827q0 24 -0.5 34t-3.5 24t-8.5 19.5t-17 13.5t-28 12.5t-42.5 11.5v71 l471 -1q57 0 115.5 -20.5t108 -57t80.5 -94t31 -124.5q0 -51 -15.5 -96.5t-38 -74.5t-45 -50.5t-38.5 -30.5zM400 700h139q78 0 130.5 48.5t52.5 122.5q0 41 -8.5 70.5t-29.5 55.5t-62.5 39.5t-103.5 13.5h-118v-350zM400 200h216q80 0 121 50.5t41 130.5q0 90 -62.5 154.5 t-156.5 64.5h-159v-400z" />
|
||||
<glyph unicode="" d="M877 1200l2 -57q-83 -19 -116 -45.5t-40 -66.5l-132 -839q-9 -49 13 -69t96 -26v-97h-500v97q186 16 200 98l173 832q3 17 3 30t-1.5 22.5t-9 17.5t-13.5 12.5t-21.5 10t-26 8.5t-33.5 10q-13 3 -19 5v57h425z" />
|
||||
<glyph unicode="" d="M1300 900h-50q0 21 -4 37t-9.5 26.5t-18 17.5t-22 11t-28.5 5.5t-31 2t-37 0.5h-200v-850q0 -22 25 -34.5t50 -13.5l25 -2v-100h-400v100q4 0 11 0.5t24 3t30 7t24 15t11 24.5v850h-200q-25 0 -37 -0.5t-31 -2t-28.5 -5.5t-22 -11t-18 -17.5t-9.5 -26.5t-4 -37h-50v300 h1000v-300zM175 1000h-75v-800h75l-125 -167l-125 167h75v800h-75l125 167z" />
|
||||
<glyph unicode="" d="M1100 900h-50q0 21 -4 37t-9.5 26.5t-18 17.5t-22 11t-28.5 5.5t-31 2t-37 0.5h-200v-650q0 -22 25 -34.5t50 -13.5l25 -2v-100h-400v100q4 0 11 0.5t24 3t30 7t24 15t11 24.5v650h-200q-25 0 -37 -0.5t-31 -2t-28.5 -5.5t-22 -11t-18 -17.5t-9.5 -26.5t-4 -37h-50v300 h1000v-300zM1167 50l-167 -125v75h-800v-75l-167 125l167 125v-75h800v75z" />
|
||||
<glyph unicode="" d="M50 1100h600q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-600q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 800h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM50 500h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M250 1100h700q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 800h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM250 500h700q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M500 950v100q0 21 14.5 35.5t35.5 14.5h600q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-600q-21 0 -35.5 14.5t-14.5 35.5zM100 650v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000 q-21 0 -35.5 14.5t-14.5 35.5zM300 350v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5zM0 50v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100 q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5z" />
|
||||
<glyph unicode="" d="M50 1100h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 800h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM50 500h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M50 1100h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM350 1100h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM50 800h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM350 800h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 500h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM350 500h800q21 0 35.5 -14.5t14.5 -35.5v-100 q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM350 200h800 q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M400 0h-100v1100h100v-1100zM550 1100h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM550 800h500q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-500 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM267 550l-167 -125v75h-200v100h200v75zM550 500h300q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM550 200h600 q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-600q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M50 1100h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM900 0h-100v1100h100v-1100zM50 800h500q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-500 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM1100 600h200v-100h-200v-75l-167 125l167 125v-75zM50 500h300q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h600 q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-600q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M75 1000h750q31 0 53 -22t22 -53v-650q0 -31 -22 -53t-53 -22h-750q-31 0 -53 22t-22 53v650q0 31 22 53t53 22zM1200 300l-300 300l300 300v-600z" />
|
||||
<glyph unicode="" d="M44 1100h1112q18 0 31 -13t13 -31v-1012q0 -18 -13 -31t-31 -13h-1112q-18 0 -31 13t-13 31v1012q0 18 13 31t31 13zM100 1000v-737l247 182l298 -131l-74 156l293 318l236 -288v500h-1000zM342 884q56 0 95 -39t39 -94.5t-39 -95t-95 -39.5t-95 39.5t-39 95t39 94.5 t95 39z" />
|
||||
<glyph unicode="" d="M648 1169q117 0 216 -60t156.5 -161t57.5 -218q0 -115 -70 -258q-69 -109 -158 -225.5t-143 -179.5l-54 -62q-9 8 -25.5 24.5t-63.5 67.5t-91 103t-98.5 128t-95.5 148q-60 132 -60 249q0 88 34 169.5t91.5 142t137 96.5t166.5 36zM652.5 974q-91.5 0 -156.5 -65 t-65 -157t65 -156.5t156.5 -64.5t156.5 64.5t65 156.5t-65 157t-156.5 65z" />
|
||||
<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 173v854q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57z" />
|
||||
<glyph unicode="" d="M554 1295q21 -72 57.5 -143.5t76 -130t83 -118t82.5 -117t70 -116t49.5 -126t18.5 -136.5q0 -71 -25.5 -135t-68.5 -111t-99 -82t-118.5 -54t-125.5 -23q-84 5 -161.5 34t-139.5 78.5t-99 125t-37 164.5q0 69 18 136.5t49.5 126.5t69.5 116.5t81.5 117.5t83.5 119 t76.5 131t58.5 143zM344 710q-23 -33 -43.5 -70.5t-40.5 -102.5t-17 -123q1 -37 14.5 -69.5t30 -52t41 -37t38.5 -24.5t33 -15q21 -7 32 -1t13 22l6 34q2 10 -2.5 22t-13.5 19q-5 4 -14 12t-29.5 40.5t-32.5 73.5q-26 89 6 271q2 11 -6 11q-8 1 -15 -10z" />
|
||||
<glyph unicode="" d="M1000 1013l108 115q2 1 5 2t13 2t20.5 -1t25 -9.5t28.5 -21.5q22 -22 27 -43t0 -32l-6 -10l-108 -115zM350 1100h400q50 0 105 -13l-187 -187h-368q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v182l200 200v-332 q0 -165 -93.5 -257.5t-256.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5zM1009 803l-362 -362l-161 -50l55 170l355 355z" />
|
||||
<glyph unicode="" d="M350 1100h361q-164 -146 -216 -200h-195q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5l200 153v-103q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5z M824 1073l339 -301q8 -7 8 -17.5t-8 -17.5l-340 -306q-7 -6 -12.5 -4t-6.5 11v203q-26 1 -54.5 0t-78.5 -7.5t-92 -17.5t-86 -35t-70 -57q10 59 33 108t51.5 81.5t65 58.5t68.5 40.5t67 24.5t56 13.5t40 4.5v210q1 10 6.5 12.5t13.5 -4.5z" />
|
||||
<glyph unicode="" d="M350 1100h350q60 0 127 -23l-178 -177h-349q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v69l200 200v-219q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5z M643 639l395 395q7 7 17.5 7t17.5 -7l101 -101q7 -7 7 -17.5t-7 -17.5l-531 -532q-7 -7 -17.5 -7t-17.5 7l-248 248q-7 7 -7 17.5t7 17.5l101 101q7 7 17.5 7t17.5 -7l111 -111q8 -7 18 -7t18 7z" />
|
||||
<glyph unicode="" d="M318 918l264 264q8 8 18 8t18 -8l260 -264q7 -8 4.5 -13t-12.5 -5h-170v-200h200v173q0 10 5 12t13 -5l264 -260q8 -7 8 -17.5t-8 -17.5l-264 -265q-8 -7 -13 -5t-5 12v173h-200v-200h170q10 0 12.5 -5t-4.5 -13l-260 -264q-8 -8 -18 -8t-18 8l-264 264q-8 8 -5.5 13 t12.5 5h175v200h-200v-173q0 -10 -5 -12t-13 5l-264 265q-8 7 -8 17.5t8 17.5l264 260q8 7 13 5t5 -12v-173h200v200h-175q-10 0 -12.5 5t5.5 13z" />
|
||||
<glyph unicode="" d="M250 1100h100q21 0 35.5 -14.5t14.5 -35.5v-438l464 453q15 14 25.5 10t10.5 -25v-1000q0 -21 -10.5 -25t-25.5 10l-464 453v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v1000q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M50 1100h100q21 0 35.5 -14.5t14.5 -35.5v-438l464 453q15 14 25.5 10t10.5 -25v-438l464 453q15 14 25.5 10t10.5 -25v-1000q0 -21 -10.5 -25t-25.5 10l-464 453v-438q0 -21 -10.5 -25t-25.5 10l-464 453v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5 t-14.5 35.5v1000q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M1200 1050v-1000q0 -21 -10.5 -25t-25.5 10l-464 453v-438q0 -21 -10.5 -25t-25.5 10l-492 480q-15 14 -15 35t15 35l492 480q15 14 25.5 10t10.5 -25v-438l464 453q15 14 25.5 10t10.5 -25z" />
|
||||
<glyph unicode="" d="M243 1074l814 -498q18 -11 18 -26t-18 -26l-814 -498q-18 -11 -30.5 -4t-12.5 28v1000q0 21 12.5 28t30.5 -4z" />
|
||||
<glyph unicode="" d="M250 1000h200q21 0 35.5 -14.5t14.5 -35.5v-800q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v800q0 21 14.5 35.5t35.5 14.5zM650 1000h200q21 0 35.5 -14.5t14.5 -35.5v-800q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v800 q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M1100 950v-800q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v800q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5z" />
|
||||
<glyph unicode="" d="M500 612v438q0 21 10.5 25t25.5 -10l492 -480q15 -14 15 -35t-15 -35l-492 -480q-15 -14 -25.5 -10t-10.5 25v438l-464 -453q-15 -14 -25.5 -10t-10.5 25v1000q0 21 10.5 25t25.5 -10z" />
|
||||
<glyph unicode="" d="M1048 1102l100 1q20 0 35 -14.5t15 -35.5l5 -1000q0 -21 -14.5 -35.5t-35.5 -14.5l-100 -1q-21 0 -35.5 14.5t-14.5 35.5l-2 437l-463 -454q-14 -15 -24.5 -10.5t-10.5 25.5l-2 437l-462 -455q-15 -14 -25.5 -9.5t-10.5 24.5l-5 1000q0 21 10.5 25.5t25.5 -10.5l466 -450 l-2 438q0 20 10.5 24.5t25.5 -9.5l466 -451l-2 438q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M850 1100h100q21 0 35.5 -14.5t14.5 -35.5v-1000q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v438l-464 -453q-15 -14 -25.5 -10t-10.5 25v1000q0 21 10.5 25t25.5 -10l464 -453v438q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M686 1081l501 -540q15 -15 10.5 -26t-26.5 -11h-1042q-22 0 -26.5 11t10.5 26l501 540q15 15 36 15t36 -15zM150 400h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M885 900l-352 -353l352 -353l-197 -198l-552 552l552 550z" />
|
||||
<glyph unicode="" d="M1064 547l-551 -551l-198 198l353 353l-353 353l198 198z" />
|
||||
<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM650 900h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-150h-150 q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -21 14.5 -35.5t35.5 -14.5h150v-150q0 -21 14.5 -35.5t35.5 -14.5h100q21 0 35.5 14.5t14.5 35.5v150h150q21 0 35.5 14.5t14.5 35.5v100q0 21 -14.5 35.5t-35.5 14.5h-150v150q0 21 -14.5 35.5t-35.5 14.5z" />
|
||||
<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM850 700h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -21 14.5 -35.5 t35.5 -14.5h500q21 0 35.5 14.5t14.5 35.5v100q0 21 -14.5 35.5t-35.5 14.5z" />
|
||||
<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM741.5 913q-12.5 0 -21.5 -9l-120 -120l-120 120q-9 9 -21.5 9 t-21.5 -9l-141 -141q-9 -9 -9 -21.5t9 -21.5l120 -120l-120 -120q-9 -9 -9 -21.5t9 -21.5l141 -141q9 -9 21.5 -9t21.5 9l120 120l120 -120q9 -9 21.5 -9t21.5 9l141 141q9 9 9 21.5t-9 21.5l-120 120l120 120q9 9 9 21.5t-9 21.5l-141 141q-9 9 -21.5 9z" />
|
||||
<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM546 623l-84 85q-7 7 -17.5 7t-18.5 -7l-139 -139q-7 -8 -7 -18t7 -18 l242 -241q7 -8 17.5 -8t17.5 8l375 375q7 7 7 17.5t-7 18.5l-139 139q-7 7 -17.5 7t-17.5 -7z" />
|
||||
<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM588 941q-29 0 -59 -5.5t-63 -20.5t-58 -38.5t-41.5 -63t-16.5 -89.5 q0 -25 20 -25h131q30 -5 35 11q6 20 20.5 28t45.5 8q20 0 31.5 -10.5t11.5 -28.5q0 -23 -7 -34t-26 -18q-1 0 -13.5 -4t-19.5 -7.5t-20 -10.5t-22 -17t-18.5 -24t-15.5 -35t-8 -46q-1 -8 5.5 -16.5t20.5 -8.5h173q7 0 22 8t35 28t37.5 48t29.5 74t12 100q0 47 -17 83 t-42.5 57t-59.5 34.5t-64 18t-59 4.5zM675 400h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-150q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v150q0 10 -7.5 17.5t-17.5 7.5z" />
|
||||
<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM675 1000h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-150q0 -10 7.5 -17.5 t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v150q0 10 -7.5 17.5t-17.5 7.5zM675 700h-250q-10 0 -17.5 -7.5t-7.5 -17.5v-50q0 -10 7.5 -17.5t17.5 -7.5h75v-200h-75q-10 0 -17.5 -7.5t-7.5 -17.5v-50q0 -10 7.5 -17.5t17.5 -7.5h350q10 0 17.5 7.5t7.5 17.5v50q0 10 -7.5 17.5 t-17.5 7.5h-75v275q0 10 -7.5 17.5t-17.5 7.5z" />
|
||||
<glyph unicode="" d="M525 1200h150q10 0 17.5 -7.5t7.5 -17.5v-194q103 -27 178.5 -102.5t102.5 -178.5h194q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-194q-27 -103 -102.5 -178.5t-178.5 -102.5v-194q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v194 q-103 27 -178.5 102.5t-102.5 178.5h-194q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h194q27 103 102.5 178.5t178.5 102.5v194q0 10 7.5 17.5t17.5 7.5zM700 893v-168q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v168q-68 -23 -119 -74 t-74 -119h168q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-168q23 -68 74 -119t119 -74v168q0 10 7.5 17.5t17.5 7.5h150q10 0 17.5 -7.5t7.5 -17.5v-168q68 23 119 74t74 119h-168q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h168 q-23 68 -74 119t-119 74z" />
|
||||
<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM759 823l64 -64q7 -7 7 -17.5t-7 -17.5l-124 -124l124 -124q7 -7 7 -17.5t-7 -17.5l-64 -64q-7 -7 -17.5 -7t-17.5 7l-124 124l-124 -124q-7 -7 -17.5 -7t-17.5 7l-64 64 q-7 7 -7 17.5t7 17.5l124 124l-124 124q-7 7 -7 17.5t7 17.5l64 64q7 7 17.5 7t17.5 -7l124 -124l124 124q7 7 17.5 7t17.5 -7z" />
|
||||
<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM782 788l106 -106q7 -7 7 -17.5t-7 -17.5l-320 -321q-8 -7 -18 -7t-18 7l-202 203q-8 7 -8 17.5t8 17.5l106 106q7 8 17.5 8t17.5 -8l79 -79l197 197q7 7 17.5 7t17.5 -7z" />
|
||||
<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5q0 -120 65 -225 l587 587q-105 65 -225 65zM965 819l-584 -584q104 -62 219 -62q116 0 214.5 57t155.5 155.5t57 214.5q0 115 -62 219z" />
|
||||
<glyph unicode="" d="M39 582l522 427q16 13 27.5 8t11.5 -26v-291h550q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-550v-291q0 -21 -11.5 -26t-27.5 8l-522 427q-16 13 -16 32t16 32z" />
|
||||
<glyph unicode="" d="M639 1009l522 -427q16 -13 16 -32t-16 -32l-522 -427q-16 -13 -27.5 -8t-11.5 26v291h-550q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h550v291q0 21 11.5 26t27.5 -8z" />
|
||||
<glyph unicode="" d="M682 1161l427 -522q13 -16 8 -27.5t-26 -11.5h-291v-550q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v550h-291q-21 0 -26 11.5t8 27.5l427 522q13 16 32 16t32 -16z" />
|
||||
<glyph unicode="" d="M550 1200h200q21 0 35.5 -14.5t14.5 -35.5v-550h291q21 0 26 -11.5t-8 -27.5l-427 -522q-13 -16 -32 -16t-32 16l-427 522q-13 16 -8 27.5t26 11.5h291v550q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M639 1109l522 -427q16 -13 16 -32t-16 -32l-522 -427q-16 -13 -27.5 -8t-11.5 26v291q-94 -2 -182 -20t-170.5 -52t-147 -92.5t-100.5 -135.5q5 105 27 193.5t67.5 167t113 135t167 91.5t225.5 42v262q0 21 11.5 26t27.5 -8z" />
|
||||
<glyph unicode="" d="M850 1200h300q21 0 35.5 -14.5t14.5 -35.5v-300q0 -21 -10.5 -25t-24.5 10l-94 94l-249 -249q-8 -7 -18 -7t-18 7l-106 106q-7 8 -7 18t7 18l249 249l-94 94q-14 14 -10 24.5t25 10.5zM350 0h-300q-21 0 -35.5 14.5t-14.5 35.5v300q0 21 10.5 25t24.5 -10l94 -94l249 249 q8 7 18 7t18 -7l106 -106q7 -8 7 -18t-7 -18l-249 -249l94 -94q14 -14 10 -24.5t-25 -10.5z" />
|
||||
<glyph unicode="" d="M1014 1120l106 -106q7 -8 7 -18t-7 -18l-249 -249l94 -94q14 -14 10 -24.5t-25 -10.5h-300q-21 0 -35.5 14.5t-14.5 35.5v300q0 21 10.5 25t24.5 -10l94 -94l249 249q8 7 18 7t18 -7zM250 600h300q21 0 35.5 -14.5t14.5 -35.5v-300q0 -21 -10.5 -25t-24.5 10l-94 94 l-249 -249q-8 -7 -18 -7t-18 7l-106 106q-7 8 -7 18t7 18l249 249l-94 94q-14 14 -10 24.5t25 10.5z" />
|
||||
<glyph unicode="" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM704 900h-208q-20 0 -32 -14.5t-8 -34.5l58 -302q4 -20 21.5 -34.5 t37.5 -14.5h54q20 0 37.5 14.5t21.5 34.5l58 302q4 20 -8 34.5t-32 14.5zM675 400h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-150q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v150q0 10 -7.5 17.5t-17.5 7.5z" />
|
||||
<glyph unicode="" d="M260 1200q9 0 19 -2t15 -4l5 -2q22 -10 44 -23l196 -118q21 -13 36 -24q29 -21 37 -12q11 13 49 35l196 118q22 13 45 23q17 7 38 7q23 0 47 -16.5t37 -33.5l13 -16q14 -21 18 -45l25 -123l8 -44q1 -9 8.5 -14.5t17.5 -5.5h61q10 0 17.5 -7.5t7.5 -17.5v-50 q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 -7.5t-7.5 -17.5v-175h-400v300h-200v-300h-400v175q0 10 -7.5 17.5t-17.5 7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5h61q11 0 18 3t7 8q0 4 9 52l25 128q5 25 19 45q2 3 5 7t13.5 15t21.5 19.5t26.5 15.5 t29.5 7zM915 1079l-166 -162q-7 -7 -5 -12t12 -5h219q10 0 15 7t2 17l-51 149q-3 10 -11 12t-15 -6zM463 917l-177 157q-8 7 -16 5t-11 -12l-51 -143q-3 -10 2 -17t15 -7h231q11 0 12.5 5t-5.5 12zM500 0h-375q-10 0 -17.5 7.5t-7.5 17.5v375h400v-400zM1100 400v-375 q0 -10 -7.5 -17.5t-17.5 -7.5h-375v400h400z" />
|
||||
<glyph unicode="" d="M1165 1190q8 3 21 -6.5t13 -17.5q-2 -178 -24.5 -323.5t-55.5 -245.5t-87 -174.5t-102.5 -118.5t-118 -68.5t-118.5 -33t-120 -4.5t-105 9.5t-90 16.5q-61 12 -78 11q-4 1 -12.5 0t-34 -14.5t-52.5 -40.5l-153 -153q-26 -24 -37 -14.5t-11 43.5q0 64 42 102q8 8 50.5 45 t66.5 58q19 17 35 47t13 61q-9 55 -10 102.5t7 111t37 130t78 129.5q39 51 80 88t89.5 63.5t94.5 45t113.5 36t129 31t157.5 37t182 47.5zM1116 1098q-8 9 -22.5 -3t-45.5 -50q-38 -47 -119 -103.5t-142 -89.5l-62 -33q-56 -30 -102 -57t-104 -68t-102.5 -80.5t-85.5 -91 t-64 -104.5q-24 -56 -31 -86t2 -32t31.5 17.5t55.5 59.5q25 30 94 75.5t125.5 77.5t147.5 81q70 37 118.5 69t102 79.5t99 111t86.5 148.5q22 50 24 60t-6 19z" />
|
||||
<glyph unicode="" d="M653 1231q-39 -67 -54.5 -131t-10.5 -114.5t24.5 -96.5t47.5 -80t63.5 -62.5t68.5 -46.5t65 -30q-4 7 -17.5 35t-18.5 39.5t-17 39.5t-17 43t-13 42t-9.5 44.5t-2 42t4 43t13.5 39t23 38.5q96 -42 165 -107.5t105 -138t52 -156t13 -159t-19 -149.5q-13 -55 -44 -106.5 t-68 -87t-78.5 -64.5t-72.5 -45t-53 -22q-72 -22 -127 -11q-31 6 -13 19q6 3 17 7q13 5 32.5 21t41 44t38.5 63.5t21.5 81.5t-6.5 94.5t-50 107t-104 115.5q10 -104 -0.5 -189t-37 -140.5t-65 -93t-84 -52t-93.5 -11t-95 24.5q-80 36 -131.5 114t-53.5 171q-2 23 0 49.5 t4.5 52.5t13.5 56t27.5 60t46 64.5t69.5 68.5q-8 -53 -5 -102.5t17.5 -90t34 -68.5t44.5 -39t49 -2q31 13 38.5 36t-4.5 55t-29 64.5t-36 75t-26 75.5q-15 85 2 161.5t53.5 128.5t85.5 92.5t93.5 61t81.5 25.5z" />
|
||||
<glyph unicode="" d="M600 1094q82 0 160.5 -22.5t140 -59t116.5 -82.5t94.5 -95t68 -95t42.5 -82.5t14 -57.5t-14 -57.5t-43 -82.5t-68.5 -95t-94.5 -95t-116.5 -82.5t-140 -59t-159.5 -22.5t-159.5 22.5t-140 59t-116.5 82.5t-94.5 95t-68.5 95t-43 82.5t-14 57.5t14 57.5t42.5 82.5t68 95 t94.5 95t116.5 82.5t140 59t160.5 22.5zM888 829q-15 15 -18 12t5 -22q25 -57 25 -119q0 -124 -88 -212t-212 -88t-212 88t-88 212q0 59 23 114q8 19 4.5 22t-17.5 -12q-70 -69 -160 -184q-13 -16 -15 -40.5t9 -42.5q22 -36 47 -71t70 -82t92.5 -81t113 -58.5t133.5 -24.5 t133.5 24t113 58.5t92.5 81.5t70 81.5t47 70.5q11 18 9 42.5t-14 41.5q-90 117 -163 189zM448 727l-35 -36q-15 -15 -19.5 -38.5t4.5 -41.5q37 -68 93 -116q16 -13 38.5 -11t36.5 17l35 34q14 15 12.5 33.5t-16.5 33.5q-44 44 -89 117q-11 18 -28 20t-32 -12z" />
|
||||
<glyph unicode="" d="M592 0h-148l31 120q-91 20 -175.5 68.5t-143.5 106.5t-103.5 119t-66.5 110t-22 76q0 21 14 57.5t42.5 82.5t68 95t94.5 95t116.5 82.5t140 59t160.5 22.5q61 0 126 -15l32 121h148zM944 770l47 181q108 -85 176.5 -192t68.5 -159q0 -26 -19.5 -71t-59.5 -102t-93 -112 t-129 -104.5t-158 -75.5l46 173q77 49 136 117t97 131q11 18 9 42.5t-14 41.5q-54 70 -107 130zM310 824q-70 -69 -160 -184q-13 -16 -15 -40.5t9 -42.5q18 -30 39 -60t57 -70.5t74 -73t90 -61t105 -41.5l41 154q-107 18 -178.5 101.5t-71.5 193.5q0 59 23 114q8 19 4.5 22 t-17.5 -12zM448 727l-35 -36q-15 -15 -19.5 -38.5t4.5 -41.5q37 -68 93 -116q16 -13 38.5 -11t36.5 17l12 11l22 86l-3 4q-44 44 -89 117q-11 18 -28 20t-32 -12z" />
|
||||
<glyph unicode="" d="M-90 100l642 1066q20 31 48 28.5t48 -35.5l642 -1056q21 -32 7.5 -67.5t-50.5 -35.5h-1294q-37 0 -50.5 34t7.5 66zM155 200h345v75q0 10 7.5 17.5t17.5 7.5h150q10 0 17.5 -7.5t7.5 -17.5v-75h345l-445 723zM496 700h208q20 0 32 -14.5t8 -34.5l-58 -252 q-4 -20 -21.5 -34.5t-37.5 -14.5h-54q-20 0 -37.5 14.5t-21.5 34.5l-58 252q-4 20 8 34.5t32 14.5z" />
|
||||
<glyph unicode="" d="M650 1200q62 0 106 -44t44 -106v-339l363 -325q15 -14 26 -38.5t11 -44.5v-41q0 -20 -12 -26.5t-29 5.5l-359 249v-263q100 -93 100 -113v-64q0 -21 -13 -29t-32 1l-205 128l-205 -128q-19 -9 -32 -1t-13 29v64q0 20 100 113v263l-359 -249q-17 -12 -29 -5.5t-12 26.5v41 q0 20 11 44.5t26 38.5l363 325v339q0 62 44 106t106 44z" />
|
||||
<glyph unicode="" d="M850 1200h100q21 0 35.5 -14.5t14.5 -35.5v-50h50q21 0 35.5 -14.5t14.5 -35.5v-150h-1100v150q0 21 14.5 35.5t35.5 14.5h50v50q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-50h500v50q0 21 14.5 35.5t35.5 14.5zM1100 800v-750q0 -21 -14.5 -35.5 t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v750h1100zM100 600v-100h100v100h-100zM300 600v-100h100v100h-100zM500 600v-100h100v100h-100zM700 600v-100h100v100h-100zM900 600v-100h100v100h-100zM100 400v-100h100v100h-100zM300 400v-100h100v100h-100zM500 400 v-100h100v100h-100zM700 400v-100h100v100h-100zM900 400v-100h100v100h-100zM100 200v-100h100v100h-100zM300 200v-100h100v100h-100zM500 200v-100h100v100h-100zM700 200v-100h100v100h-100zM900 200v-100h100v100h-100z" />
|
||||
<glyph unicode="" d="M1135 1165l249 -230q15 -14 15 -35t-15 -35l-249 -230q-14 -14 -24.5 -10t-10.5 25v150h-159l-600 -600h-291q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h209l600 600h241v150q0 21 10.5 25t24.5 -10zM522 819l-141 -141l-122 122h-209q-21 0 -35.5 14.5 t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h291zM1135 565l249 -230q15 -14 15 -35t-15 -35l-249 -230q-14 -14 -24.5 -10t-10.5 25v150h-241l-181 181l141 141l122 -122h159v150q0 21 10.5 25t24.5 -10z" />
|
||||
<glyph unicode="" d="M100 1100h1000q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-596l-304 -300v300h-100q-41 0 -70.5 29.5t-29.5 70.5v600q0 41 29.5 70.5t70.5 29.5z" />
|
||||
<glyph unicode="" d="M150 1200h200q21 0 35.5 -14.5t14.5 -35.5v-250h-300v250q0 21 14.5 35.5t35.5 14.5zM850 1200h200q21 0 35.5 -14.5t14.5 -35.5v-250h-300v250q0 21 14.5 35.5t35.5 14.5zM1100 800v-300q0 -41 -3 -77.5t-15 -89.5t-32 -96t-58 -89t-89 -77t-129 -51t-174 -20t-174 20 t-129 51t-89 77t-58 89t-32 96t-15 89.5t-3 77.5v300h300v-250v-27v-42.5t1.5 -41t5 -38t10 -35t16.5 -30t25.5 -24.5t35 -19t46.5 -12t60 -4t60 4.5t46.5 12.5t35 19.5t25 25.5t17 30.5t10 35t5 38t2 40.5t-0.5 42v25v250h300z" />
|
||||
<glyph unicode="" d="M1100 411l-198 -199l-353 353l-353 -353l-197 199l551 551z" />
|
||||
<glyph unicode="" d="M1101 789l-550 -551l-551 551l198 199l353 -353l353 353z" />
|
||||
<glyph unicode="" d="M404 1000h746q21 0 35.5 -14.5t14.5 -35.5v-551h150q21 0 25 -10.5t-10 -24.5l-230 -249q-14 -15 -35 -15t-35 15l-230 249q-14 14 -10 24.5t25 10.5h150v401h-381zM135 984l230 -249q14 -14 10 -24.5t-25 -10.5h-150v-400h385l215 -200h-750q-21 0 -35.5 14.5 t-14.5 35.5v550h-150q-21 0 -25 10.5t10 24.5l230 249q14 15 35 15t35 -15z" />
|
||||
<glyph unicode="" d="M56 1200h94q17 0 31 -11t18 -27l38 -162h896q24 0 39 -18.5t10 -42.5l-100 -475q-5 -21 -27 -42.5t-55 -21.5h-633l48 -200h535q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-50v-50q0 -21 -14.5 -35.5t-35.5 -14.5t-35.5 14.5t-14.5 35.5v50h-300v-50 q0 -21 -14.5 -35.5t-35.5 -14.5t-35.5 14.5t-14.5 35.5v50h-31q-18 0 -32.5 10t-20.5 19l-5 10l-201 961h-54q-20 0 -35 14.5t-15 35.5t15 35.5t35 14.5z" />
|
||||
<glyph unicode="" d="M1200 1000v-100h-1200v100h200q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5h500zM0 800h1200v-800h-1200v800z" />
|
||||
<glyph unicode="" d="M200 800l-200 -400v600h200q0 41 29.5 70.5t70.5 29.5h300q42 0 71 -29.5t29 -70.5h500v-200h-1000zM1500 700l-300 -700h-1200l300 700h1200z" />
|
||||
<glyph unicode="" d="M635 1184l230 -249q14 -14 10 -24.5t-25 -10.5h-150v-601h150q21 0 25 -10.5t-10 -24.5l-230 -249q-14 -15 -35 -15t-35 15l-230 249q-14 14 -10 24.5t25 10.5h150v601h-150q-21 0 -25 10.5t10 24.5l230 249q14 15 35 15t35 -15z" />
|
||||
<glyph unicode="" d="M936 864l249 -229q14 -15 14 -35.5t-14 -35.5l-249 -229q-15 -15 -25.5 -10.5t-10.5 24.5v151h-600v-151q0 -20 -10.5 -24.5t-25.5 10.5l-249 229q-14 15 -14 35.5t14 35.5l249 229q15 15 25.5 10.5t10.5 -25.5v-149h600v149q0 21 10.5 25.5t25.5 -10.5z" />
|
||||
<glyph unicode="" d="M1169 400l-172 732q-5 23 -23 45.5t-38 22.5h-672q-20 0 -38 -20t-23 -41l-172 -739h1138zM1100 300h-1000q-41 0 -70.5 -29.5t-29.5 -70.5v-100q0 -41 29.5 -70.5t70.5 -29.5h1000q41 0 70.5 29.5t29.5 70.5v100q0 41 -29.5 70.5t-70.5 29.5zM800 100v100h100v-100h-100 zM1000 100v100h100v-100h-100z" />
|
||||
<glyph unicode="" d="M1150 1100q21 0 35.5 -14.5t14.5 -35.5v-850q0 -21 -14.5 -35.5t-35.5 -14.5t-35.5 14.5t-14.5 35.5v850q0 21 14.5 35.5t35.5 14.5zM1000 200l-675 200h-38l47 -276q3 -16 -5.5 -20t-29.5 -4h-7h-84q-20 0 -34.5 14t-18.5 35q-55 337 -55 351v250v6q0 16 1 23.5t6.5 14 t17.5 6.5h200l675 250v-850zM0 750v-250q-4 0 -11 0.5t-24 6t-30 15t-24 30t-11 48.5v50q0 26 10.5 46t25 30t29 16t25.5 7z" />
|
||||
<glyph unicode="" d="M553 1200h94q20 0 29 -10.5t3 -29.5l-18 -37q83 -19 144 -82.5t76 -140.5l63 -327l118 -173h17q19 0 33 -14.5t14 -35t-13 -40.5t-31 -27q-8 -4 -23 -9.5t-65 -19.5t-103 -25t-132.5 -20t-158.5 -9q-57 0 -115 5t-104 12t-88.5 15.5t-73.5 17.5t-54.5 16t-35.5 12l-11 4 q-18 8 -31 28t-13 40.5t14 35t33 14.5h17l118 173l63 327q15 77 76 140t144 83l-18 32q-6 19 3.5 32t28.5 13zM498 110q50 -6 102 -6q53 0 102 6q-12 -49 -39.5 -79.5t-62.5 -30.5t-63 30.5t-39 79.5z" />
|
||||
<glyph unicode="" d="M800 946l224 78l-78 -224l234 -45l-180 -155l180 -155l-234 -45l78 -224l-224 78l-45 -234l-155 180l-155 -180l-45 234l-224 -78l78 224l-234 45l180 155l-180 155l234 45l-78 224l224 -78l45 234l155 -180l155 180z" />
|
||||
<glyph unicode="" d="M650 1200h50q40 0 70 -40.5t30 -84.5v-150l-28 -125h328q40 0 70 -40.5t30 -84.5v-100q0 -45 -29 -74l-238 -344q-16 -24 -38 -40.5t-45 -16.5h-250q-7 0 -42 25t-66 50l-31 25h-61q-45 0 -72.5 18t-27.5 57v400q0 36 20 63l145 196l96 198q13 28 37.5 48t51.5 20z M650 1100l-100 -212l-150 -213v-375h100l136 -100h214l250 375v125h-450l50 225v175h-50zM50 800h100q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v500q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M600 1100h250q23 0 45 -16.5t38 -40.5l238 -344q29 -29 29 -74v-100q0 -44 -30 -84.5t-70 -40.5h-328q28 -118 28 -125v-150q0 -44 -30 -84.5t-70 -40.5h-50q-27 0 -51.5 20t-37.5 48l-96 198l-145 196q-20 27 -20 63v400q0 39 27.5 57t72.5 18h61q124 100 139 100z M50 1000h100q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v500q0 21 14.5 35.5t35.5 14.5zM636 1000l-136 -100h-100v-375l150 -213l100 -212h50v175l-50 225h450v125l-250 375h-214z" />
|
||||
<glyph unicode="" d="M356 873l363 230q31 16 53 -6l110 -112q13 -13 13.5 -32t-11.5 -34l-84 -121h302q84 0 138 -38t54 -110t-55 -111t-139 -39h-106l-131 -339q-6 -21 -19.5 -41t-28.5 -20h-342q-7 0 -90 81t-83 94v525q0 17 14 35.5t28 28.5zM400 792v-503l100 -89h293l131 339 q6 21 19.5 41t28.5 20h203q21 0 30.5 25t0.5 50t-31 25h-456h-7h-6h-5.5t-6 0.5t-5 1.5t-5 2t-4 2.5t-4 4t-2.5 4.5q-12 25 5 47l146 183l-86 83zM50 800h100q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v500 q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M475 1103l366 -230q2 -1 6 -3.5t14 -10.5t18 -16.5t14.5 -20t6.5 -22.5v-525q0 -13 -86 -94t-93 -81h-342q-15 0 -28.5 20t-19.5 41l-131 339h-106q-85 0 -139.5 39t-54.5 111t54 110t138 38h302l-85 121q-11 15 -10.5 34t13.5 32l110 112q22 22 53 6zM370 945l146 -183 q17 -22 5 -47q-2 -2 -3.5 -4.5t-4 -4t-4 -2.5t-5 -2t-5 -1.5t-6 -0.5h-6h-6.5h-6h-475v-100h221q15 0 29 -20t20 -41l130 -339h294l106 89v503l-342 236zM1050 800h100q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5 v500q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M550 1294q72 0 111 -55t39 -139v-106l339 -131q21 -6 41 -19.5t20 -28.5v-342q0 -7 -81 -90t-94 -83h-525q-17 0 -35.5 14t-28.5 28l-9 14l-230 363q-16 31 6 53l112 110q13 13 32 13.5t34 -11.5l121 -84v302q0 84 38 138t110 54zM600 972v203q0 21 -25 30.5t-50 0.5 t-25 -31v-456v-7v-6v-5.5t-0.5 -6t-1.5 -5t-2 -5t-2.5 -4t-4 -4t-4.5 -2.5q-25 -12 -47 5l-183 146l-83 -86l236 -339h503l89 100v293l-339 131q-21 6 -41 19.5t-20 28.5zM450 200h500q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-500 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M350 1100h500q21 0 35.5 14.5t14.5 35.5v100q0 21 -14.5 35.5t-35.5 14.5h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -21 14.5 -35.5t35.5 -14.5zM600 306v-106q0 -84 -39 -139t-111 -55t-110 54t-38 138v302l-121 -84q-15 -12 -34 -11.5t-32 13.5l-112 110 q-22 22 -6 53l230 363q1 2 3.5 6t10.5 13.5t16.5 17t20 13.5t22.5 6h525q13 0 94 -83t81 -90v-342q0 -15 -20 -28.5t-41 -19.5zM308 900l-236 -339l83 -86l183 146q22 17 47 5q2 -1 4.5 -2.5t4 -4t2.5 -4t2 -5t1.5 -5t0.5 -6v-5.5v-6v-7v-456q0 -22 25 -31t50 0.5t25 30.5 v203q0 15 20 28.5t41 19.5l339 131v293l-89 100h-503z" />
|
||||
<glyph unicode="" d="M600 1178q118 0 225 -45.5t184.5 -123t123 -184.5t45.5 -225t-45.5 -225t-123 -184.5t-184.5 -123t-225 -45.5t-225 45.5t-184.5 123t-123 184.5t-45.5 225t45.5 225t123 184.5t184.5 123t225 45.5zM914 632l-275 223q-16 13 -27.5 8t-11.5 -26v-137h-275 q-10 0 -17.5 -7.5t-7.5 -17.5v-150q0 -10 7.5 -17.5t17.5 -7.5h275v-137q0 -21 11.5 -26t27.5 8l275 223q16 13 16 32t-16 32z" />
|
||||
<glyph unicode="" d="M600 1178q118 0 225 -45.5t184.5 -123t123 -184.5t45.5 -225t-45.5 -225t-123 -184.5t-184.5 -123t-225 -45.5t-225 45.5t-184.5 123t-123 184.5t-45.5 225t45.5 225t123 184.5t184.5 123t225 45.5zM561 855l-275 -223q-16 -13 -16 -32t16 -32l275 -223q16 -13 27.5 -8 t11.5 26v137h275q10 0 17.5 7.5t7.5 17.5v150q0 10 -7.5 17.5t-17.5 7.5h-275v137q0 21 -11.5 26t-27.5 -8z" />
|
||||
<glyph unicode="" d="M600 1178q118 0 225 -45.5t184.5 -123t123 -184.5t45.5 -225t-45.5 -225t-123 -184.5t-184.5 -123t-225 -45.5t-225 45.5t-184.5 123t-123 184.5t-45.5 225t45.5 225t123 184.5t184.5 123t225 45.5zM855 639l-223 275q-13 16 -32 16t-32 -16l-223 -275q-13 -16 -8 -27.5 t26 -11.5h137v-275q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v275h137q21 0 26 11.5t-8 27.5z" />
|
||||
<glyph unicode="" d="M600 1178q118 0 225 -45.5t184.5 -123t123 -184.5t45.5 -225t-45.5 -225t-123 -184.5t-184.5 -123t-225 -45.5t-225 45.5t-184.5 123t-123 184.5t-45.5 225t45.5 225t123 184.5t184.5 123t225 45.5zM675 900h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-275h-137q-21 0 -26 -11.5 t8 -27.5l223 -275q13 -16 32 -16t32 16l223 275q13 16 8 27.5t-26 11.5h-137v275q0 10 -7.5 17.5t-17.5 7.5z" />
|
||||
<glyph unicode="" d="M600 1176q116 0 222.5 -46t184 -123.5t123.5 -184t46 -222.5t-46 -222.5t-123.5 -184t-184 -123.5t-222.5 -46t-222.5 46t-184 123.5t-123.5 184t-46 222.5t46 222.5t123.5 184t184 123.5t222.5 46zM627 1101q-15 -12 -36.5 -20.5t-35.5 -12t-43 -8t-39 -6.5 q-15 -3 -45.5 0t-45.5 -2q-20 -7 -51.5 -26.5t-34.5 -34.5q-3 -11 6.5 -22.5t8.5 -18.5q-3 -34 -27.5 -91t-29.5 -79q-9 -34 5 -93t8 -87q0 -9 17 -44.5t16 -59.5q12 0 23 -5t23.5 -15t19.5 -14q16 -8 33 -15t40.5 -15t34.5 -12q21 -9 52.5 -32t60 -38t57.5 -11 q7 -15 -3 -34t-22.5 -40t-9.5 -38q13 -21 23 -34.5t27.5 -27.5t36.5 -18q0 -7 -3.5 -16t-3.5 -14t5 -17q104 -2 221 112q30 29 46.5 47t34.5 49t21 63q-13 8 -37 8.5t-36 7.5q-15 7 -49.5 15t-51.5 19q-18 0 -41 -0.5t-43 -1.5t-42 -6.5t-38 -16.5q-51 -35 -66 -12 q-4 1 -3.5 25.5t0.5 25.5q-6 13 -26.5 17.5t-24.5 6.5q1 15 -0.5 30.5t-7 28t-18.5 11.5t-31 -21q-23 -25 -42 4q-19 28 -8 58q6 16 22 22q6 -1 26 -1.5t33.5 -4t19.5 -13.5q7 -12 18 -24t21.5 -20.5t20 -15t15.5 -10.5l5 -3q2 12 7.5 30.5t8 34.5t-0.5 32q-3 18 3.5 29 t18 22.5t15.5 24.5q6 14 10.5 35t8 31t15.5 22.5t34 22.5q-6 18 10 36q8 0 24 -1.5t24.5 -1.5t20 4.5t20.5 15.5q-10 23 -31 42.5t-37.5 29.5t-49 27t-43.5 23q0 1 2 8t3 11.5t1.5 10.5t-1 9.5t-4.5 4.5q31 -13 58.5 -14.5t38.5 2.5l12 5q5 28 -9.5 46t-36.5 24t-50 15 t-41 20q-18 -4 -37 0zM613 994q0 -17 8 -42t17 -45t9 -23q-8 1 -39.5 5.5t-52.5 10t-37 16.5q3 11 16 29.5t16 25.5q10 -10 19 -10t14 6t13.5 14.5t16.5 12.5z" />
|
||||
<glyph unicode="" d="M756 1157q164 92 306 -9l-259 -138l145 -232l251 126q6 -89 -34 -156.5t-117 -110.5q-60 -34 -127 -39.5t-126 16.5l-596 -596q-15 -16 -36.5 -16t-36.5 16l-111 110q-15 15 -15 36.5t15 37.5l600 599q-34 101 5.5 201.5t135.5 154.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1220" d="M100 1196h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 1096h-200v-100h200v100zM100 796h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000 q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 696h-500v-100h500v100zM100 396h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 296h-300v-100h300v100z " />
|
||||
<glyph unicode="" d="M150 1200h900q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM700 500v-300l-200 -200v500l-350 500h900z" />
|
||||
<glyph unicode="" d="M500 1200h200q41 0 70.5 -29.5t29.5 -70.5v-100h300q41 0 70.5 -29.5t29.5 -70.5v-400h-500v100h-200v-100h-500v400q0 41 29.5 70.5t70.5 29.5h300v100q0 41 29.5 70.5t70.5 29.5zM500 1100v-100h200v100h-200zM1200 400v-200q0 -41 -29.5 -70.5t-70.5 -29.5h-1000 q-41 0 -70.5 29.5t-29.5 70.5v200h1200z" />
|
||||
<glyph unicode="" d="M50 1200h300q21 0 25 -10.5t-10 -24.5l-94 -94l199 -199q7 -8 7 -18t-7 -18l-106 -106q-8 -7 -18 -7t-18 7l-199 199l-94 -94q-14 -14 -24.5 -10t-10.5 25v300q0 21 14.5 35.5t35.5 14.5zM850 1200h300q21 0 35.5 -14.5t14.5 -35.5v-300q0 -21 -10.5 -25t-24.5 10l-94 94 l-199 -199q-8 -7 -18 -7t-18 7l-106 106q-7 8 -7 18t7 18l199 199l-94 94q-14 14 -10 24.5t25 10.5zM364 470l106 -106q7 -8 7 -18t-7 -18l-199 -199l94 -94q14 -14 10 -24.5t-25 -10.5h-300q-21 0 -35.5 14.5t-14.5 35.5v300q0 21 10.5 25t24.5 -10l94 -94l199 199 q8 7 18 7t18 -7zM1071 271l94 94q14 14 24.5 10t10.5 -25v-300q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -25 10.5t10 24.5l94 94l-199 199q-7 8 -7 18t7 18l106 106q8 7 18 7t18 -7z" />
|
||||
<glyph unicode="" d="M596 1192q121 0 231.5 -47.5t190 -127t127 -190t47.5 -231.5t-47.5 -231.5t-127 -190.5t-190 -127t-231.5 -47t-231.5 47t-190.5 127t-127 190.5t-47 231.5t47 231.5t127 190t190.5 127t231.5 47.5zM596 1010q-112 0 -207.5 -55.5t-151 -151t-55.5 -207.5t55.5 -207.5 t151 -151t207.5 -55.5t207.5 55.5t151 151t55.5 207.5t-55.5 207.5t-151 151t-207.5 55.5zM454.5 905q22.5 0 38.5 -16t16 -38.5t-16 -39t-38.5 -16.5t-38.5 16.5t-16 39t16 38.5t38.5 16zM754.5 905q22.5 0 38.5 -16t16 -38.5t-16 -39t-38 -16.5q-14 0 -29 10l-55 -145 q17 -23 17 -51q0 -36 -25.5 -61.5t-61.5 -25.5t-61.5 25.5t-25.5 61.5q0 32 20.5 56.5t51.5 29.5l122 126l1 1q-9 14 -9 28q0 23 16 39t38.5 16zM345.5 709q22.5 0 38.5 -16t16 -38.5t-16 -38.5t-38.5 -16t-38.5 16t-16 38.5t16 38.5t38.5 16zM854.5 709q22.5 0 38.5 -16 t16 -38.5t-16 -38.5t-38.5 -16t-38.5 16t-16 38.5t16 38.5t38.5 16z" />
|
||||
<glyph unicode="" d="M546 173l469 470q91 91 99 192q7 98 -52 175.5t-154 94.5q-22 4 -47 4q-34 0 -66.5 -10t-56.5 -23t-55.5 -38t-48 -41.5t-48.5 -47.5q-376 -375 -391 -390q-30 -27 -45 -41.5t-37.5 -41t-32 -46.5t-16 -47.5t-1.5 -56.5q9 -62 53.5 -95t99.5 -33q74 0 125 51l548 548 q36 36 20 75q-7 16 -21.5 26t-32.5 10q-26 0 -50 -23q-13 -12 -39 -38l-341 -338q-15 -15 -35.5 -15.5t-34.5 13.5t-14 34.5t14 34.5q327 333 361 367q35 35 67.5 51.5t78.5 16.5q14 0 29 -1q44 -8 74.5 -35.5t43.5 -68.5q14 -47 2 -96.5t-47 -84.5q-12 -11 -32 -32 t-79.5 -81t-114.5 -115t-124.5 -123.5t-123 -119.5t-96.5 -89t-57 -45q-56 -27 -120 -27q-70 0 -129 32t-93 89q-48 78 -35 173t81 163l511 511q71 72 111 96q91 55 198 55q80 0 152 -33q78 -36 129.5 -103t66.5 -154q17 -93 -11 -183.5t-94 -156.5l-482 -476 q-15 -15 -36 -16t-37 14t-17.5 34t14.5 35z" />
|
||||
<glyph unicode="" d="M649 949q48 68 109.5 104t121.5 38.5t118.5 -20t102.5 -64t71 -100.5t27 -123q0 -57 -33.5 -117.5t-94 -124.5t-126.5 -127.5t-150 -152.5t-146 -174q-62 85 -145.5 174t-150 152.5t-126.5 127.5t-93.5 124.5t-33.5 117.5q0 64 28 123t73 100.5t104 64t119 20 t120.5 -38.5t104.5 -104zM896 972q-33 0 -64.5 -19t-56.5 -46t-47.5 -53.5t-43.5 -45.5t-37.5 -19t-36 19t-40 45.5t-43 53.5t-54 46t-65.5 19q-67 0 -122.5 -55.5t-55.5 -132.5q0 -23 13.5 -51t46 -65t57.5 -63t76 -75l22 -22q15 -14 44 -44t50.5 -51t46 -44t41 -35t23 -12 t23.5 12t42.5 36t46 44t52.5 52t44 43q4 4 12 13q43 41 63.5 62t52 55t46 55t26 46t11.5 44q0 79 -53 133.5t-120 54.5z" />
|
||||
<glyph unicode="" d="M776.5 1214q93.5 0 159.5 -66l141 -141q66 -66 66 -160q0 -42 -28 -95.5t-62 -87.5l-29 -29q-31 53 -77 99l-18 18l95 95l-247 248l-389 -389l212 -212l-105 -106l-19 18l-141 141q-66 66 -66 159t66 159l283 283q65 66 158.5 66zM600 706l105 105q10 -8 19 -17l141 -141 q66 -66 66 -159t-66 -159l-283 -283q-66 -66 -159 -66t-159 66l-141 141q-66 66 -66 159.5t66 159.5l55 55q29 -55 75 -102l18 -17l-95 -95l247 -248l389 389z" />
|
||||
<glyph unicode="" d="M603 1200q85 0 162 -15t127 -38t79 -48t29 -46v-953q0 -41 -29.5 -70.5t-70.5 -29.5h-600q-41 0 -70.5 29.5t-29.5 70.5v953q0 21 30 46.5t81 48t129 37.5t163 15zM300 1000v-700h600v700h-600zM600 254q-43 0 -73.5 -30.5t-30.5 -73.5t30.5 -73.5t73.5 -30.5t73.5 30.5 t30.5 73.5t-30.5 73.5t-73.5 30.5z" />
|
||||
<glyph unicode="" d="M902 1185l283 -282q15 -15 15 -36t-14.5 -35.5t-35.5 -14.5t-35 15l-36 35l-279 -267v-300l-212 210l-308 -307l-280 -203l203 280l307 308l-210 212h300l267 279l-35 36q-15 14 -15 35t14.5 35.5t35.5 14.5t35 -15z" />
|
||||
<glyph unicode="" d="M700 1248v-78q38 -5 72.5 -14.5t75.5 -31.5t71 -53.5t52 -84t24 -118.5h-159q-4 36 -10.5 59t-21 45t-40 35.5t-64.5 20.5v-307l64 -13q34 -7 64 -16.5t70 -32t67.5 -52.5t47.5 -80t20 -112q0 -139 -89 -224t-244 -97v-77h-100v79q-150 16 -237 103q-40 40 -52.5 93.5 t-15.5 139.5h139q5 -77 48.5 -126t117.5 -65v335l-27 8q-46 14 -79 26.5t-72 36t-63 52t-40 72.5t-16 98q0 70 25 126t67.5 92t94.5 57t110 27v77h100zM600 754v274q-29 -4 -50 -11t-42 -21.5t-31.5 -41.5t-10.5 -65q0 -29 7 -50.5t16.5 -34t28.5 -22.5t31.5 -14t37.5 -10 q9 -3 13 -4zM700 547v-310q22 2 42.5 6.5t45 15.5t41.5 27t29 42t12 59.5t-12.5 59.5t-38 44.5t-53 31t-66.5 24.5z" />
|
||||
<glyph unicode="" d="M561 1197q84 0 160.5 -40t123.5 -109.5t47 -147.5h-153q0 40 -19.5 71.5t-49.5 48.5t-59.5 26t-55.5 9q-37 0 -79 -14.5t-62 -35.5q-41 -44 -41 -101q0 -26 13.5 -63t26.5 -61t37 -66q6 -9 9 -14h241v-100h-197q8 -50 -2.5 -115t-31.5 -95q-45 -62 -99 -112 q34 10 83 17.5t71 7.5q32 1 102 -16t104 -17q83 0 136 30l50 -147q-31 -19 -58 -30.5t-55 -15.5t-42 -4.5t-46 -0.5q-23 0 -76 17t-111 32.5t-96 11.5q-39 -3 -82 -16t-67 -25l-23 -11l-55 145q4 3 16 11t15.5 10.5t13 9t15.5 12t14.5 14t17.5 18.5q48 55 54 126.5 t-30 142.5h-221v100h166q-23 47 -44 104q-7 20 -12 41.5t-6 55.5t6 66.5t29.5 70.5t58.5 71q97 88 263 88z" />
|
||||
<glyph unicode="" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM935 1184l230 -249q14 -14 10 -24.5t-25 -10.5h-150v-900h-200v900h-150q-21 0 -25 10.5t10 24.5l230 249q14 15 35 15t35 -15z" />
|
||||
<glyph unicode="" d="M1000 700h-100v100h-100v-100h-100v500h300v-500zM400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM801 1100v-200h100v200h-100zM1000 350l-200 -250h200v-100h-300v150l200 250h-200v100h300v-150z " />
|
||||
<glyph unicode="" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM1000 1050l-200 -250h200v-100h-300v150l200 250h-200v100h300v-150zM1000 0h-100v100h-100v-100h-100v500h300v-500zM801 400v-200h100v200h-100z " />
|
||||
<glyph unicode="" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM1000 700h-100v400h-100v100h200v-500zM1100 0h-100v100h-200v400h300v-500zM901 400v-200h100v200h-100z" />
|
||||
<glyph unicode="" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM1100 700h-100v100h-200v400h300v-500zM901 1100v-200h100v200h-100zM1000 0h-100v400h-100v100h200v-500z" />
|
||||
<glyph unicode="" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM900 1000h-200v200h200v-200zM1000 700h-300v200h300v-200zM1100 400h-400v200h400v-200zM1200 100h-500v200h500v-200z" />
|
||||
<glyph unicode="" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM1200 1000h-500v200h500v-200zM1100 700h-400v200h400v-200zM1000 400h-300v200h300v-200zM900 100h-200v200h200v-200z" />
|
||||
<glyph unicode="" d="M350 1100h400q162 0 256 -93.5t94 -256.5v-400q0 -165 -93.5 -257.5t-256.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5 v500q0 41 -29.5 70.5t-70.5 29.5z" />
|
||||
<glyph unicode="" d="M350 1100h400q165 0 257.5 -92.5t92.5 -257.5v-400q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-163 0 -256.5 92.5t-93.5 257.5v400q0 163 94 256.5t256 93.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5 v500q0 41 -29.5 70.5t-70.5 29.5zM440 770l253 -190q17 -12 17 -30t-17 -30l-253 -190q-16 -12 -28 -6.5t-12 26.5v400q0 21 12 26.5t28 -6.5z" />
|
||||
<glyph unicode="" d="M350 1100h400q163 0 256.5 -94t93.5 -256v-400q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 163 92.5 256.5t257.5 93.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5 v500q0 41 -29.5 70.5t-70.5 29.5zM350 700h400q21 0 26.5 -12t-6.5 -28l-190 -253q-12 -17 -30 -17t-30 17l-190 253q-12 16 -6.5 28t26.5 12z" />
|
||||
<glyph unicode="" d="M350 1100h400q165 0 257.5 -92.5t92.5 -257.5v-400q0 -163 -92.5 -256.5t-257.5 -93.5h-400q-163 0 -256.5 94t-93.5 256v400q0 165 92.5 257.5t257.5 92.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5 v500q0 41 -29.5 70.5t-70.5 29.5zM580 693l190 -253q12 -16 6.5 -28t-26.5 -12h-400q-21 0 -26.5 12t6.5 28l190 253q12 17 30 17t30 -17z" />
|
||||
<glyph unicode="" d="M550 1100h400q165 0 257.5 -92.5t92.5 -257.5v-400q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h450q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5h-450q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM338 867l324 -284q16 -14 16 -33t-16 -33l-324 -284q-16 -14 -27 -9t-11 26v150h-250q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h250v150q0 21 11 26t27 -9z" />
|
||||
<glyph unicode="" d="M793 1182l9 -9q8 -10 5 -27q-3 -11 -79 -225.5t-78 -221.5l300 1q24 0 32.5 -17.5t-5.5 -35.5q-1 0 -133.5 -155t-267 -312.5t-138.5 -162.5q-12 -15 -26 -15h-9l-9 8q-9 11 -4 32q2 9 42 123.5t79 224.5l39 110h-302q-23 0 -31 19q-10 21 6 41q75 86 209.5 237.5 t228 257t98.5 111.5q9 16 25 16h9z" />
|
||||
<glyph unicode="" d="M350 1100h400q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-450q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h450q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400 q0 165 92.5 257.5t257.5 92.5zM938 867l324 -284q16 -14 16 -33t-16 -33l-324 -284q-16 -14 -27 -9t-11 26v150h-250q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h250v150q0 21 11 26t27 -9z" />
|
||||
<glyph unicode="" d="M750 1200h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -10.5 -25t-24.5 10l-109 109l-312 -312q-15 -15 -35.5 -15t-35.5 15l-141 141q-15 15 -15 35.5t15 35.5l312 312l-109 109q-14 14 -10 24.5t25 10.5zM456 900h-156q-41 0 -70.5 -29.5t-29.5 -70.5v-500 q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v148l200 200v-298q0 -165 -93.5 -257.5t-256.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5h300z" />
|
||||
<glyph unicode="" d="M600 1186q119 0 227.5 -46.5t187 -125t125 -187t46.5 -227.5t-46.5 -227.5t-125 -187t-187 -125t-227.5 -46.5t-227.5 46.5t-187 125t-125 187t-46.5 227.5t46.5 227.5t125 187t187 125t227.5 46.5zM600 1022q-115 0 -212 -56.5t-153.5 -153.5t-56.5 -212t56.5 -212 t153.5 -153.5t212 -56.5t212 56.5t153.5 153.5t56.5 212t-56.5 212t-153.5 153.5t-212 56.5zM600 794q80 0 137 -57t57 -137t-57 -137t-137 -57t-137 57t-57 137t57 137t137 57z" />
|
||||
<glyph unicode="" d="M450 1200h200q21 0 35.5 -14.5t14.5 -35.5v-350h245q20 0 25 -11t-9 -26l-383 -426q-14 -15 -33.5 -15t-32.5 15l-379 426q-13 15 -8.5 26t25.5 11h250v350q0 21 14.5 35.5t35.5 14.5zM50 300h1000q21 0 35.5 -14.5t14.5 -35.5v-250h-1100v250q0 21 14.5 35.5t35.5 14.5z M900 200v-50h100v50h-100z" />
|
||||
<glyph unicode="" d="M583 1182l378 -435q14 -15 9 -31t-26 -16h-244v-250q0 -20 -17 -35t-39 -15h-200q-20 0 -32 14.5t-12 35.5v250h-250q-20 0 -25.5 16.5t8.5 31.5l383 431q14 16 33.5 17t33.5 -14zM50 300h1000q21 0 35.5 -14.5t14.5 -35.5v-250h-1100v250q0 21 14.5 35.5t35.5 14.5z M900 200v-50h100v50h-100z" />
|
||||
<glyph unicode="" d="M396 723l369 369q7 7 17.5 7t17.5 -7l139 -139q7 -8 7 -18.5t-7 -17.5l-525 -525q-7 -8 -17.5 -8t-17.5 8l-292 291q-7 8 -7 18t7 18l139 139q8 7 18.5 7t17.5 -7zM50 300h1000q21 0 35.5 -14.5t14.5 -35.5v-250h-1100v250q0 21 14.5 35.5t35.5 14.5zM900 200v-50h100v50 h-100z" />
|
||||
<glyph unicode="" d="M135 1023l142 142q14 14 35 14t35 -14l77 -77l-212 -212l-77 76q-14 15 -14 36t14 35zM655 855l210 210q14 14 24.5 10t10.5 -25l-2 -599q-1 -20 -15.5 -35t-35.5 -15l-597 -1q-21 0 -25 10.5t10 24.5l208 208l-154 155l212 212zM50 300h1000q21 0 35.5 -14.5t14.5 -35.5 v-250h-1100v250q0 21 14.5 35.5t35.5 14.5zM900 200v-50h100v50h-100z" />
|
||||
<glyph unicode="" d="M350 1200l599 -2q20 -1 35 -15.5t15 -35.5l1 -597q0 -21 -10.5 -25t-24.5 10l-208 208l-155 -154l-212 212l155 154l-210 210q-14 14 -10 24.5t25 10.5zM524 512l-76 -77q-15 -14 -36 -14t-35 14l-142 142q-14 14 -14 35t14 35l77 77zM50 300h1000q21 0 35.5 -14.5 t14.5 -35.5v-250h-1100v250q0 21 14.5 35.5t35.5 14.5zM900 200v-50h100v50h-100z" />
|
||||
<glyph unicode="" d="M1200 103l-483 276l-314 -399v423h-399l1196 796v-1096zM483 424v-230l683 953z" />
|
||||
<glyph unicode="" d="M1100 1000v-850q0 -21 -14.5 -35.5t-35.5 -14.5h-150v400h-700v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200z" />
|
||||
<glyph unicode="" d="M1100 1000l-2 -149l-299 -299l-95 95q-9 9 -21.5 9t-21.5 -9l-149 -147h-312v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200zM1132 638l106 -106q7 -7 7 -17.5t-7 -17.5l-420 -421q-8 -7 -18 -7 t-18 7l-202 203q-8 7 -8 17.5t8 17.5l106 106q7 8 17.5 8t17.5 -8l79 -79l297 297q7 7 17.5 7t17.5 -7z" />
|
||||
<glyph unicode="" d="M1100 1000v-269l-103 -103l-134 134q-15 15 -33.5 16.5t-34.5 -12.5l-266 -266h-329v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200zM1202 572l70 -70q15 -15 15 -35.5t-15 -35.5l-131 -131 l131 -131q15 -15 15 -35.5t-15 -35.5l-70 -70q-15 -15 -35.5 -15t-35.5 15l-131 131l-131 -131q-15 -15 -35.5 -15t-35.5 15l-70 70q-15 15 -15 35.5t15 35.5l131 131l-131 131q-15 15 -15 35.5t15 35.5l70 70q15 15 35.5 15t35.5 -15l131 -131l131 131q15 15 35.5 15 t35.5 -15z" />
|
||||
<glyph unicode="" d="M1100 1000v-300h-350q-21 0 -35.5 -14.5t-14.5 -35.5v-150h-500v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200zM850 600h100q21 0 35.5 -14.5t14.5 -35.5v-250h150q21 0 25 -10.5t-10 -24.5 l-230 -230q-14 -14 -35 -14t-35 14l-230 230q-14 14 -10 24.5t25 10.5h150v250q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M1100 1000v-400l-165 165q-14 15 -35 15t-35 -15l-263 -265h-402v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200zM935 565l230 -229q14 -15 10 -25.5t-25 -10.5h-150v-250q0 -20 -14.5 -35 t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35v250h-150q-21 0 -25 10.5t10 25.5l230 229q14 15 35 15t35 -15z" />
|
||||
<glyph unicode="" d="M50 1100h1100q21 0 35.5 -14.5t14.5 -35.5v-150h-1200v150q0 21 14.5 35.5t35.5 14.5zM1200 800v-550q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v550h1200zM100 500v-200h400v200h-400z" />
|
||||
<glyph unicode="" d="M935 1165l248 -230q14 -14 14 -35t-14 -35l-248 -230q-14 -14 -24.5 -10t-10.5 25v150h-400v200h400v150q0 21 10.5 25t24.5 -10zM200 800h-50q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h50v-200zM400 800h-100v200h100v-200zM18 435l247 230 q14 14 24.5 10t10.5 -25v-150h400v-200h-400v-150q0 -21 -10.5 -25t-24.5 10l-247 230q-15 14 -15 35t15 35zM900 300h-100v200h100v-200zM1000 500h51q20 0 34.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-34.5 -14.5h-51v200z" />
|
||||
<glyph unicode="" d="M862 1073l276 116q25 18 43.5 8t18.5 -41v-1106q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v397q-4 1 -11 5t-24 17.5t-30 29t-24 42t-11 56.5v359q0 31 18.5 65t43.5 52zM550 1200q22 0 34.5 -12.5t14.5 -24.5l1 -13v-450q0 -28 -10.5 -59.5 t-25 -56t-29 -45t-25.5 -31.5l-10 -11v-447q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v447q-4 4 -11 11.5t-24 30.5t-30 46t-24 55t-11 60v450q0 2 0.5 5.5t4 12t8.5 15t14.5 12t22.5 5.5q20 0 32.5 -12.5t14.5 -24.5l3 -13v-350h100v350v5.5t2.5 12 t7 15t15 12t25.5 5.5q23 0 35.5 -12.5t13.5 -24.5l1 -13v-350h100v350q0 2 0.5 5.5t3 12t7 15t15 12t24.5 5.5z" />
|
||||
<glyph unicode="" d="M1200 1100v-56q-4 0 -11 -0.5t-24 -3t-30 -7.5t-24 -15t-11 -24v-888q0 -22 25 -34.5t50 -13.5l25 -2v-56h-400v56q75 0 87.5 6.5t12.5 43.5v394h-500v-394q0 -37 12.5 -43.5t87.5 -6.5v-56h-400v56q4 0 11 0.5t24 3t30 7.5t24 15t11 24v888q0 22 -25 34.5t-50 13.5 l-25 2v56h400v-56q-75 0 -87.5 -6.5t-12.5 -43.5v-394h500v394q0 37 -12.5 43.5t-87.5 6.5v56h400z" />
|
||||
<glyph unicode="" d="M675 1000h375q21 0 35.5 -14.5t14.5 -35.5v-150h-105l-295 -98v98l-200 200h-400l100 100h375zM100 900h300q41 0 70.5 -29.5t29.5 -70.5v-500q0 -41 -29.5 -70.5t-70.5 -29.5h-300q-41 0 -70.5 29.5t-29.5 70.5v500q0 41 29.5 70.5t70.5 29.5zM100 800v-200h300v200 h-300zM1100 535l-400 -133v163l400 133v-163zM100 500v-200h300v200h-300zM1100 398v-248q0 -21 -14.5 -35.5t-35.5 -14.5h-375l-100 -100h-375l-100 100h400l200 200h105z" />
|
||||
<glyph unicode="" d="M17 1007l162 162q17 17 40 14t37 -22l139 -194q14 -20 11 -44.5t-20 -41.5l-119 -118q102 -142 228 -268t267 -227l119 118q17 17 42.5 19t44.5 -12l192 -136q19 -14 22.5 -37.5t-13.5 -40.5l-163 -162q-3 -1 -9.5 -1t-29.5 2t-47.5 6t-62.5 14.5t-77.5 26.5t-90 42.5 t-101.5 60t-111 83t-119 108.5q-74 74 -133.5 150.5t-94.5 138.5t-60 119.5t-34.5 100t-15 74.5t-4.5 48z" />
|
||||
<glyph unicode="" d="M600 1100q92 0 175 -10.5t141.5 -27t108.5 -36.5t81.5 -40t53.5 -37t31 -27l9 -10v-200q0 -21 -14.5 -33t-34.5 -9l-202 34q-20 3 -34.5 20t-14.5 38v146q-141 24 -300 24t-300 -24v-146q0 -21 -14.5 -38t-34.5 -20l-202 -34q-20 -3 -34.5 9t-14.5 33v200q3 4 9.5 10.5 t31 26t54 37.5t80.5 39.5t109 37.5t141 26.5t175 10.5zM600 795q56 0 97 -9.5t60 -23.5t30 -28t12 -24l1 -10v-50l365 -303q14 -15 24.5 -40t10.5 -45v-212q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v212q0 20 10.5 45t24.5 40l365 303v50 q0 4 1 10.5t12 23t30 29t60 22.5t97 10z" />
|
||||
<glyph unicode="" d="M1100 700l-200 -200h-600l-200 200v500h200v-200h200v200h200v-200h200v200h200v-500zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-12l137 -100h-950l137 100h-12q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5 t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M700 1100h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-1000h300v1000q0 41 -29.5 70.5t-70.5 29.5zM1100 800h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-700h300v700q0 41 -29.5 70.5t-70.5 29.5zM400 0h-300v400q0 41 29.5 70.5t70.5 29.5h100q41 0 70.5 -29.5t29.5 -70.5v-400z " />
|
||||
<glyph unicode="" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 700h-200v-100h200v-300h-300v100h200v100h-200v300h300v-100zM900 700v-300l-100 -100h-200v500h200z M700 700v-300h100v300h-100z" />
|
||||
<glyph unicode="" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 300h-100v200h-100v-200h-100v500h100v-200h100v200h100v-500zM900 700v-300l-100 -100h-200v500h200z M700 700v-300h100v300h-100z" />
|
||||
<glyph unicode="" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 700h-200v-300h200v-100h-300v500h300v-100zM900 700h-200v-300h200v-100h-300v500h300v-100z" />
|
||||
<glyph unicode="" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 400l-300 150l300 150v-300zM900 550l-300 -150v300z" />
|
||||
<glyph unicode="" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM900 300h-700v500h700v-500zM800 700h-130q-38 0 -66.5 -43t-28.5 -108t27 -107t68 -42h130v300zM300 700v-300 h130q41 0 68 42t27 107t-28.5 108t-66.5 43h-130z" />
|
||||
<glyph unicode="" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 700h-200v-100h200v-300h-300v100h200v100h-200v300h300v-100zM900 300h-100v400h-100v100h200v-500z M700 300h-100v100h100v-100z" />
|
||||
<glyph unicode="" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM300 700h200v-400h-300v500h100v-100zM900 300h-100v400h-100v100h200v-500zM300 600v-200h100v200h-100z M700 300h-100v100h100v-100z" />
|
||||
<glyph unicode="" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 500l-199 -200h-100v50l199 200v150h-200v100h300v-300zM900 300h-100v400h-100v100h200v-500zM701 300h-100 v100h100v-100z" />
|
||||
<glyph unicode="" d="M600 1191q120 0 229.5 -47t188.5 -126t126 -188.5t47 -229.5t-47 -229.5t-126 -188.5t-188.5 -126t-229.5 -47t-229.5 47t-188.5 126t-126 188.5t-47 229.5t47 229.5t126 188.5t188.5 126t229.5 47zM600 1021q-114 0 -211 -56.5t-153.5 -153.5t-56.5 -211t56.5 -211 t153.5 -153.5t211 -56.5t211 56.5t153.5 153.5t56.5 211t-56.5 211t-153.5 153.5t-211 56.5zM800 700h-300v-200h300v-100h-300l-100 100v200l100 100h300v-100z" />
|
||||
<glyph unicode="" d="M600 1191q120 0 229.5 -47t188.5 -126t126 -188.5t47 -229.5t-47 -229.5t-126 -188.5t-188.5 -126t-229.5 -47t-229.5 47t-188.5 126t-126 188.5t-47 229.5t47 229.5t126 188.5t188.5 126t229.5 47zM600 1021q-114 0 -211 -56.5t-153.5 -153.5t-56.5 -211t56.5 -211 t153.5 -153.5t211 -56.5t211 56.5t153.5 153.5t56.5 211t-56.5 211t-153.5 153.5t-211 56.5zM800 700v-100l-50 -50l100 -100v-50h-100l-100 100h-150v-100h-100v400h300zM500 700v-100h200v100h-200z" />
|
||||
<glyph unicode="" d="M503 1089q110 0 200.5 -59.5t134.5 -156.5q44 14 90 14q120 0 205 -86.5t85 -207t-85 -207t-205 -86.5h-128v250q0 21 -14.5 35.5t-35.5 14.5h-300q-21 0 -35.5 -14.5t-14.5 -35.5v-250h-222q-80 0 -136 57.5t-56 136.5q0 69 43 122.5t108 67.5q-2 19 -2 37q0 100 49 185 t134 134t185 49zM525 500h150q10 0 17.5 -7.5t7.5 -17.5v-275h137q21 0 26 -11.5t-8 -27.5l-223 -244q-13 -16 -32 -16t-32 16l-223 244q-13 16 -8 27.5t26 11.5h137v275q0 10 7.5 17.5t17.5 7.5z" />
|
||||
<glyph unicode="" d="M502 1089q110 0 201 -59.5t135 -156.5q43 15 89 15q121 0 206 -86.5t86 -206.5q0 -99 -60 -181t-150 -110l-378 360q-13 16 -31.5 16t-31.5 -16l-381 -365h-9q-79 0 -135.5 57.5t-56.5 136.5q0 69 43 122.5t108 67.5q-2 19 -2 38q0 100 49 184.5t133.5 134t184.5 49.5z M632 467l223 -228q13 -16 8 -27.5t-26 -11.5h-137v-275q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v275h-137q-21 0 -26 11.5t8 27.5q199 204 223 228q19 19 31.5 19t32.5 -19z" />
|
||||
<glyph unicode="" d="M700 100v100h400l-270 300h170l-270 300h170l-300 333l-300 -333h170l-270 -300h170l-270 -300h400v-100h-50q-21 0 -35.5 -14.5t-14.5 -35.5v-50h400v50q0 21 -14.5 35.5t-35.5 14.5h-50z" />
|
||||
<glyph unicode="" d="M600 1179q94 0 167.5 -56.5t99.5 -145.5q89 -6 150.5 -71.5t61.5 -155.5q0 -61 -29.5 -112.5t-79.5 -82.5q9 -29 9 -55q0 -74 -52.5 -126.5t-126.5 -52.5q-55 0 -100 30v-251q21 0 35.5 -14.5t14.5 -35.5v-50h-300v50q0 21 14.5 35.5t35.5 14.5v251q-45 -30 -100 -30 q-74 0 -126.5 52.5t-52.5 126.5q0 18 4 38q-47 21 -75.5 65t-28.5 97q0 74 52.5 126.5t126.5 52.5q5 0 23 -2q0 2 -1 10t-1 13q0 116 81.5 197.5t197.5 81.5z" />
|
||||
<glyph unicode="" d="M1010 1010q111 -111 150.5 -260.5t0 -299t-150.5 -260.5q-83 -83 -191.5 -126.5t-218.5 -43.5t-218.5 43.5t-191.5 126.5q-111 111 -150.5 260.5t0 299t150.5 260.5q83 83 191.5 126.5t218.5 43.5t218.5 -43.5t191.5 -126.5zM476 1065q-4 0 -8 -1q-121 -34 -209.5 -122.5 t-122.5 -209.5q-4 -12 2.5 -23t18.5 -14l36 -9q3 -1 7 -1q23 0 29 22q27 96 98 166q70 71 166 98q11 3 17.5 13.5t3.5 22.5l-9 35q-3 13 -14 19q-7 4 -15 4zM512 920q-4 0 -9 -2q-80 -24 -138.5 -82.5t-82.5 -138.5q-4 -13 2 -24t19 -14l34 -9q4 -1 8 -1q22 0 28 21 q18 58 58.5 98.5t97.5 58.5q12 3 18 13.5t3 21.5l-9 35q-3 12 -14 19q-7 4 -15 4zM719.5 719.5q-49.5 49.5 -119.5 49.5t-119.5 -49.5t-49.5 -119.5t49.5 -119.5t119.5 -49.5t119.5 49.5t49.5 119.5t-49.5 119.5zM855 551q-22 0 -28 -21q-18 -58 -58.5 -98.5t-98.5 -57.5 q-11 -4 -17 -14.5t-3 -21.5l9 -35q3 -12 14 -19q7 -4 15 -4q4 0 9 2q80 24 138.5 82.5t82.5 138.5q4 13 -2.5 24t-18.5 14l-34 9q-4 1 -8 1zM1000 515q-23 0 -29 -22q-27 -96 -98 -166q-70 -71 -166 -98q-11 -3 -17.5 -13.5t-3.5 -22.5l9 -35q3 -13 14 -19q7 -4 15 -4 q4 0 8 1q121 34 209.5 122.5t122.5 209.5q4 12 -2.5 23t-18.5 14l-36 9q-3 1 -7 1z" />
|
||||
<glyph unicode="" d="M700 800h300v-380h-180v200h-340v-200h-380v755q0 10 7.5 17.5t17.5 7.5h575v-400zM1000 900h-200v200zM700 300h162l-212 -212l-212 212h162v200h100v-200zM520 0h-395q-10 0 -17.5 7.5t-7.5 17.5v395zM1000 220v-195q0 -10 -7.5 -17.5t-17.5 -7.5h-195z" />
|
||||
<glyph unicode="" d="M700 800h300v-520l-350 350l-550 -550v1095q0 10 7.5 17.5t17.5 7.5h575v-400zM1000 900h-200v200zM862 200h-162v-200h-100v200h-162l212 212zM480 0h-355q-10 0 -17.5 7.5t-7.5 17.5v55h380v-80zM1000 80v-55q0 -10 -7.5 -17.5t-17.5 -7.5h-155v80h180z" />
|
||||
<glyph unicode="" d="M1162 800h-162v-200h100l100 -100h-300v300h-162l212 212zM200 800h200q27 0 40 -2t29.5 -10.5t23.5 -30t7 -57.5h300v-100h-600l-200 -350v450h100q0 36 7 57.5t23.5 30t29.5 10.5t40 2zM800 400h240l-240 -400h-800l300 500h500v-100z" />
|
||||
<glyph unicode="" d="M650 1100h100q21 0 35.5 -14.5t14.5 -35.5v-50h50q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h50v50q0 21 14.5 35.5t35.5 14.5zM1000 850v150q41 0 70.5 -29.5t29.5 -70.5v-800 q0 -41 -29.5 -70.5t-70.5 -29.5h-600q-1 0 -20 4l246 246l-326 326v324q0 41 29.5 70.5t70.5 29.5v-150q0 -62 44 -106t106 -44h300q62 0 106 44t44 106zM412 250l-212 -212v162h-200v100h200v162z" />
|
||||
<glyph unicode="" d="M450 1100h100q21 0 35.5 -14.5t14.5 -35.5v-50h50q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h50v50q0 21 14.5 35.5t35.5 14.5zM800 850v150q41 0 70.5 -29.5t29.5 -70.5v-500 h-200v-300h200q0 -36 -7 -57.5t-23.5 -30t-29.5 -10.5t-40 -2h-600q-41 0 -70.5 29.5t-29.5 70.5v800q0 41 29.5 70.5t70.5 29.5v-150q0 -62 44 -106t106 -44h300q62 0 106 44t44 106zM1212 250l-212 -212v162h-200v100h200v162z" />
|
||||
<glyph unicode="" d="M658 1197l637 -1104q23 -38 7 -65.5t-60 -27.5h-1276q-44 0 -60 27.5t7 65.5l637 1104q22 39 54 39t54 -39zM704 800h-208q-20 0 -32 -14.5t-8 -34.5l58 -302q4 -20 21.5 -34.5t37.5 -14.5h54q20 0 37.5 14.5t21.5 34.5l58 302q4 20 -8 34.5t-32 14.5zM500 300v-100h200 v100h-200z" />
|
||||
<glyph unicode="" d="M425 1100h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM425 800h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5 t17.5 7.5zM825 800h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM25 500h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150 q0 10 7.5 17.5t17.5 7.5zM425 500h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM825 500h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5 v150q0 10 7.5 17.5t17.5 7.5zM25 200h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM425 200h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5 t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM825 200h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5z" />
|
||||
<glyph unicode="" d="M700 1200h100v-200h-100v-100h350q62 0 86.5 -39.5t-3.5 -94.5l-66 -132q-41 -83 -81 -134h-772q-40 51 -81 134l-66 132q-28 55 -3.5 94.5t86.5 39.5h350v100h-100v200h100v100h200v-100zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-12l137 -100 h-950l138 100h-13q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M600 1300q40 0 68.5 -29.5t28.5 -70.5h-194q0 41 28.5 70.5t68.5 29.5zM443 1100h314q18 -37 18 -75q0 -8 -3 -25h328q41 0 44.5 -16.5t-30.5 -38.5l-175 -145h-678l-178 145q-34 22 -29 38.5t46 16.5h328q-3 17 -3 25q0 38 18 75zM250 700h700q21 0 35.5 -14.5 t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-150v-200l275 -200h-950l275 200v200h-150q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M600 1181q75 0 128 -53t53 -128t-53 -128t-128 -53t-128 53t-53 128t53 128t128 53zM602 798h46q34 0 55.5 -28.5t21.5 -86.5q0 -76 39 -183h-324q39 107 39 183q0 58 21.5 86.5t56.5 28.5h45zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-13 l138 -100h-950l137 100h-12q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M600 1300q47 0 92.5 -53.5t71 -123t25.5 -123.5q0 -78 -55.5 -133.5t-133.5 -55.5t-133.5 55.5t-55.5 133.5q0 62 34 143l144 -143l111 111l-163 163q34 26 63 26zM602 798h46q34 0 55.5 -28.5t21.5 -86.5q0 -76 39 -183h-324q39 107 39 183q0 58 21.5 86.5t56.5 28.5h45 zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-13l138 -100h-950l137 100h-12q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M600 1200l300 -161v-139h-300q0 -57 18.5 -108t50 -91.5t63 -72t70 -67.5t57.5 -61h-530q-60 83 -90.5 177.5t-30.5 178.5t33 164.5t87.5 139.5t126 96.5t145.5 41.5v-98zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-13l138 -100h-950l137 100 h-12q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M600 1300q41 0 70.5 -29.5t29.5 -70.5v-78q46 -26 73 -72t27 -100v-50h-400v50q0 54 27 100t73 72v78q0 41 29.5 70.5t70.5 29.5zM400 800h400q54 0 100 -27t72 -73h-172v-100h200v-100h-200v-100h200v-100h-200v-100h200q0 -83 -58.5 -141.5t-141.5 -58.5h-400 q-83 0 -141.5 58.5t-58.5 141.5v400q0 83 58.5 141.5t141.5 58.5z" />
|
||||
<glyph unicode="" d="M150 1100h900q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5v500q0 21 14.5 35.5t35.5 14.5zM125 400h950q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-283l224 -224q13 -13 13 -31.5t-13 -32 t-31.5 -13.5t-31.5 13l-88 88h-524l-87 -88q-13 -13 -32 -13t-32 13.5t-13 32t13 31.5l224 224h-289q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM541 300l-100 -100h324l-100 100h-124z" />
|
||||
<glyph unicode="" d="M200 1100h800q83 0 141.5 -58.5t58.5 -141.5v-200h-100q0 41 -29.5 70.5t-70.5 29.5h-250q-41 0 -70.5 -29.5t-29.5 -70.5h-100q0 41 -29.5 70.5t-70.5 29.5h-250q-41 0 -70.5 -29.5t-29.5 -70.5h-100v200q0 83 58.5 141.5t141.5 58.5zM100 600h1000q41 0 70.5 -29.5 t29.5 -70.5v-300h-1200v300q0 41 29.5 70.5t70.5 29.5zM300 100v-50q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v50h200zM1100 100v-50q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v50h200z" />
|
||||
<glyph unicode="" d="M480 1165l682 -683q31 -31 31 -75.5t-31 -75.5l-131 -131h-481l-517 518q-32 31 -32 75.5t32 75.5l295 296q31 31 75.5 31t76.5 -31zM108 794l342 -342l303 304l-341 341zM250 100h800q21 0 35.5 -14.5t14.5 -35.5v-50h-900v50q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M1057 647l-189 506q-8 19 -27.5 33t-40.5 14h-400q-21 0 -40.5 -14t-27.5 -33l-189 -506q-8 -19 1.5 -33t30.5 -14h625v-150q0 -21 14.5 -35.5t35.5 -14.5t35.5 14.5t14.5 35.5v150h125q21 0 30.5 14t1.5 33zM897 0h-595v50q0 21 14.5 35.5t35.5 14.5h50v50 q0 21 14.5 35.5t35.5 14.5h48v300h200v-300h47q21 0 35.5 -14.5t14.5 -35.5v-50h50q21 0 35.5 -14.5t14.5 -35.5v-50z" />
|
||||
<glyph unicode="" d="M900 800h300v-575q0 -10 -7.5 -17.5t-17.5 -7.5h-375v591l-300 300v84q0 10 7.5 17.5t17.5 7.5h375v-400zM1200 900h-200v200zM400 600h300v-575q0 -10 -7.5 -17.5t-17.5 -7.5h-650q-10 0 -17.5 7.5t-7.5 17.5v950q0 10 7.5 17.5t17.5 7.5h375v-400zM700 700h-200v200z " />
|
||||
<glyph unicode="" d="M484 1095h195q75 0 146 -32.5t124 -86t89.5 -122.5t48.5 -142q18 -14 35 -20q31 -10 64.5 6.5t43.5 48.5q10 34 -15 71q-19 27 -9 43q5 8 12.5 11t19 -1t23.5 -16q41 -44 39 -105q-3 -63 -46 -106.5t-104 -43.5h-62q-7 -55 -35 -117t-56 -100l-39 -234q-3 -20 -20 -34.5 t-38 -14.5h-100q-21 0 -33 14.5t-9 34.5l12 70q-49 -14 -91 -14h-195q-24 0 -65 8l-11 -64q-3 -20 -20 -34.5t-38 -14.5h-100q-21 0 -33 14.5t-9 34.5l26 157q-84 74 -128 175l-159 53q-19 7 -33 26t-14 40v50q0 21 14.5 35.5t35.5 14.5h124q11 87 56 166l-111 95 q-16 14 -12.5 23.5t24.5 9.5h203q116 101 250 101zM675 1000h-250q-10 0 -17.5 -7.5t-7.5 -17.5v-50q0 -10 7.5 -17.5t17.5 -7.5h250q10 0 17.5 7.5t7.5 17.5v50q0 10 -7.5 17.5t-17.5 7.5z" />
|
||||
<glyph unicode="" d="M641 900l423 247q19 8 42 2.5t37 -21.5l32 -38q14 -15 12.5 -36t-17.5 -34l-139 -120h-390zM50 1100h106q67 0 103 -17t66 -71l102 -212h823q21 0 35.5 -14.5t14.5 -35.5v-50q0 -21 -14 -40t-33 -26l-737 -132q-23 -4 -40 6t-26 25q-42 67 -100 67h-300q-62 0 -106 44 t-44 106v200q0 62 44 106t106 44zM173 928h-80q-19 0 -28 -14t-9 -35v-56q0 -51 42 -51h134q16 0 21.5 8t5.5 24q0 11 -16 45t-27 51q-18 28 -43 28zM550 727q-32 0 -54.5 -22.5t-22.5 -54.5t22.5 -54.5t54.5 -22.5t54.5 22.5t22.5 54.5t-22.5 54.5t-54.5 22.5zM130 389 l152 130q18 19 34 24t31 -3.5t24.5 -17.5t25.5 -28q28 -35 50.5 -51t48.5 -13l63 5l48 -179q13 -61 -3.5 -97.5t-67.5 -79.5l-80 -69q-47 -40 -109 -35.5t-103 51.5l-130 151q-40 47 -35.5 109.5t51.5 102.5zM380 377l-102 -88q-31 -27 2 -65l37 -43q13 -15 27.5 -19.5 t31.5 6.5l61 53q19 16 14 49q-2 20 -12 56t-17 45q-11 12 -19 14t-23 -8z" />
|
||||
<glyph unicode="" d="M625 1200h150q10 0 17.5 -7.5t7.5 -17.5v-109q79 -33 131 -87.5t53 -128.5q1 -46 -15 -84.5t-39 -61t-46 -38t-39 -21.5l-17 -6q6 0 15 -1.5t35 -9t50 -17.5t53 -30t50 -45t35.5 -64t14.5 -84q0 -59 -11.5 -105.5t-28.5 -76.5t-44 -51t-49.5 -31.5t-54.5 -16t-49.5 -6.5 t-43.5 -1v-75q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v75h-100v-75q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v75h-175q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h75v600h-75q-10 0 -17.5 7.5t-7.5 17.5v150 q0 10 7.5 17.5t17.5 7.5h175v75q0 10 7.5 17.5t17.5 7.5h150q10 0 17.5 -7.5t7.5 -17.5v-75h100v75q0 10 7.5 17.5t17.5 7.5zM400 900v-200h263q28 0 48.5 10.5t30 25t15 29t5.5 25.5l1 10q0 4 -0.5 11t-6 24t-15 30t-30 24t-48.5 11h-263zM400 500v-200h363q28 0 48.5 10.5 t30 25t15 29t5.5 25.5l1 10q0 4 -0.5 11t-6 24t-15 30t-30 24t-48.5 11h-363z" />
|
||||
<glyph unicode="" d="M212 1198h780q86 0 147 -61t61 -147v-416q0 -51 -18 -142.5t-36 -157.5l-18 -66q-29 -87 -93.5 -146.5t-146.5 -59.5h-572q-82 0 -147 59t-93 147q-8 28 -20 73t-32 143.5t-20 149.5v416q0 86 61 147t147 61zM600 1045q-70 0 -132.5 -11.5t-105.5 -30.5t-78.5 -41.5 t-57 -45t-36 -41t-20.5 -30.5l-6 -12l156 -243h560l156 243q-2 5 -6 12.5t-20 29.5t-36.5 42t-57 44.5t-79 42t-105 29.5t-132.5 12zM762 703h-157l195 261z" />
|
||||
<glyph unicode="" d="M475 1300h150q103 0 189 -86t86 -189v-500q0 -41 -42 -83t-83 -42h-450q-41 0 -83 42t-42 83v500q0 103 86 189t189 86zM700 300v-225q0 -21 -27 -48t-48 -27h-150q-21 0 -48 27t-27 48v225h300z" />
|
||||
<glyph unicode="" d="M475 1300h96q0 -150 89.5 -239.5t239.5 -89.5v-446q0 -41 -42 -83t-83 -42h-450q-41 0 -83 42t-42 83v500q0 103 86 189t189 86zM700 300v-225q0 -21 -27 -48t-48 -27h-150q-21 0 -48 27t-27 48v225h300z" />
|
||||
<glyph unicode="" d="M1294 767l-638 -283l-378 170l-78 -60v-224l100 -150v-199l-150 148l-150 -149v200l100 150v250q0 4 -0.5 10.5t0 9.5t1 8t3 8t6.5 6l47 40l-147 65l642 283zM1000 380l-350 -166l-350 166v147l350 -165l350 165v-147z" />
|
||||
<glyph unicode="" d="M250 800q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44zM650 800q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44zM1050 800q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44z" />
|
||||
<glyph unicode="" d="M550 1100q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44zM550 700q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44zM550 300q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44z" />
|
||||
<glyph unicode="" d="M125 1100h950q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-950q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM125 700h950q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-950q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5 t17.5 7.5zM125 300h950q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-950q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5z" />
|
||||
<glyph unicode="" d="M350 1200h500q162 0 256 -93.5t94 -256.5v-500q0 -165 -93.5 -257.5t-256.5 -92.5h-500q-165 0 -257.5 92.5t-92.5 257.5v500q0 165 92.5 257.5t257.5 92.5zM900 1000h-600q-41 0 -70.5 -29.5t-29.5 -70.5v-600q0 -41 29.5 -70.5t70.5 -29.5h600q41 0 70.5 29.5 t29.5 70.5v600q0 41 -29.5 70.5t-70.5 29.5zM350 900h500q21 0 35.5 -14.5t14.5 -35.5v-300q0 -21 -14.5 -35.5t-35.5 -14.5h-500q-21 0 -35.5 14.5t-14.5 35.5v300q0 21 14.5 35.5t35.5 14.5zM400 800v-200h400v200h-400z" />
|
||||
<glyph unicode="" d="M150 1100h1000q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-50v-200h50q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-50v-200h50q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-50v-200h50q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5 t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5h50v200h-50q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5h50v200h-50q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5h50v200h-50q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M650 1187q87 -67 118.5 -156t0 -178t-118.5 -155q-87 66 -118.5 155t0 178t118.5 156zM300 800q124 0 212 -88t88 -212q-124 0 -212 88t-88 212zM1000 800q0 -124 -88 -212t-212 -88q0 124 88 212t212 88zM300 500q124 0 212 -88t88 -212q-124 0 -212 88t-88 212z M1000 500q0 -124 -88 -212t-212 -88q0 124 88 212t212 88zM700 199v-144q0 -21 -14.5 -35.5t-35.5 -14.5t-35.5 14.5t-14.5 35.5v142q40 -4 43 -4q17 0 57 6z" />
|
||||
<glyph unicode="" d="M745 878l69 19q25 6 45 -12l298 -295q11 -11 15 -26.5t-2 -30.5q-5 -14 -18 -23.5t-28 -9.5h-8q1 0 1 -13q0 -29 -2 -56t-8.5 -62t-20 -63t-33 -53t-51 -39t-72.5 -14h-146q-184 0 -184 288q0 24 10 47q-20 4 -62 4t-63 -4q11 -24 11 -47q0 -288 -184 -288h-142 q-48 0 -84.5 21t-56 51t-32 71.5t-16 75t-3.5 68.5q0 13 2 13h-7q-15 0 -27.5 9.5t-18.5 23.5q-6 15 -2 30.5t15 25.5l298 296q20 18 46 11l76 -19q20 -5 30.5 -22.5t5.5 -37.5t-22.5 -31t-37.5 -5l-51 12l-182 -193h891l-182 193l-44 -12q-20 -5 -37.5 6t-22.5 31t6 37.5 t31 22.5z" />
|
||||
<glyph unicode="" d="M1200 900h-50q0 21 -4 37t-9.5 26.5t-18 17.5t-22 11t-28.5 5.5t-31 2t-37 0.5h-200v-850q0 -22 25 -34.5t50 -13.5l25 -2v-100h-400v100q4 0 11 0.5t24 3t30 7t24 15t11 24.5v850h-200q-25 0 -37 -0.5t-31 -2t-28.5 -5.5t-22 -11t-18 -17.5t-9.5 -26.5t-4 -37h-50v300 h1000v-300zM500 450h-25q0 15 -4 24.5t-9 14.5t-17 7.5t-20 3t-25 0.5h-100v-425q0 -11 12.5 -17.5t25.5 -7.5h12v-50h-200v50q50 0 50 25v425h-100q-17 0 -25 -0.5t-20 -3t-17 -7.5t-9 -14.5t-4 -24.5h-25v150h500v-150z" />
|
||||
<glyph unicode="" d="M1000 300v50q-25 0 -55 32q-14 14 -25 31t-16 27l-4 11l-289 747h-69l-300 -754q-18 -35 -39 -56q-9 -9 -24.5 -18.5t-26.5 -14.5l-11 -5v-50h273v50q-49 0 -78.5 21.5t-11.5 67.5l69 176h293l61 -166q13 -34 -3.5 -66.5t-55.5 -32.5v-50h312zM412 691l134 342l121 -342 h-255zM1100 150v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5z" />
|
||||
<glyph unicode="" d="M50 1200h1100q21 0 35.5 -14.5t14.5 -35.5v-1100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v1100q0 21 14.5 35.5t35.5 14.5zM611 1118h-70q-13 0 -18 -12l-299 -753q-17 -32 -35 -51q-18 -18 -56 -34q-12 -5 -12 -18v-50q0 -8 5.5 -14t14.5 -6 h273q8 0 14 6t6 14v50q0 8 -6 14t-14 6q-55 0 -71 23q-10 14 0 39l63 163h266l57 -153q11 -31 -6 -55q-12 -17 -36 -17q-8 0 -14 -6t-6 -14v-50q0 -8 6 -14t14 -6h313q8 0 14 6t6 14v50q0 7 -5.5 13t-13.5 7q-17 0 -42 25q-25 27 -40 63h-1l-288 748q-5 12 -19 12zM639 611 h-197l103 264z" />
|
||||
<glyph unicode="" d="M1200 1100h-1200v100h1200v-100zM50 1000h400q21 0 35.5 -14.5t14.5 -35.5v-900q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v900q0 21 14.5 35.5t35.5 14.5zM650 1000h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400 q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM700 900v-300h300v300h-300z" />
|
||||
<glyph unicode="" d="M50 1200h400q21 0 35.5 -14.5t14.5 -35.5v-900q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v900q0 21 14.5 35.5t35.5 14.5zM650 700h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400 q0 21 14.5 35.5t35.5 14.5zM700 600v-300h300v300h-300zM1200 0h-1200v100h1200v-100z" />
|
||||
<glyph unicode="" d="M50 1000h400q21 0 35.5 -14.5t14.5 -35.5v-350h100v150q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5v-150h100v-100h-100v-150q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v150h-100v-350q0 -21 -14.5 -35.5t-35.5 -14.5h-400 q-21 0 -35.5 14.5t-14.5 35.5v800q0 21 14.5 35.5t35.5 14.5zM700 700v-300h300v300h-300z" />
|
||||
<glyph unicode="" d="M100 0h-100v1200h100v-1200zM250 1100h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM300 1000v-300h300v300h-300zM250 500h900q21 0 35.5 -14.5t14.5 -35.5v-400 q0 -21 -14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M600 1100h150q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-150v-100h450q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5h350v100h-150q-21 0 -35.5 14.5 t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5h150v100h100v-100zM400 1000v-300h300v300h-300z" />
|
||||
<glyph unicode="" d="M1200 0h-100v1200h100v-1200zM550 1100h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM600 1000v-300h300v300h-300zM50 500h900q21 0 35.5 -14.5t14.5 -35.5v-400 q0 -21 -14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5z" />
|
||||
<glyph unicode="" d="M865 565l-494 -494q-23 -23 -41 -23q-14 0 -22 13.5t-8 38.5v1000q0 25 8 38.5t22 13.5q18 0 41 -23l494 -494q14 -14 14 -35t-14 -35z" />
|
||||
<glyph unicode="" d="M335 635l494 494q29 29 50 20.5t21 -49.5v-1000q0 -41 -21 -49.5t-50 20.5l-494 494q-14 14 -14 35t14 35z" />
|
||||
<glyph unicode="" d="M100 900h1000q41 0 49.5 -21t-20.5 -50l-494 -494q-14 -14 -35 -14t-35 14l-494 494q-29 29 -20.5 50t49.5 21z" />
|
||||
<glyph unicode="" d="M635 865l494 -494q29 -29 20.5 -50t-49.5 -21h-1000q-41 0 -49.5 21t20.5 50l494 494q14 14 35 14t35 -14z" />
|
||||
<glyph unicode="" d="M700 741v-182l-692 -323v221l413 193l-413 193v221zM1200 0h-800v200h800v-200z" />
|
||||
<glyph unicode="" d="M1200 900h-200v-100h200v-100h-300v300h200v100h-200v100h300v-300zM0 700h50q0 21 4 37t9.5 26.5t18 17.5t22 11t28.5 5.5t31 2t37 0.5h100v-550q0 -22 -25 -34.5t-50 -13.5l-25 -2v-100h400v100q-4 0 -11 0.5t-24 3t-30 7t-24 15t-11 24.5v550h100q25 0 37 -0.5t31 -2 t28.5 -5.5t22 -11t18 -17.5t9.5 -26.5t4 -37h50v300h-800v-300z" />
|
||||
<glyph unicode="" d="M800 700h-50q0 21 -4 37t-9.5 26.5t-18 17.5t-22 11t-28.5 5.5t-31 2t-37 0.5h-100v-550q0 -22 25 -34.5t50 -14.5l25 -1v-100h-400v100q4 0 11 0.5t24 3t30 7t24 15t11 24.5v550h-100q-25 0 -37 -0.5t-31 -2t-28.5 -5.5t-22 -11t-18 -17.5t-9.5 -26.5t-4 -37h-50v300 h800v-300zM1100 200h-200v-100h200v-100h-300v300h200v100h-200v100h300v-300z" />
|
||||
<glyph unicode="" d="M701 1098h160q16 0 21 -11t-7 -23l-464 -464l464 -464q12 -12 7 -23t-21 -11h-160q-13 0 -23 9l-471 471q-7 8 -7 18t7 18l471 471q10 9 23 9z" />
|
||||
<glyph unicode="" d="M339 1098h160q13 0 23 -9l471 -471q7 -8 7 -18t-7 -18l-471 -471q-10 -9 -23 -9h-160q-16 0 -21 11t7 23l464 464l-464 464q-12 12 -7 23t21 11z" />
|
||||
<glyph unicode="" d="M1087 882q11 -5 11 -21v-160q0 -13 -9 -23l-471 -471q-8 -7 -18 -7t-18 7l-471 471q-9 10 -9 23v160q0 16 11 21t23 -7l464 -464l464 464q12 12 23 7z" />
|
||||
<glyph unicode="" d="M618 993l471 -471q9 -10 9 -23v-160q0 -16 -11 -21t-23 7l-464 464l-464 -464q-12 -12 -23 -7t-11 21v160q0 13 9 23l471 471q8 7 18 7t18 -7z" />
|
||||
<glyph unicode="" d="M1000 1200q0 -124 -88 -212t-212 -88q0 124 88 212t212 88zM450 1000h100q21 0 40 -14t26 -33l79 -194q5 1 16 3q34 6 54 9.5t60 7t65.5 1t61 -10t56.5 -23t42.5 -42t29 -64t5 -92t-19.5 -121.5q-1 -7 -3 -19.5t-11 -50t-20.5 -73t-32.5 -81.5t-46.5 -83t-64 -70 t-82.5 -50q-13 -5 -42 -5t-65.5 2.5t-47.5 2.5q-14 0 -49.5 -3.5t-63 -3.5t-43.5 7q-57 25 -104.5 78.5t-75 111.5t-46.5 112t-26 90l-7 35q-15 63 -18 115t4.5 88.5t26 64t39.5 43.5t52 25.5t58.5 13t62.5 2t59.5 -4.5t55.5 -8l-147 192q-12 18 -5.5 30t27.5 12z" />
|
||||
<glyph unicode="🔑" d="M250 1200h600q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-150v-500l-255 -178q-19 -9 -32 -1t-13 29v650h-150q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM400 1100v-100h300v100h-300z" />
|
||||
<glyph unicode="🚪" d="M250 1200h750q39 0 69.5 -40.5t30.5 -84.5v-933l-700 -117v950l600 125h-700v-1000h-100v1025q0 23 15.5 49t34.5 26zM500 525v-100l100 20v100z" />
|
||||
</font>
|
||||
</defs></svg>
|
||||
|
Before Width: | Height: | Size: 106 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,75 +0,0 @@
|
||||
.toprow{
|
||||
background-color:#79a3d5;
|
||||
white-space:nowrap;
|
||||
}
|
||||
.toprow,.navbar .navbar-nav li a,.navbar-header .navbar-brand{
|
||||
color:#ffffff;
|
||||
}
|
||||
.dropdown-menu,.navbar-default{
|
||||
background-color:#79a3d5;
|
||||
background-image: linear-gradient(to bottom, #323a81 0px, #79a3d5 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.15) inset, 0px 1px 5px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.http_judge_form{
|
||||
white-space:nowrap;
|
||||
}
|
||||
.center{
|
||||
text-align: center
|
||||
}
|
||||
.sampledata {
|
||||
background: none repeat scroll 0 0 #ccccFF;
|
||||
font-family: Monospace;
|
||||
font-size: 18px;
|
||||
line-height:2px;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
.navbar{
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
padding: 0 auto;
|
||||
top: 0;
|
||||
left: 0;
|
||||
-moz-opacity: 0.9;
|
||||
-khtml-opacity: 0.9;
|
||||
opacity: 0.9;
|
||||
z-index: 9999;
|
||||
}
|
||||
/* funny color*/
|
||||
|
||||
.dropdown-menu,.navbar-default{
|
||||
background-color:#006600;
|
||||
background-image: linear-gradient(to bottom, #006600 0px, #66cc66 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.15) inset, 0px 1px 5px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.btn-warning{
|
||||
background-color:#ff8000;
|
||||
}
|
||||
.btn-success{
|
||||
background-color:#33cc99;
|
||||
}
|
||||
.panel-default{
|
||||
padding: 5px;
|
||||
background-image: url(../../image/background.jpg);
|
||||
border: 1px solid #eee;
|
||||
margin-top:50px;
|
||||
}
|
||||
|
||||
.container .jumbotron{
|
||||
padding: 5px;
|
||||
background-image: url(../../image/background.jpg);
|
||||
border: 1px solid #eee;
|
||||
margin-top:50px;
|
||||
}
|
||||
|
||||
.btn-danger{
|
||||
background-color:#d3406d;
|
||||
}
|
||||
.toprow{
|
||||
background-color:#66cc66;
|
||||
white-space:nowrap;
|
||||
}
|
||||
@@ -1,74 +0,0 @@
|
||||
.toprow{
|
||||
background-color:#eee;
|
||||
white-space:nowrap;
|
||||
}
|
||||
.navbar-nav li a,.navbar-header .navbar-brand{
|
||||
color:#fff;
|
||||
font-weight: 600;
|
||||
}
|
||||
.dropdown-menu,.navbar-default{
|
||||
background-color:#0e90d2;
|
||||
color:white;
|
||||
background-image: linear-gradient(to bottom, #0e90d2 0px, #0e90d2 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.15) inset, 0px 1px 5px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.navbar-default .navbar-nav>li>a {
|
||||
color:white;
|
||||
}
|
||||
.http_judge_form{
|
||||
white-space:nowrap;
|
||||
}
|
||||
.center{
|
||||
text-align: center
|
||||
}
|
||||
.mynav {
|
||||
margin-top: 20px
|
||||
}
|
||||
.panel-default{
|
||||
padding: 5px;
|
||||
background-image: url(../../image/background.jpg);
|
||||
border: 1px solid #eee;
|
||||
margin-top:50px;
|
||||
}
|
||||
.container .jumbotron{
|
||||
padding: 5px;
|
||||
background-image: url(../../image/background.jpg);
|
||||
border: 1px solid #eee;
|
||||
margin-top:50px;
|
||||
}
|
||||
|
||||
|
||||
h3.pagenav {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
h3.pagenav div.item{
|
||||
padding: 4px;
|
||||
margin: 3px;
|
||||
font-size: 16px;
|
||||
border: 1px solid #eee;
|
||||
border-radius: 3px;
|
||||
display: inline-block;
|
||||
width: 30px;
|
||||
}
|
||||
|
||||
h3.pagenav div.item:hover{
|
||||
background-color: #ddd;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
h3.pagenav div.active{
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.broadcast {
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
#problemset {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title>
|
||||
<?php echo $OJ_NAME?>
|
||||
</title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<p>
|
||||
<center> Recent submission :
|
||||
<?php echo $speed?> .
|
||||
<div id=submission style="width:80%;height:300px"></div>
|
||||
</center>
|
||||
</p>
|
||||
<?php echo $view_news?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $OJ_CDN_URL?>include/jquery.flot.js"></script>
|
||||
<script type="text/javascript">
|
||||
$( function () {
|
||||
var d1 = <?php echo json_encode($chart_data_all)?>;
|
||||
var d2 = <?php echo json_encode($chart_data_ac)?>;
|
||||
$.plot( $( "#submission" ), [ {
|
||||
label: "<?php echo $MSG_SUBMIT?>",
|
||||
data: d1,
|
||||
lines: {
|
||||
show: true
|
||||
}
|
||||
}, {
|
||||
label: "<?php echo $MSG_SOVLED?>",
|
||||
data: d2,
|
||||
bars: {
|
||||
show: true
|
||||
}
|
||||
} ], {
|
||||
grid: {
|
||||
backgroundColor: {
|
||||
colors: [ "#fff", "#eee" ]
|
||||
}
|
||||
},
|
||||
xaxis: {
|
||||
mode: "time" //,
|
||||
//max:(new Date()).getTime(),
|
||||
//min:(new Date()).getTime()-100*24*3600*1000
|
||||
}
|
||||
} );
|
||||
} );
|
||||
//alert((new Date()).getTime());
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
2
web/template/bs3/jquery.min.js
vendored
2
web/template/bs3/jquery.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,99 +0,0 @@
|
||||
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
|
||||
<script src="<?php echo $OJ_CDN_URL.$path_fix."include/"?>jquery-latest.js"></script>
|
||||
|
||||
<?php if(isset($OJ_MARKDOWN)&&$OJ_MARKDOWN){ ?>
|
||||
<script src="include/vditor-adapter.js"></script>
|
||||
<?php } ?>
|
||||
|
||||
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
|
||||
<script src="<?php echo $OJ_CDN_URL.$path_fix."template/$OJ_TEMPLATE/"?>bootstrap.min.js"></script>
|
||||
|
||||
<?php
|
||||
$msg_path=realpath(dirname(__FILE__)."/../../admin/msg/$domain.txt");
|
||||
if(file_exists($msg_path))
|
||||
$view_marquee_msg=file_get_contents($OJ_SAE?"saestor://web/msg.txt":$msg_path);
|
||||
else
|
||||
$view_marquee_msg="";
|
||||
?>
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
<?php if($view_marquee_msg!="") { ?>
|
||||
var msg="<marquee style='margin-top:10px' direction='left' scrollamount=3 scrolldelay=50 onMouseOver='this.stop()'"+
|
||||
" onMouseOut='this.start()' class=toprow>"+<?php echo json_encode($view_marquee_msg); ?>+"</marquee>";
|
||||
$(".jumbotron").prepend(msg);
|
||||
<?php } ?>
|
||||
|
||||
$("form").append("<div id='csrf' />");
|
||||
$("#csrf").load("<?php echo $path_fix?>csrf.php");
|
||||
$("body").append("<div id=footer class=center >GPLv2 licensed by <a href='https://github.com/zhblue/hustoj' >HUSTOJ</a> "+(new Date()).getFullYear()+" </div>");
|
||||
$("body").append("<center><?php echo $MSG_HELP_HUSTOJ?></center>");
|
||||
$("body").append("<div class=center > <img src='http://cdn.hustoj.com/wx.jpg' width='120px'><img src='http://cdn.hustoj.com/alipay.png' width='120px'><br> 欢迎关注微信公众号onlinejudge</div>");
|
||||
|
||||
<?php if(isset($OJ_BEIAN)&&$OJ_BEIAN){ ?>
|
||||
$("body").append("<br><center><img src='image/icp.png'><a href='http://beian.miit.gov.cn/' target='_blank'><?php echo $OJ_BEIAN?></a></center>");
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<?php
|
||||
if(isset($_SESSION[$OJ_NAME."_administrator"])) echo "admin_mod();";
|
||||
?>
|
||||
});
|
||||
|
||||
$(".hint pre").each(function(){
|
||||
var plus="<span class='glyphicon glyphicon-plus'><?php echo $MSG_CLICK_VIEW_HINT?></span>";
|
||||
var content=$(this);
|
||||
$(this).before(plus);
|
||||
$(this).prev().click(function(){
|
||||
content.toggle();
|
||||
});
|
||||
$(this).hide();
|
||||
});
|
||||
|
||||
|
||||
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, set \n static $OJ_MATHJAX=true; // 激活mathjax \n in db_info.inc.php");
|
||||
function admin_mod(){
|
||||
$("div[fd=source]").each(function(){
|
||||
let pid=$(this).attr('pid');
|
||||
$(this).append("<span><span class='label label-success' pid='"+pid+"' onclick='problem_add_source(this,"+pid+");'>+</span></span>");
|
||||
|
||||
});
|
||||
$("span[fd=time_limit]").each(function(){
|
||||
let sp=$(this);
|
||||
let pid=$(this).attr('pid');
|
||||
$(this).dblclick(function(){
|
||||
let time=sp.text();
|
||||
console.log("pid:"+pid+" time_limit:"+time);
|
||||
sp.html("<form onsubmit='return false;'><input type=hidden name='m' value='problem_update_time'><input type='hidden' name='pid' value='"+pid+"'><input type='text' name='t' value='"+time+"' selected='true' class='input-mini' size=2 ></form>");
|
||||
let ipt=sp.find("input[name=t]");
|
||||
ipt.focus();
|
||||
ipt[0].select();
|
||||
sp.find("input").change(function(){
|
||||
let newtime=sp.find("input[name=t]").val();
|
||||
$.post("admin/ajax.php",sp.find("form").serialize()).done(function(){
|
||||
console.log("new time_limit:"+time);
|
||||
sp.html(newtime);
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
function problem_add_source(sp,pid){
|
||||
console.log("pid:"+pid);
|
||||
let p=$(sp).parent();
|
||||
p.html("<form onsubmit='return false;'><input type='hidden' name='m' value='problem_add_source'><input type='hidden' name='pid' value='"+pid+"'><input type='text' class='input input-large' name='ns'></form>");
|
||||
p.find("input").focus();
|
||||
p.find("input").change(function(){
|
||||
console.log(p.find("form").serialize());
|
||||
let ns=p.find("input[name=ns]").val();
|
||||
console.log("new source:"+ns);
|
||||
$.post("admin/ajax.php",p.find("form").serialize());
|
||||
p.parent().append("<span class='label label-success'>"+ns+"</span>");
|
||||
p.html("<span class='label label-success' pid='"+pid+"' onclick='problem_add_source(this,"+pid+");'>+</span>");
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
1
web/template/bs3/katex.min.css
vendored
1
web/template/bs3/katex.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,84 +0,0 @@
|
||||
.toprow{
|
||||
background-color:#79a3d5;
|
||||
white-space:nowrap;
|
||||
}
|
||||
.dropdown-menu,.navbar-default{
|
||||
background-color:#79a3d5;
|
||||
background-repeat: repeat-x;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.15) inset, 0px 1px 5px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.http_judge_form{
|
||||
white-space:nowrap;
|
||||
}
|
||||
.center{
|
||||
text-align: center
|
||||
}
|
||||
.sampledata {
|
||||
background: none repeat scroll 0 0 #ccccFF;
|
||||
font-family: Monospace;
|
||||
font-size: 18px;
|
||||
line-height:2px;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
body {
|
||||
padding: 50px;
|
||||
background-image:url('https://api.paugram.com/wallpaper/');
|
||||
background-attachment: fixed;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
.navbar{
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
padding: 0 auto;
|
||||
top: 0;
|
||||
left: 0;
|
||||
-moz-opacity: 0.9;
|
||||
-khtml-opacity: 0.9;
|
||||
opacity: 0.9;
|
||||
z-index: 9999;
|
||||
color:#999;
|
||||
border: 0px solid #000;
|
||||
}
|
||||
/* funny color*/
|
||||
|
||||
.dropdown-menu,.navbar-default{
|
||||
color:#999;
|
||||
background-repeat: repeat-x;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.15) inset, 0px 1px 5px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.btn-warning{
|
||||
background-color:#ff8000;
|
||||
}
|
||||
.btn-success{
|
||||
background-color:#33cc99;
|
||||
}
|
||||
.panel-default{
|
||||
padding: 5px;
|
||||
background-image: url(../../image/background.jpg);
|
||||
border: 1px solid #eee;
|
||||
margin-top:50px;
|
||||
}
|
||||
.container .jumbotron{
|
||||
padding: 5px;
|
||||
background-image: url(../../image/background.jpg);
|
||||
border: 1px solid #eee;
|
||||
margin-top:50px;
|
||||
}
|
||||
.btn-danger{
|
||||
background-color:#d3406d;
|
||||
}
|
||||
.toprow{
|
||||
color:#999;
|
||||
background-color:#000000;
|
||||
white-space:nowrap;
|
||||
}
|
||||
|
||||
.container{
|
||||
background-color:white;
|
||||
opacity:0.95;
|
||||
|
||||
}
|
||||
@@ -1,73 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title>Login</title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
|
||||
<form id="login" action="login.php" method="post" role="form" class="form-horizontal" onSubmit="return jsMd5();" >
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label"><?php echo $MSG_USER_ID?></label><div class="col-sm-4"><input name="user_id" class="form-control" placeholder="<?php echo $MSG_USER_ID?>" type="text" required ></div> </div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label"><?php echo $MSG_PASSWORD?></label><div class="col-sm-4"><input name="password" class="form-control" placeholder="<?php echo $MSG_PASSWORD?>" type="password" autocomplete="off" required ></div> </div>
|
||||
<?php if($OJ_VCODE){?>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label"><?php echo $MSG_VCODE?></label><div class="col-sm-3"><input name="vcode" class="form-control" type="text" autocomplete=off ></div><div class="col-sm-4"><img id="vcode-img" alt="click to change" onclick="this.src='vcode.php?'+Math.random()" height="30px">*</div> </div>
|
||||
<?php }?>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-4 col-sm-2">
|
||||
<button name="submit" type="submit" class="btn btn-default btn-block" ><?php echo $MSG_LOGIN; ?></button>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<a class="btn btn-default btn-block" href="lostpassword.php"><?php echo $MSG_LOST_PASSWORD; ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<script src="<?php echo $OJ_CDN_URL?>include/md5-min.js"></script>
|
||||
<script>
|
||||
function jsMd5(){
|
||||
if($("input[name=password]").val()=="") return false;
|
||||
$("input[name=password]").val(hex_md5($("input[name=password]").val()));
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
|
||||
<?php if ($OJ_VCODE) { ?>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$("#vcode-img").attr("src", "vcode.php?" + Math.random());
|
||||
})
|
||||
</script>
|
||||
<?php } ?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,51 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<form action=lostpassword.php method=post>
|
||||
<center>
|
||||
<table width=400 algin=center>
|
||||
<tr><td width=200><?php echo $MSG_USER_ID?>:<td width=200><input name="user_id" type="text" size=20></tr>
|
||||
<tr><td><?php echo $MSG_EMAIL?>:<td><input name="email" type="text" size=20></tr>
|
||||
<tr><td><?php echo $MSG_VCODE?>:</td>
|
||||
<td><input name="vcode" size=4 type=text autocomplete=off ><img alt="click to change" src=vcode.php onclick="this.src='vcode.php?'+Math.random()">*</td>
|
||||
</tr>
|
||||
<tr><td><td><input name="submit" type="submit" size=10 value="Submit">
|
||||
</tr>
|
||||
</table>
|
||||
<center>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,57 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<form action=lostpassword2.php method=post>
|
||||
<center>
|
||||
<table algin=center>
|
||||
<tr><td><?php echo $MSG_USER_ID?>:<td><input name="user_id" type="text" size=20></td></tr>
|
||||
<tr><td><?php echo $MSG_LOSTPASSWORD_MAILBOX ?>:<td><input name="lost_key" type="text" size=20>*
|
||||
<?php echo $MSG_LOSTPASSWORD_WILLBENEW ?></td></tr>
|
||||
<?php // if($OJ_VCODE){
|
||||
?>
|
||||
<tr><td><?php echo $MSG_VCODE?>:</td>
|
||||
<td><input name="vcode" size=4 type=text autocomplete=off ><img alt="click to change" src=vcode.php onclick="this.src='vcode.php#'+Math.random()">*</td>
|
||||
</tr>
|
||||
<?php // }
|
||||
?>
|
||||
<tr><td><td><input name="submit" type="submit" size=10 value="Submit">
|
||||
</tr>
|
||||
</table>
|
||||
<center>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,83 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<center>
|
||||
<?php
|
||||
if($view_content)
|
||||
echo "<center>
|
||||
<table>
|
||||
<tr>
|
||||
<td class=blue>$from_user -> $to_user[".htmlentities(str_replace("\n\r","\n",$view_title),ENT_QUOTES,"UTF-8")." ]</td>
|
||||
</tr>
|
||||
<tr><td><pre>". htmlentities(str_replace("\n\r","\n",$view_content),ENT_QUOTES,"UTF-8")."</pre>
|
||||
</td></tr>
|
||||
</table></center>";
|
||||
?>
|
||||
<table><form method=post action=mail.php>
|
||||
<tr><td>From:<?php echo htmlentities($from_user,ENT_QUOTES,"UTF-8")?>
|
||||
To:<input name=to_user size=10 value="<?php if ($from_user==$_SESSION[$OJ_NAME.'_user_id']||$from_user=="") echo $to_user ;else echo $from_user;?>">
|
||||
Title:<input name=title size=20 value="<?php echo $title?>">
|
||||
<input type=submit value=<?php echo $MSG_SUBMIT?>></td>
|
||||
</tr>
|
||||
<tr><td>
|
||||
<textarea name=content rows=10 cols=80 class="input input-xxlarge"></textarea>
|
||||
</td></tr>
|
||||
</form>
|
||||
</table>
|
||||
<table border=1>
|
||||
<tr><td>Mail ID<td>From:Title<td>Date</tr>
|
||||
<tbody>
|
||||
<?php
|
||||
$cnt=0;
|
||||
foreach($view_mail as $row){
|
||||
if ($cnt)
|
||||
echo "<tr class='oddrow'>";
|
||||
else
|
||||
echo "<tr class='evenrow'>";
|
||||
foreach($row as $table_cell){
|
||||
echo "<td>";
|
||||
echo "\t".$table_cell;
|
||||
echo "</td>";
|
||||
}
|
||||
echo "</tr>";
|
||||
$cnt=1-$cnt;
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
</div>
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,127 +0,0 @@
|
||||
.MJX_Assistive_MathML {position: absolute!important; top: 0; left: 0; clip: rect(1px, 1px, 1px, 1px); padding: 1px 0 0 0!important; border: 0!important; height: 1px!important; width: 1px!important; overflow: hidden!important; display: block!important; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none}
|
||||
.MJX_Assistive_MathML.MJX_Assistive_MathML_Block {width: 100%!important}
|
||||
.mjx-chtml {display: inline-block; line-height: 0; text-indent: 0; text-align: left; text-transform: none; font-style: normal; font-weight: normal; font-size: 1.19em; font-size-adjust: none; letter-spacing: normal; word-wrap: normal; word-spacing: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0; min-height: 0; border: 0; margin: 0; padding: 1px 0}
|
||||
.MJXc-display {display: block; text-align: center; margin: 1em 0; padding: 0; font-size: 1em !important; }
|
||||
.mjx-chtml[tabindex]:focus, body :focus .mjx-chtml[tabindex] {display: inline-table}
|
||||
.mjx-full-width {text-align: center; display: table-cell!important; width: 10000em}
|
||||
.mjx-math {display: inline-block; border-collapse: separate; border-spacing: 0}
|
||||
.mjx-math * {display: inline-block; -webkit-box-sizing: content-box!important; -moz-box-sizing: content-box!important; box-sizing: content-box!important; text-align: left}
|
||||
.mjx-numerator {display: block; text-align: center}
|
||||
.mjx-denominator {display: block; text-align: center}
|
||||
.MJXc-stacked {height: 0; position: relative}
|
||||
.MJXc-stacked > * {position: absolute}
|
||||
.MJXc-bevelled > * {display: inline-block}
|
||||
.mjx-stack {display: inline-block}
|
||||
.mjx-op {display: block}
|
||||
.mjx-under {display: table-cell}
|
||||
.mjx-over {display: block}
|
||||
.mjx-over > * {padding-left: 0px!important; padding-right: 0px!important}
|
||||
.mjx-under > * {padding-left: 0px!important; padding-right: 0px!important}
|
||||
.mjx-stack > .mjx-sup {display: block}
|
||||
.mjx-stack > .mjx-sub {display: block}
|
||||
.mjx-prestack > .mjx-presup {display: block}
|
||||
.mjx-prestack > .mjx-presub {display: block}
|
||||
.mjx-delim-h > .mjx-char {display: inline-block}
|
||||
.mjx-surd {vertical-align: top}
|
||||
.mjx-mphantom * {visibility: hidden}
|
||||
.mjx-merror {background-color: #FFFF88; color: #CC0000; border: 1px solid #CC0000; padding: 2px 3px; font-style: normal; font-size: 90%}
|
||||
.mjx-annotation-xml {line-height: normal}
|
||||
.mjx-menclose > svg {fill: none; stroke: currentColor}
|
||||
.mjx-mtr {display: table-row}
|
||||
.mjx-mlabeledtr {display: table-row}
|
||||
.mjx-mtd {display: table-cell; text-align: center}
|
||||
.mjx-label {display: table-row}
|
||||
.mjx-box {display: inline-block}
|
||||
.mjx-block {display: block}
|
||||
.mjx-span {display: inline}
|
||||
.mjx-char {display: block; white-space: pre}
|
||||
.mjx-itable {display: inline-table; width: auto}
|
||||
.mjx-row {display: table-row}
|
||||
.mjx-cell {display: table-cell}
|
||||
.mjx-table {display: table; width: 100%}
|
||||
.mjx-line {display: block; height: 0}
|
||||
.mjx-strut {width: 0; padding-top: 1em}
|
||||
.mjx-vsize {width: 0}
|
||||
.MJXc-space1 {margin-left: .167em}
|
||||
.MJXc-space2 {margin-left: .222em}
|
||||
.MJXc-space3 {margin-left: .278em}
|
||||
.mjx-chartest {display: block; visibility: hidden; position: absolute; top: 0; line-height: normal; font-size: 500%}
|
||||
.mjx-chartest .mjx-char {display: inline}
|
||||
.mjx-chartest .mjx-box {padding-top: 1000px}
|
||||
.MJXc-processing {visibility: hidden; position: fixed; width: 0; height: 0; overflow: hidden}
|
||||
.MJXc-processed {display: none}
|
||||
.mjx-test {display: block; font-style: normal; font-weight: normal; font-size: 100%; font-size-adjust: none; text-indent: 0; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow: hidden; height: 1px}
|
||||
.mjx-ex-box-test {position: absolute; width: 1px; height: 60ex}
|
||||
.mjx-line-box-test {display: table!important}
|
||||
.mjx-line-box-test span {display: table-cell!important; width: 10000em!important; min-width: 0; max-width: none; padding: 0; border: 0; margin: 0}
|
||||
#MathJax_CHTML_Tooltip {background-color: InfoBackground; color: InfoText; border: 1px solid black; box-shadow: 2px 2px 5px #AAAAAA; -webkit-box-shadow: 2px 2px 5px #AAAAAA; -moz-box-shadow: 2px 2px 5px #AAAAAA; -khtml-box-shadow: 2px 2px 5px #AAAAAA; padding: 3px 4px; z-index: 401; position: absolute; left: 0; top: 0; width: auto; height: auto; display: none}
|
||||
.mjx-chtml .mjx-noError {line-height: 1.2; vertical-align: ; font-size: 90%; text-align: left; color: black; padding: 1px 3px; border: 1px solid}
|
||||
.MJXc-TeX-unknown-R {font-family: STIXGeneral,'Cambria Math','Arial Unicode MS',serif; font-style: normal; font-weight: normal}
|
||||
.MJXc-TeX-unknown-I {font-family: STIXGeneral,'Cambria Math','Arial Unicode MS',serif; font-style: italic; font-weight: normal}
|
||||
.MJXc-TeX-unknown-B {font-family: STIXGeneral,'Cambria Math','Arial Unicode MS',serif; font-style: normal; font-weight: bold}
|
||||
.MJXc-TeX-unknown-BI {font-family: STIXGeneral,'Cambria Math','Arial Unicode MS',serif; font-style: italic; font-weight: bold}
|
||||
.MJXc-TeX-ams-R {font-family: MJXc-TeX-ams-R,MJXc-TeX-ams-Rw}
|
||||
.MJXc-TeX-cal-B {font-family: MJXc-TeX-cal-B,MJXc-TeX-cal-Bx,MJXc-TeX-cal-Bw}
|
||||
.MJXc-TeX-frak-R {font-family: MJXc-TeX-frak-R,MJXc-TeX-frak-Rw}
|
||||
.MJXc-TeX-frak-B {font-family: MJXc-TeX-frak-B,MJXc-TeX-frak-Bx,MJXc-TeX-frak-Bw}
|
||||
.MJXc-TeX-math-BI {font-family: MJXc-TeX-math-BI,MJXc-TeX-math-BIx,MJXc-TeX-math-BIw}
|
||||
.MJXc-TeX-sans-R {font-family: MJXc-TeX-sans-R,MJXc-TeX-sans-Rw}
|
||||
.MJXc-TeX-sans-B {font-family: MJXc-TeX-sans-B,MJXc-TeX-sans-Bx,MJXc-TeX-sans-Bw}
|
||||
.MJXc-TeX-sans-I {font-family: MJXc-TeX-sans-I,MJXc-TeX-sans-Ix,MJXc-TeX-sans-Iw}
|
||||
.MJXc-TeX-script-R {font-family: MJXc-TeX-script-R,MJXc-TeX-script-Rw}
|
||||
.MJXc-TeX-type-R {font-family: MJXc-TeX-type-R,MJXc-TeX-type-Rw}
|
||||
.MJXc-TeX-cal-R {font-family: MJXc-TeX-cal-R,MJXc-TeX-cal-Rw}
|
||||
.MJXc-TeX-main-B {font-family: MJXc-TeX-main-B,MJXc-TeX-main-Bx,MJXc-TeX-main-Bw}
|
||||
.MJXc-TeX-main-I {font-family: MJXc-TeX-main-I,MJXc-TeX-main-Ix,MJXc-TeX-main-Iw}
|
||||
.MJXc-TeX-main-R {font-family: MJXc-TeX-main-R,MJXc-TeX-main-Rw}
|
||||
.MJXc-TeX-math-I {font-family: MJXc-TeX-math-I,MJXc-TeX-math-Ix,MJXc-TeX-math-Iw}
|
||||
.MJXc-TeX-size1-R {font-family: MJXc-TeX-size1-R,MJXc-TeX-size1-Rw}
|
||||
.MJXc-TeX-size2-R {font-family: MJXc-TeX-size2-R,MJXc-TeX-size2-Rw}
|
||||
.MJXc-TeX-size3-R {font-family: MJXc-TeX-size3-R,MJXc-TeX-size3-Rw}
|
||||
.MJXc-TeX-size4-R {font-family: MJXc-TeX-size4-R,MJXc-TeX-size4-Rw}
|
||||
@font-face {font-family: MJXc-TeX-ams-R; src: local('MathJax_AMS'), local('MathJax_AMS-Regular')}
|
||||
@font-face {font-family: MJXc-TeX-ams-Rw; src /*1*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/eot/MathJax_AMS-Regular.eot'); src /*2*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/woff/MathJax_AMS-Regular.woff') format('woff'), url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/otf/MathJax_AMS-Regular.otf') format('opentype')}
|
||||
@font-face {font-family: MJXc-TeX-cal-B; src: local('MathJax_Caligraphic Bold'), local('MathJax_Caligraphic-Bold')}
|
||||
@font-face {font-family: MJXc-TeX-cal-Bx; src: local('MathJax_Caligraphic'); font-weight: bold}
|
||||
@font-face {font-family: MJXc-TeX-cal-Bw; src /*1*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/eot/MathJax_Caligraphic-Bold.eot'); src /*2*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Bold.woff') format('woff'), url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/otf/MathJax_Caligraphic-Bold.otf') format('opentype')}
|
||||
@font-face {font-family: MJXc-TeX-frak-R; src: local('MathJax_Fraktur'), local('MathJax_Fraktur-Regular')}
|
||||
@font-face {font-family: MJXc-TeX-frak-Rw; src /*1*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/eot/MathJax_Fraktur-Regular.eot'); src /*2*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Regular.woff') format('woff'), url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/otf/MathJax_Fraktur-Regular.otf') format('opentype')}
|
||||
@font-face {font-family: MJXc-TeX-frak-B; src: local('MathJax_Fraktur Bold'), local('MathJax_Fraktur-Bold')}
|
||||
@font-face {font-family: MJXc-TeX-frak-Bx; src: local('MathJax_Fraktur'); font-weight: bold}
|
||||
@font-face {font-family: MJXc-TeX-frak-Bw; src /*1*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/eot/MathJax_Fraktur-Bold.eot'); src /*2*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Bold.woff') format('woff'), url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/otf/MathJax_Fraktur-Bold.otf') format('opentype')}
|
||||
@font-face {font-family: MJXc-TeX-math-BI; src: local('MathJax_Math BoldItalic'), local('MathJax_Math-BoldItalic')}
|
||||
@font-face {font-family: MJXc-TeX-math-BIx; src: local('MathJax_Math'); font-weight: bold; font-style: italic}
|
||||
@font-face {font-family: MJXc-TeX-math-BIw; src /*1*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/eot/MathJax_Math-BoldItalic.eot'); src /*2*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/woff/MathJax_Math-BoldItalic.woff') format('woff'), url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/otf/MathJax_Math-BoldItalic.otf') format('opentype')}
|
||||
@font-face {font-family: MJXc-TeX-sans-R; src: local('MathJax_SansSerif'), local('MathJax_SansSerif-Regular')}
|
||||
@font-face {font-family: MJXc-TeX-sans-Rw; src /*1*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/eot/MathJax_SansSerif-Regular.eot'); src /*2*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Regular.woff') format('woff'), url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/otf/MathJax_SansSerif-Regular.otf') format('opentype')}
|
||||
@font-face {font-family: MJXc-TeX-sans-B; src: local('MathJax_SansSerif Bold'), local('MathJax_SansSerif-Bold')}
|
||||
@font-face {font-family: MJXc-TeX-sans-Bx; src: local('MathJax_SansSerif'); font-weight: bold}
|
||||
@font-face {font-family: MJXc-TeX-sans-Bw; src /*1*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/eot/MathJax_SansSerif-Bold.eot'); src /*2*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Bold.woff') format('woff'), url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/otf/MathJax_SansSerif-Bold.otf') format('opentype')}
|
||||
@font-face {font-family: MJXc-TeX-sans-I; src: local('MathJax_SansSerif Italic'), local('MathJax_SansSerif-Italic')}
|
||||
@font-face {font-family: MJXc-TeX-sans-Ix; src: local('MathJax_SansSerif'); font-style: italic}
|
||||
@font-face {font-family: MJXc-TeX-sans-Iw; src /*1*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/eot/MathJax_SansSerif-Italic.eot'); src /*2*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Italic.woff') format('woff'), url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/otf/MathJax_SansSerif-Italic.otf') format('opentype')}
|
||||
@font-face {font-family: MJXc-TeX-script-R; src: local('MathJax_Script'), local('MathJax_Script-Regular')}
|
||||
@font-face {font-family: MJXc-TeX-script-Rw; src /*1*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/eot/MathJax_Script-Regular.eot'); src /*2*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/woff/MathJax_Script-Regular.woff') format('woff'), url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/otf/MathJax_Script-Regular.otf') format('opentype')}
|
||||
@font-face {font-family: MJXc-TeX-type-R; src: local('MathJax_Typewriter'), local('MathJax_Typewriter-Regular')}
|
||||
@font-face {font-family: MJXc-TeX-type-Rw; src /*1*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/eot/MathJax_Typewriter-Regular.eot'); src /*2*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/woff/MathJax_Typewriter-Regular.woff') format('woff'), url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/otf/MathJax_Typewriter-Regular.otf') format('opentype')}
|
||||
@font-face {font-family: MJXc-TeX-cal-R; src: local('MathJax_Caligraphic'), local('MathJax_Caligraphic-Regular')}
|
||||
@font-face {font-family: MJXc-TeX-cal-Rw; src /*1*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/eot/MathJax_Caligraphic-Regular.eot'); src /*2*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Regular.woff') format('woff'), url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/otf/MathJax_Caligraphic-Regular.otf') format('opentype')}
|
||||
@font-face {font-family: MJXc-TeX-main-B; src: local('MathJax_Main Bold'), local('MathJax_Main-Bold')}
|
||||
@font-face {font-family: MJXc-TeX-main-Bx; src: local('MathJax_Main'); font-weight: bold}
|
||||
@font-face {font-family: MJXc-TeX-main-Bw; src /*1*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/eot/MathJax_Main-Bold.eot'); src /*2*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/woff/MathJax_Main-Bold.woff') format('woff'), url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/otf/MathJax_Main-Bold.otf') format('opentype')}
|
||||
@font-face {font-family: MJXc-TeX-main-I; src: local('MathJax_Main Italic'), local('MathJax_Main-Italic')}
|
||||
@font-face {font-family: MJXc-TeX-main-Ix; src: local('MathJax_Main'); font-style: italic}
|
||||
@font-face {font-family: MJXc-TeX-main-Iw; src /*1*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/eot/MathJax_Main-Italic.eot'); src /*2*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/woff/MathJax_Main-Italic.woff') format('woff'), url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/otf/MathJax_Main-Italic.otf') format('opentype')}
|
||||
@font-face {font-family: MJXc-TeX-main-R; src: local('MathJax_Main'), local('MathJax_Main-Regular')}
|
||||
@font-face {font-family: MJXc-TeX-main-Rw; src /*1*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/eot/MathJax_Main-Regular.eot'); src /*2*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/woff/MathJax_Main-Regular.woff') format('woff'), url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/otf/MathJax_Main-Regular.otf') format('opentype')}
|
||||
@font-face {font-family: MJXc-TeX-math-I; src: local('MathJax_Math Italic'), local('MathJax_Math-Italic')}
|
||||
@font-face {font-family: MJXc-TeX-math-Ix; src: local('MathJax_Math'); font-style: italic}
|
||||
@font-face {font-family: MJXc-TeX-math-Iw; src /*1*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/eot/MathJax_Math-Italic.eot'); src /*2*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/woff/MathJax_Math-Italic.woff') format('woff'), url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/otf/MathJax_Math-Italic.otf') format('opentype')}
|
||||
@font-face {font-family: MJXc-TeX-size1-R; src: local('MathJax_Size1'), local('MathJax_Size1-Regular')}
|
||||
@font-face {font-family: MJXc-TeX-size1-Rw; src /*1*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/eot/MathJax_Size1-Regular.eot'); src /*2*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/woff/MathJax_Size1-Regular.woff') format('woff'), url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/otf/MathJax_Size1-Regular.otf') format('opentype')}
|
||||
@font-face {font-family: MJXc-TeX-size2-R; src: local('MathJax_Size2'), local('MathJax_Size2-Regular')}
|
||||
@font-face {font-family: MJXc-TeX-size2-Rw; src /*1*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/eot/MathJax_Size2-Regular.eot'); src /*2*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/woff/MathJax_Size2-Regular.woff') format('woff'), url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/otf/MathJax_Size2-Regular.otf') format('opentype')}
|
||||
@font-face {font-family: MJXc-TeX-size3-R; src: local('MathJax_Size3'), local('MathJax_Size3-Regular')}
|
||||
@font-face {font-family: MJXc-TeX-size3-Rw; src /*1*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/eot/MathJax_Size3-Regular.eot'); src /*2*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/woff/MathJax_Size3-Regular.woff') format('woff'), url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/otf/MathJax_Size3-Regular.otf') format('opentype')}
|
||||
@font-face {font-family: MJXc-TeX-size4-R; src: local('MathJax_Size4'), local('MathJax_Size4-Regular')}
|
||||
@font-face {font-family: MJXc-TeX-size4-Rw; src /*1*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/eot/MathJax_Size4-Regular.eot'); src /*2*/: url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/woff/MathJax_Size4-Regular.woff') format('woff'), url('https://cdn.staticfile.org/mathjax/2.7.0/fonts/HTML-CSS/TeX/otf/MathJax_Size4-Regular.otf') format('opentype')}
|
||||
@@ -1,118 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
|
||||
<form action="modify.php" method="post" role="form" class="form-horizontal">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label"><?php echo $MSG_REG_INFO?></label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label"><?php echo $MSG_USER_ID?></label>
|
||||
<div class="col-sm-4"><label class="col-sm-2 control-label"><?php echo $_SESSION[$OJ_NAME.'_'.'user_id']?></label></div>
|
||||
<?php require_once('./include/set_post_key.php');?>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label"><?php echo $MSG_NICK?></label>
|
||||
<div class="col-sm-4"><input name="nick" class="form-control" value="<?php echo htmlentities($row['nick'],ENT_QUOTES,"UTF-8")?>" type="text"></div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label"><?php echo $MSG_PASSWORD?></label>
|
||||
<div class="col-sm-4"><input name="opassword" class="form-control" placeholder="<?php echo $MSG_PASSWORD?>*" type="password"></div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label"><?php echo "New ".$MSG_PASSWORD?></label>
|
||||
<div class="col-sm-4"><input name="npassword" class="form-control" type="password"></div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label"><?php echo "New ".$MSG_REPEAT_PASSWORD?></label>
|
||||
<div class="col-sm-4"><input name="rptpassword" class="form-control" type="password"></div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label"><?php echo $MSG_SCHOOL?></label>
|
||||
<div class="col-sm-4"><input name="school" class="form-control" value="<?php echo htmlentities($row['school'],ENT_QUOTES,"UTF-8")?>" type="text"></div>
|
||||
<?php if(isset($_SESSION[$OJ_NAME."_printer"])) echo "$MSG_HELP_BALLOON_SCHOOL";?>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label"><?php echo $MSG_EMAIL?></label>
|
||||
<div class="col-sm-4"><input name="email" class="form-control" value="<?php echo htmlentities($row['email'],ENT_QUOTES,"UTF-8")?>" type="text"></div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label"><?php echo $MSG_REFRESH_PRIVILEGE?></label>
|
||||
<div class="col-sm-4"><a href="./refresh-privilege.php" target="_blank" class="btn btn-default btn-block"><?php echo $MSG_REFRESH_PRIVILEGE?></a></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-4 col-sm-2">
|
||||
<button name="submit" type="submit" class="btn btn-default btn-block"><?php echo $MSG_SUBMIT; ?></button>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<button name="submit" type="reset" class="btn btn-default btn-block"><?php echo $MSG_RESET; ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<?php if ($OJ_SaaS_ENABLE && $domain==$DOMAIN){ ?>
|
||||
<div class="center"> <label >My OJ:</label>
|
||||
<form action="saasinit.php" method="post" role="form" class="ui form">
|
||||
<div class="field">
|
||||
<label for="template">模板</label>
|
||||
<select name="template" class="form-control" >
|
||||
<option>bs3</option>
|
||||
<option>mdui</option>
|
||||
<option>syzoj</option>
|
||||
<option>sweet</option>
|
||||
<option>bshark</option>
|
||||
<option>mario</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="friendly">友善级别</label>
|
||||
<select name="friendly" class="form-control" >
|
||||
<option value=0>0=不友善</option>
|
||||
<option value=1>1=0+中国时区</option>
|
||||
<option value=2>2=1+强制中文</option>
|
||||
<option value=3>3=2+显示对比,关闭验证码</option>
|
||||
<option value=4>4=3+开启内邮,代码自动分享</option>
|
||||
<option value=5>5=4+开启测试运行</option>
|
||||
<option value=6>6=5+保持登陆状态</option>
|
||||
<option value=7>7=6+开启讨论版</option>
|
||||
<option value=8>8=7+可以下载测试数据</option>
|
||||
<option value=9>9=8+允许访客提交</option>
|
||||
</select>
|
||||
</div>
|
||||
<button name="submit" type="submit" class="ui button">重新初始化</button>
|
||||
</form>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<a href=export_ac_code.php>Download All AC Source</a><br>
|
||||
</div>
|
||||
</div> <!-- /container -->
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,241 +0,0 @@
|
||||
<!-- /web/template/bs3/nav.php -->
|
||||
|
||||
<?php
|
||||
require_once(dirname(__FILE__)."/../../include/memcache.php");
|
||||
function get_menu_news()
|
||||
{
|
||||
$result = "";
|
||||
$sql_news_menu = "SELECT `news_id`,`title` FROM `news` WHERE `menu`=1 AND `title`!='faqs.cn' ORDER BY `importance` ASC,`time` DESC LIMIT 10";
|
||||
$sql_news_menu_result = mysql_query_cache($sql_news_menu);
|
||||
|
||||
if($sql_news_menu_result)
|
||||
{
|
||||
foreach($sql_news_menu_result as $row)
|
||||
{
|
||||
$result .= '<li><a class="item" href="/viewnews.php?id='.$row['news_id'].'">'."<span class='glyphicon glyphicon-star' aria-hidden='true'>".$row['title'].'</a></li>';
|
||||
}
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
if(stripos($_SERVER['REQUEST_URI'],"template")!==false)
|
||||
exit();
|
||||
|
||||
$url = basename($_SERVER['REQUEST_URI']);
|
||||
$dir = basename(getcwd());
|
||||
|
||||
if($dir=="discuss3")
|
||||
$path_fix = "../";
|
||||
else
|
||||
$path_fix = "";
|
||||
|
||||
if(isset($OJ_NEED_LOGIN) && $OJ_NEED_LOGIN && ($url!='loginpage.php' && $url!='lostpassword.php' && $url!='lostpassword2.php' && $url!='registerpage.php') && !isset($_SESSION[$OJ_NAME.'_'.'user_id']))
|
||||
{
|
||||
header("location:".$path_fix."loginpage.php");
|
||||
exit();
|
||||
}
|
||||
|
||||
$_SESSION[$OJ_NAME.'_'.'profile_csrf'] = rand();
|
||||
|
||||
if($OJ_ONLINE)
|
||||
{
|
||||
require_once($path_fix.'include/online.php');
|
||||
$on = new online();
|
||||
}
|
||||
|
||||
$sql_news_menu_result_html = "";
|
||||
|
||||
if($OJ_MENU_NEWS)
|
||||
{
|
||||
if($OJ_REDIS)
|
||||
{
|
||||
$redis = new Redis();
|
||||
$redis->connect($OJ_REDISSERVER, $OJ_REDISPORT);
|
||||
|
||||
if(isset($OJ_REDISAUTH))
|
||||
{
|
||||
$redis->auth($OJ_REDISAUTH);
|
||||
}
|
||||
|
||||
$redisDataKey = $OJ_REDISQNAME.'_MENU_NEWS_CACHE';
|
||||
|
||||
if($redis->exists($redisDataKey))
|
||||
{
|
||||
$sql_news_menu_result_html = $redis->get($redisDataKey);
|
||||
}
|
||||
else
|
||||
{
|
||||
$sql_news_menu_result_html = get_menu_news();
|
||||
$redis->set($redisDataKey, $sql_news_menu_result_html);
|
||||
$redis->expire($redisDataKey, 300);
|
||||
}
|
||||
|
||||
$redis->close();
|
||||
}
|
||||
else
|
||||
{
|
||||
$sessionDataKey = $OJ_NAME.'_'."_MENU_NEWS_CACHE";
|
||||
|
||||
if(isset($_SESSION[$sessionDataKey]))
|
||||
{
|
||||
$sql_news_menu_result_html = $_SESSION[$sessionDataKey];
|
||||
}
|
||||
else
|
||||
{
|
||||
$sql_news_menu_result_html = get_menu_news();
|
||||
$_SESSION[$sessionDataKey] = $sql_news_menu_result_html;
|
||||
}
|
||||
}
|
||||
//$sql_news_menu_result_html=" <li>$sql_news_menu_result_html</li>";
|
||||
}
|
||||
|
||||
if(!isset($_GET['spa']))
|
||||
{?>
|
||||
<!-- Static navbar -->
|
||||
<nav class="navbar navbar-default" role="navigation" style="position:fixed;z-index:99;width:98%;margin-bottom:50px">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="<?php echo $OJ_HOME?>"><i class="icon-home"></i><?php echo $OJ_NAME?></a>
|
||||
<?php
|
||||
if(file_exists("moodle"))
|
||||
{
|
||||
?>
|
||||
<a class="navbar-brand" href="moodle"><i class="icon-home"></i>Moodle</a>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<?php $ACTIVE="class='active'"?>
|
||||
<?php
|
||||
if(!isset($OJ_ON_SITE_CONTEST_ID))
|
||||
{
|
||||
?>
|
||||
<li <?php if ($url=="faqs.php") echo " $ACTIVE"; ?>>
|
||||
<a href="<?php echo $path_fix?>faqs.php">
|
||||
<span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span> <?php echo $MSG_FAQ?>
|
||||
</a>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
else
|
||||
{
|
||||
?>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
if(isset($OJ_PRINTER) && $OJ_PRINTER)
|
||||
{
|
||||
?>
|
||||
<li <?php if ($url=="printer.php") echo " $ACTIVE";?>>
|
||||
<a href="<?php echo $path_fix?>printer.php">
|
||||
<span class="glyphicon glyphicon-print" aria-hidden="true"></span> <?php echo $MSG_PRINTER?>
|
||||
</a>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
//if(!isset($OJ_ON_SITE_CONTEST_ID) && !isset($_GET['cid']))
|
||||
//{
|
||||
?>
|
||||
|
||||
<?php
|
||||
if(!isset($OJ_ON_SITE_CONTEST_ID))
|
||||
{
|
||||
?>
|
||||
<?php if(isset($OJ_BBS)&&$OJ_BBS) {?>
|
||||
<li <?php if($url=="discuss.php") echo " $ACTIVE";?>>
|
||||
<a href="<?php echo $path_fix?>bbs.php"><span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span><?php echo $MSG_BBS?></a>
|
||||
</li>
|
||||
<?php }?>
|
||||
<li <?php if ($url=="problemset.php") echo " $ACTIVE";?>>
|
||||
<a href="<?php echo $path_fix?>problemset.php" ><span class="glyphicon glyphicon-book" aria-hidden="true"></span> <?php echo $MSG_PROBLEMS?></a>
|
||||
</li>
|
||||
<li <?php if ($url=="category.php") echo " $ACTIVE";?>>
|
||||
<a href="<?php echo $path_fix?>category.php"><span class="glyphicon glyphicon-th" aria-hidden="true"></span> <?php echo $MSG_SOURCE?></a>
|
||||
</li>
|
||||
<li <?php if ($url=="status.php") echo " $ACTIVE";?>>
|
||||
<a href="<?php echo $path_fix?>status.php"><span class="glyphicon glyphicon-play-circle" aria-hidden="true"></span> <?php echo $MSG_STATUS?></a>
|
||||
</li>
|
||||
<li <?php if ($url=="ranklist.php") echo " $ACTIVE";?>>
|
||||
<a href="<?php echo $path_fix?>ranklist.php"><span class="glyphicon glyphicon-thumbs-up" aria-hidden="true"></span> <?php echo $MSG_RANKLIST?></a>
|
||||
</li>
|
||||
<li <?php if ($url=="contest.php") echo " $ACTIVE";?>>
|
||||
<a href="<?php echo $path_fix?>contest.php<?php if(isset($_SESSION[$OJ_NAME."_user_id"])) echo "?my" ?>"><span class="glyphicon glyphicon-tasks" aria-hidden="true"></span> <?php echo $MSG_CONTEST?></a>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
else
|
||||
{
|
||||
?>
|
||||
<li <?php if ($url=="contest.php") echo " $ACTIVE";?>>
|
||||
<a href="<?php echo $path_fix?>contest.php" ><span class="glyphicon glyphicon-fire" aria-hidden="true"></span> <?php echo $MSG_CONTEST?></a>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<?php echo $sql_news_menu_result_html; ?>
|
||||
<?php
|
||||
if(isset($_GET['cid']))
|
||||
{
|
||||
$cid = intval($_GET['cid']);
|
||||
}
|
||||
?>
|
||||
|
||||
<!--<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
<li><a href="#">Action</a></li>
|
||||
<li><a href="#">Another action</a></li>
|
||||
<li><a href="#">Something else here</a></li>
|
||||
<li class="divider"></li>
|
||||
<li class="dropdown-header">Nav header</li>
|
||||
<li><a href="#">Separated link</a></li>
|
||||
<li><a href="#">One more separated link</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
-->
|
||||
</ul>
|
||||
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><span id="profile">Login</span><span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
<script src="<?php echo $path_fix."template/$OJ_TEMPLATE/profile.php?profile_csrf=".$_SESSION[$OJ_NAME.'_'.'profile_csrf'];?>" ></script>
|
||||
<!--<li><a href="../navbar-fixed-top/">Fixed top</a></li>-->
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<!-- select language -->
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><span id="profile">Language</span><span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
<li><a href="setlang.php?lang=cn">中文</a></li>
|
||||
<li><a href="setlang.php?lang=ug">ئۇيغۇرچە</a></li>
|
||||
<li><a href="setlang.php?lang=en">English</a></li>
|
||||
<li><a href="setlang.php?lang=fa">فارسی</a></li>
|
||||
<li><a href="setlang.php?lang=th">ไทย</a></li>
|
||||
<li><a href="setlang.php?lang=ko">한국어</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul><!-- select language -->
|
||||
|
||||
</div><!--/.nav-collapse -->
|
||||
</div><!--/.container-fluid -->
|
||||
</nav>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
@@ -1,94 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<center>
|
||||
<h3>current online user: <?php echo $on->get_num()?></h3>
|
||||
<table style="margin:auto;width:98%">
|
||||
<thead>
|
||||
<tr class=toprow><th style="width: 50px">ip</th><th>uri</th><th>refer</th><th style="width:100px">stay time</th><th>user agent</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
foreach($users as $u){
|
||||
if(is_array($u)){
|
||||
?>
|
||||
<tr><td class="ip">
|
||||
<?php $l = $ip->getlocation($u['ip']);
|
||||
|
||||
echo $u->ip.'<br />';
|
||||
if(strlen(trim($l['area']))==0)
|
||||
echo $l['country'];
|
||||
else
|
||||
echo $l['area'].'@'.$l['country'];
|
||||
?></td><td><?php echo $u->uri?></td><td><?php echo $u['refer']?></td>
|
||||
<td class="time"><?php echo sprintf("%dmin %dsec",($u['lastmove']-$u['firsttime'])/60,($u['lastmove']-$u['firsttime']) % 60)?></td><td><?php echo $u['ua']?></td></tr>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
if(isset($_SESSION[$OJ_NAME.'_'.'administrator'])){
|
||||
|
||||
echo "<tr><td width='100%' colspan='5'><form>IP<input type='text' name='search'><input type='submit' value='$MSG_SEARCH' ></form></td></tr>";
|
||||
|
||||
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr class=toprow align=center ><td>UserID<td>Password<td>IP<td>Time</tr>
|
||||
<?php
|
||||
$cnt=0;
|
||||
foreach($view_online as $row){
|
||||
if ($cnt)
|
||||
echo "<tr class='oddrow'>";
|
||||
else
|
||||
echo "<tr class='evenrow'>";
|
||||
foreach($row as $table_cell){
|
||||
echo "<td>";
|
||||
echo "\t".$table_cell;
|
||||
echo "</td>";
|
||||
}
|
||||
|
||||
echo "</tr>";
|
||||
|
||||
$cnt=1-$cnt;
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
</center>
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
</body>
|
||||
</html>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,47 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<center>
|
||||
<form id=frmSolution action="printer.php" method="post">
|
||||
<textarea style="width:80%" cols=180 rows=20 id="source" name="content">
|
||||
</textarea><br>
|
||||
<input type="submit" value="<?php echo $MSG_PRINTER?>">
|
||||
<?php require_once(dirname(__FILE__)."/../../include/set_post_key.php")?>
|
||||
</form>
|
||||
</center>
|
||||
</div>
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,63 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta http-equiv="refresh" content="10; url='printer.php'">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<form action="printer.php" method="post" onsubmit="return confirm('Delete All Tasks?');">
|
||||
<input type="hidden" name="clean" >
|
||||
<input type="submit" class='btn btn-danger' value="Clean">
|
||||
<?php require_once(dirname(__FILE__)."/../../include/set_post_key.php")?>
|
||||
</form>
|
||||
|
||||
<table class="table table-striped content-box-header">
|
||||
<tr><td>id<td><?php echo $MSG_USER_ID?><td><?php echo $MSG_STATUS?><td></tr>
|
||||
<?php
|
||||
foreach($view_printer as $row){
|
||||
echo "<tr>\n";
|
||||
foreach($row as $table_cell){
|
||||
echo "<td>";
|
||||
echo $table_cell;
|
||||
echo "</td>";
|
||||
}
|
||||
$i++;
|
||||
echo "</tr>\n";
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,38 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo htmlentities(str_replace("\n\r","\n",$view_user),ENT_QUOTES,"utf-8")?></title>
|
||||
</head>
|
||||
<body>
|
||||
<link href='<?php echo $OJ_CDN_URL?>highlight/styles/shCore.css' rel='stylesheet' type='text/css'/>
|
||||
<link href='<?php echo $OJ_CDN_URL?>highlight/styles/shThemeDefault.css' rel='stylesheet' type='text/css'/>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shCore.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushCpp.js' type='text/javascript'></script>
|
||||
<script language='javascript'>
|
||||
function draw(){
|
||||
SyntaxHighlighter.config.bloggerMode = false;
|
||||
SyntaxHighlighter.config.clipboardSwf = '<?php echo $OJ_CDN_URL?>highlight/scripts/clipboard.swf';
|
||||
SyntaxHighlighter.highlight();
|
||||
}
|
||||
</script>
|
||||
|
||||
<input onclick="draw()" type="button" value="Line Number">
|
||||
<input onclick="window.print();" type="button" value="<?php echo $MSG_PRINTER?>">
|
||||
<input onclick="location.href='printer.php?id=<?php echo $id?>';" type="button" value="<?php echo $MSG_PRINT_DONE?>"><br>
|
||||
<?php
|
||||
echo "<h2>".htmlentities(str_replace("\n\r","\n",$view_user),ENT_QUOTES,"utf-8")."\n";
|
||||
echo "-".htmlentities(str_replace("\n\r","\n",$view_school),ENT_QUOTES,"utf-8")."-".htmlentities(str_replace("\n\r","\n",$view_nick),ENT_QUOTES,"utf-8")."\n"."</h2>";
|
||||
echo "<pre class='brush:c'>".htmlentities(str_replace("\n\r","\n",$view_content),ENT_QUOTES,"utf-8")."\n"."</pre>";
|
||||
?>
|
||||
<input onclick="draw()" type="button" value="Line Number">
|
||||
<input onclick="window.print();" type="button" value="<?php echo $MSG_PRINTER?>">
|
||||
<input onclick="location.href='printer.php?id=<?php echo $id?>';" type="button" value="<?php echo $MSG_PRINT_DONE?>">
|
||||
<img src="image/wx.jpg" height="100px" width="100px">
|
||||
</body>
|
||||
@@ -1,439 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title>
|
||||
<?php echo $row['title']." - ".$MSG_PROBLEM." - ".$OJ_NAME; ?>
|
||||
</title>
|
||||
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
<?php if (isset($OJ_MATHJAX)&&$OJ_MATHJAX){?>
|
||||
<!--以下为了加载公式的使用而既加入-->
|
||||
<script>
|
||||
MathJax = {
|
||||
tex: {inlineMath: [['$', '$'], ['\\(', '\\)']]}
|
||||
};
|
||||
</script>
|
||||
|
||||
<script id="MathJax-script" async src="template/<?php echo $OJ_TEMPLATE?>/tex-chtml.js"></script>
|
||||
<style>
|
||||
.jumbotron1{
|
||||
font-size: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<!--数学公式js加载完毕-->
|
||||
</head>
|
||||
|
||||
|
||||
<body>
|
||||
<div id="main" class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<!-- <div class="jumbotron"></div> -->
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<?php
|
||||
if ( $pr_flag ) {
|
||||
echo "<title>$MSG_PROBLEM" . $row[ 'problem_id' ] . "--" . $row[ 'title' ] . "</title>";
|
||||
echo "<center><h1>$id: " . $row[ 'title' ] . "</h1></center>";
|
||||
echo "<div align=right><sub>[$MSG_Creator : <span id='creator'></span>]</sub></div>";
|
||||
} else {
|
||||
//$PID="ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
||||
$id = $row[ 'problem_id' ];
|
||||
echo "<title>$MSG_PROBLEM " . $PID[ $pid ] . ": " . $row[ 'title' ] . " </title>";
|
||||
echo "<center><h3>$MSG_PROBLEM " . $PID[ $pid ] . ": " . $row[ 'title' ] . "</h3><center>";
|
||||
echo "<div align=right><sub>[$MSG_Creator : <span id='creator'></span>]</sub></div>";
|
||||
}
|
||||
echo "<center>";
|
||||
echo "<span class=green>$MSG_Time_Limit : </span><span><span fd='time_limit' pid='".$row['problem_id']."' >" . $row[ 'time_limit' ] . "</span></span> sec ";
|
||||
echo "<span class=green>$MSG_Memory_Limit : </span>" . $row[ 'memory_limit' ] . " MiB";
|
||||
|
||||
echo array($MSG_NJ,$MSG_SPJ,$MSG_RTJ)[$row['spj']] ;
|
||||
echo "<br><br>";
|
||||
echo "<div class='btn-group' role='group'>";
|
||||
if($pr_flag){
|
||||
echo "<a id='submit' class='btn btn-info btn-sm' href='submitpage.php?id=$id' role='button'>$MSG_SUBMIT</a>";
|
||||
}else{
|
||||
if($contest_is_over)
|
||||
echo "<a id='submit' class='btn btn-info btn-sm' href='submitpage.php?id=$id' role='button'>$MSG_SUBMIT</a>";
|
||||
else
|
||||
echo "<a id='submit' class='btn btn-info btn-sm' href='submitpage.php?cid=$cid&pid=$pid&langmask=$langmask' role='button'>$MSG_SUBMIT</a>";
|
||||
echo "<a class='btn btn-primary btn-sm' role='button' href='contest.php?cid=$cid'>$MSG_PROBLEM$MSG_LIST</a>";
|
||||
}
|
||||
if (isset($OJ_OI_MODE)&&$OJ_OI_MODE) {
|
||||
} else {
|
||||
echo "<a class='btn btn-primary btn-sm' role='button' href=status.php?problem_id=".$row['problem_id']."&jresult=4>$MSG_SOVLED: ".$row['accepted']."</a>";
|
||||
echo "<a class='btn btn-primary btn-sm' role='button' href=status.php?problem_id=".$row['problem_id'].">$MSG_SUBMIT_NUM: ".$row['submit']."</a>";
|
||||
echo "<a class='btn btn-primary btn-sm' role='button' href=problemstatus.php?id=".$row['problem_id'].">$MSG_STATISTICS</a>";
|
||||
}
|
||||
echo "<a class='btn btn-danger btn-sm' href='#' onclick='transform()' role='button'>$MSG_SHOW_OFF</a>";
|
||||
if ( isset($_SESSION[$OJ_NAME.'_'.'administrator']) || isset($_SESSION[$OJ_NAME.'_'."p".$row['problem_id']]) ) { //only the original editor can edit this problem
|
||||
require_once("include/set_get_key.php");
|
||||
echo "<a class='btn btn-success btn-sm' role='button' href=admin/problem_edit.php?id=$id&getkey=".$_SESSION[$OJ_NAME.'_'.'getkey'].">EDIT</a>";
|
||||
echo "<a class='btn btn-success btn-sm' role='button' href=javascript:phpfm(".$row['problem_id'].")>TESTDATA</a>";
|
||||
if( isset($used_in_contests) && count($used_in_contests)>0 ){
|
||||
echo "<hr><br>$MSG_PROBLEM_USED_IN:";
|
||||
foreach($used_in_contests as $contests){
|
||||
echo "<a class='label label-warning' href='contest.php?cid=". $contests[0]."'>".$contests[1]." </a><br>";
|
||||
|
||||
}
|
||||
//echo "</div>";
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
echo "</div>";
|
||||
echo "</center>";
|
||||
# end of head
|
||||
echo "</div>";
|
||||
|
||||
echo "<!--StartMarkForVirtualJudge-->";
|
||||
?>
|
||||
|
||||
<div class="panel panel-body">
|
||||
<div class='panel panel-default'>
|
||||
<div class='panel-heading'>
|
||||
<h4>
|
||||
<?php echo $MSG_Description?>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="description" class='panel-body content'>
|
||||
<?php echo bbcode_to_html($row['description'])?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if($row['input']){?>
|
||||
<div class='panel panel-default'>
|
||||
<div class='panel-heading'>
|
||||
<h4>
|
||||
<?php echo $MSG_Input?>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="input" class='panel-body content'>
|
||||
<?php echo bbcode_to_html($row['input'])?>
|
||||
</div>
|
||||
</div>
|
||||
<?php }
|
||||
if($row['output']){?>
|
||||
<div class='panel panel-default'>
|
||||
<div class='panel-heading'>
|
||||
<h4>
|
||||
<?php echo $MSG_Output?>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="output" class='panel-body content'>
|
||||
<?php echo bbcode_to_html($row['output'])?>
|
||||
</div>
|
||||
</div>
|
||||
<?php }
|
||||
$sinput=str_replace("<","<",$row['sample_input']);
|
||||
$sinput=str_replace(">",">",$sinput);
|
||||
$soutput=str_replace("<","<",$row['sample_output']);
|
||||
$soutput=str_replace(">",">",$soutput);
|
||||
|
||||
if(strlen($sinput)){?>
|
||||
<div class='panel panel-default'>
|
||||
<div class='panel-heading'>
|
||||
<h4>
|
||||
<?php echo $MSG_Sample_Input?>
|
||||
<a href="javascript:CopyToClipboard($('#sampleinput').text())">Copy</a>
|
||||
</h4>
|
||||
</div>
|
||||
<div class='panel-body'><pre id="sinput" class=content><span id="sampleinput" class=sampledata><?php echo $sinput?></span></pre>
|
||||
</div>
|
||||
</div>
|
||||
<?php }
|
||||
|
||||
if(strlen($soutput)){?>
|
||||
<div class='panel panel-default'>
|
||||
<div class='panel-heading'>
|
||||
<h4>
|
||||
<?php echo $MSG_Sample_Output?>
|
||||
<a href="javascript:CopyToClipboard($('#sampleoutput').text())">Copy</a>
|
||||
</h4>
|
||||
</div>
|
||||
<div class='panel-body'><pre id="soutput" class=content ><span id='sampleoutput' class=sampledata><?php echo $soutput?></span></pre>
|
||||
</div>
|
||||
</div>
|
||||
<?php }
|
||||
|
||||
if($row['hint']){?>
|
||||
<div class='panel panel-default'>
|
||||
<div class='panel-heading'>
|
||||
<h4>
|
||||
<?php echo $MSG_HINT?>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="hint" class='panel-body content hint'>
|
||||
<?php echo bbcode_to_html($row['hint'])?>
|
||||
</div>
|
||||
</div>
|
||||
<?php }
|
||||
|
||||
if($pr_flag){?>
|
||||
<div class='panel panel-default'>
|
||||
<div class='panel-heading'>
|
||||
<h4>
|
||||
<?php echo $MSG_SOURCE?>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<div fd="source" style='word-wrap:break-word;' pid=<?php echo $row['problem_id']?> class='panel-body content'>
|
||||
<?php
|
||||
$cats=explode(" ",$row['source']);
|
||||
foreach($cats as $cat){
|
||||
$hash_num=hexdec(substr(md5($cat),0,7));
|
||||
$label_theme=$color_theme[$hash_num%count($color_theme)];
|
||||
if($label_theme=="") $label_theme="default";
|
||||
echo "<a class='label label-$label_theme' style='display: inline-block;' href='problemset.php?search=".urlencode(htmlentities($cat,ENT_QUOTES,'utf-8'))."'>".htmlentities($cat,ENT_QUOTES,'utf-8')."</a> ";
|
||||
}?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
</div>
|
||||
<center>
|
||||
<!--EndMarkForVirtualJudge-->
|
||||
<div class='panel-footer'>
|
||||
<?php
|
||||
if($pr_flag){
|
||||
echo "<a class='btn btn-info btn-sm' href='submitpage.php?id=$id' role='button'>$MSG_SUBMIT</a>";
|
||||
}else{
|
||||
echo "<a class='btn btn-info btn-sm' href='submitpage.php?cid=$cid&pid=$pid&langmask=$langmask' role='button'>$MSG_SUBMIT</a>";
|
||||
}
|
||||
if ($OJ_BBS) echo "<a class='btn btn-warning btn-sm' href='bbs.php?pid=".$row['problem_id']."$ucid'>$MSG_BBS</a>";
|
||||
?>
|
||||
</div>
|
||||
</center>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
<script>
|
||||
function phpfm( pid ) {
|
||||
//alert(pid);
|
||||
$.post( "admin/phpfm.php", {
|
||||
'frame': 3,
|
||||
'pid': pid,
|
||||
'pass': ''
|
||||
}, function ( data, status ) {
|
||||
if ( status == "success" ) {
|
||||
document.location.href = "admin/phpfm.php?frame=3&pid=" + pid;
|
||||
}
|
||||
} );
|
||||
}
|
||||
function getFrameSourceValue(frameWindow) {
|
||||
if (frameWindow.editor && typeof frameWindow.editor.getValue === "function") {
|
||||
return frameWindow.editor.getValue();
|
||||
}
|
||||
return frameWindow.$("#source").text();
|
||||
}
|
||||
function setFrameSourceValue(frameWindow, value) {
|
||||
if (frameWindow.editor && typeof frameWindow.editor.setValue === "function") {
|
||||
frameWindow.editor.setValue(value);
|
||||
return;
|
||||
}
|
||||
frameWindow.$("#source").text(value);
|
||||
}
|
||||
function selectOne( num, answer){
|
||||
let frameWindow = $("iframe")[0].contentWindow;
|
||||
let old=getFrameSourceValue(frameWindow);
|
||||
let key= num+".*";
|
||||
console.log(key);
|
||||
let rep=old.replace(new RegExp(key),num+" "+answer);
|
||||
setFrameSourceValue(frameWindow, rep);
|
||||
}
|
||||
function selectMulti( num, answer){
|
||||
let frameWindow = $("iframe")[0].contentWindow;
|
||||
let old=getFrameSourceValue(frameWindow);
|
||||
let key= num+".*";
|
||||
console.log(key);
|
||||
let rep=old.replace(new RegExp(key),num+" "+answer);
|
||||
setFrameSourceValue(frameWindow, rep);
|
||||
}
|
||||
function renderProblemMarkdown() {
|
||||
<?php if(isset($OJ_MARKDOWN)&&$OJ_MARKDOWN){ ?>
|
||||
return HustOJVditor.renderMarkdownBlocks('.md');
|
||||
<?php } ?>
|
||||
return Promise.resolve([]);
|
||||
}
|
||||
function initializeProblemChoices() {
|
||||
$('span[class=auto_select]').each(function(){
|
||||
let i=1;
|
||||
let start=0;
|
||||
let raw=$(this).html();
|
||||
let options=['A','B','C','D'];
|
||||
while(start>=0){
|
||||
start=raw.indexOf(i+".",start);
|
||||
if(start<0) break;
|
||||
let end=start;
|
||||
let type="radio"
|
||||
for(let j=0;j<4;j++){
|
||||
let option=options[j];
|
||||
end=raw.indexOf(option+".",start);
|
||||
if(j==0&&raw.substring(start,end).indexOf("多选")>0) type="checkbox";
|
||||
if (end<0) break;
|
||||
let disp="<input type=\""+type+"\" name=\""+i+"\" value=\""+option+"\" />"+option+".";
|
||||
raw= raw.substring(0,end-1)+disp+raw.substring(end+2);
|
||||
start+=disp.length;
|
||||
}
|
||||
start=end+1;
|
||||
i++;
|
||||
}
|
||||
$(this).html(raw);
|
||||
});
|
||||
$('input[type="radio"]').click(function(){
|
||||
if ($(this).is(':checked'))
|
||||
{
|
||||
selectOne($(this).attr("name"),$(this).val());
|
||||
}
|
||||
});
|
||||
$('input[type="checkbox"]').click(function(){
|
||||
let num=$(this).attr("name");
|
||||
let answer="";
|
||||
$("input[type=checkbox][name="+num+"]").each(function(){
|
||||
if ($(this).is(':checked'))
|
||||
answer+=$(this).val();
|
||||
});
|
||||
selectMulti(num,answer);
|
||||
});
|
||||
<?php if ($row['spj']>1 || isset($_GET['sid']) || (isset($OJ_AUTO_SHOW_OFF)&&$OJ_AUTO_SHOW_OFF)){ ?>
|
||||
transform();
|
||||
<?php }?>
|
||||
}
|
||||
window.renderProblemMarkdown = renderProblemMarkdown;
|
||||
$( document ).ready( function () {
|
||||
$( "#creator" ).load( "problem-ajax.php?pid=<?php echo $id?>" );
|
||||
renderProblemMarkdown().catch(function (error) {
|
||||
console.error('Failed to render problem markdown.', error);
|
||||
}).then(function () {
|
||||
initializeProblemChoices();
|
||||
});
|
||||
|
||||
|
||||
} );
|
||||
function CopyToClipboard (input) {
|
||||
var textToClipboard = input;
|
||||
|
||||
var success = true;
|
||||
if (window.clipboardData) { // Internet Explorer
|
||||
window.clipboardData.setData ("Text", textToClipboard);
|
||||
}
|
||||
else {
|
||||
// create a temporary element for the execCommand method
|
||||
var forExecElement = CreateElementForExecCommand (textToClipboard);
|
||||
|
||||
/* Select the contents of the element
|
||||
(the execCommand for 'copy' method works on the selection) */
|
||||
SelectContent (forExecElement);
|
||||
|
||||
var supported = true;
|
||||
|
||||
// UniversalXPConnect privilege is required for clipboard access in Firefox
|
||||
try {
|
||||
if (window.netscape && netscape.security) {
|
||||
netscape.security.PrivilegeManager.enablePrivilege ("UniversalXPConnect");
|
||||
}
|
||||
|
||||
// Copy the selected content to the clipboard
|
||||
// Works in Firefox and in Safari before version 5
|
||||
success = document.execCommand ("copy", false, null);
|
||||
}
|
||||
catch (e) {
|
||||
success = false;
|
||||
}
|
||||
|
||||
// remove the temporary element
|
||||
document.body.removeChild (forExecElement);
|
||||
}
|
||||
|
||||
if (success) {
|
||||
alert ("The text is on the clipboard, try to paste it!");
|
||||
}
|
||||
else {
|
||||
alert ("Your browser doesn't allow clipboard access!");
|
||||
}
|
||||
}
|
||||
|
||||
function CreateElementForExecCommand (textToClipboard) {
|
||||
var forExecElement = document.createElement ("pre");
|
||||
// place outside the visible area
|
||||
forExecElement.style.position = "absolute";
|
||||
forExecElement.style.left = "-10000px";
|
||||
forExecElement.style.top = "-10000px";
|
||||
// write the necessary text into the element and append to the document
|
||||
forExecElement.textContent = textToClipboard;
|
||||
document.body.appendChild (forExecElement);
|
||||
// the contentEditable mode is necessary for the execCommand method in Firefox
|
||||
forExecElement.contentEditable = true;
|
||||
|
||||
return forExecElement;
|
||||
}
|
||||
|
||||
function SelectContent (element) {
|
||||
// first create a range
|
||||
var rangeToSelect = document.createRange ();
|
||||
rangeToSelect.selectNodeContents (element);
|
||||
|
||||
// select the contents
|
||||
var selection = window.getSelection ();
|
||||
selection.removeAllRanges ();
|
||||
selection.addRange (rangeToSelect);
|
||||
}
|
||||
function transform(){
|
||||
let height=document.body.clientHeight;
|
||||
let width=parseInt(document.body.clientWidth*0.6);
|
||||
let width2=parseInt(document.body.clientWidth*0.4);
|
||||
let submitURL=$("#submit")[0].href;
|
||||
<?php
|
||||
if(isset($_GET['sid'])) echo "submitURL+='&sid=".intval($_GET['sid'])."';";
|
||||
?>
|
||||
console.log(width);
|
||||
let main=$("#main");
|
||||
let problem=main.html();
|
||||
|
||||
if (window.screen.width < 500){
|
||||
main.parent().append("<div id='submitPage' class='container' style='opacity:0.8;z-index:88;top:49px;'></div>");
|
||||
$("#submitPage").html("<iframe id='ansFrame' src='"+submitURL+"&spa' width='100%' height='"+window.innerHeight+"px' ></iframe>");
|
||||
window.setTimeout('$("#ansFrame")[0].scrollIntoView()',1000);
|
||||
}else{
|
||||
main.css("width",width2);
|
||||
main.css("margin-left","0px");
|
||||
main.parent().append("<div id='submitPage' class='container' style='opacity:0.8;position:fixed;z-index:1000;top:49px;right:-"+width2+"px'></div>");
|
||||
$("#submitPage").html("<iframe src='"+submitURL+"&spa' width='"+width*0.96+"px' height='"+window.innerHeight*0.9+"px' ></iframe>");
|
||||
}
|
||||
$("#submit").remove();
|
||||
<?php if ($row['spj']>1){ ?>
|
||||
window.setTimeout('$("iframe")[0].contentWindow.$("#TestRun").remove();',1000);
|
||||
<?php }?>
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,141 +0,0 @@
|
||||
<?php
|
||||
if(!isset($_GET['ajax'])){
|
||||
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title>
|
||||
<?php echo $OJ_NAME?>
|
||||
</title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<center>
|
||||
<nav id="page" class="center">
|
||||
<small>
|
||||
<ul class="pagination">
|
||||
<li class="page-item"><a href="problemset.php?page=1"><<</a>
|
||||
</li>
|
||||
<?php
|
||||
if ( !isset( $page ) )$page = 1;
|
||||
$page = intval( $page );
|
||||
$section = 8;
|
||||
$start = $page > $section ? $page - $section : 1;
|
||||
$end = $page + $section > $view_total_page ? $view_total_page : $page + $section;
|
||||
for ( $i = $start; $i <= $end; $i++ ) {
|
||||
echo "<li class='" . ( $page == $i ? "active " : "" ) . "page-item'> <a href='problemset.php?page=" . $i .htmlentities($postfix,ENT_QUOTES,'UTF-8'). "'>" . $i . "</a></li>";
|
||||
}
|
||||
?>
|
||||
<li class="page-item"><a href="problemset.php?page=<?php echo $view_total_page?>">>></a>
|
||||
</li>
|
||||
</ul>
|
||||
</small>
|
||||
</nav>
|
||||
|
||||
<table>
|
||||
<tr align='center' class='evenrow'>
|
||||
<td width='5'></td>
|
||||
<td colspan='1'>
|
||||
<form class=form-inline action=problem.php>
|
||||
<input class="form-control search-query" type='text' name='id' placeholder="<?php echo $MSG_PROBLEM_ID?>">
|
||||
<button class="form-control" type='submit'><?php echo $MSG_SEARCH?></button>
|
||||
</form>
|
||||
</td>
|
||||
<td colspan='1'>
|
||||
<form class="form-search form-inline">
|
||||
<input type="text" name=search class="form-control search-query" placeholder="<?php echo $MSG_TITLE.', '.$MSG_SOURCE?>">
|
||||
<button type="submit" class="form-control"><?php echo $MSG_SEARCH?></button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php } ?>
|
||||
<table id='problemset' width='90%' class='table table-striped'>
|
||||
<thead>
|
||||
<tr class='toprow'>
|
||||
<td></td>
|
||||
<td class='hidden-xs center'>
|
||||
<?php echo $MSG_PROBLEM_ID?>
|
||||
</td>
|
||||
<td class='center'>
|
||||
<?php echo $MSG_TITLE?>
|
||||
</td>
|
||||
<td class='hidden-xs center'>
|
||||
<?php echo $MSG_SOURCE?>
|
||||
</td>
|
||||
<td style="cursor:hand" class='center'>
|
||||
<?php echo $MSG_SOVLED?>
|
||||
</td>
|
||||
<td style="cursor:hand" class='center'>
|
||||
<?php echo $MSG_SUBMIT?>
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$cnt = 0;
|
||||
foreach ( $view_problemset as $row ) {
|
||||
if ( $cnt )
|
||||
echo "<tr class='oddrow'>";
|
||||
else
|
||||
echo "<tr class='evenrow'>";
|
||||
$i = 0;
|
||||
foreach ( $row as $table_cell ) {
|
||||
if ( $i == 1 || $i == 3 )echo "<td class='hidden-xs'>";
|
||||
else echo "<td>";
|
||||
echo "\t" . $table_cell;
|
||||
echo "</td>";
|
||||
$i++;
|
||||
}
|
||||
echo "</tr>";
|
||||
$cnt = 1 - $cnt;
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php
|
||||
if(!isset($_GET['ajax'])){
|
||||
|
||||
?>
|
||||
</center>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
<script type="text/javascript" src="include/jquery.tablesorter.js"></script>
|
||||
<script type="text/javascript">
|
||||
$( document ).ready( function () {
|
||||
$( "#problemset" ).tablesorter();
|
||||
$( "#problemset" ).after( $( "#page" ).prop( "outerHTML" ) );
|
||||
} );
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
<?php } ?>
|
||||
@@ -1,220 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title>
|
||||
<?php echo $OJ_NAME?>
|
||||
</title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
|
||||
<center>
|
||||
<h3><?php echo $MSG_PROBLEM." : ".$id." ".$MSG_STATISTICS?></h3>
|
||||
<hr>
|
||||
<table align=center width=70%>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<table id="statics" class="table-hover table-striped" align=center width=90%>
|
||||
<?php
|
||||
$cnt = 0;
|
||||
foreach ($view_problem as $row) {
|
||||
if ($cnt)
|
||||
echo "<tr class='oddrow'>";
|
||||
else
|
||||
echo "<tr class='evenrow'>";
|
||||
$i=1;
|
||||
foreach ($row as $table_cell) {
|
||||
if ($i==1)
|
||||
echo "<td class='text-center'>";
|
||||
else
|
||||
echo "<td class='text-right'>";
|
||||
|
||||
echo $table_cell;
|
||||
echo "</td>";
|
||||
$i++;
|
||||
}
|
||||
echo "</tr>";
|
||||
$cnt = 1-$cnt;
|
||||
}
|
||||
?>
|
||||
|
||||
<tr id=pie bgcolor=white>
|
||||
<td colspan=2>
|
||||
<center>
|
||||
<div id='PieDiv' style='position:relative; height:150px; width:200px;'></div>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<?php if (isset($view_recommand)) {?>
|
||||
<table id=recommand class="table-hover table-striped" align=center width=90%>
|
||||
<tr>
|
||||
<td class='text-center'>
|
||||
Recommanded Next Problem
|
||||
<br>
|
||||
<?php
|
||||
$cnt = 1;
|
||||
foreach ($view_recommand as $row) {
|
||||
echo "<a href=problem.php?id=$row[0]>$row[0]</a> ";
|
||||
if ($cnt%5 == 0)
|
||||
echo "<br>";
|
||||
$cnt++;
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php }?>
|
||||
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<table id=problemstatus class="table-hover table-striped" align=center width=100%>
|
||||
<thead>
|
||||
<tr class=toprow>
|
||||
<th style="cursor:hand" onclick="sortTable('problemstatus', 0, 'int');" class="text-center" width=10%>
|
||||
<?php echo $MSG_Number?>
|
||||
</th>
|
||||
<th class="text-center" width=10%>
|
||||
<?php echo $MSG_RUNID?>
|
||||
</th>
|
||||
<th class="text-center" width=15%>
|
||||
<?php echo $MSG_USER?>
|
||||
</th>
|
||||
<th class="text-center" width=10%>
|
||||
<?php echo $MSG_MEMORY?>
|
||||
</th>
|
||||
<th class="text-center" width=10%>
|
||||
<?php echo $MSG_TIME?>
|
||||
</th>
|
||||
<th class="text-center" width=10%>
|
||||
<?php echo $MSG_LANG?>
|
||||
</th>
|
||||
<th class="text-center" width=10%>
|
||||
<?php echo $MSG_CODE_LENGTH?>
|
||||
</th>
|
||||
<th class="text-center" width=20%>
|
||||
<?php echo $MSG_SUBMIT_TIME?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$cnt = 0;
|
||||
foreach ($view_solution as $row) {
|
||||
if ( $cnt )
|
||||
echo "<tr class='oddrow'>";
|
||||
else
|
||||
echo "<tr class='evenrow'>";
|
||||
|
||||
$i = 1;
|
||||
foreach ($row as $table_cell) {
|
||||
if ($i==1 || $i==8)
|
||||
echo "<td class='text-center'>";
|
||||
else if ($i==2 || $i==4 || $i==5 || $i==6 || $i==7)
|
||||
echo "<td class='text-right'>";
|
||||
else
|
||||
echo "<td>";
|
||||
|
||||
echo $table_cell;
|
||||
echo " ";
|
||||
echo "</td>";
|
||||
$i++;
|
||||
}
|
||||
|
||||
echo "</tr>";
|
||||
$cnt = 1-$cnt;
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<center>
|
||||
<?php
|
||||
echo "<a href='problemstatus.php?id=$id'>[TOP]</a>";
|
||||
//echo " <a href='status.php?problem_id=$id'>[STATUS]</a>";
|
||||
|
||||
if ($page>$pagemin) {
|
||||
$page--;
|
||||
echo " <a href='problemstatus.php?id=$id&page=$page'>[PREV]</a>";
|
||||
$page++;
|
||||
}
|
||||
|
||||
if ($page<$pagemax) {
|
||||
$page++;
|
||||
echo " <a href='problemstatus.php?id=$id&page=$page'>[NEXT]</a>";
|
||||
$page--;
|
||||
}
|
||||
?>
|
||||
</center>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
|
||||
<script type="text/javascript" src="include/wz_jsgraphics.js"></script>
|
||||
<script type="text/javascript" src="include/pie.js"></script>
|
||||
<script language="javascript">
|
||||
var y = new Array();
|
||||
var x = new Array();
|
||||
var dt = document.getElementById("statics");
|
||||
var data = dt.rows;
|
||||
var n;
|
||||
for (var i=3; dt.rows[i].id!="pie"; i++) {
|
||||
x.push(dt.rows[i].cells[0].innerHTML);
|
||||
n = dt.rows[i].cells[1];
|
||||
n = n.innerText || n.textContent;
|
||||
//alert(n);
|
||||
n = parseInt(n);
|
||||
y.push(n);
|
||||
}
|
||||
var mypie = new Pie("PieDiv");
|
||||
mypie.drawPie(y, x);
|
||||
//mypie.clearPie();
|
||||
</script>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- /container -->
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
<script type="text/javascript" src="include/jquery.tablesorter.js"></script>
|
||||
<script type="text/javascript">
|
||||
$( document ).ready( function () {
|
||||
$( "#problemstatus" ).tablesorter();
|
||||
} );
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,104 +0,0 @@
|
||||
<?php
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Cache-Control: no-cache");
|
||||
header("Pragma: no-cache");
|
||||
header("content-type:application/javascript");
|
||||
|
||||
if(isset($_SERVER['HTTP_REFERER'])) $dir=basename(dirname($_SERVER['HTTP_REFERER']));
|
||||
else $dir="";
|
||||
|
||||
if($dir=="discuss3") $path_fix="../";
|
||||
else $path_fix="";
|
||||
|
||||
require_once("../../include/db_info.inc.php");
|
||||
|
||||
if(isset($_SESSION[$OJ_NAME.'_'.'profile_csrf'])&&$_GET['profile_csrf']!=$_SESSION[$OJ_NAME.'_'.'profile_csrf']){
|
||||
// echo "<!--".$_SESSION[$OJ_NAME.'_'.'profile_csrf']."-->";
|
||||
// exit();
|
||||
}else{
|
||||
$_SESSION[$OJ_NAME.'_'.'profile_csrf']="";
|
||||
}
|
||||
if(isset($OJ_LANG)){
|
||||
require_once("../../lang/$OJ_LANG.php");
|
||||
}else{
|
||||
require_once("../../lang/en.php");
|
||||
}
|
||||
|
||||
function checkmail(){
|
||||
global $OJ_NAME;
|
||||
|
||||
$sql="SELECT count(1) FROM `mail` WHERE new_mail=1 AND `to_user`=?";
|
||||
$result=pdo_query($sql,$_SESSION[$OJ_NAME.'_'.'user_id']);
|
||||
|
||||
if(!$result) return false;
|
||||
|
||||
$row=$result[0];
|
||||
$retmsg="<span id=red>(".$row[0].")</span>";
|
||||
|
||||
return $retmsg;
|
||||
}
|
||||
|
||||
$profile='';
|
||||
|
||||
if(isset($_SESSION[$OJ_NAME.'_'.'user_id'])){
|
||||
$sid=$_SESSION[$OJ_NAME.'_'.'user_id'];
|
||||
|
||||
$profile.= "<li><a href=".$path_fix."modifypage.php>$MSG_REG_INFO</a></li> <li><a href='".$path_fix."userinfo.php?user=$sid'><span id=red>$MSG_USERINFO</span></a></li>";
|
||||
|
||||
if((isset($OJ_EXAM_CONTEST_ID)&&$OJ_EXAM_CONTEST_ID>0)||
|
||||
(isset($OJ_ON_SITE_CONTEST_ID)&&$OJ_ON_SITE_CONTEST_ID>0)||
|
||||
(isset($OJ_MAIL)&&!$OJ_MAIL)){
|
||||
}
|
||||
else{
|
||||
$mail=checkmail();
|
||||
if($mail) $profile.= " <li><a class='glyphicon glyphicon-envelope' href=".$path_fix."mail.php>$mail</a></li>";
|
||||
}
|
||||
|
||||
$profile.=" <li><a href='".$path_fix."status.php?user_id=$sid'><span id=red>$MSG_MY_SUBMISSIONS</span></a></li>";
|
||||
$profile.=" <li><a href='".$path_fix."contest.php?my'><span id=red>$MSG_MY_CONTESTS</span></a></li>";
|
||||
if(
|
||||
(isset($OJ_EXAM_CONTEST_ID)&&$OJ_EXAM_CONTEST_ID>0)||
|
||||
(isset($OJ_ON_SITE_CONTEST_ID)&&$OJ_ON_SITE_CONTEST_ID>0)||
|
||||
(isset($OJ_SHARE_CODE)&&!$OJ_SHARE_CODE)
|
||||
){}else{
|
||||
$profile.= " <li><a href='./sharecodelist.php'>代码分享</a></li>";
|
||||
}
|
||||
// SaaS MyOJ
|
||||
if($OJ_SaaS_ENABLE && $domain ==$DOMAIN)$profile.= " <li><a href='http://".$sid.".$DOMAIN'>My OJ</a></li> ";
|
||||
|
||||
|
||||
$profile.= " <li><a href=".$path_fix."logout.php>$MSG_LOGOUT</a></li> ";
|
||||
|
||||
}else{
|
||||
if($OJ_WEIBO_AUTH){
|
||||
$profile.= "<li><a href=".$path_fix."login_weibo.php>$MSG_LOGIN(WEIBO)</a></li> ";
|
||||
}
|
||||
if($OJ_RR_AUTH){
|
||||
$profile.= "<li><a href=".$path_fix."login_renren.php>$MSG_LOGIN(RENREN)</a></li> ";
|
||||
}
|
||||
if ($OJ_QQ_AUTH){
|
||||
$profile.= "<li><a href=".$path_fix."login_qq.php>$MSG_LOGIN(QQ)</a></li> ";
|
||||
}
|
||||
|
||||
$profile.= "<li><a href=".$path_fix."loginpage.php>$MSG_LOGIN</a></li> ";
|
||||
|
||||
if($OJ_LOGIN_MOD=="hustoj"){
|
||||
if(isset($OJ_REGISTER)&&!$OJ_REGISTER){
|
||||
}else{
|
||||
$profile.= "<li><a href=".$path_fix."registerpage.php>$MSG_REGISTER</a></li> ";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(isset($_SESSION[$OJ_NAME.'_'.'balloon'])){
|
||||
$profile.= "<li><a href='".$path_fix."balloon.php'>$MSG_BALLOON</a></li> ";
|
||||
}
|
||||
|
||||
if(isset($_SESSION[$OJ_NAME.'_'.'administrator'])||isset($_SESSION[$OJ_NAME.'_'.'contest_creator'])||isset($_SESSION[$OJ_NAME.'_'.'problem_editor'])||isset($_SESSION[$OJ_NAME.'_'.'password_setter'])){
|
||||
$profile.= "<li><a href=".$path_fix."admin/>$MSG_ADMIN</a></li> ";
|
||||
}
|
||||
|
||||
//$profile.="</ul></li>";
|
||||
?>
|
||||
document.write("<?php echo ( $profile);?>");
|
||||
document.getElementById("profile").innerHTML="<?php echo isset($sid)?$sid:$MSG_LOGIN ?>";
|
||||
@@ -1,119 +0,0 @@
|
||||
<?php if(stripos($_SERVER['REQUEST_URI'],"template"))exit(); ?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<br><br>
|
||||
<table align=center width=80%>
|
||||
<tr align='center'>
|
||||
<td>
|
||||
<form class=form-inline action=ranklist.php>
|
||||
<input class="form-control" name='prefix' value="<?php echo htmlentities(isset($_GET['prefix'])?$_GET['prefix']:"",ENT_QUOTES,"utf-8") ?>" placeholder="<?php echo $MSG_USER?>">
|
||||
<button class="form-control" type='submit'><?php echo $MSG_SEARCH?></button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<table align=right>
|
||||
<tr>
|
||||
<td>
|
||||
<a href=ranklist.php?scope=d>Day</a>
|
||||
<a href=ranklist.php?scope=w>Week</a>
|
||||
<a href=ranklist.php?scope=m>Month</a>
|
||||
<a href=ranklist.php?scope=y>Year</a>
|
||||
|
||||
</td>
|
||||
<tr>
|
||||
</table>
|
||||
<br>
|
||||
|
||||
<table class="table table-striped content-box-header" align=center width=80%>
|
||||
<thead>
|
||||
<tr class='toprow'>
|
||||
<td class='text-center'><?php echo $MSG_Number?></td>
|
||||
<td class='text-center'><?php echo $MSG_USER?></td>
|
||||
<td class='text-center'><?php echo $MSG_NICK?></td>
|
||||
<td class='text-center'><?php echo $MSG_SOVLED?></td>
|
||||
<td class='text-center'><?php echo $MSG_SUBMIT?></td>
|
||||
<td class='text-center'><?php echo $MSG_RATIO?></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$cnt=0;
|
||||
foreach($view_rank as $row){
|
||||
if ($cnt)
|
||||
echo "<tr class='oddrow'>";
|
||||
else
|
||||
echo "<tr class='evenrow'>";
|
||||
|
||||
$i = 0;
|
||||
foreach($row as $table_cell){
|
||||
echo "<td class='text-center'>";
|
||||
echo $table_cell;
|
||||
echo "</td>";
|
||||
$i++;
|
||||
}
|
||||
echo "</tr>";
|
||||
$cnt=1-$cnt;
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php
|
||||
echo "<center>";
|
||||
$qs="";
|
||||
if(isset($_GET['prefix'])){
|
||||
$qs.="&prefix=".htmlentities($_GET['prefix'],ENT_QUOTES,"utf-8");
|
||||
}
|
||||
if(isset($scope)){
|
||||
$qs.="&scope=".htmlentities($scope,ENT_QUOTES,"utf-8");
|
||||
}
|
||||
|
||||
for($i = 0; $i <$view_total ; $i += $page_size) {
|
||||
echo "<a href='./ranklist.php?start=" . strval ( $i ).$qs. "'>";
|
||||
echo strval ( $i + 1 );
|
||||
echo "-";
|
||||
echo strval ( $i + $page_size );
|
||||
echo "</a> ";
|
||||
if ($i % 250 == 200)
|
||||
echo "<br>";
|
||||
}
|
||||
echo "</center>";
|
||||
?>
|
||||
</div>
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,88 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<div id="main" style="margin: 10px;">
|
||||
<!--
|
||||
<table width=80% align=center>
|
||||
<thead class=toprow>
|
||||
<tr>
|
||||
<th class="column-1">OJ</th><th class="column-2">Name</th><th class="column-3">Start Time</th><th class="column-4">Week</th><th class="column-5">Access</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="row-hover">
|
||||
<?php
|
||||
$odd=true;
|
||||
foreach($rows as $row) {
|
||||
$odd=!$odd;
|
||||
?>
|
||||
<tr class="<?php echo $odd?"oddrow":"evenrow" ?>">
|
||||
<td class="column-1"><?php echo$row['oj']?></td><td class="column-2"><a id="name_<?php echo$row['id']?>" href="<?php echo$row['link']?>" target="_blank"><?php echo$row['name']?></a></td><td class="column-3"><?php echo$row['start_time']?></td><td class="column-4"><?php echo$row['week']?></td><td class="column-5"><?php echo$row['access']?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
-->
|
||||
<table class="table table-striped" align="center">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="column-1">OJ</th>
|
||||
<th class="column-2">Name</th>
|
||||
<th class="column-3">Start Time</th>
|
||||
<th class="column-4">Week</th>
|
||||
<th class="column-5">Access</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="contest-list"></tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
<div align=center>DataSource:http://algcontest.rainng.com/contests.json Spider Author:<a href="https://github.com/Azure99/AlgContestInfo" >Azure99</a></div>
|
||||
|
||||
</div>
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
<script>
|
||||
var contestList = $("#contest-list");
|
||||
$.get("https://algcontest.rainng.com/contests.json",function(response){
|
||||
response.map(function(val){
|
||||
var item = "<tr><td class='column-1'>"+val.oj+"</td>"+
|
||||
"<td class='column-2'><a target='_blank' href='"+val.link+"'>"+val.name+"</a></td>"+
|
||||
"<td class='column-3'>"+val.start_time+"</td>"+
|
||||
"<td class='column-4'>"+val.week+"</td>"+
|
||||
"<td class='column-5'>"+val.access+"</td></tr>"
|
||||
contestList.append(item);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,57 +0,0 @@
|
||||
.toprow{
|
||||
background-color:#79a3d5;
|
||||
white-space:nowrap;
|
||||
}
|
||||
.toprow,.navbar .navbar-nav li a,.navbar-header .navbar-brand{
|
||||
color:#ffffff;
|
||||
}
|
||||
.dropdown-menu,.navbar-default{
|
||||
background-color:rgba(249,74,20,0.874);
|
||||
background-image: linear-gradient(to bottom, rgba(249,74,20,0.874) 0px, rgba(249,74,20,0.874) 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0px 1px 0px rgba(249,74,20,0.874) inset, 0px 1px 5px rgba(249,74,20,0.874);
|
||||
}
|
||||
.http_judge_form{
|
||||
white-space:nowrap;
|
||||
}
|
||||
.center{
|
||||
text-align: center
|
||||
}
|
||||
.sampledata {
|
||||
background: none repeat scroll 0 0 #ccccFF;
|
||||
font-family: Monospace;
|
||||
font-size: 18px;
|
||||
line-height:2px;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
.navbar{
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
padding: 0 auto;
|
||||
top: 0;
|
||||
left: 0;
|
||||
-moz-opacity: 0.9;
|
||||
-khtml-opacity: 0.9;
|
||||
opacity: 0.9;
|
||||
z-index: 9999;
|
||||
}
|
||||
/* funny color*/
|
||||
|
||||
.btn-warning{
|
||||
background-color:#ff8000;
|
||||
}
|
||||
.btn-success{
|
||||
background-color:#33cc99;
|
||||
}
|
||||
.jumbotron{
|
||||
background-color:#efefef;
|
||||
}
|
||||
.btn-danger{
|
||||
background-color:#d3406d;
|
||||
}
|
||||
.toprow{
|
||||
background-color:rgba(249,74,20,0.874);
|
||||
white-space:nowrap;
|
||||
}
|
||||
@@ -1,114 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
|
||||
<form action="register.php" onsubmit="return check();" method="post" role="form" class="form-horizontal">
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label"><?php echo $MSG_REG_INFO?></label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label"><?php echo $MSG_USER_ID?></label>
|
||||
<div class="col-sm-4"><input id="user_id" name="user_id" class="form-control" placeholder="<?php echo $MSG_USER_ID?>*" type="text" required ></div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label"><?php echo $MSG_NICK?></label>
|
||||
<div class="col-sm-4"><input id="nick" name="nick" class="form-control" placeholder="<?php echo $MSG_NICK?>*" type="text" required ></div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label"><?php echo $MSG_PASSWORD?></label>
|
||||
<div class="col-sm-4"><input id="password" name="password" class="form-control" placeholder="<?php echo $MSG_PASSWORD?>*" type="password" autocomplete="off" required ></div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label"><?php echo $MSG_REPEAT_PASSWORD?></label>
|
||||
<div class="col-sm-4"><input id="rptpassword" name="rptpassword" class="form-control" placeholder="<?php echo $MSG_REPEAT_PASSWORD?>*" type="password" autocomplete="off" required ></div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label"><?php echo $MSG_SCHOOL?></label>
|
||||
<div class="col-sm-4"><input id="school" name="school" class="form-control" placeholder="<?php echo $MSG_SCHOOL?>" type="text"></div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label"><?php echo $MSG_EMAIL?></label>
|
||||
<div class="col-sm-4"><input id="email" name="email" class="form-control" placeholder="<?php echo $MSG_EMAIL?>" type="text" required ></div>
|
||||
</div>
|
||||
|
||||
<?php if($OJ_VCODE){?>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label"><?php echo $MSG_VCODE?></label>
|
||||
<div class="col-sm-3">
|
||||
<input name="vcode" class="form-control" placeholder="<?php echo $MSG_VCODE?>*" type="text" autocomplete=off >
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<img alt="click to change" src="vcode.php" onclick="this.src='vcode.php?'+Math.random()" height="30px">*
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-4 col-sm-2">
|
||||
<button name="submit" type="submit" class="btn btn-default btn-block"><?php echo $MSG_REGISTER; ?></button>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<button name="submit" type="reset" class="btn btn-default btn-block"><?php echo $MSG_RESET; ?></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
<script>
|
||||
function check(){
|
||||
if($("#user_id").val().length<3) {
|
||||
alert("<?php echo $MSG_WARNING_USER_ID_SHORT?>");
|
||||
$("#user_id").focus();
|
||||
return false;
|
||||
}
|
||||
if($("#password").val().length<6) {
|
||||
alert("<?php echo $MSG_WARNING_PASSWORD_SHORT?>");
|
||||
$("#password").focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
if($("#password").val()!=$("#rptpassword").val()) {
|
||||
alert("<?php echo $MSG_WARNING_REPEAT_PASSWORD_DIFF?>");
|
||||
$("#rptpassword").focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
</div>
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
<script>
|
||||
$("input").attr("class","form-control");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,160 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
|
||||
<pre id='errtxt' class="alert alert-error"><?php echo $view_reinfo?></pre>
|
||||
<div id='errexp'><!--Explain:--></div>
|
||||
|
||||
</div>
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
|
||||
<?php if(isset($OJ_MARKDOWN)&&$OJ_MARKDOWN){ ?>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
HustOJVditor.renderMarkdownBlocks('#errtxt', {
|
||||
getSource: function (element) {
|
||||
var pre = element.querySelector ? element.querySelector('pre') : null;
|
||||
return pre ? pre.textContent : element.textContent || '';
|
||||
}
|
||||
}).then(function () {
|
||||
for(let i=1;i<10;i++){
|
||||
$(".language-input"+i).parent().before("<div><?php echo $MSG_Input?>"+i+":</div>");
|
||||
$(".language-output"+i).parent().before("<div><?php echo $MSG_Output?>"+i+":</div>");
|
||||
}
|
||||
|
||||
|
||||
$("#errtxt table").addClass("ui mini-table cell striped");
|
||||
$("#errtxt table tr:odd td").css({
|
||||
"border": "1px solid grey",
|
||||
"text-align": "center",
|
||||
"width": "200px",
|
||||
"background-color": "#8521d022",
|
||||
"height": "30px"
|
||||
});
|
||||
$("#errtxt table tr:even td").css({
|
||||
"border": "1px solid grey",
|
||||
"text-align": "center",
|
||||
"width": "200px",
|
||||
"background-color": "#2185d022",
|
||||
"height": "30px"
|
||||
});
|
||||
$("#errtxt table th").css({
|
||||
"border": "1px solid grey",
|
||||
"width": "200px",
|
||||
"height": "30px",
|
||||
"background-color": "#2185d088",
|
||||
"text-align": "center"
|
||||
});
|
||||
<?php
|
||||
if(isset($OJ_DOWNLOAD)&&$OJ_DOWNLOAD){
|
||||
if(isset($OJ_DL_1ST_WA_ONLY) && $OJ_DL_1ST_WA_ONLY){
|
||||
?>
|
||||
let down=$($("#errtxt").find("h2")[0]);
|
||||
let filename=down.text();
|
||||
down.html("<a href='download.php?sid=<?php echo $id?>&name=" + filename+ "'>" + filename+ "</a>");
|
||||
<?php
|
||||
}else{
|
||||
?>
|
||||
$("#errtxt").find("h2").each(function(){
|
||||
let down=$(this);
|
||||
let filename=down.text();
|
||||
console.log(filename);
|
||||
down.html("<a href='download.php?sid=<?php echo $id?>&name=" + filename+ "'>" + filename+ "</a>");
|
||||
});
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
$("th").each(function(){
|
||||
let html=$(this).html();
|
||||
html=html.replace("Expected","<?php echo $MSG_EXPECTED ?>");
|
||||
html=html.replace("Yours","<?php echo $MSG_YOURS ?>");
|
||||
html=html.replace("filename","<?php echo $MSG_FILENAME ?>");
|
||||
html=html.replace("size","<?php echo $MSG_SIZE ?>");
|
||||
html=html.replace("result","<?php echo $MSG_RESULT ?>");
|
||||
html=html.replace("memory","<?php echo $MSG_MEMORY?>");
|
||||
html=html.replace("time","<?php echo $MSG_TIME ?>");
|
||||
$(this).html(html);
|
||||
|
||||
});
|
||||
}).catch(function (error) {
|
||||
console.error('Failed to render reinfo markdown.', error);
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<script>
|
||||
var pats=new Array();
|
||||
var exps=new Array();
|
||||
pats[0]=/A Not allowed system call.* /;
|
||||
exps[0]="<?php echo $MSG_A_NOT_ALLOWED_SYSTEM_CALL ?>";
|
||||
pats[1]=/Segmentation fault/;
|
||||
exps[1]="<?php echo $MSG_SEGMETATION_FAULT ?>";
|
||||
pats[2]=/Floating point exception/;
|
||||
exps[2]="<?php echo $MSG_FLOATING_POINT_EXCEPTION ?>";
|
||||
pats[3]=/buffer overflow detected/;
|
||||
exps[3]="<?php echo $MSG_BUFFER_OVERFLOW_DETECTED ?>";
|
||||
pats[4]=/Killed/;
|
||||
exps[4]="<?php echo $MSG_PROCESS_KILLED ?>";
|
||||
pats[5]=/Alarm clock/;
|
||||
exps[5]="<?php echo $MSG_ALARM_CLOCK ?>";
|
||||
pats[6]=/CALLID:20/;
|
||||
exps[6]="<?php echo $MSG_CALLID_20 ?>";
|
||||
pats[7]=/ArrayIndexOutOfBoundsException/;
|
||||
exps[7]="<?php echo $MSG_ARRAY_INDEX_OUT_OF_BOUNDS_EXCEPTION ?>";
|
||||
pats[8]=/StringIndexOutOfBoundsException/;
|
||||
exps[8]="<?php echo $MSG_STRING_INDEX_OUT_OF_BOUNDS_EXCEPTION ?>";
|
||||
function explain(){
|
||||
var errmsg = $("#errtxt").text();
|
||||
var expmsg = "";
|
||||
for(var i=0; i<pats.length; i++){
|
||||
var pat = pats[i];
|
||||
var exp = exps[i];
|
||||
var ret = pat.exec(errmsg);
|
||||
if(ret){
|
||||
expmsg += ret+" : "+exp+"<br><hr />";
|
||||
}
|
||||
}
|
||||
document.getElementById("errexp").innerHTML=expmsg;
|
||||
}
|
||||
|
||||
explain();
|
||||
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,100 +0,0 @@
|
||||
body{
|
||||
font-family:"Helvetica Neue",Helvetica,Arial,"Microsoft YaHei", 微软雅黑, sans-serif;
|
||||
}
|
||||
|
||||
|
||||
.ranktable-head {
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
z-index: 9999;
|
||||
background: #fafafa;
|
||||
box-shadow: 0px 0 8px rgba(66, 139, 202, 0.6);
|
||||
-moz-box-shadow: 0px 0 8px rgba(66, 139, 202, 0.6);
|
||||
-webkit-box-shadow: 0px 0 8px rgba(66, 139, 202, 0.6);
|
||||
}
|
||||
|
||||
.ranktable-head table {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.ranktable-head th {
|
||||
text-align: center;
|
||||
height: 27px;
|
||||
line-height: 27px!important;
|
||||
}
|
||||
|
||||
.team-item {
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
top: 44px;
|
||||
|
||||
text-align: center;
|
||||
height: 67px;
|
||||
line-height: 67px !important;
|
||||
margin: 0;
|
||||
|
||||
background: #fff;
|
||||
-webkit-transition: background 2s ease ,box-shadow .5s ease;
|
||||
-moz-transform: background 2s ease ,box-shadow .5s ease;
|
||||
-ms-transform: background 2s ease ,box-shadow .5s ease;
|
||||
-o-transform: background 2s ease ,box-shadow .5s ease;
|
||||
transform: background 2s ease ,box-shadow .5s ease;
|
||||
}
|
||||
|
||||
.team-item table {
|
||||
text-align: center;
|
||||
height: 67px;
|
||||
font-size: 20px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.team-item th,td {
|
||||
text-align: center;
|
||||
height: 67px;
|
||||
vertical-align: middle!important;
|
||||
}
|
||||
|
||||
th.rank{
|
||||
font-weight: normal;
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
.problem-status span {
|
||||
display: block;
|
||||
width: 100%;
|
||||
font-size: 100%;
|
||||
font-weight: normal;
|
||||
padding: 7px 0;
|
||||
|
||||
-moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.22) inset;
|
||||
-webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.22) inset;
|
||||
box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.22) inset;
|
||||
}
|
||||
|
||||
.team-item.hold {
|
||||
z-index: 1000;
|
||||
box-shadow: inset 0 0 3px #03A9F4, 0px 0 30px #00BCD4;
|
||||
-moz-box-shadow: 0 0 3px #03A9F4, 0px 0 30px #00BCD4;
|
||||
-webkit-box-shadow: 0 0 3px #03A9F4, 0px 0 30px #00BCD4;
|
||||
}
|
||||
|
||||
.team-item.gold{
|
||||
background: #fff9c0;
|
||||
}
|
||||
|
||||
.team-item.silver{
|
||||
background: #f6f6f6;
|
||||
}
|
||||
|
||||
.team-item.bronze{
|
||||
background: #eddccf;
|
||||
}
|
||||
|
||||
#timer{
|
||||
margin: 0;
|
||||
height: 0!important;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 0px;
|
||||
}
|
||||
@@ -1,707 +0,0 @@
|
||||
/**
|
||||
* scrollboard.js
|
||||
* ACM竞赛滚榜展示插件,基于JQuery、Bootstrap
|
||||
*
|
||||
* Version 1.0.0
|
||||
* Author: qinshaoxuan qsxuan.com
|
||||
* Github: https://github.com/qinshaoxuan/ScrollBoard
|
||||
* Demo: https://qinshaoxuan.github.io/ScrollBoard/
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 从服务器获取提交列表,可按后台json格式修改
|
||||
* @return {Array<Submit>} 初始化后的Submit对象数组
|
||||
*/
|
||||
/*function getSubmitList() {
|
||||
var data = new Array();
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
content: "application/x-www-form-urlencoded",
|
||||
url: "data/submitData.json",
|
||||
dataType: "json",
|
||||
data: {},
|
||||
async: false,
|
||||
success: function(result) {
|
||||
for (var key in result.data) {
|
||||
var sub = result.data[key];
|
||||
// 提交ID,用户ID,题号,提交时间,结果
|
||||
data.push(new Submit(sub.submitId, sub.userId, sub.alphabetId, sub.subTime, sub.resultId));
|
||||
}
|
||||
|
||||
},
|
||||
error: function() {
|
||||
alert("获取Submit数据失败");
|
||||
}
|
||||
});
|
||||
return data;
|
||||
}*/
|
||||
|
||||
function getSubmitList(cid) {
|
||||
var data = new Array();
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
content: "application/x-www-form-urlencoded",
|
||||
url: "contestrank3.php?cid="+cid+"&type=json&list=submit",
|
||||
dataType: "json",
|
||||
data: {},
|
||||
async: false,
|
||||
success: function(result) {
|
||||
for (var key in result) {
|
||||
var sub = result[key];
|
||||
// 提交ID,用户ID,题号,提交时间,结果
|
||||
data.push(new Submit(sub.submitID, sub.userID, sub.alphabetID, sub.subTime, sub.resultID));
|
||||
}
|
||||
|
||||
},
|
||||
error: function() {
|
||||
alert("获取Submit数据失败");
|
||||
}
|
||||
});
|
||||
return data;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 从服务器获取队伍列表,可按后台json格式修改
|
||||
* @return {Array<Team>} 初始化后的Team对象数组
|
||||
*/
|
||||
/*function getTeamList() {
|
||||
var data = new Array();
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
content: "application/x-www-form-urlencoded",
|
||||
url: "data/teamData.json",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
data: {},
|
||||
success: function(result) {
|
||||
for (var key in result.data) {
|
||||
var team = result.data[key];
|
||||
// 队伍ID ,队伍名称,真名,offical
|
||||
data[team.teamId] = new Team(team.teamId, team.nickname, team.realname, team.official);
|
||||
}
|
||||
},
|
||||
error: function() {
|
||||
alert("获取Team数据失败");
|
||||
}
|
||||
});
|
||||
return data;
|
||||
}*/
|
||||
|
||||
function getTeamList(cid) {
|
||||
var data = new Array();
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
content: "application/x-www-form-urlencoded",
|
||||
url: "contestrank3.php?cid="+cid+"&type=json&list=team",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
data: {},
|
||||
success: function(result) {
|
||||
for (var key in result) {
|
||||
var team = result[key];
|
||||
// 队伍ID ,队伍名称,真名,offical
|
||||
data[team.userID] = new Team(team.userID, team.nickName, team.realName, team.official);
|
||||
}
|
||||
},
|
||||
error: function() {
|
||||
alert("获取Team数据失败");
|
||||
}
|
||||
});
|
||||
return data;
|
||||
}
|
||||
|
||||
/**
|
||||
* yyyy-mm-dd hh:mm:ss格式转Date
|
||||
* @param {Date} s 字符串对应的日期
|
||||
*/
|
||||
function StringToDate(s) {
|
||||
var d = new Date();
|
||||
d.setYear(parseInt(s.substring(0, 4), 10));
|
||||
d.setMonth(parseInt(s.substring(5, 7) - 1, 10));
|
||||
d.setDate(parseInt(s.substring(8, 10), 10));
|
||||
d.setHours(parseInt(s.substring(11, 13), 10));
|
||||
d.setMinutes(parseInt(s.substring(14, 16), 10));
|
||||
d.setSeconds(parseInt(s.substring(17, 19), 10));
|
||||
return d;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Submit对象
|
||||
* @param {int} submitId 全局runID
|
||||
* @param {int} teamId 队伍ID
|
||||
* @param {String} alphabetId 比赛中的题目ID:A,B,C...
|
||||
* @param {int} subTime 提交时间
|
||||
* @param {int} resultId 判题结果ID
|
||||
*/
|
||||
function Submit(submitId, teamId, alphabetId, subTime, resultId) {
|
||||
this.submitId = submitId; //全局runID
|
||||
this.teamId = teamId; //队伍ID
|
||||
this.alphabetId = alphabetId; //比赛中的题目ID:A,B,C,D...
|
||||
//this.subTime = new Date(subTime);
|
||||
this.subTime = StringToDate(subTime);
|
||||
/**
|
||||
* 判题结果ID
|
||||
* @type {int}
|
||||
* @value 0 Accepted
|
||||
* @value 1 Presentation Error
|
||||
* @value 2 Time Limit Exceeded
|
||||
* @value 3 Memory Limit Exceeded
|
||||
* @value 4 Wrong Answer
|
||||
* @value 5 Runtime Error
|
||||
* @value 6 Output Limit Exceeded
|
||||
* @value 7 Compile Error
|
||||
* @value 8 System Error
|
||||
* @value 9 Security Error
|
||||
* @value -1 Waiting
|
||||
*/
|
||||
this.resultId = resultId;
|
||||
}
|
||||
|
||||
/**
|
||||
* TeamProblem对象,用来存放每个队伍的每道题的提交情况
|
||||
*/
|
||||
function TeamProblem() {
|
||||
this.alphabetId = "";
|
||||
this.isAccepted = false;
|
||||
this.penalty = 0; //罚时毫秒数
|
||||
this.acceptedTime = new Date(); //AC时间
|
||||
this.submitCount = 0; //AC前提交次数,如果AC了,值加1
|
||||
this.isUnkonwn = false; //是否为封榜后提交,如果封榜前已AC,也为false
|
||||
}
|
||||
|
||||
/**
|
||||
* Team对象
|
||||
* @param {int} teamId 队伍ID
|
||||
* @param {String} teamName 队伍名
|
||||
* @param {String} teamMember 队员
|
||||
* @param {boolean} official 是否计入排名
|
||||
*/
|
||||
function Team(teamId, teamName, teamMember, official) {
|
||||
this.teamId = teamId; //队伍ID
|
||||
this.teamName = teamName; //队伍名
|
||||
this.teamMember = teamMember; //队员
|
||||
this.official = true; //计入排名
|
||||
this.solved = 0; //通过数
|
||||
this.penalty = 0; //罚时,单位为毫秒
|
||||
this.gender = false; //女队,默认否
|
||||
this.submitProblemList = []; //提交题目列表
|
||||
this.unkonwnAlphabetIdMap = new Array(); //未知的题目AlphabetId列表
|
||||
this.submitList = []; //提交列表
|
||||
this.lastRank = 0; //最终排名
|
||||
this.nowRank = 0; //当前排名
|
||||
}
|
||||
|
||||
/**
|
||||
* Team对象初始化函数,更新到封榜时的状态
|
||||
* @param {Date} startTime 比赛开始时间
|
||||
* @param {Date} freezeBoardTime 封榜时间
|
||||
*/
|
||||
Team.prototype.init = function(startTime, freezeBoardTime) {
|
||||
//按提交顺序排序
|
||||
this.submitList.sort(function(a, b) {
|
||||
return a.submitId - b.submitId;
|
||||
});
|
||||
for (var key in this.submitList) {
|
||||
var sub = this.submitList[key];
|
||||
//创建对象
|
||||
var p = this.submitProblemList[sub.alphabetId];
|
||||
if (!p) p = new TeamProblem();
|
||||
//设置alphabetId
|
||||
p.alphabetId = sub.alphabetId;
|
||||
//已经AC的题目不再计算
|
||||
if (p.isAccepted) continue;
|
||||
//封榜后的提交设置isUnkonwn为true
|
||||
if (sub.subTime > freezeBoardTime) {
|
||||
p.isUnkonwn = true;
|
||||
this.unkonwnAlphabetIdMap[p.alphabetId] = true;
|
||||
}
|
||||
//增加提交次数
|
||||
p.submitCount++;
|
||||
//更新AC状态
|
||||
p.isAccepted = (sub.resultId == 0);
|
||||
//如果当前提交AC
|
||||
if (p.isAccepted) {
|
||||
//则保存AC时间
|
||||
p.acceptedTime = sub.subTime.getTime() - startTime.getTime();
|
||||
//如果为封榜前AC,则计算罚时,且队伍通过题数加1
|
||||
if (p.acceptedTime < freezeBoardTime - startTime) {
|
||||
p.penalty += p.acceptedTime + (p.submitCount - 1) * 20 * 60 * 1000;
|
||||
this.solved++;
|
||||
this.penalty += p.penalty;
|
||||
}
|
||||
}
|
||||
|
||||
//更新submitProblemList
|
||||
this.submitProblemList[p.alphabetId] = p;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 计算Team中有多少道题状态未知
|
||||
* @return {int} 未知状态题目的数量
|
||||
*/
|
||||
Team.prototype.countUnkonwnProblme = function() {
|
||||
var count = 0;
|
||||
for (var key in this.unkonwnAlphabetIdMap) {
|
||||
count++;
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
||||
/**
|
||||
* 滚榜时,更新一个队伍的一个题的状态
|
||||
* @return {boolean} true:当前队伍排名上升,false:排名无变化
|
||||
*/
|
||||
Team.prototype.updateOneProblem = function() {
|
||||
for (var key in this.submitProblemList) {
|
||||
var subProblem = this.submitProblemList[key];
|
||||
//如果题目结果未知
|
||||
if (subProblem.isUnkonwn) {
|
||||
//更新题目状态
|
||||
subProblem.isUnkonwn = false;
|
||||
delete this.unkonwnAlphabetIdMap[subProblem.alphabetId];
|
||||
//如果AC,则更新题目状态
|
||||
if (subProblem.isAccepted) {
|
||||
subProblem.penalty += subProblem.acceptedTime + (subProblem.submitCount - 1) * 20 * 60 * 1000;
|
||||
this.solved++;
|
||||
this.penalty += subProblem.penalty;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 队伍排位函数
|
||||
* @param {Team} a Team a
|
||||
* @param {Team} b Team b
|
||||
* @return {int} 负数a排位高,正数b排位高
|
||||
*/
|
||||
function TeamCompare(a, b) {
|
||||
if (a.solved != b.solved) //第一关键字,通过题数高者排位高
|
||||
return a.solved > b.solved ? -1 : 1;
|
||||
if (a.penalty != b.penalty) //第二关键字,罚时少者排位高
|
||||
return a.penalty < b.penalty ? -1 : 1;
|
||||
//return a.teamId < b.teamId ? -1 : 1; //第三关键字,队伍ID小者排位高
|
||||
return a.teamId.localeCompare(b.teamId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Board对象
|
||||
* @param {int} problemCount 题目数量
|
||||
* @param {Array<int>} medalCounts 奖牌数,无特等奖则为3个数,有特等奖则为4个数,第一个为特等奖
|
||||
* @param {Date} startTime 比赛开始时间
|
||||
* @param {Date} freezeBoardTime 封榜时间
|
||||
*/
|
||||
function Board(problemCount, medalCounts, startTime, freezeBoardTime, cid) {
|
||||
this.problemCount = problemCount; //题目数量
|
||||
this.medalCounts = medalCounts; //奖牌数数组,无特等奖则为3个数,有特等奖则为4个数,第一个为特等奖
|
||||
this.medalRanks = []; //每个奖牌的最后一名的RANK值
|
||||
this.medalStr = ["gold", "silver", "bronze"];
|
||||
this.problemList = []; //题目alphabetId编号列表
|
||||
this.startTime = startTime;
|
||||
this.freezeBoardTime = freezeBoardTime;
|
||||
this.teamList = []; //从服务器获取的teamList,为teamId与Team对象的映射
|
||||
this.submitList = []; //从服务器获取的所有的submitList,Submit对象数组
|
||||
this.teamNowSequence = []; //当前队伍排名,存队伍ID
|
||||
this.teamNextSequence = []; //下一步队伍排名,存队伍ID
|
||||
this.teamCount = 0; //队伍数量
|
||||
this.displayTeamPos = 0; //当前展示的队伍位置
|
||||
this.noAnimate = true; //当前无动画进行
|
||||
|
||||
//根据题目数量设置alphabetId
|
||||
var ACode = 65;
|
||||
for (var i = 0; i < problemCount; i++)
|
||||
this.problemList.push(String.fromCharCode(ACode + i));
|
||||
|
||||
//计算medalRanks
|
||||
this.medalRanks[0] = medalCounts[0];
|
||||
for (var i = 1; i < this.medalCounts.length; ++i) {
|
||||
this.medalRanks[i] = this.medalCounts[i] + this.medalRanks[i - 1];
|
||||
}
|
||||
|
||||
//从服务器得到submitList和teamList
|
||||
this.submitList = getSubmitList(cid);
|
||||
this.teamList = getTeamList(cid);
|
||||
|
||||
|
||||
|
||||
//将submit存到对应的Team对象里
|
||||
for (var key in this.submitList) {
|
||||
var sub = this.submitList[key];
|
||||
this.teamList[sub.teamId].submitList.push(sub);
|
||||
}
|
||||
|
||||
|
||||
|
||||
//初始化Team对象,同时将队伍ID放入序列
|
||||
for (var key in this.teamList) {
|
||||
var team = this.teamList[key];
|
||||
team.init(this.startTime, this.freezeBoardTime);
|
||||
this.teamNowSequence.push(team);
|
||||
this.teamCount++;
|
||||
}
|
||||
this.displayTeamPos = this.teamCount - 1;
|
||||
|
||||
//队伍排序
|
||||
this.teamNowSequence.sort(function(a, b) {
|
||||
return TeamCompare(a, b);
|
||||
});
|
||||
this.teamNextSequence = this.teamNowSequence.slice(0);
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 更新队伍排序,得到下一个队伍移动后的序列
|
||||
* @return {int} 排名上升的队伍要插入的位置,如果无变化返回-1
|
||||
*/
|
||||
Board.prototype.updateTeamSequence = function() {
|
||||
var teamSequence = this.teamNextSequence.slice(0); //复制数组,js为引用传递
|
||||
teamSequence.sort(function(a, b) {
|
||||
return TeamCompare(a, b);
|
||||
});
|
||||
|
||||
|
||||
//找到第一个改变的位置,即为排名上升的队伍要插入的位置
|
||||
var toPos = -1;
|
||||
for (var i = 0; i < this.teamCount; i++) {
|
||||
if (this.teamNextSequence[i].teamId != teamSequence[i].teamId) {
|
||||
toPos = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
//更新队列
|
||||
this.teamNowSequence = this.teamNextSequence.slice(0);
|
||||
this.teamNextSequence = teamSequence.slice(0);
|
||||
|
||||
return toPos;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 不断更新最后一个unkonwn队伍的题目状态,直到排名发生变化或者无题目可更新
|
||||
* @return {Team} 返回正在更新的Team对象,没有则返回null
|
||||
*/
|
||||
Board.prototype.UpdateOneTeam = function() {
|
||||
//得到需要更新的队伍在当前排名中的的位置
|
||||
var updateTeamPos = this.teamCount - 1;
|
||||
while (updateTeamPos >= 0 && this.teamNextSequence[updateTeamPos].countUnkonwnProblme() < 1)
|
||||
updateTeamPos--;
|
||||
//如果有队伍可更新
|
||||
if (updateTeamPos >= 0) {
|
||||
//不断更新队伍题目状态,直到排名发生变化或者无题目可更新
|
||||
while (this.teamNextSequence[updateTeamPos].countUnkonwnProblme() > 0) {
|
||||
//更新一个题目状态
|
||||
var result = this.teamNextSequence[updateTeamPos].updateOneProblem();
|
||||
return this.teamNextSequence[updateTeamPos];
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 显示封榜时的状态
|
||||
*/
|
||||
Board.prototype.showInitBoard = function() {
|
||||
|
||||
//设置表头宽度百分比
|
||||
var rankPer = 5; //Rank列宽度百分比
|
||||
var teamPer = 25; //Team列宽度百分比
|
||||
var solvedPer = 4; //Solved列宽度百分比
|
||||
var penaltyPer = 7; //Penalty列宽度百分比
|
||||
var problemStatusPer = (100.0 - rankPer - teamPer - solvedPer - penaltyPer) / this.problemCount; //Problem列宽度百分比
|
||||
|
||||
//表头
|
||||
var headHTML =
|
||||
"<div id=\"timer\"></div>\
|
||||
<div class=\"ranktable-head\">\
|
||||
<table class=\"table\">\
|
||||
<tr>\
|
||||
<th width=\"" + rankPer + "%\">Rank</th>\
|
||||
<th width=\"" + teamPer + "%\">Team</th>\
|
||||
<th width=\"" + solvedPer + "%\">Solved</th>\
|
||||
<th width=\"" + penaltyPer + "%\">Penalty</th>";
|
||||
var footHTML =
|
||||
"</tr>\
|
||||
</table>\
|
||||
</div>";
|
||||
$('body').append(headHTML + footHTML);
|
||||
|
||||
//题目列
|
||||
for (var i = 0; i < this.problemList.length; i++) {
|
||||
var alphabetId = this.problemList[i];
|
||||
var bodyHTML = "<th width=\"" + problemStatusPer + "%\">" + alphabetId + "</th>";
|
||||
$('.ranktable-head tr').append(bodyHTML);
|
||||
}
|
||||
|
||||
var maxRank = 0;
|
||||
|
||||
//队伍
|
||||
for (var i = 0; i < this.teamCount; i++) {
|
||||
|
||||
var team = this.teamNowSequence[i];
|
||||
|
||||
//计算每支队伍的排名和奖牌情况
|
||||
var rank = 0;
|
||||
var medal = -1;
|
||||
if (team.solved != 0) {
|
||||
rank = i + 1;
|
||||
maxRank = rank + 1;
|
||||
for (var j = this.medalRanks.length - 1; j >= 0; j--) {
|
||||
if (rank <= this.medalRanks[j])
|
||||
medal = j;
|
||||
}
|
||||
} else {
|
||||
rank = maxRank;
|
||||
medal = -1;
|
||||
}
|
||||
|
||||
|
||||
//构造HTML
|
||||
var headHTML =
|
||||
"<div id=\"team_" + team.teamId + "\" class=\"team-item\" team-id=\"" + team.teamId + "\"> \
|
||||
<table class=\"table\"> \
|
||||
<tr>";
|
||||
var rankHTML = "<th class=\"rank\" width=\"" + rankPer + "%\">" + rank + "</th>";
|
||||
var teamHTML = "<td class=\"team-name\" width=\"" + teamPer + "%\"><span>" + team.teamName + /*"<br/>" + team.teamMember +*/ "</span></td>";
|
||||
var solvedHTML = "<td class=\"solved\" width=\"" + solvedPer + "%\">" + team.solved + "</td>";
|
||||
var penaltyHTML = "<td class=\"penalty\" width=\"" + penaltyPer + "%\">" + parseInt(team.penalty / 1000.0 / 60.0) + "</td>";
|
||||
var problemHTML = "";
|
||||
for (var key in this.problemList) {
|
||||
problemHTML += "<td class=\"problem-status\" width=\"" + problemStatusPer + "%\" alphabet-id=\"" + this.problemList[key] + "\">";
|
||||
var tProblem = team.submitProblemList[this.problemList[key]];
|
||||
if (tProblem) {
|
||||
if (tProblem.isUnkonwn)
|
||||
problemHTML += "<span class=\"label label-warning\">" + tProblem.submitCount + "</span></td>";
|
||||
else {
|
||||
if (tProblem.isAccepted) {
|
||||
problemHTML += "<span class=\"label label-success\">" + tProblem.submitCount + "/" + parseInt(tProblem.acceptedTime / 1000.0 / 60.0) + "</span></td>";
|
||||
} else {
|
||||
problemHTML += "<span class=\"label label-danger\">" + tProblem.submitCount + "</span></td>";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
var footHTML =
|
||||
"</tr> \
|
||||
</table> \
|
||||
</div>";
|
||||
|
||||
var HTML = headHTML + rankHTML + teamHTML + solvedHTML + penaltyHTML + problemHTML + footHTML;
|
||||
//填充HTML
|
||||
$('body').append(HTML);
|
||||
//设置奖牌对应的CSS样式
|
||||
if (medal != -1)
|
||||
$("#team_" + team.teamId).addClass(this.medalStr[medal]);
|
||||
|
||||
}
|
||||
|
||||
|
||||
//构造一个空的队伍,填充底部
|
||||
var headHTML =
|
||||
"<div id=\"team-void\" class=\"team-item\"> \
|
||||
<table class=\"table\"> \
|
||||
<tr>";
|
||||
var rankHTML = "<th class=\"rank\" width=\"" + rankPer + "%\"></th>";
|
||||
var teamHTML = "<td class=\"team-name\" width=\"" + teamPer + "%\"></td>";
|
||||
var solvedHTML = "<td class=\"solved\" width=\"" + solvedPer + "%\"></td>";
|
||||
var penaltyHTML = "<td class=\"penalty\" width=\"" + penaltyPer + "%\"></td>";
|
||||
var problemHTML = "";
|
||||
for (var key in this.problemList) {
|
||||
problemHTML += "<td class=\"problem-status\" width=\"" + problemStatusPer + "%\" alphabet-id=\"" + this.problemList[key] + "\"></td>";
|
||||
}
|
||||
var footHTML =
|
||||
"</tr> \
|
||||
</table> \
|
||||
</div>";
|
||||
|
||||
var HTML = headHTML + rankHTML + teamHTML + solvedHTML + penaltyHTML + problemHTML + footHTML;
|
||||
//填充HTML
|
||||
$('body').append(HTML);
|
||||
|
||||
|
||||
|
||||
//按排名对队伍的div进行排序
|
||||
var headerHeight = 44; //表头的高度
|
||||
var teamHeight = 68; //队伍行的高度
|
||||
for (var i = 0; i < this.teamCount; ++i) {
|
||||
//var teamId = this.teamList[this.teamNowSequence[i]].teamId;
|
||||
var teamId = this.teamNowSequence[i].teamId;
|
||||
$("div[team-id=\"" + teamId + "\"]").stop().animate({ top: i * teamHeight + headerHeight }, 800);
|
||||
}
|
||||
//移到底部
|
||||
$("#team-void").stop().animate({ top: this.teamCount * teamHeight + headerHeight }, 800);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新队伍的表现状态,即改变HTML样式
|
||||
* @param {Team} team 要改变的Team对象
|
||||
* @return {boolean} 要更新的题目是否AC
|
||||
*/
|
||||
Board.prototype.updateTeamStatus = function(team) {
|
||||
var thisBoard = this;
|
||||
//更新ProblemStatus
|
||||
for (var key in team.submitProblemList) {
|
||||
var tProblem = team.submitProblemList[key];
|
||||
//构造题目状态HTML
|
||||
problemHTML = "";
|
||||
if (tProblem.isUnkonwn)
|
||||
problemHTML = "<span class=\"label label-warning\">" + tProblem.submitCount + "</td>";
|
||||
else {
|
||||
if (tProblem.isAccepted) {
|
||||
problemHTML = "<span class=\"label label-success\">" + tProblem.submitCount + "/" + parseInt(tProblem.acceptedTime / 1000.0 / 60.0) + "</td>";
|
||||
} else {
|
||||
problemHTML = "<span class=\"label label-danger\">" + tProblem.submitCount + "</td>";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
var $problemStatus = $("#team_" + team.teamId + " .problem-status[alphabet-id=\"" + key + "\"]");
|
||||
var $statusSpan = $problemStatus.children('span[class="label label-warning"]');
|
||||
|
||||
|
||||
//让题目状态闪烁,并更新状态
|
||||
if (tProblem.isUnkonwn == false) {
|
||||
|
||||
//加高亮边框前去掉所有高亮边框
|
||||
$('.team-item.hold').removeClass("hold");
|
||||
var $team = $("div[team-id=\"" + team.teamId + "\"]");
|
||||
//加高亮边框
|
||||
$team.addClass("hold");
|
||||
|
||||
//得到TeamDiv距顶部的高度
|
||||
var clientHeight = document.documentElement.clientHeight || document.body.clientHeight || 0;
|
||||
var teamTopHeight = $team.offset().top - clientHeight + 100;
|
||||
|
||||
|
||||
//移动视点
|
||||
$('body,html').stop().animate({
|
||||
scrollTop: teamTopHeight
|
||||
},
|
||||
500);
|
||||
|
||||
//传参,不懂原理,用此可以在动画的回调函数使用参数
|
||||
(function(thisBoard, tProblem, problemHTML) {
|
||||
//闪烁两次后显示未知题目的结果
|
||||
var speed = 100; //闪烁速度
|
||||
$statusSpan.fadeOut(speed).fadeIn(speed, function() {
|
||||
//更新题目表现状态
|
||||
$(this).parent().html(problemHTML);
|
||||
});
|
||||
})(thisBoard, tProblem, problemHTML);
|
||||
}
|
||||
}
|
||||
|
||||
//延时更新榜单
|
||||
//传参,不懂原理,用此可以在动画的回调函数使用参数
|
||||
(function(thisBoard, team) {
|
||||
//延时0.2s
|
||||
$('#timer').animate({ margin: 0 }, 200, function() {
|
||||
|
||||
/*
|
||||
更新Rank
|
||||
*/
|
||||
var maxRank = 0;
|
||||
|
||||
//移除div中的奖牌样式
|
||||
for (var i in thisBoard.medalStr) {
|
||||
$(".team-item").removeClass(thisBoard.medalStr[i]);
|
||||
}
|
||||
|
||||
//对于每个队计算排名和奖牌情况
|
||||
for (var i = 0; i < thisBoard.teamCount; i++) {
|
||||
var t = thisBoard.teamNextSequence[i];
|
||||
var medal = -1;
|
||||
var rankValue = 0;
|
||||
if (t.solved != 0) {
|
||||
rankValue = i + 1;
|
||||
maxRank = rankValue + 1;
|
||||
for (var j = thisBoard.medalRanks.length - 1; j >= 0; j--) {
|
||||
if (rankValue <= thisBoard.medalRanks[j])
|
||||
medal = j;
|
||||
}
|
||||
} else {
|
||||
rankValue = maxRank;
|
||||
medal = -1;
|
||||
}
|
||||
|
||||
$team = $("div[team-id=\"" + t.teamId + "\"]");
|
||||
|
||||
if (medal != -1)
|
||||
$team.addClass(thisBoard.medalStr[medal]);
|
||||
|
||||
$("#team_" + t.teamId + " .rank").html(rankValue);
|
||||
|
||||
}
|
||||
|
||||
//更新Solved
|
||||
$("#team_" + team.teamId + " .solved").html(team.solved);
|
||||
|
||||
//更新Penaly
|
||||
$("#team_" + team.teamId + " .penalty").html(parseInt(team.penalty / 1000.0 / 60.0));
|
||||
}, false);
|
||||
|
||||
})(thisBoard, team);
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 更新队伍div的位置
|
||||
* @param {int} toPos 当前关注队伍在序列中的终点位置,-1为不移动
|
||||
*/
|
||||
Board.prototype.moveTeam = function(toPos) {
|
||||
var thisBoard = this;
|
||||
//传参,不懂原理,用此可以在动画的回调函数使用参数
|
||||
(function(thisBoard) {
|
||||
var headerHeight = 44;
|
||||
var teamHeight = 68;
|
||||
for (var i = 0; i < thisBoard.teamCount; ++i) {
|
||||
var teamId = thisBoard.teamNextSequence[i].teamId;
|
||||
//延时1.2s更新位置,为了等待题目状态更新完成
|
||||
if(toPos != -1)
|
||||
$("div[team-id=\"" + teamId + "\"]").animate({ margin: 0 }, 200).animate({ top: i * teamHeight + headerHeight }, 1000, function() {
|
||||
thisBoard.noAnimate = true;
|
||||
});
|
||||
else
|
||||
$("div[team-id=\"" + teamId + "\"]").animate({ margin: 0 }, 200 ,function() {
|
||||
thisBoard.noAnimate = true;
|
||||
});
|
||||
}
|
||||
})(thisBoard);
|
||||
}
|
||||
|
||||
/**
|
||||
* 按下按键时调用的函数,包括榜更新一步的过程
|
||||
*/
|
||||
Board.prototype.keydown = function() {
|
||||
//等动画结束后再进行下一步
|
||||
if (this.noAnimate) {
|
||||
this.noAnimate = false;
|
||||
//更新一支队伍的状态,没有则team==null
|
||||
var team = this.UpdateOneTeam();
|
||||
if (team) {
|
||||
//根据现在的状态更新序列
|
||||
var toPos = this.updateTeamSequence();
|
||||
//更新队伍HTML内容
|
||||
this.updateTeamStatus(team);
|
||||
//移动队伍
|
||||
this.moveTeam(toPos);
|
||||
} else {
|
||||
//无队伍可更新时取消高亮边框
|
||||
$('.team-item.hold').removeClass("hold");
|
||||
}
|
||||
}
|
||||
}
|
||||
365
web/template/bs3/semantic.min.css
vendored
365
web/template/bs3/semantic.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,103 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
|
||||
<center>
|
||||
<table class="table table-striped">
|
||||
<caption style="text-align: center;font-size: 20px">代码分享列表,<a href="./sharecodepage.php">立即分享</a></caption>
|
||||
<tr>
|
||||
<th>编号</th>
|
||||
<th>标题</th>
|
||||
<th>语言</th>
|
||||
<th>分享时间</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
<?php if($pageNum == 0){ ?>
|
||||
<tr><td colspan="4"><center>您暂未分享任何代码,<a href="./sharecodepage.php">立即分享</a></center></td></tr>
|
||||
<?php }?>
|
||||
<?php
|
||||
foreach($share_list as $share_info){
|
||||
echo "<tr>";
|
||||
echo "<td><a href='./sharecodepage.php?sid=".$share_info["share_id"]."'>".$share_info["share_id"]."</a></td>";
|
||||
echo "<td><a href='./sharecodepage.php?sid=".$share_info["share_id"]."'>".$share_info["title"]."</a></td>";
|
||||
echo "<td>".$share_info["language"]."</td>";
|
||||
echo "<td>".$share_info["share_time"]."</td>";
|
||||
echo "<td><div class=\"btn-group btn-group-sm\" role=\"group\" aria-label=\"Default button group\">
|
||||
<button type=\"button\" class=\"btn btn-default btn-info\" onclick='seeCode(".$share_info["share_id"].")'>查看</button>
|
||||
<button type=\"button\" class=\"btn btn-default btn-danger\" onclick='deleteCode(".$share_info["share_id"].")'>删除</button>
|
||||
</div></td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<?php if($pageNum > 1){ ?>
|
||||
<nav aria-label="...">
|
||||
<ul class="pagination">
|
||||
<li><a href="./sharecodelist.php?page=1" aria-label="Previous"><span aria-hidden="true">«</span></a></li>
|
||||
<?php for($i=1;$i<=$pageNum;$i++){
|
||||
echo "<li><a href='./sharecodelist.php?page=".$i."'>".$i."</a></li>";
|
||||
}?>
|
||||
<li><a href="./sharecodelist.php?page=<?php echo $pageNum?>" aria-label="Next"><span aria-hidden="true">»</span></a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<?php }?>
|
||||
</center>
|
||||
</div>
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
<script>
|
||||
function deleteCode(sid) {
|
||||
if(isNaN(sid)){
|
||||
return;
|
||||
}
|
||||
if(!confirm("您确定要删除此代码?")){
|
||||
return;
|
||||
}
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "./sharecodepage.php",
|
||||
data: {
|
||||
"delete": sid,
|
||||
},
|
||||
success: function(data){
|
||||
console.log(data);
|
||||
alert(data.msg);
|
||||
if(data.status=="success"){
|
||||
window.location.reload();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
function seeCode(sid) {
|
||||
window.location.href="./sharecodepage.php?sid="+sid;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,167 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
|
||||
<center>
|
||||
<?php if($readOnly) {?>
|
||||
<br>
|
||||
<span class="label label-primary">author:</span> <a href="userinfo.php?user=<?php echo $author ?>"><?php echo $author ?></a>
|
||||
<span class="label label-primary">language:</span> <?php echo $language ?>
|
||||
<span class="label label-primary">time:</span> <?php echo $share_time ?>
|
||||
<br>
|
||||
<?php } ?>
|
||||
|
||||
<?php if(!$readOnly){?>
|
||||
<div><label for="#title">Title</label><input type="text" id="title" value="<?php echo $title?>"></div>
|
||||
<span id="language_span">Language:
|
||||
<select id="language" name="language" >
|
||||
<option value="c_cpp">C/C++</option>
|
||||
<option value="java">Java</option>
|
||||
<option value="python">Python</option>
|
||||
</select>
|
||||
<?php echo $MSG_VCODE?>:
|
||||
<input id="vcode" size=4 type=text><img id="vimg"alt="click to change" src="vcode.php" onclick="this.src='vcode.php?'+Math.random()">
|
||||
<?php }?>
|
||||
|
||||
<br>
|
||||
</span>
|
||||
|
||||
<pre id="code" cols=180 rows=20 class="ace_editor" style="min-height:600px;width: 80%"><textarea id="source" class="ace_text-input"><?php echo htmlentities($view_src,ENT_QUOTES,"UTF-8")?></textarea></pre>
|
||||
<?php if(!$readOnly){?>
|
||||
<button class="btn btn-info" type="button" onclick="submitCode()"><?php echo $MSG_SUBMIT?></button>
|
||||
<?php } ?>
|
||||
<?php if($isOwner){?>
|
||||
<button class="btn btn-danger" type="button" onclick="deleteCode(<?php echo $sid?>)">DELETE</button>
|
||||
<?php } ?>
|
||||
</center>
|
||||
</div>
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
|
||||
<script src="include/vditor-adapter.js"></script>
|
||||
<script>
|
||||
$("#language").on("change",changeLanguage);
|
||||
editor = HustOJVditor.createDeferredCodeEditor({
|
||||
container: "code",
|
||||
sourceField: "source",
|
||||
readOnly: <?php echo $readOnly ?>,
|
||||
theme: "ace/theme/clouds",
|
||||
fontSize: 18
|
||||
});
|
||||
|
||||
theme = "clouds"
|
||||
language = "c_cpp"
|
||||
editor.setTheme("ace/theme/" + theme);
|
||||
editor.session.setMode("ace/mode/" + language);
|
||||
|
||||
editor.setFontSize(18);
|
||||
editor.setReadOnly(<?php echo $readOnly ?>);
|
||||
editor.setOption("wrap", "free")
|
||||
editor.setOptions({
|
||||
enableBasicAutocompletion: true,
|
||||
enableSnippets: true,
|
||||
enableLiveAutocompletion: true
|
||||
});
|
||||
function changeLanguage(){
|
||||
var lan = $("#language").val();
|
||||
editor.session.setMode("ace/mode/" + lan);
|
||||
}
|
||||
|
||||
<?php if(!$readOnly){?>
|
||||
function submitCode() {
|
||||
var code = editor.getValue();
|
||||
var title=$("#title").val().trim();
|
||||
var vcode = $("#vcode").val().trim();
|
||||
var language = $("#language").val();
|
||||
if(vcode.length===0){
|
||||
alert("请输入验证码!");
|
||||
return;
|
||||
}
|
||||
if(code.length===0){
|
||||
alert("请输入代码!");
|
||||
return;
|
||||
}
|
||||
console.log(code);
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "./sharecodepage.php",
|
||||
data: {
|
||||
<?php if($isOwner){
|
||||
echo '"sid": '.$sid.',';
|
||||
}?>
|
||||
"title":title,
|
||||
"code": code,
|
||||
"vcode": vcode,
|
||||
"language": language
|
||||
},
|
||||
success: function(data){
|
||||
console.log(data);
|
||||
if(data.status=="success"){
|
||||
window.location.href = "./sharecodepage.php?sid="+data.data.sid;
|
||||
}else {
|
||||
$("#vcode").val('')
|
||||
$("#vimg").click();
|
||||
alert(data.msg);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
<?php }?>
|
||||
<?php if($isOwner){?>
|
||||
<?php //如果是作者本人浏览代码,会显示选择语言的selector 这个时候就要初始化一下selector了 ?>
|
||||
editor.session.setMode("ace/mode/<?php echo $language?>");
|
||||
$("#language").val("<?php echo $language?>");
|
||||
function deleteCode(sid) {
|
||||
if(isNaN(sid)){
|
||||
return;
|
||||
}
|
||||
if(!confirm("您确定要删除此代码?")){
|
||||
return;
|
||||
}
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "./sharecodepage.php",
|
||||
data: {
|
||||
"delete": sid,
|
||||
},
|
||||
success: function(data){
|
||||
console.log(data);
|
||||
alert(data.msg);
|
||||
if(data.status=="success"){
|
||||
window.location.href = "./sharecodelist.php";
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
<?php } ?>
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,86 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
|
||||
<link href='<?php echo $OJ_CDN_URL?>highlight/styles/shCore.css' rel='stylesheet' type='text/css'/>
|
||||
<link href='<?php echo $OJ_CDN_URL?>highlight/styles/shThemeDefault.css' rel='stylesheet' type='text/css'/>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shCore.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushCpp.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushCss.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushJava.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushDelphi.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushRuby.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushBash.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushPython.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushPhp.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushPerl.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushCSharp.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushVb.js' type='text/javascript'></script>
|
||||
<script src='<?php echo $OJ_CDN_URL?>highlight/scripts/shBrushSql.js' type='text/javascript'></script>
|
||||
<script language='javascript'>
|
||||
SyntaxHighlighter.config.bloggerMode = false;
|
||||
SyntaxHighlighter.config.clipboardSwf = '<?php echo $OJ_CDN_URL?>highlight/scripts/clipboard.swf';
|
||||
SyntaxHighlighter.all();
|
||||
</script>
|
||||
<?php
|
||||
if ($ok==true){
|
||||
if($view_user_id!=$_SESSION[$OJ_NAME.'_'.'user_id'])
|
||||
echo "<a href='mail.php?to_user=".htmlentities($view_user_id,ENT_QUOTES,"UTF-8")."&title=$MSG_SUBMIT $id'>Mail the author</a>";
|
||||
$brush=strtolower($language_name[$slanguage]);
|
||||
if ($brush=='pascal') $brush='delphi';
|
||||
if ($brush=='obj-c') $brush='c';
|
||||
if ($brush=='freebasic') $brush='vb';
|
||||
if ($brush=='fortran') $brush='vb';
|
||||
if ($brush=='swift') $brush='csharp';
|
||||
echo "<pre class=\"brush:".$brush.";\">";
|
||||
ob_start();
|
||||
echo "/**************************************************************\n";
|
||||
echo "\tProblem: $sproblem_id\n\tUser: $suser_id [$nick] \n";
|
||||
echo "\tLanguage: ".$language_name[$slanguage]."\n\tResult: ".$judge_result[$sresult]."\n";
|
||||
if ($sresult==4){
|
||||
echo "\tTime:".$stime." ms\n";
|
||||
echo "\tMemory:".$smemory." kb\n";
|
||||
}
|
||||
echo "****************************************************************/\n\n";
|
||||
$auth=ob_get_contents();
|
||||
ob_end_clean();
|
||||
echo htmlentities(str_replace("\n\r","\n",$view_source),ENT_QUOTES,"utf-8")."\n".$auth."</pre>";
|
||||
}else{
|
||||
echo $MSG_WARNING_ACCESS_DENIED ;
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,26 +0,0 @@
|
||||
<?php
|
||||
if ($ok==true){
|
||||
|
||||
$brush=strtolower($language_name[$slanguage]);
|
||||
if ($brush=='pascal') $brush='delphi';
|
||||
if ($brush=='obj-c') $brush='c';
|
||||
if ($brush=='freebasic') $brush='vb';
|
||||
if ($brush=='swift') $brush='csharp';
|
||||
echo "<pre class=\"brush:".$brush.";\">";
|
||||
ob_start();
|
||||
echo "/**************************************************************\n";
|
||||
//echo "\tProblem: $sproblem_id\n\tUser: $suser_id\n";
|
||||
echo "\tProblem: $sproblem_id\n\tUser: $suser_id [$nick] \n";
|
||||
echo "\tLanguage: ".$language_name[$slanguage]."\n\tResult: ".$judge_result[$sresult]."\n";
|
||||
if ($sresult==4){
|
||||
echo "\tTime:".$stime." ms\n";
|
||||
echo "\tMemory:".$smemory." kb\n";
|
||||
}
|
||||
echo "****************************************************************/\n\n";
|
||||
$auth=ob_get_contents();
|
||||
ob_end_clean();
|
||||
echo htmlentities(str_replace("\n\r","\n",$view_source),ENT_QUOTES,"utf-8")."\n".$auth."</pre>";
|
||||
}else{
|
||||
echo $MSG_WARNING_ACCESS_DENIED;
|
||||
}
|
||||
?>
|
||||
@@ -1,240 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title>
|
||||
<?php echo $OJ_NAME?>
|
||||
</title>
|
||||
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<br><br>
|
||||
<div align=center class="input-append">
|
||||
<form id=simform class=form-inline action="status.php" method="get">
|
||||
<?php echo $MSG_PROBLEM_ID?>
|
||||
<input class="form-control" type=text size=4 name=problem_id value='<?php echo htmlspecialchars($problem_id, ENT_QUOTES) ?>'>
|
||||
|
||||
<?php echo $MSG_USER?>
|
||||
<input class="form-control" type=text size=4 name=user_id value='<?php echo htmlspecialchars($user_id, ENT_QUOTES) ?>'>
|
||||
<?php if (isset($cid)) echo "<input type='hidden' name='cid' value='$cid'>";?>
|
||||
|
||||
<?php echo $MSG_LANG?>
|
||||
<select class="form-control" size="1" name="language">
|
||||
<option value="-1">All</option>
|
||||
<?php
|
||||
if (isset($_GET['language'])) {
|
||||
$selectedLang = intval($_GET['language']);
|
||||
}
|
||||
else {
|
||||
$selectedLang = -1;
|
||||
}
|
||||
|
||||
$lang_count = count($language_ext);
|
||||
$langmask = $OJ_LANGMASK;
|
||||
$lang = (~((int)$langmask))&((1<<($lang_count))-1);
|
||||
for ($i=0; $i<$lang_count; $i++) {
|
||||
if ($lang&(1<<$i))
|
||||
echo "<option value=$i ".($selectedLang==$i?"selected":"").">".$language_name[$i]."</option>";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
|
||||
<?php echo $MSG_RESULT?>
|
||||
<select class="form-control" size="1" name="jresult">
|
||||
<?php
|
||||
if (isset($_GET['jresult']))
|
||||
$jresult_get = intval($_GET['jresult']);
|
||||
else
|
||||
$jresult_get = -1;
|
||||
|
||||
if ($jresult_get>=12 || $jresult_get<0)
|
||||
$jresult_get = -1;
|
||||
/*if ($jresult_get!=-1){
|
||||
$sql=$sql."AND `result`='".strval($jresult_get)."' ";
|
||||
$str2=$str2."&jresult=".strval($jresult_get);
|
||||
}*/
|
||||
if ($jresult_get==-1)
|
||||
echo "<option value='-1' selected>All</option>";
|
||||
else
|
||||
echo "<option value='-1'>All</option>";
|
||||
|
||||
for ($j=0; $j<12; $j++) {
|
||||
$i = ($j+4)%12;
|
||||
if ($i==$jresult_get)
|
||||
echo "<option value='".strval($jresult_get)."' selected>".$jresult[$i]."</option>";
|
||||
else
|
||||
echo "<option value='".strval($i)."'>".$jresult[$i]."</option>";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
|
||||
<?php
|
||||
if (isset($_SESSION[$OJ_NAME.'_'.'administrator']) || isset($_SESSION[$OJ_NAME.'_'.'source_browser'])) {
|
||||
if (isset($_GET['showsim']))
|
||||
$showsim = intval($_GET['showsim']);
|
||||
else
|
||||
$showsim = 0;
|
||||
|
||||
echo "SIM
|
||||
<select id=\"appendedInputButton\" class=\"form-control\" name=showsim onchange=\"document.getElementById('simform').submit();\">
|
||||
<option value=0 ".($showsim==0?'selected':'').">All</option>
|
||||
<option value=50 ".($showsim==50?'selected':'').">50</option>
|
||||
<option value=60 ".($showsim==60?'selected':'').">60</option>
|
||||
<option value=70 ".($showsim==70?'selected':'').">70</option>
|
||||
<option value=80 ".($showsim==80?'selected':'').">80</option>
|
||||
<option value=90 ".($showsim==90?'selected':'').">90</option>
|
||||
<option value=100 ".($showsim==100?'selected':'').">100</option>
|
||||
</select> ";
|
||||
|
||||
|
||||
}
|
||||
echo "<input type=submit class='form-control' value='$MSG_SEARCH'>";
|
||||
?>
|
||||
<span class='ui mini grey button'>AWT:<?php echo round($avg_delay,2)?>s </span>
|
||||
<script>var AWT=<?php echo round($avg_delay*500,0) ?>;</script>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<div id=center>
|
||||
<table id=result-tab class="table table-striped content-box-header" align=center width=80%>
|
||||
<thead>
|
||||
<tr class='toprow'>
|
||||
<td class="text-right">
|
||||
<?php echo $MSG_RUNID?>
|
||||
</td>
|
||||
<td class="text-left">
|
||||
<?php echo $MSG_USER?>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<?php echo $MSG_NICK?>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<?php echo $MSG_PROBLEM_ID?>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<?php echo $MSG_RESULT?>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<?php echo $MSG_MEMORY?>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<?php echo $MSG_TIME?>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<?php echo $MSG_LANG?>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<?php echo $MSG_CODE_LENGTH?>
|
||||
</td>
|
||||
<td class="text-left">
|
||||
<?php echo $MSG_SUBMIT_TIME?>
|
||||
</td>
|
||||
<?php if (isset($_SESSION[$OJ_NAME.'_'.'administrator'])) {
|
||||
echo "<td class='text-left'>";
|
||||
echo $MSG_JUDGER;
|
||||
echo "</td>";
|
||||
} ?>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$cnt = 0;
|
||||
foreach ($view_status as $row) {
|
||||
if ($cnt)
|
||||
echo "<tr class='oddrow'>";
|
||||
else
|
||||
echo "<tr class='evenrow'>";
|
||||
|
||||
$i = 0;
|
||||
foreach ($row as $table_cell) {
|
||||
if ($i==4)
|
||||
echo "<td class='td_result'>";
|
||||
else if ($i==2 || $i==8)
|
||||
echo "<td class='text-center'>";
|
||||
else if ($i==0 || $i==5 || $i==6 || $i==7)
|
||||
echo "<td class='text-right'>";
|
||||
else
|
||||
echo "<td>";
|
||||
|
||||
echo $table_cell;
|
||||
echo "</td>";
|
||||
$i++;
|
||||
}
|
||||
|
||||
echo "</tr>\n";
|
||||
$cnt = 1-$cnt;
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div align=center id=center>
|
||||
<nav id="page" class="center">
|
||||
<small>
|
||||
<ul class="pagination">
|
||||
<?php
|
||||
echo "<li class='page-item'> <a href=status.php?".$str2."><< Top</a></li>";
|
||||
if (isset($_GET['prevtop']))
|
||||
echo "<li class='page-item'> <a href=status.php?".$str2."&top=".intval($_GET['prevtop']).">< Prev</a></li>";
|
||||
else
|
||||
echo "<li class='page-item'> <a href=status.php?".$str2."&top=".($top+50).">< Prev</a></li>";
|
||||
|
||||
echo "<li class='page-item'> <a href=status.php?".$str2."&top=".$bottom."&prevtop=$top>Next ></a></li>";
|
||||
?>
|
||||
</ul>
|
||||
</small>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- /container -->
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
|
||||
<script>
|
||||
var i = 0;
|
||||
var judge_result = [<?php
|
||||
foreach ($judge_result as $result) {
|
||||
echo "'$result',";
|
||||
} ?>
|
||||
''];
|
||||
|
||||
var judge_color = [<?php
|
||||
foreach ($judge_color as $result) {
|
||||
echo "'$result',";
|
||||
} ?>
|
||||
''];
|
||||
var oj_mark='<?php echo $OJ_MARK ?>';
|
||||
var user_id="<?php if (isset($_SESSION[$OJ_NAME."_user_id"]) && $OJ_FANCY_RESULT ) echo $_SESSION[$OJ_NAME."_user_id"]; ?>";
|
||||
</script>
|
||||
|
||||
<script src="<?php echo $OJ_CDN_URL?>template/<?php echo $OJ_TEMPLATE?>/auto_refresh.js?v=0.41"></script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -1,419 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
<style>
|
||||
#source {
|
||||
width: 80%;
|
||||
height: 600px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div <?php if (!isset($_GET['spa'])) echo 'class="container"' ?> >
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div <?php if (!isset($_GET['spa'])) echo 'class="jumbotron"' ?> >
|
||||
<center>
|
||||
<script src="<?php echo $OJ_CDN_URL?>include/checksource.js"></script>
|
||||
|
||||
<form id=frmSolution action="submit.php" method="post" onsubmit='do_submit()'>
|
||||
<?php if (isset($id)){?>
|
||||
<?php echo $MSG_PROBLEM_ID." : "?> <span class=blue><?php echo $id?></span>
|
||||
<input id=problem_id type='hidden' value='<?php echo $id?>' name="id" >
|
||||
<?php } else {
|
||||
//$PID="ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
||||
//if ($pid>25) $pid=25;
|
||||
?>
|
||||
<?php echo $MSG_PROBLEM_ID." : "?> <span class=blue><?php echo chr($pid+ord('A'))?></span>
|
||||
of Contest <span class=blue> <?php echo $cid?> </span>
|
||||
<input id="cid" type='hidden' value='<?php echo $cid?>' name="cid">
|
||||
<input id="pid" type='hidden' value='<?php echo $pid?>' name="pid">
|
||||
<?php }?>
|
||||
|
||||
<span id="language_span"><?php echo $MSG_LANG?>:
|
||||
<select id="language" name="language" onChange="reloadtemplate($(this).val());" >
|
||||
<?php
|
||||
$lang_count=count($language_ext);
|
||||
|
||||
if(isset($_GET['langmask']))
|
||||
$langmask=$_GET['langmask'];
|
||||
else
|
||||
$langmask=$OJ_LANGMASK;
|
||||
|
||||
$lang=(~((int)$langmask))&((1<<($lang_count))-1);
|
||||
|
||||
$lastlang=$_COOKIE['lastlang'];
|
||||
if($lastlang=="undefined") $lastlang=1; // default C++
|
||||
|
||||
for($i=0;$i<$lang_count;$i++){
|
||||
if($lang&(1<<$i))
|
||||
echo"<option value=$i ".( $lastlang==$i?"selected":"").">".$language_name[$i]."</option>";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</span>
|
||||
|
||||
<?php if($OJ_VCODE){?>
|
||||
<?php echo $MSG_VCODE?>:
|
||||
<input name="vcode" size=4 type=text autocomplete=off > <img id="vcode" alt="click to change" onclick="this.src='vcode.php?'+Math.random()">*
|
||||
<?php }?>
|
||||
|
||||
<input id="Submit" class="btn btn-info btn-sm" type=button value="<?php echo $MSG_SUBMIT?>" onclick="do_submit();" >
|
||||
|
||||
<?php if (isset($OJ_TEST_RUN)&&$OJ_TEST_RUN){?>
|
||||
<input id="TestRun" class="btn btn-warning btn-sm" type=button value="<?php echo $MSG_TR?>" onclick=do_test_run();>
|
||||
<?php }?>
|
||||
<span class="btn" id=result>状态</span>
|
||||
<?php if($OJ_ACE_EDITOR){
|
||||
if (isset($OJ_TEST_RUN)&&$OJ_TEST_RUN) $height="400px";else $height="550px";
|
||||
?>
|
||||
<pre style="width:80%;height:<?php echo $height?>;font-size:13pt" cols=180 rows=20 id="source"><?php echo htmlentities($view_src,ENT_QUOTES,"UTF-8")?></pre>
|
||||
<input type=hidden id="hide_source" name="source" value=""/>
|
||||
<?php }else{ ?>
|
||||
<textarea style="width:80%;height:600" cols=180 rows=20 id="source" name="source"><?php echo htmlentities($view_src,ENT_QUOTES,"UTF-8")?></textarea>
|
||||
<?php }?>
|
||||
|
||||
<?php if (isset($OJ_TEST_RUN)&&$OJ_TEST_RUN){?>
|
||||
<?php echo $MSG_Input?>:
|
||||
<textarea style="width:30%" cols=40 rows=5 id="input_text" name="input_text" ><?php echo $view_sample_input?></textarea>
|
||||
|
||||
<?php echo $MSG_Output?>:
|
||||
<textarea style="width:30%" cols=10 rows=5 id="out" name="out" disabled="true" >SHOULD BE:<?php echo $view_sample_output?></textarea>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<?php if (isset($OJ_ENCODE_SUBMIT)&&$OJ_ENCODE_SUBMIT){?>
|
||||
<input class="btn btn-success" title="WAF gives you reset ? try this." type=button value="Encoded <?php echo $MSG_SUBMIT?>" onclick="encoded_submit();">
|
||||
<input type=hidden id="encoded_submit_mark" name="reverse2" value="reverse">
|
||||
<?php }?>
|
||||
|
||||
|
||||
<?php if (isset($OJ_BLOCKLY)&&$OJ_BLOCKLY){?>
|
||||
<input id="blockly_loader" type=button class="btn" onclick="openBlockly()" value="<?php echo $MSG_BLOCKLY_OPEN?>" style="color:white;background-color:rgb(169,91,128)">
|
||||
<input id="transrun" type=button class="btn" onclick="loadFromBlockly() " value="<?php echo $MSG_BLOCKLY_TEST?>" style="display:none;color:white;background-color:rgb(90,164,139)">
|
||||
<div id="blockly" class="center">Blockly</div>
|
||||
<?php }?>
|
||||
|
||||
</form>
|
||||
</center>
|
||||
</div>
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
|
||||
<script>
|
||||
var sid = 0;
|
||||
var i = 0;
|
||||
var using_blockly = false;
|
||||
var judge_result = [<?php
|
||||
foreach($judge_result as $result){
|
||||
echo "'$result',";
|
||||
}?>''];
|
||||
|
||||
function print_result(solution_id)
|
||||
{
|
||||
sid = solution_id;
|
||||
$("#out").load("status-ajax.php?tr=1&solution_id="+solution_id);
|
||||
}
|
||||
|
||||
function fresh_result(solution_id)
|
||||
{
|
||||
var tb = window.document.getElementById('result');
|
||||
if (solution_id==undefined) {
|
||||
tb.innerHTML="Vcode Error!";
|
||||
if($("#vcode")!=null) $("#vcode").click();
|
||||
|
||||
return ;
|
||||
}
|
||||
|
||||
sid=solution_id;
|
||||
var xmlhttp;
|
||||
if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
|
||||
xmlhttp=new XMLHttpRequest();
|
||||
} else {// code for IE6, IE5
|
||||
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
|
||||
}
|
||||
|
||||
xmlhttp.onreadystatechange=function()
|
||||
{
|
||||
if (xmlhttp.readyState==4 && xmlhttp.status==200) {
|
||||
var r=xmlhttp.responseText;
|
||||
var ra=r.split(",");
|
||||
//alert(r);
|
||||
// alert(judge_result[r]);
|
||||
var loader="<img width=18 src=image/loader.gif>";
|
||||
var tag="span";
|
||||
|
||||
if(ra[0]<4)
|
||||
tag="span disabled=true";
|
||||
else
|
||||
{
|
||||
if(ra[0]==11)
|
||||
tb.innerHTML="<a href='ceinfo.php?sid="+solution_id+"' class='badge badge-info' target=_blank>"+judge_result[ra[0]]+"</a>";
|
||||
else
|
||||
tb.innerHTML="<a href='reinfo.php?sid="+solution_id+"' class='badge badge-info' target=_blank>"+judge_result[ra[0]]+"AC:"+ra[4]+"</a>";
|
||||
}
|
||||
|
||||
if(ra[0]<4)tb.innerHTML=loader;
|
||||
|
||||
tb.innerHTML+="Memory:"+ra[1];
|
||||
tb.innerHTML+="Time:"+ra[2];
|
||||
|
||||
if(ra[0]<4)
|
||||
window.setTimeout("fresh_result("+solution_id+")",2000);
|
||||
else {
|
||||
window.setTimeout("print_result("+solution_id+")",2000);
|
||||
count=1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
xmlhttp.open("GET","status-ajax.php?solution_id="+solution_id,true);
|
||||
xmlhttp.send();
|
||||
}
|
||||
|
||||
function getSID(){
|
||||
var ofrm1 = document.getElementById("testRun").document;
|
||||
var ret="0";
|
||||
if (ofrm1==undefined)
|
||||
{
|
||||
ofrm1 = document.getElementById("testRun").contentWindow.document;
|
||||
var ff = ofrm1;
|
||||
ret=ff.innerHTML;
|
||||
}
|
||||
else
|
||||
{
|
||||
var ie = document.frames["frame1"].document;
|
||||
ret=ie.innerText;
|
||||
}
|
||||
return ret+"";
|
||||
}
|
||||
|
||||
var count=0;
|
||||
|
||||
function encoded_submit(){
|
||||
var mark="<?php echo isset($id)?'problem_id':'cid';?>";
|
||||
var problem_id=document.getElementById(mark);
|
||||
|
||||
if(typeof(editor) != "undefined")
|
||||
$("#hide_source").val(editor.getValue());
|
||||
if(mark=='problem_id')
|
||||
problem_id.value='<?php if(isset($id)) echo $id?>';
|
||||
else
|
||||
problem_id.value='<?php if(isset($cid))echo $cid?>';
|
||||
|
||||
document.getElementById("frmSolution").target="_self";
|
||||
document.getElementById("encoded_submit_mark").name="encoded_submit";
|
||||
var source=$("#source").val();
|
||||
|
||||
if(typeof(editor) != "undefined") {
|
||||
source=editor.getValue();
|
||||
$("#hide_source").val(encode64(utf16to8(source)));
|
||||
}else{
|
||||
$("#source").val(encode64(utf16to8(source)));
|
||||
}
|
||||
// source.value=source.value.split("").reverse().join("");
|
||||
// alert(source.value);
|
||||
document.getElementById("frmSolution").submit();
|
||||
}
|
||||
|
||||
function do_submit(){
|
||||
$("#Submit").attr("disabled","true"); // mouse has a bad key1
|
||||
if(using_blockly)
|
||||
translate();
|
||||
if(typeof(editor) != "undefined"){
|
||||
$("#hide_source").val(editor.getValue());
|
||||
}
|
||||
var mark="<?php echo isset($id)?'problem_id':'cid';?>";
|
||||
var problem_id=document.getElementById(mark);
|
||||
if(mark=='problem_id')
|
||||
problem_id.value='<?php if (isset($id))echo $id?>';
|
||||
else
|
||||
problem_id.value='<?php if (isset($cid))echo $cid?>';
|
||||
document.getElementById("frmSolution").target="_self";
|
||||
|
||||
<?php if(isset($_GET['spa'])){?>
|
||||
$.post("submit.php?ajax",$("#frmSolution").serialize(),function(data){fresh_result(data);});
|
||||
$("#Submit").prop('disabled', true);
|
||||
$("#TestRub").prop('disabled', true);
|
||||
count=<?php echo $OJ_SUBMIT_COOLDOWN_TIME?> * 2 ;
|
||||
handler_interval= window.setTimeout("resume();",1000);
|
||||
<?php }else{?>
|
||||
document.getElementById("frmSolution").submit();
|
||||
<?php }?>
|
||||
|
||||
}
|
||||
|
||||
var handler_interval;
|
||||
|
||||
function do_test_run(){
|
||||
if( handler_interval) window.clearInterval( handler_interval);
|
||||
var loader="<img width=18 src=image/loader.gif>";
|
||||
var tb=window.document.getElementById('result');
|
||||
var source=$("#source").val();
|
||||
if(typeof(editor) != "undefined") {
|
||||
source=editor.getValue();
|
||||
$("#hide_source").val(source);
|
||||
}
|
||||
if(source.length<10) return alert("too short!");
|
||||
if(tb!=null)tb.innerHTML=loader;
|
||||
|
||||
var mark="<?php echo isset($id)?'problem_id':'cid';?>";
|
||||
var problem_id=document.getElementById(mark);
|
||||
problem_id.value=-problem_id.value;
|
||||
document.getElementById("frmSolution").target="testRun";
|
||||
//$("#hide_source").val(editor.getValue());
|
||||
//document.getElementById("frmSolution").submit();
|
||||
$.post("submit.php?ajax",$("#frmSolution").serialize(),function(data){fresh_result(data);});
|
||||
$("#Submit").prop('disabled', true);
|
||||
$("#TestRub").prop('disabled', true);
|
||||
problem_id.value=-problem_id.value;
|
||||
count=<?php echo $OJ_SUBMIT_COOLDOWN_TIME?> * 2 ;
|
||||
handler_interval= window.setTimeout("resume();",1000);
|
||||
}
|
||||
function resume(){
|
||||
count--;
|
||||
var s=$("#Submit")[0];
|
||||
var t=$("#TestRub")[0];
|
||||
if(count<0){
|
||||
s.disabled=false;
|
||||
if(t!=null)t.disabled=false;
|
||||
$("#Submit").text("<?php echo $MSG_SUBMIT?>");
|
||||
if(t!=null)t.value="<?php echo $MSG_TR?>";
|
||||
if( handler_interval) window.clearInterval( handler_interval);
|
||||
if($("#vcode")!=null) $("#vcode").click();
|
||||
}else{
|
||||
$("#Submit").text("<?php echo $MSG_SUBMIT?>("+count+")");
|
||||
if(t!=null)t.value="<?php echo $MSG_TR?>("+count+")";
|
||||
window.setTimeout("resume();",1000);
|
||||
}
|
||||
}
|
||||
|
||||
function switchLang(lang){
|
||||
var langnames=new Array("c_cpp","c_cpp","pascal","java","ruby","sh","python","php","perl","csharp","objectivec","vbscript","scheme","c_cpp","c_cpp","lua","javascript","golang");
|
||||
editor.getSession().setMode("ace/mode/"+langnames[lang]);
|
||||
}
|
||||
|
||||
function reloadtemplate(lang){
|
||||
console.log("lang="+lang);
|
||||
document.cookie="lastlang="+lang;
|
||||
//alert(document.cookie);
|
||||
var url=window.location.href;
|
||||
var i=url.indexOf("sid=");
|
||||
if(i!=-1) url=url.substring(0,i-1);
|
||||
|
||||
<?php if (isset($OJ_APPENDCODE)&&$OJ_APPENDCODE){?>
|
||||
if(confirm("<?php echo $MSG_LOAD_TEMPLATE_CONFIRM?>"))
|
||||
document.location.href=url;
|
||||
<?php }?>
|
||||
switchLang(lang);
|
||||
}
|
||||
|
||||
|
||||
function openBlockly(){
|
||||
$("#source").hide();
|
||||
$("#TestRun").hide();
|
||||
$("#language")[0].scrollIntoView();
|
||||
$("#language").val(6).hide();
|
||||
//$("#language_span").hide();
|
||||
$("#EditAreaArroundInfos_source").hide();
|
||||
$('#blockly').html('<iframe name=\'frmBlockly\' width=90% height=580 src=\'blockly/demos/code/index.html\'></iframe>');
|
||||
$("#blockly_loader").hide();
|
||||
$("#transrun").show();
|
||||
//$("#Submit").prop('disabled', true);
|
||||
using_blockly=true;
|
||||
}
|
||||
|
||||
function translate(){
|
||||
var blockly=$(window.frames['frmBlockly'].document);
|
||||
var tb=blockly.find('td[id=tab_python]');
|
||||
var python=blockly.find('pre[id=content_python]');
|
||||
tb.click();
|
||||
blockly.find('td[id=tab_blocks]').click();
|
||||
if(typeof(editor) != "undefined") editor.setValue(python.text());
|
||||
else $("#source").val(python.text());
|
||||
$("#language").val(6);
|
||||
}
|
||||
|
||||
function loadFromBlockly(){
|
||||
translate();
|
||||
do_test_run();
|
||||
$("#frame_source").hide();
|
||||
// $("#Submit").prop('disabled', false);
|
||||
}
|
||||
function autoSave(){
|
||||
var mark="<?php echo isset($id)?'problem_id':'cid';?>";
|
||||
var problem_id=$("#"+mark).val();
|
||||
if(!!localStorage){
|
||||
let key="<?php echo $_SESSION[$OJ_NAME.'_user_id']?>source:"+location.href;
|
||||
if(typeof(editor) != "undefined")
|
||||
$("#hide_source").val(editor.getValue());
|
||||
localStorage.setItem(key,$("#hide_source").val());
|
||||
//console.log("autosaving "+key+"..."+new Date());
|
||||
}
|
||||
}
|
||||
$(document).ready(function(){
|
||||
$("#source").css("height",window.innerHeight-180);
|
||||
if(!!localStorage){
|
||||
let key="<?php echo $_SESSION[$OJ_NAME.'_user_id']?>source:"+location.href;
|
||||
let saved=localStorage.getItem(key);
|
||||
if(saved!=null&&saved!=""&&saved.length>editor.getValue().length){
|
||||
//let load=confirm("发现自动保存的源码,是否加载?(仅有一次机会)");
|
||||
//if(load){
|
||||
console.log("loading "+saved.length);
|
||||
if(typeof(editor) != "undefined")
|
||||
editor.setValue(saved);
|
||||
//}
|
||||
}
|
||||
|
||||
}
|
||||
window.setInterval('autoSave();',5000);
|
||||
});
|
||||
</script>
|
||||
|
||||
<script language="Javascript" type="text/javascript" src="<?php echo $OJ_CDN_URL?>include/base64.js"></script>
|
||||
|
||||
<?php if($OJ_ACE_EDITOR){ ?>
|
||||
<script src="include/vditor-adapter.js"></script>
|
||||
|
||||
<script>
|
||||
var editor = HustOJVditor.createDeferredCodeEditor({
|
||||
container: "source",
|
||||
hiddenField: "hide_source",
|
||||
theme: "ace/theme/chrome",
|
||||
fontSize: 20
|
||||
});
|
||||
switchLang(<?php echo isset($lastlang)?$lastlang:0 ; ?>);
|
||||
editor.setOptions({
|
||||
enableBasicAutocompletion: true,
|
||||
enableSnippets: true,
|
||||
enableLiveAutocompletion: false,
|
||||
fontSize: "20px"
|
||||
});
|
||||
</script>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($OJ_VCODE) { ?>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$("#vcode").attr("src", "vcode.php?" + Math.random());
|
||||
})
|
||||
</script>
|
||||
<?php } ?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,204 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title>
|
||||
<?php echo $OJ_NAME?>
|
||||
</title>
|
||||
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<center>
|
||||
<div>
|
||||
<h3><?php echo $MSG_CONTEST_ID?> : <?php echo $view_cid?> - <?php echo $view_title ?></h3>
|
||||
<p>
|
||||
<?php echo $view_description?>
|
||||
</p>
|
||||
<br>
|
||||
<?php echo $MSG_SERVER_TIME?> : <span id=nowdate > <?php echo date("Y-m-d H:i:s")?></span>
|
||||
<br>
|
||||
|
||||
<?php if (isset($OJ_RANK_LOCK_PERCENT)&&$OJ_RANK_LOCK_PERCENT!=0) { ?>
|
||||
Lock Board Time: <?php echo date("Y-m-d H:i:s", $view_lock_time) ?><br/>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($now>$end_time) {
|
||||
echo "<span class=text-muted>$MSG_Ended</span>";
|
||||
}
|
||||
else if ($now<$start_time) {
|
||||
echo "<span class=text-success>$MSG_Start </span>";
|
||||
echo "<span class=text-success>$MSG_TotalTime</span>"." ".formatTimeLength($end_time-$start_time);
|
||||
}
|
||||
else {
|
||||
echo "<span class=text-danger>$MSG_Running</span> ";
|
||||
echo "<span class=text-danger>$MSG_LeftTime</span>"." ".formatTimeLength($end_time-$now);
|
||||
}
|
||||
?>
|
||||
|
||||
<br><br>
|
||||
|
||||
<?php echo $MSG_CONTEST_STATUS?> :
|
||||
|
||||
<?php
|
||||
if ($now>$end_time)
|
||||
echo "<span class=text-muted>".$MSG_End."</span>";
|
||||
else if ($now<$start_time)
|
||||
echo "<span class=text-success>".$MSG_Start."</span>";
|
||||
else
|
||||
echo "<span class=text-danger>".$MSG_Running."</span>";
|
||||
?>
|
||||
|
||||
|
||||
<?php echo $MSG_CONTEST_OPEN?> :
|
||||
|
||||
<?php if ($view_private=='0')
|
||||
echo "<span class=text-primary>".$MSG_Public."</span>";
|
||||
else
|
||||
echo "<span class=text-danger>".$MSG_Private."</span>";
|
||||
?>
|
||||
|
||||
<br>
|
||||
|
||||
<?php echo $MSG_START_TIME?> : <?php echo $view_start_time?>
|
||||
<br>
|
||||
<?php echo $MSG_END_TIME?> : <?php echo $view_end_time?>
|
||||
<br><br>
|
||||
|
||||
<div class="btn-group">
|
||||
<a href="contest.php?cid=<?php echo $cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_PROBLEMS?></a>
|
||||
<a href="status.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_SUBMIT?></a>
|
||||
<a href="contestrank.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_STANDING?></a>
|
||||
<a href="contestrank-oi.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo "OI".$MSG_STANDING?></a>
|
||||
<a href="conteststatistics.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_STATISTICS?></a>
|
||||
<a href="suspect_list.php?cid=<?php echo $view_cid?>" class="btn btn-warning btn-sm"><?php echo $MSG_IP_VERIFICATION?></a>
|
||||
<?php if(isset($_SESSION[$OJ_NAME.'_'.'administrator']) || isset($_SESSION[$OJ_NAME.'_'.'contest_creator'])) {?>
|
||||
<a href="user_set_ip.php?cid=<?php echo $view_cid?>" class="btn btn-success btn-sm"><?php echo $MSG_SET_LOGIN_IP?></a>
|
||||
<a target="_blank" href="../../admin/contest_edit.php?cid=<?php echo $view_cid?>" class="btn btn-success btn-sm"><?php echo "EDIT"?></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</center>
|
||||
|
||||
<br>
|
||||
|
||||
<div>
|
||||
<center>
|
||||
<?php echo $MSG_CONTEST_SUSPECT1?><br><br>
|
||||
<table class="table-hover table-striped text-center" align=center width=90% border=0>
|
||||
<tr>
|
||||
<td>IP address</td>
|
||||
<td>Used ID</td>
|
||||
<td>Trace</td>
|
||||
<td>Time</td>
|
||||
<td>IP address count</td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
foreach ($result1 as $row) {
|
||||
echo "<tr>";
|
||||
echo "<td>".$row['ip']."</td>";
|
||||
echo "<td>".$row['user_id']."</td>";
|
||||
echo "<td>";
|
||||
echo "<a href='../userinfo.php?user=".$row['user_id']."'><sub>".$MSG_USERINFO."</sub></a> <sub>/</sub> ";
|
||||
echo "<a href='../status.php?cid=$contest_id&user_id=".$row['user_id']."'><sub>".$MSG_CONTEST." ".$MSG_SUBMIT."</sub></a>";
|
||||
echo "</td>";
|
||||
echo "<td>".$row['in_date'];
|
||||
echo "<td>".$row['c']."</td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
?>
|
||||
|
||||
</table>
|
||||
</center>
|
||||
</div>
|
||||
|
||||
<br><br>
|
||||
|
||||
<div>
|
||||
<center>
|
||||
<?php echo $MSG_CONTEST_SUSPECT2?><br><br>
|
||||
<table class="table-hover table-striped text-center" align=center width=90% border=0>
|
||||
<tr>
|
||||
<td>Used ID</td>
|
||||
<td>Trace</td>
|
||||
<td>Used IP address</td>
|
||||
<td>Time</td>
|
||||
<td>IP address count</td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
foreach ($result2 as $row) {
|
||||
echo "<tr>";
|
||||
echo "<td>".$row['user_id']."</td>";
|
||||
echo "<td>";
|
||||
echo "<a href='../userinfo.php?user=".$row['user_id']."'><sub>".$MSG_USERINFO."</sub></a> <sub>/</sub> ";
|
||||
echo "<a href='../status.php?cid=$contest_id&user_id=".$row['user_id']."'><sub>".$MSG_CONTEST." ".$MSG_SUBMIT."</sub></a>";
|
||||
echo "</td>";
|
||||
echo "<td>".$row['ip'];
|
||||
echo "<td>".$row['time'];
|
||||
echo "<td>".$row['c'];
|
||||
echo "</tr>";
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
</center>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- /container -->
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
|
||||
<script src="<?php echo $OJ_CDN_URL?>include/sortTable.js"></script>
|
||||
|
||||
<script>
|
||||
var diff = new Date("<?php echo date("Y/m/d H:i:s")?>").getTime()-new Date().getTime();
|
||||
//alert(diff);
|
||||
function clock() {
|
||||
var x,h,m,s,n,xingqi,y,mon,d;
|
||||
var x = new Date(new Date().getTime()+diff);
|
||||
y = x.getYear()+1900;
|
||||
|
||||
if (y>3000)
|
||||
y -= 1900;
|
||||
|
||||
mon = x.getMonth()+1;
|
||||
d = x.getDate();
|
||||
xingqi = x.getDay();
|
||||
h = x.getHours();
|
||||
m = x.getMinutes();
|
||||
s = x.getSeconds();
|
||||
n = y+"-"+(mon>=10?mon:"0"+mon)+"-"+(d>=10?d:"0"+d)+" "+(h>=10?h:"0"+h)+":"+(m>=10?m:"0"+m)+":"+(s>=10?s:"0"+s);
|
||||
|
||||
//alert(n);
|
||||
document.getElementById('nowdate').innerHTML = n;
|
||||
setTimeout("clock()",1000);
|
||||
}
|
||||
clock();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,181 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title>
|
||||
<?php echo $OJ_NAME?>
|
||||
</title>
|
||||
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
<center>
|
||||
<div>
|
||||
<h3><?php echo $MSG_CONTEST_ID?> : <?php echo $view_cid?> - <?php echo $view_title ?></h3>
|
||||
<p>
|
||||
<?php echo $view_description?>
|
||||
</p>
|
||||
<br>
|
||||
<?php echo $MSG_SERVER_TIME?> : <span id=nowdate > <?php echo date("Y-m-d H:i:s")?></span>
|
||||
<br>
|
||||
|
||||
<?php if (isset($OJ_RANK_LOCK_PERCENT)&&$OJ_RANK_LOCK_PERCENT!=0) { ?>
|
||||
Lock Board Time: <?php echo date("Y-m-d H:i:s", $view_lock_time) ?><br/>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($now>$end_time) {
|
||||
echo "<span class=text-muted>$MSG_Ended</span>";
|
||||
}
|
||||
else if ($now<$start_time) {
|
||||
echo "<span class=text-success>$MSG_Start </span>";
|
||||
echo "<span class=text-success>$MSG_TotalTime</span>"." ".formatTimeLength($end_time-$start_time);
|
||||
}
|
||||
else {
|
||||
echo "<span class=text-danger>$MSG_Running</span> ";
|
||||
echo "<span class=text-danger>$MSG_LeftTime</span>"." ".formatTimeLength($end_time-$now);
|
||||
}
|
||||
?>
|
||||
|
||||
<br><br>
|
||||
|
||||
<?php echo $MSG_CONTEST_STATUS?> :
|
||||
|
||||
<?php
|
||||
if ($now>$end_time)
|
||||
echo "<span class=text-muted>".$MSG_End."</span>";
|
||||
else if ($now<$start_time)
|
||||
echo "<span class=text-success>".$MSG_Start."</span>";
|
||||
else
|
||||
echo "<span class=text-danger>".$MSG_Running."</span>";
|
||||
?>
|
||||
|
||||
|
||||
<?php echo $MSG_CONTEST_OPEN?> :
|
||||
|
||||
<?php if ($view_private=='0')
|
||||
echo "<span class=text-primary>".$MSG_Public."</span>";
|
||||
else
|
||||
echo "<span class=text-danger>".$MSG_Private."</span>";
|
||||
?>
|
||||
|
||||
<br>
|
||||
|
||||
<?php echo $MSG_START_TIME?> : <?php echo $view_start_time?>
|
||||
<br>
|
||||
<?php echo $MSG_END_TIME?> : <?php echo $view_end_time?>
|
||||
<br><br>
|
||||
|
||||
<div class="btn-group">
|
||||
<a href="contest.php?cid=<?php echo $cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_PROBLEMS?></a>
|
||||
<a href="status.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_MY_SUBMISSIONS?></a>
|
||||
<a href="contestrank.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_STANDING?></a>
|
||||
<a href="contestrank-oi.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo "OI".$MSG_STANDING?></a>
|
||||
<a href="conteststatistics.php?cid=<?php echo $view_cid?>" class="btn btn-primary btn-sm"><?php echo $MSG_STATISTICS?></a>
|
||||
<a href="suspect_list.php?cid=<?php echo $view_cid?>" class="btn btn-warning btn-sm"><?php echo $MSG_IP_VERIFICATION?></a>
|
||||
<?php if(isset($_SESSION[$OJ_NAME.'_'.'administrator']) || isset($_SESSION[$OJ_NAME.'_'.'contest_creator'])) {?>
|
||||
<a href="user_set_ip.php?cid=<?php echo $view_cid?>" class="btn btn-success btn-sm"><?php echo $MSG_SET_LOGIN_IP?></a>
|
||||
<a target="_blank" href="../../admin/contest_edit.php?cid=<?php echo $view_cid?>" class="btn btn-success btn-sm"><?php echo "EDIT"?></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</center>
|
||||
|
||||
<br>
|
||||
|
||||
<?php
|
||||
if ($result2=="changed")
|
||||
echo "<center><h4 class='text-danger'>User ".htmlentities($_POST['user_id'], ENT_QUOTES, 'UTF-8')."'s Login IP Changed to ".$ip."</h4></center>";
|
||||
else
|
||||
echo "<center><h4 class='text-danger'>Login IP Change</h4></center>";
|
||||
?>
|
||||
|
||||
<center>
|
||||
<form action=user_set_ip.php?cid=<?php echo $view_cid?> method=post class="form-horizontal">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-offset-2 col-sm-3 control-label"><?php echo $MSG_USER_ID?></label>
|
||||
<?php if(isset($_GET['uid'])) { ?>
|
||||
<div class="col-sm-3"><input name="user_id" class="form-control" value="<?php echo htmlentities($_GET['uid'], ENT_QUOTES, 'UTF-8');?>" type="text" required ></div>
|
||||
<?php } else if(isset($_POST['user_id'])) { ?>
|
||||
<div class="col-sm-3"><input name="user_id" class="form-control" value="<?php echo htmlentities($_POST['user_id'], ENT_QUOTES, 'UTF-8');?>" type="text" required ></div>
|
||||
<?php } else { ?>
|
||||
<div class="col-sm-3"><input name="user_id" class="form-control" placeholder="<?php echo $MSG_USER_ID."*"?>" type="text" required ></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-offset-2 col-sm-3 control-label"><?php echo "New IP"?></label>
|
||||
<?php if(isset($_POST['ip'])) { ?>
|
||||
<div class="col-sm-3"><input name="ip" class="form-control" value="<?php echo htmlentities($_POST['ip'], ENT_QUOTES, 'UTF-8')?>" type="text" autocomplete="off" required ></div>
|
||||
<?php } else { ?>
|
||||
<div class="col-sm-3"><input name="ip" class="form-control" placeholder="<?php echo "?.?.?.?*"?>" type="text" autocomplete="off" required ></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-4 col-sm-2">
|
||||
<button name="do" type="hidden" value="do" class="btn btn-default btn-block" ><?php echo $MSG_SAVE; ?></button>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<button name="submit" type="reset" class="btn btn-default btn-block"><?php echo $MSG_RESET?></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</center>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- /container -->
|
||||
<!-- Bootstrap core JavaScrip
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
|
||||
<script src="<?php echo $OJ_CDN_URL?>include/sortTable.js"></script>
|
||||
|
||||
<script>
|
||||
var diff = new Date("<?php echo date("Y/m/d H:i:s")?>").getTime()-new Date().getTime();
|
||||
//alert(diff);
|
||||
function clock() {
|
||||
var x,h,m,s,n,xingqi,y,mon,d;
|
||||
var x = new Date(new Date().getTime()+diff);
|
||||
y = x.getYear()+1900;
|
||||
|
||||
if (y>3000)
|
||||
y -= 1900;
|
||||
|
||||
mon = x.getMonth()+1;
|
||||
d = x.getDate();
|
||||
xingqi = x.getDay();
|
||||
h = x.getHours();
|
||||
m = x.getMinutes();
|
||||
s = x.getSeconds();
|
||||
n = y+"-"+(mon>=10?mon:"0"+mon)+"-"+(d>=10?d:"0"+d)+" "+(h>=10?h:"0"+h)+":"+(m>=10?m:"0"+m)+":"+(s>=10?s:"0"+s);
|
||||
|
||||
//alert(n);
|
||||
document.getElementById('nowdate').innerHTML = n;
|
||||
setTimeout("clock()",1000);
|
||||
}
|
||||
clock();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,161 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
|
||||
<title><?php echo $OJ_NAME?></title>
|
||||
<?php include("template/$OJ_TEMPLATE/css.php");?>
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<?php include("template/$OJ_TEMPLATE/nav.php");?>
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="jumbotron">
|
||||
|
||||
<center>
|
||||
<table class="table table-striped" id=statics width=70%>
|
||||
<caption>
|
||||
<?php echo $user."--".htmlentities($nick,ENT_QUOTES,"UTF-8")?>
|
||||
<?php
|
||||
echo "<a href=mail.php?to_user=$user>$MSG_MAIL</a>";
|
||||
?>
|
||||
</caption>
|
||||
<tr ><td width=15%><?php echo $MSG_Number?></td><td width=25% align=center><?php echo $Rank?></td><td width=70% align=center>Solved Problems List</td></tr>
|
||||
<tr ><td><?php echo $MSG_SOVLED?><td align=center><a href='status.php?user_id=<?php echo $user?>&jresult=4'><?php echo $AC?></td></a>
|
||||
<td rowspan=14 align=center>
|
||||
<script language='javascript'>
|
||||
function p(id,c){
|
||||
document.write("<a href=problem.php?id="+id+">"+id+" </a>(<a href='status.php?user_id=<?php echo $user?>&problem_id="+id+"'>"+c+"</a>)");
|
||||
|
||||
}
|
||||
<?php $sql="SELECT `problem_id`,count(1) from solution where `user_id`=? and result=4 group by `problem_id` ORDER BY `problem_id` ASC";
|
||||
if ($result=pdo_query($sql,$user)){
|
||||
foreach($result as $row)
|
||||
echo "p($row[0],$row[1]);";
|
||||
}
|
||||
|
||||
?>
|
||||
</script>
|
||||
<div id=submission style="width:600px;height:300px" ></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr ><td><?php echo $MSG_SUBMIT?></td><td align=center><a href='status.php?user_id=<?php echo $user?>'><?php echo $Submit?></a></td></tr>
|
||||
<?php
|
||||
foreach($view_userstat as $row){
|
||||
//i++;
|
||||
echo "<tr ><td>".$jresult[$row[0]]."</td><td align=center><a href=status.php?user_id=$user&jresult=".$row[0]." >".$row[1]."</a></td></tr>";
|
||||
}
|
||||
//}
|
||||
echo "<tr id=pie ><td>Statistics</td><td><div id='PieDiv' style='position:relative;height:105px;width:120px;'></div></td></tr>";
|
||||
?>
|
||||
<script type="text/javascript" src="include/wz_jsgraphics.js"></script>
|
||||
<script type="text/javascript" src="include/pie.js"></script>
|
||||
<script language="javascript">
|
||||
var y= new Array ();
|
||||
var x = new Array ();
|
||||
var dt=document.getElementById("statics");
|
||||
var data=dt.rows;
|
||||
var n;
|
||||
for(var i=3;dt.rows[i].id!="pie";i++){
|
||||
n=dt.rows[i].cells[0];
|
||||
n=n.innerText || n.textContent;
|
||||
x.push(n);
|
||||
n=dt.rows[i].cells[1].firstChild;
|
||||
n=n.innerText || n.textContent;
|
||||
//alert(n);
|
||||
n=parseInt(n);
|
||||
y.push(n);
|
||||
}
|
||||
var mypie= new Pie("PieDiv");
|
||||
mypie.drawPie(y,x);
|
||||
//mypie.clearPie();
|
||||
</script>
|
||||
<tr ><td>School:<td align=center><?php echo $school?></tr>
|
||||
<tr ><td>Email:<td align=center>[email protected]<?php// echo $email?></tr>
|
||||
</table>
|
||||
<?php
|
||||
if(isset($_SESSION[$OJ_NAME.'_'.'administrator'])){
|
||||
?><table border=1>
|
||||
<thead><tr class=toprow><th>UserID</th><th>Password</th><th>IP</th><th>Time</th></tr></thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$cnt=0;
|
||||
foreach($view_userinfo as $row){
|
||||
if ($cnt)
|
||||
echo "<tr class='oddrow'>";
|
||||
else
|
||||
echo "<tr class='evenrow'>";
|
||||
for($i=0;$i<count($row)/2;$i++){
|
||||
echo "<td>";
|
||||
echo "\t".$row[$i];
|
||||
echo "</td>";
|
||||
}
|
||||
echo "</tr>";
|
||||
$cnt=1-$cnt;
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</center>
|
||||
</div>
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<?php include("template/$OJ_TEMPLATE/js.php");?>
|
||||
|
||||
<script language="javascript" type="text/javascript" src="include/jquery.flot.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
var d1 = [];
|
||||
var d2 = [];
|
||||
<?php
|
||||
foreach($chart_data_all as $k=>$d){
|
||||
?>
|
||||
d1.push([<?php echo $k?>, <?php echo $d?>]);
|
||||
<?php }?>
|
||||
<?php
|
||||
foreach($chart_data_ac as $k=>$d){
|
||||
?>
|
||||
d2.push([<?php echo $k?>, <?php echo $d?>]);
|
||||
<?php }?>
|
||||
//var d2 = [[0, 3], [4, 8], [8, 5], [9, 13]];
|
||||
// a null signifies separate line segments
|
||||
var d3 = [[0, 12], [7, 12], null, [7, 2.5], [12, 2.5]];
|
||||
$.plot($("#submission"), [
|
||||
{label:"<?php echo $MSG_SUBMIT?>",data:d1,lines: { show: true }},
|
||||
{label:"<?php echo $MSG_AC?>",data:d2,bars:{show:true}} ],{
|
||||
xaxis: {
|
||||
mode: "time"
|
||||
//, max:(new Date()).getTime()
|
||||
//,min:(new Date()).getTime()-100*24*3600*1000
|
||||
},
|
||||
grid: {
|
||||
backgroundColor: { colors: ["#fff", "#333"] }
|
||||
}
|
||||
});
|
||||
});
|
||||
//alert((new Date()).getTime());
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user