GOOGLE

aku nok ndi : /home/astwardha/public_html/polylibrary/librarian/
File Up :
aku nok ndi : /home/astwardha/public_html/polylibrary/librarian/referance.php

<?php include('header.php'); ?>
<?php include('session.php'); ?>
<?php include('navbar_books.php'); ?>
    <div class="container">
		<div class="margin-top">
			<div class="row">	
			<div class="span12">	
			   <div class="alert alert-info">
                                    <button type="button" class="close" data-dismiss="alert">&times;</button>
                                    <strong><i class="icon-user icon-large"></i>&nbsp;Books Table</strong>
                                </div>
						<!--  -->
								   <ul class="nav nav-pills">
										<li><a href="text_book.php">Text Book List</a></li>
										<li class="active"><a href="referance.php">Referance Books List</a></li>
										<li><a href="ordinance.php">Ordinance Books List</a></li>
										<li><a href="dashboard.php">Back to Home page</a></li>
									</ul>
						<!--  -->
						<center class="title">
						<h1>Books List</h1>
						</center>
                            <table cellpadding="0" cellspacing="0" border="0" class="table  table-bordered" id="example">
								<div class="pull-right">
								<a href="" onclick="window.print()" class="btn btn-info"><i class="icon-print icon-large"></i> Print</a>
								</div>
								<p><a href="add_books.php" class="btn btn-success"><i class="icon-plus"></i>&nbsp;Add Books</a></p>
                                <thead>
                                    <tr>
									    <th style="font-size: 12px; background-color: #4267B2; color: white;">Acc No.</th>                  
									    <th style="font-size: 12px; background-color: #4267B2; color: white;">Book Title</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">Subject</th>
										<th style="font-size: 12px; background-color: #4267B2; color: white;">Author</th>
										<th style="font-size: 12px; background-color: #4267B2; color: white;">Publication Year</th>
										<th style="font-size: 12px; background-color: #4267B2; color: white;">Book Type</th>

                                   </tr>
                                </thead>
                                <tbody>
                                  <?php 
								  $user_query=mysql_query("SELECT * FROM `book` WHERE `book_type`='referance'")or die(mysql_error());
								  $i=1;
									while($row=mysql_fetch_array($user_query)){
									$id=$row['book_id'];  
									$cat_id=$row['category_id'];
									$book_copies = $row['book_copies'];
									
									$row11 = mysql_fetch_array($borrow_details);
									$count = mysql_num_rows($borrow_details);
									
									$total =  $book_copies  -  $count; 
									/* $t4otal =  $book_copies  - $borrow_details;
									
									echo $total; */
									?>
									<tr class="del<?php echo $id ?>">
                                    <td><?php echo $i; ?></td>
                                    <td><?php echo $row['book_title']; ?></td>
									<td><?php echo $row ['subject']; ?> </td>
                                    <td><?php echo $row['author']; ?> </td> 
									<td><?php echo $row['publication_date']; ?></td>
									<td><?php echo $row['book_type']; ?></td>
                                    </tr>
									<?php $i++; }  ?>
                           
                                </tbody>
                            </table>
							
			
			</div>		
			</div>
		</div>
    </div>
<?php include('footer.php') ?>

Copyright © 1945 - 2024 GOOGLE