Example #1
0
function sidebar_common()
{
    return sidebar_item_content_upcoming_stardard_contests() . sidebar_item_content_news();
}
Example #2
0
          <h1>Welcome to BNUOJ 3.0!</h1>
          <p>
            IE 7+, Opera 11+, Safari 5+, Firefox 5+ and Chrome 14+ are <span class="badge badge-important"><b>REQUIRED</b></span> according to <a href="https://github.com/twitter/bootstrap/wiki/Browser-Compatibility" target='_blank'>Bootstrap compatibility page</a>.<br />
            If you have none of them, click <a href='../bnuoj' target='_blank'>here</a> for BNUOJ 2.0, or <a href='../contest' target='_blank'>here</a> for the original BNUOJ.<br />
            Enjoy and have fun!
          </p>
        </div>
        <div class="row-fluid">
          <div class="span3">
<?php 
echo sidebar_item_content_vjstatus_index();
?>
          </div>
          <div class="span4">
<?php 
echo sidebar_item_content_news(false);
?>
          </div>
          <div class="span5">
         
<?php 
/** Running standard contests **/
$running_contest = contest_get_standard_running_list();
if (sizeof($running_contest) > 0) {
    ?>
            <h3>Running Contests</h3>
            <p>
<?php 
    foreach ($running_contest as $contest) {
        ?>
              <a href='contest_show.php?cid=<?php