Exemplo n.º 1
0
$band_id = $_POST['band_id'];
/*----- CONTENT ------*/
?>

<div class="row">
  <div class="twelve columns">
	<a href="madness.php"><img src="images/mrm2016-banner.jpg" alt="Modern Rock Madness 2016" width="930px"></a>
    <div id="mrm_text">
  <p>Download your Modern Rock Madness <?php 
echo date('Y');
?>
 brackets <a href="https://od.lk/d/112332143_x1tm6/YNot_MRM2016_Bracket.pdf">here</a> and listen all week as Y-Not bands go head to head! Help your favorites advance to the next round by voting here, or if you're listening on the go, you can text your votes in to 267-293-YNOT.  Plus get more color commentary on each day's matches by visiting our partner site <a href=" http://www.tristateindie.com/category/y-not-radio/" target="_new">Tri State Indie</a>.</p>
    <p><strong>Want to sponsor a match?</strong> Some are still available <a href="/donate.php">here</a>.</p>
      <div class="social">
        <a href="https://twitter.com/share" class="twitter-share-button" data-text="Tune in now to @YNotRadio's Modern Rock Madness - 64 bands go head to head! #modernrockmadness" data-count="none" data-via="YNotRadio">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
        <div class="fb-like" data-href="http://www.ynotradio.net/madness.php?2016" data-send="true" data-width="450" data-show-faces="false"></div>
      </div>
    </div>
<?php 
if ($band_id && $match_id) {
    vote($match_id, $band_id, false);
}
show_match($current_match['id']);
display_first_row();
display_bracket();
?>

  </div>
</div>
<?php 
require "partials/_footer.php";
function displayMatch()
{
    $output = show_match();
    return $output;
}