<header id="fh5co-header" class="fh5co-cover fh5co-cover-sm" role="banner" style="background-image:url(images/blog.jpg);" data-stellar-background-ratio="0.5">
	<div class="overlay"></div>
	<div class="container">
		<div class="row">
			<div class="col-md-8 col-md-offset-2 text-center">
				<div class="display-t">
					<div class="display-tc animate-box" data-animate-effect="fadeIn">
						<h1>Inventaris</h1>
						<h2><?Php echo"$gi[nama_website]";?></h2>
					</div>
				</div>
			</div>
		</div>
	</div>
</header>

<div id="fh5co-blog">
	<div class="container">
		<div class="row">
			
				<?Php
					$id_jurusan = $_GET['id'];
					$inventaris = mysqli_query($conn,"SELECT 
													id,kd_jurusan,nama_barang,jumlah,kondisi,tahun,foto 
												FROM t_inventaris_akademik
												WHERE
													kd_jurusan = '$id_jurusan'
												ORDER BY foto DESC
											");
					while($iv = mysqli_fetch_array($inventaris)){
					
				?>
			<div class="col-lg-4 col-md-4">
				<div class="fh5co-blog animate-box">
				    <?Php
					if(empty($iv[foto])){
                    ?>
    					<img class="img-responsive" src="admin/foto_pengumuman/face-icon-png.png" alt="<?Php echo"$iv[nama]";?>"> 
    				<?Php
    					}else{
    				?>
    					<img class="img-responsive" src="admin/foto_pengumuman/<?Php echo"$iv[foto]";?>" alt="<?Php echo"$iv[nama]";?>" >
    				<?Php
    					}
    				?>
					<div class="blog-text">
						<span class="posted_on"><i><?Php echo"$iv[tahun]";?></i></span>
						<span class="comment"><?Php echo"$iv[jumlah]";?>pcs</span>
						<p><b><?Php echo"$iv[nama_barang]";?></b></p>
						<i><?Php echo"$iv[kondisi]";?></i>
					</div>
				</div>
			</div>
				<?Php
					}
				?>
			
		</div>
	</div>
</div>