<div class="content">
	<div class="container" style="min-height:650px;">
		<div class="row">
			<div class="col-lg-12">
				<h2 class="page-header"><center><?=$judulpemenang?> <?=$periode?><center></h2> <!-- dianamiskeun-->
			</div>
			<?php 
				foreach ($query->result() as $row) {
					echo '
						<div class="col-lg-4 col-sm-4 text-center">
							<div class="grid">
								<figure class="effect-zoe">
									<img src="'.base_url().'assets/img/photo/'.$row->photo.'" alt="pemenang" class="img-responsive img-thumbnail"/>
								</figure>
								<h2 style="text-align:center;"> '.strtoupper($row->nama_calon).'</span> </h2>
							</div>
						</div>
					';  
				}
			?>
			<div class="col-md-8 col-sm-8">
				<section class="panel">
					<header class="panel-heading"></header>
					<div class="panel-body">
						<div id="hero-bar" class="graph"></div>
					</div>
				</section>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
	function autoRefresh() {
		location.reload();
	}
	setInterval(autoRefresh, 5000);
</script>