CasperSecurity

Current Path : /var/www/uim.org.in/limsysuim/
Upload File :
Current File : /var/www/uim.org.in/limsysuim/report_by_volume.php

<?php include ('header.php'); ?>

        <div class="page-title">
            <div class="title_left">
                <h3>
					<small>Home /</small> Report By Volume
                </h3>
            </div>
        </div>
        <div class="clearfix"></div>
 
        <div class="row">
            <div class="col-md-12 col-sm-12 col-xs-12">
                <div class="x_panel">
                    
                    <div class="x_content">
                        <!-- content starts here -->

						<div class="table-responsive">
							<table cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered" id="example">
								
							<thead>
								<tr>
									<th>SI No.</th>
									<th>Category</th>
								<!---	<th>User Type</th>	-->
									<th>No of Volume</th>
								</tr>
							</thead>
							<tbody>
							
							<?php
								$sum='';
							$counter=1;
							$total=0;
							$result= mysqli_query($conn,"select book_id,book_title,category_id,count(category_id) as no_of_categories from book group by category_id order by book_id ASC") or die (mysqli_error());
							while ($row= mysqli_fetch_array ($result) ){
								$total = $total + $row['no_of_categories'];
							?>
							<tr>
								<td width="25%">
									<?php echo $counter; ?>
								</td> 
								<td>
									<?php 
										if($row['category_id']=='1'): echo "MBA";
										elseif($row['category_id']=='2'): echo "English";
										elseif($row['category_id']=='3'): echo "Mathematics";
										elseif($row['category_id']=='4'): echo "Physics";
										elseif($row['category_id']=='5'): echo "Mechanical";
										elseif($row['category_id']=='6'): echo "Chemistry";
										elseif($row['category_id']=='7'): echo "Computer";
										elseif($row['category_id']=='8'): echo "General";
										elseif($row['category_id']=='9'): echo "Civil";
										elseif($row['category_id']=='10'): echo "Automobile";
										elseif($row['category_id']=='11'): echo "Others";
										endif;
								
									?>
								</td>
								<td>
									
								<?php echo $row['no_of_categories']. ' ' . $sum; ?>
									
								</td> 
							</tr>
							<?php $counter++; } ?>
							</tbody>
							<tfoot>
								
								<th>Total Books</th>
								<th>&nbsp;</th>
								<th><?php echo $total; ?></th>
							
								</tfoot>
							</table>
						</div>
						
                        <!-- content ends here -->
                    </div>
                </div>
            </div>
        </div>

<?php include ('footer.php'); ?>
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY