<td><?php 
        echo $post['no'];
        ?>
</td>
										<td><a href="view.php?page=<?php 
        echo $page;
        ?>
&amp;no=<?php 
        echo $post['no'];
        ?>
">
										<?php 
        echo $post['title'];
        ?>
</a> (<?php 
        echo $sparring->countComments($post['no'], 'sparring');
        ?>
)
										</td>
										<td><?php 
        echo $post['nickname'];
        ?>
</td>
										<td><?php 
        echo $post['writtenTime'];
        ?>
</td>
										<td><?php 
        echo $post['hits'];
        ?>
</td>
										<td><?php 
        echo $post['no'];
        ?>
</td>
										<td><a href="view.php?page=<?php 
        echo $page;
        ?>
&amp;no=<?php 
        echo $post['no'];
        ?>
">
										<?php 
        echo $post['title'];
        ?>
</a> (<?php 
        echo $review->countComments($post['no'], 'exerciseEpilogue');
        ?>
)
										</td>
										<td><?php 
        echo $post['nickname'];
        ?>
</td>
										<td><?php 
        echo $post['writtenTime'];
        ?>
</td>
										<td><?php 
        echo $post['hits'];
        ?>
</td>
										<td><?php 
        echo $post['no'];
        ?>
</td>
										<td><a href="view.php?page=<?php 
        echo $page;
        ?>
&amp;no=<?php 
        echo $post['no'];
        ?>
">
										<?php 
        echo $post['title'];
        ?>
</a> (<?php 
        echo $freeboard->countComments($post['no'], 'freeBoard');
        ?>
)
										</td>
										<td><?php 
        echo $post['nickname'];
        ?>
</td>
										<td><?php 
        echo $post['writtenTime'];
        ?>
</td>
										<td><?php 
        echo $post['hits'];
        ?>
</td>
										<td><?php 
        echo $post['no'];
        ?>
</td>
										<td><a href="view.php?page=<?php 
        echo $page;
        ?>
&amp;no=<?php 
        echo $post['no'];
        ?>
">
										<?php 
        echo $post['title'];
        ?>
</a> (<?php 
        echo $boxinglecture->countComments($post['no'], 'boxingLec');
        ?>
)
										</td>
										<td><?php 
        echo $post['nickname'];
        ?>
</td>
										<td><?php 
        echo $post['writtenTime'];
        ?>
</td>
										<td><?php 
        echo $post['hits'];
        ?>
</td>
										<td><?php 
        echo $post['no'];
        ?>
</td>
										<td><a href="view.php?page=<?php 
        echo $page;
        ?>
&amp;no=<?php 
        echo $post['no'];
        ?>
">
										<?php 
        echo $post['title'];
        ?>
</a> (<?php 
        echo $crossfitlecture->countComments($post['no'], 'crossfitLec');
        ?>
)
										</td>
										<td><?php 
        echo $post['nickname'];
        ?>
</td>
										<td><?php 
        echo $post['writtenTime'];
        ?>
</td>
										<td><?php 
        echo $post['hits'];
        ?>
</td>
        echo $post['no'];
        ?>
'>
								<div class='panel panel-default' id='item'>
									<div class='panel-body item'>
										<img src='<?php 
        echo empty($images) ? "/resources/crossfit.jpg" : "upload/files/" . $images[0]['fileName'];
        ?>
' height ='100%'/>
									</div>
									<div class='panel-footer'>
										<?php 
        echo $post['title'];
        ?>
(<?php 
        echo $breatheBoard->countComments($post['no'], 'breatheBoard');
        ?>
)
									</div>
								</div>
							</a>
						</div>
					<?php 
    }
}
?>
			</div>
			<!--
			<div class='row'>
				<div class='col-md-3 col-xs-12 col-md-offset-1'>
					<div class='panel panel-default' id='item'>
										<td><?php 
        echo $post['no'];
        ?>
</td>
										<td><a href="view.php?page=<?php 
        echo $page;
        ?>
&amp;no=<?php 
        echo $post['no'];
        ?>
">
										<?php 
        echo $post['title'];
        ?>
</a> (<?php 
        echo $diaryboard->countComments($post['no'], 'diaryBoard');
        ?>
)
										</td>
										<td><?php 
        echo $post['nickname'];
        ?>
</td>
										<td><?php 
        echo $post['writtenTime'];
        ?>
</td>
										<td><?php 
        echo $post['hits'];
        ?>
</td>