Skip to content

Commit

Permalink
fixed contest_mod.php missing semicolon problem
Browse files Browse the repository at this point in the history
  • Loading branch information
BLumia committed Jun 14, 2017
1 parent db5f86b commit dc3e435
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 21 deletions.
2 changes: 1 addition & 1 deletion api/contest_mod.php
Expand Up @@ -100,7 +100,7 @@
if ($affectedRowCnt > 0) echo "Insert ".$affectedRowCnt." rows to Privilege database for required member of a contest.<br/>";
}

echo "Task Complete.<br/>"
echo "Task Complete.<br/>";
echo "<a href='../admin/contest_editor.php?cid={$cid}'>Click HERE</a> to continue edit or <a href='../contest.php?cid={$cid}'>Click HERE</a> to see this contest.";
/*
echo "<script>window.location.href=\"contest_list.php\";</script>";
Expand Down
18 changes: 14 additions & 4 deletions pages/videolibrary.php
@@ -1,4 +1,14 @@

<!DOCTYPE html>
<html>
<head>
<?php require_once('./include/common_head.inc.php'); ?>
<title>Video Library</title>
<style>
.panel {
margin-bottom: 0px;
}
</style>
</head>
<body>
<?php require("./pages/components/navbar.php");?>

Expand All @@ -11,7 +21,7 @@
<i class="fa fa-qq"></i> 郑州师院15级C语言交流群:<span id="qqgroup">463927243</span>
</li>
<li class="social-forum">
<a class="" href="/discuss/discuss.php" target="_blank"><i class="fa fa-comments"></i> ZZNUOJ讨论版</a>
<a class="" href="./discuss.php" target="_blank"><i class="fa fa-comments"></i> 讨论版</a>
</li>
<?php if ($VideoManager) { ?>
<li>
Expand Down Expand Up @@ -58,5 +68,5 @@
</div><!--main wrapper end-->
<?php require("./pages/components/footer.php");?>

</body>
</body>
</html>
18 changes: 2 additions & 16 deletions videolibrary.php
@@ -1,17 +1,5 @@
<?php session_start(); ?>
<!DOCTYPE html>
<html>
<head>
<?php require_once('./include/common_head.inc.php'); ?>
<title>Video Library</title>
<style>
.panel {
margin-bottom: 0px;
}
</style>
</head>

<?php
<?php
session_start();
//Vars
require_once('./include/setting_oj.inc.php');
$VideoManager = (isset($_SESSION['administrator'])||isset( $_SESSION['op_PageModifier'] )) ? true:false;
Expand Down Expand Up @@ -47,5 +35,3 @@
else
require("./pages/videolibrary.php");
?>

</html>

0 comments on commit dc3e435

Please sign in to comment.