Exemple #1
0
</div>
<div class='page'>
<a href="map.php" class="btn btn-block btn-primary"><span class='icon-map-marker icon-white'></span>站点地图</a>
</div>
<table class='table table-striped table-condensed'>
<?php 
$s = "APWTMECRD";
for ($i = 0; $i < strlen($s); $i++) {
    ?>
<tr><td><?php 
    echo 评测结果($s[$i]);
    ?>
</td>
<td><?php 
    echo 评测信息($s[$i]);
    ?>
</td></tr>
<?php 
}
?>
</table>
</div>
<div class='span9'>
<div class='page'>
<?php 
echo 输出文本($SET['global_help']);
?>
</div>
</div>
<?php 
include_once "../include/footer.php";
Exemple #2
0
    ?>
</div>
</div>
</div>
<div class='alert'>
<p>编译失败:</p>
<pre class="prettyprint"><?php 
    echo htmlspecialchars($Cp->compilemessage);
    ?>
</pre>
</div>
<?php 
}
$Cp->unlock();
?>
</div>
<script type="text/javascript">SyntaxHighlighter.all();</script>
</div>
<div class='footer'>
<?php 
echo 输出文本("进程运行 %processtime% s ,处理完成数据库 %querytimes% 次。");
?>
由 <a href="https://github.com/KingFree/COGS-by-Kingfree" target="_blank">CmYkRgB123 在线评测系统</a> 强力驱动,版本 <?php 
echo $cfg['Version'];
?>
 。
</div>
</div>
</body>
</html>
Exemple #3
0
<?php 
$sql = "select comptime.cbid, comptime.ctid, compbase.cname, comptime.intro from comptime, compbase where comptime.cbid=compbase.cbid order by comptime.ctid desc";
$cnt = $p->dosql($sql);
for ($i = 0; $i < $cnt; $i++) {
    $d = $p->rtnrlt($i);
    echo "<span id='{$d['ctid']}'>";
    echo "<a href=\"../contest/problem.php?ctid={$d['ctid']}\">{$d['cname']}</a>\n";
    echo nl2br(sp2n(htmlspecialchars($d[intro])));
    echo "</span>";
}
?>
<h2><a href="../user/index.php">用户</a></h2>
<?php 
$sql = "select uid, usr, nickname from userinfo order by grade desc";
$cnt = $p->dosql($sql);
for ($i = 0; $i < $cnt; $i++) {
    $d = $p->rtnrlt($i);
    echo "<a href=\"../user/detail.php?uid={$d['uid']}\">{$d['nickname']} ({$d['usr']})</a>\n";
}
?>
<h2><a href="../docs/index.php">文档</a></h2>
<a href="../user/login.php">登录</a>
<a href="../user/register.php">注册</a>
<h2><a href="../docs/map.php">地图</a></h2>
<?php 
echo 输出文本($SET['global_map']);
?>
</div>
</div>
<?php 
include_once "../include/footer.php";
Exemple #4
0
echo date('Y-m-d H:i:s', time());
?>
</span>
以 <a href="http://getbootstrap.com/" target="_blank">Twitter Bootstrap</a> 作为界面框架,应用 <a href="/Bootstrap/css/<?php 
echo $_SESSION['user_style'];
?>
.min.css" target="_blank"><?php 
echo $_SESSION['user_style'];
?>
</a> 主题。
<?php 
echo 输出文本("进程运行 %processtime% s ,处理完成数据库 %querytimes% 次。");
?>
</p>
<?php 
echo 输出文本($SET['global_tail']);
?>
由 <a href="https://github.com/kingfree/cogs" target="_blank">CmYkRgB123 在线评测系统</a> 强力驱动,版本 <?php 
echo $cfg['Version'];
?>
 ,由 <a href="http://weibo.com/kingfree" target="_blank">王者自由</a> 二次开发。原作者 &copy; <a href="http://www.byvoid.com" target="_blank">BYVoid</a>,保留部分权利。
</p>
</div>
</div>
<?php 
/*
<!--[if IE 6]>
<script type="text/javascript" src="/Bootstrap-IE6/ie6.min.js"></script>
<![endif]-->
*/
?>
Exemple #5
0
?>
</div>
<div class='span8' id="index_title">
<div>
<?php 
echo 输出文本($SET['global_bulletin']);
?>
</div>
<div id='index'>
<?php 
echo 输出文本($SET['global_head']);
?>
</div>
<div>
<?php 
echo 输出文本($SET['global_index']);
?>
</div>
</div>
</div>
<div class='row-fluid'>
<div class='span4' id="index_problem">
<table class='table table-striped table-condensed table-bordered fiexd'>
<thead>
<tr>
<th style="min-width: 4ex;">PID</th>
<th>最新题目
<a href="problem/random.php" title="随机选择一道你没有通过的题目" class='btn btn-danger btn-mini pull-right' ><i class='icon icon-random icon-white'></i></a>
</th>
</thead>
</tr>