<?php require SCRIPTROOT . 'markdown.php'; SendResponse(array('result' => ParseMarkdown($text)));
<div class="row"> <h2 class="text-center"><?php echo $news['title']; ?> </h2> <h4 class="text-center"><?php echo date(DATETIME_FORMAT, $news['date']); ?> </h4> </div> <div class="row"> <div class="col-md-6 col-md-offset-3"> <hr /> <?php require SCRIPTROOT . 'markdown.php'; echo ParseMarkdown($news['content']); ?> </div> </div>
</div> </div> <div class="row"> <div class="col-md-8 col-md-offset-2"> <ol class="breadcrumb text-center"> <?php foreach ($game['links'] as $link) { echo '<li><a href="' . $link['url'] . '" target="_blank">' . $link['title'] . '</a></li>'; } ?> </ol> <br> <?php require SCRIPTROOT . 'markdown.php'; echo ParseMarkdown($game['description']); ?> <br> <hr/> <?php if ($ratingstate == RatingState::NotReady) { echo '<h5 class="text-center">Judging will be available soon!</h5>'; } else { if ($ratingstate == RatingState::NeedLogin) { echo '<h5 class="text-center">You must be <a href="' . $routes->generate('login') . '">logged in</a> to judge games.</h5>'; } else { if ($ratingstate == RatingState::OwnGame) { echo '<h5 class="text-center">Try voting on some other <a href="' . $routes->generate('games_list', array('id' => $id)) . '">games</a> instead of your own ;)</h5>'; } else { if ($ratingstate == RatingState::Ready) { require TEMPLATEROOT . 'formfeedback.php';