You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					21 lines
				
				278 B
			
		
		
			
		
	
	
					21 lines
				
				278 B
			| 
								 
											8 years ago
										 
									 | 
							
								<?php
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								/**
							 | 
						||
| 
								 | 
							
								 * @var $this \yii\web\View
							 | 
						||
| 
								 | 
							
								 * @var $view string
							 | 
						||
| 
								 | 
							
								 * @var $posts \core\entities\post\Post[]
							 | 
						||
| 
								 | 
							
								 * @var $url string
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								?>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									<?php foreach ($posts as $post): ?>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										<?= $this->render($view . '_item', [
							 | 
						||
| 
								 | 
							
											'post' => $post,
							 | 
						||
| 
								 | 
							
											'url' => $url,
							 | 
						||
| 
								 | 
							
										]) ?>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									<?php endforeach; ?>
							 |