<?php  include("../config/config.php");?>
<?php $report = mysql_query("SELECT * FROM books") or die(mysql_error()) ?>
<div class="report_header"><h4>Republic of the Philippines</h4><h3>Technological University of the Philippines - Visayas</h3><h4>Captain Sabi St., Zone II</h4><h4>Talisay City, Negros Occidental</h4><br /><h4>Report For All books Recorded</h4></div>
<table class="print">
<tr>
<th class="title">TITLE</th>
<th>AUTHOR</th>
<th>ISBN NUMBER</th>
<th>CLASS NUMBER</th>
</tr>
<?php WHILE($data = mysql_fetch_array($report)){ ?>
	<tr>
	<td class="title"><?php echo $data['title']; ?></td>
	<td><?php echo $data['author']; ?></td>
	<td><?php echo $data['isbn_no']; ?></td>
	<td><?php echo $data['call_number']; ?></td>
	</tr>
<?php } ?>
</table>
<script>
/* $(document).ready( function() {
	$('.print').click( function() {
	$('.result').printElement({ 
	overrideElementCSS:['css/print.css',	{ href:'css/print.css',media:'print'}],
	printMode:'popup'	
	});
	})
}) */
</script>