database_query("SELECT * FROM bateworldcom_zips.bateoff_contestants ORDER BY id"); $x=0; while($row=$database->database_fetch_array($query)){ $contestants[$x]["username"]=$row["name"]; $contestants[$x]["id"]=$row["id"]; $contestants[$x]["picture"]=$row["picture"]; $contestants[$x]["bio"]=$row["bio"]; $x++; } shuffle($contestants); $x=0;$y=1; foreach($contestants as $contestant){?>
', ''); " data-toggle="modal" data-target="#myModal">" class="img-responsive" style="margin:auto;"> " target="_blank">


Total BateOff Votes:
database_result($database->database_query("SELECT COUNT(*) FROM bateworldcom_zips.bateoffvotes"),0);?>
VOTE ON EACH CHALLENGE BELOW!
 


database_query("SELECT * FROM bateworldcom_zips.bateoff WHERE approved=1 ORDER BY orderby ASC"); $x=0; while($row=$database->database_fetch_array($query)){ if($x>0 && $x%2==0){?>
database_query("SELECT * FROM bateworldcom_zips.bateoff WHERE approved=0 ORDER BY orderby ASC"); while($row=$database->database_fetch_array($query)){ if($x>0 && $x%2==0){?>
" class="img-responsive center-block lozad bateoffimage test123 grayscale" style="filter: url(/js/filters/filters.svg#grayscale); filter: gray; -webkit-filter: grayscale(100%)!important; -moz-filter: grayscale(100%)!important; -ms-filter: grayscale(100%)!important; -o-filter: grayscale(100%)!important;" >

assign('modalcontent', $modal); include "footer.php"; ?>