示例#1
0
?>
						</tbody>
					</table>
				</div>
				
				<div class="six wide column index_table">
					<h2>Últimas Perguntas</h2>
					<table class="ui celled unstackable table">
						<thead>
							<tr>
								<th>Pergunta</th>
							</tr>
						</thead>
						<tbody>
							<?php 
$questions = $question->getLatest();
?>
							<?php 
if ($questions == null) {
    ?>
								<tr><td colspan="2" style="text-align: center">Nenhuma pergunta encontrada :(</td></tr>
							<?php 
} else {
    ?>
								<?php 
    foreach ($questions as $single) {
        ?>
									<tr>
									<td><a href="<?php 
        echo WEB_PATH;
        ?>