forked from fr/deguapp
		
	pages: home, login, signup, signin, add are almost done
This commit is contained in:
		
							
								
								
									
										20
									
								
								frontend/pages/beer_get/beer_get.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								frontend/pages/beer_get/beer_get.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
<section class="card-wrapper f-center" style="">
 | 
			
		||||
<?php
 | 
			
		||||
if(Router::getID() == null) {
 | 
			
		||||
for ($i=0; $i < 8; $i++) { 
 | 
			
		||||
?>
 | 
			
		||||
	<div class="card card-beer f-col">
 | 
			
		||||
		<img width="200px" id="<?= $i ?>" src="https://live.staticflickr.com/65535/49818361653_351771faae_h.jpg" alt="beer image">
 | 
			
		||||
		<h2>Beer Name</h2>
 | 
			
		||||
		<p>12 Degree</p>
 | 
			
		||||
	</div>
 | 
			
		||||
<?php
 | 
			
		||||
}} else { ?>
 | 
			
		||||
	<div class="card card-beer f-col">
 | 
			
		||||
		<img width="200px" id="<?= $i ?>" src="https://live.staticflickr.com/65535/49818361653_351771faae_h.jpg" alt="beer image">
 | 
			
		||||
		<h2>Beer Name</h2>
 | 
			
		||||
		<p>12 Degree</p>
 | 
			
		||||
	</div>
 | 
			
		||||
<?php
 | 
			
		||||
}?>
 | 
			
		||||
</section>
 | 
			
		||||
		Reference in New Issue
	
	Block a user