Esempio n. 1
0
	
	</div>

	
	<hr class="style-seven">
	<div>
		<div class="table-responsive">  
	    	<table id="results-grid" class="table ">
	    	
	    	<?php 
$material = new Material();
//$material = Material::get();
$records_per_page = 5;
$newquery = $material->paging($_SESSION['last_query'], $records_per_page);
$material->results_view($newquery, $_SESSION['last_terms']);
$material->paginglink($_SESSION['last_query'], $_SESSION['last_terms'], $records_per_page);
?>
 
				
			</table>
			<?php 
if (!isset($_SESSION['username'])) {
    ?>
				<a href="?page=login_signup" id="confirmLoan-Button" type="button" class="btn btn-default">Επιβεβαίωση Δανεισμού
				<span class="glyphicon glyphicon-chevron-right"></span>
				</a>
			<?php 
} else {
    ?>
				<a class="btn btn-primary"  href="?page=confirmLoan" id="confirmLoan-Button">Επιβεβαίωση Δανεισμού
					<span class="glyphicon glyphicon-chevron-right"></span>