GOOGLE

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

<?php include('header.php'); 
date_default_timezone_set('Asia/Calcutta'); ?>
<?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">
                    <strong><i class="icon-user icon-large"></i>&nbsp;Day wise Book issue</strong>
                    </div>
			<center class="title">
				<h1>Books List</h1>
			</center>
   <section id="service">
    <div class="container">
    <div class="row">
      <form name="MyForm" action="daysubmit.php" method="POST">
    	<div class="span3">
    		<div class="control">
    		Today :- <?php setlocale(LC_TIME, "C");//you need to change C with your locale.
             echo strftime("%A");?>
             <hr/>
             <label><b>Select Class</b></label>
             <select name="class" required="">
            <option value="">Select Class Here</option>
			<option value="D.Pharm. I Year">D.Pharm. I Year</option>
			<option value="D.Pharm. II Year">D.Pharm. II Year</option>
			<option value="B.Pharm. I Sem">B.Pharm. I Sem</option>
			<option value="B.Pharm. II Sem">B.Pharm. II Sem</option>
			<option value="B.Pharm. III Sem">B.Pharm. III Sem</option>
			<option value="B.Pharm. IV Sem">B.Pharm. IV Sem</option>
			<option value="B.Pharm. V Sem">B.Pharm. V Sem</option>
			<option value="B.Pharm. VI Sem">B.Pharm. VI Sem</option>
			<option value="B.Pharm. VII Sem">B.Pharm. VII Sem</option>
			<option value="B.Pharm. VIII Sem">B.Pharm. VIII Sem</option>
			<option value="M.Pharm. I Sem">M.Pharm. I Sem</option>
			<option value="M.Pharm. II Sem">M.Pharm. II Sem</option>
			<option value="M.Pharm. III Sem">M.Pharm. III Sem</option>
			<option value="M.Pharm. IV Sem">M.Pharm. IV Sem</option>
             </select>
    	</div>
    	<div class="control"> 
            <select name="day" required="">
            <option value="">Select Day</option>
			<option value="Monday">Monday</option>
			<option value="Tuesday">Tuesday</option>
			<option value="Wednesday">Wednesday</option>
			<option value="Thursday">Thursday</option>
			<option value="Friday">Friday</option>
			<option value="Saturday">Saturday</option>
             </select>
    	</div>
    	<div class="control">
    		<input type="submit" name="classedit" value="Submit" class="btn btn-primary btn-xs">
    	</div>
    	<div class="control"> 
    	<table cellpadding="0" cellspacing="0" border="0" class="table  table-bordered">
                                <thead>
                                   <tr>
									    <th style="font-size: 12px; background-color: #4267B2; color: white;" width="25">Sr.No.</th>
									    <th style="font-size: 12px; background-color: #4267B2; color: white;">Class</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">Day</th>
                                   </tr>
                                </thead>
                                <tbody>
                                	<?php $classsel = mysql_query("SELECT  DISTINCT `class`,`day` FROM `registration` WHERE `class`!='' AND `college`='ACP'");
                                	$i=1;
                                	while($rowsel = mysql_fetch_array($classsel)){?>
                                <tr>
                                	<td><?php echo $i;?></td>
                                	<td><?php echo $rowsel['class'];?></td>
                                	<td><?php echo $rowsel['day'];?></td>
                                </tr>
                                <?php  $i++; }?>
                                </tbody>
                            </table>
                        </div>
    </div>
</form>
        <div class="span9">
            <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
                <div class="panel panel-default">
                    <div class="panel-heading" role="tab" id="headingOne">
                        <h4 class="panel-title">
                            <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
                              <span>Book issue Day Monday<span>
                            </a>
                        </h4>
                    </div>
                    <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
                        <div class="panel-body">
                            <table cellpadding="0" cellspacing="0" border="0" class="table  table-bordered">
                                <thead>
                                   <tr>
									    <th style="font-size: 12px; background-color: #4267B2; color: white;" width="25">Sr.No.</th>
									    <th style="font-size: 12px; background-color: #4267B2; color: white;">Class</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">College</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">Use ONe day Library</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">Today Borrowed Book</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">Today Returned Book</th>
										<th style="font-size: 12px; background-color: #4267B2; color: white;">Status</th>
                                   </tr>
                                </thead>
                                <tbody>
                               <?php $sql = mysql_query("SELECT * FROM `borrowdetails` WHERE  `date_borrow` LIKE '%".date("d-m-Y")."%'");
            	                     $row = mysql_num_rows($sql);

            	                     $one = mysql_query("SELECT * FROM `one_day_borrow` WHERE  `start_date` LIKE '%".date("d-m-Y")."%'");
            	                     $oneday = mysql_num_rows($one);

            	                     $return = mysql_query("SELECT * FROM `one_day_borrow` WHERE  `start_date` LIKE '%".date("d-m-Y")."%'");
            	                     $return1 = mysql_num_rows($return) ?>
                                    <tr>
								    <td>1</td> 
                                    <td>B. Pharm III , IV Sem</td>
                                     <td>ACP</td>
                                    <td><?php echo $row; ?></td>
                                    <td><?php echo $oneday; ?></td>
                                    <td><?php echo $return1; ?></td>
									<td>Active</td>
                                    </tr>
                                    <tr>
								    <td>2</td> 
                                    <td>B. Pharm VII, VIII Sem</td>
                                    <td>ACP</td>
                                    <td><?php echo $row; ?></td>
                                    <td><?php echo $oneday; ?></td>
                                    <td><?php echo $return1; ?></td>
									<td>Active</td>
                                    </tr>
                                    <tr>
								    <td>3</td> 
                                    <td>M. Pharm </td>
                                    <td>ACP</td>
                                    <td><?php echo $row; ?></td>
                                    <td><?php echo $oneday; ?></td>
                                    <td><?php echo $return1; ?></td>
									<td>Active</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
                <div class="panel panel-default">
                    <div class="panel-heading" role="tab" id="headingTwo">
                        <h4 class="panel-title">
                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
                                Book issue Day Tuesday
                            </a>
                        </h4>
                    </div>
                    <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
                        <div class="panel-body">
<table cellpadding="0" cellspacing="0" border="0" class="table  table-bordered">
                                <thead>
                                   <tr>
									    <th style="font-size: 12px; background-color: #4267B2; color: white;" width="25">Sr.No.</th>
									    <th style="font-size: 12px; background-color: #4267B2; color: white;">Class</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">College</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">Use ONe day Library</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">Today Borrowed Book</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">Today Returned Book</th>
										<th style="font-size: 12px; background-color: #4267B2; color: white;">Status</th>
                                   </tr>
                                </thead>
                                <tbody>
                               <?php $sql = mysql_query("SELECT * FROM `borrowdetails` WHERE  `date_borrow` LIKE '%".date("d-m-Y")."%'");
            	                     $row = mysql_num_rows($sql);

            	                     $one = mysql_query("SELECT * FROM `one_day_borrow` WHERE  `start_date` LIKE '%".date("d-m-Y")."%'");
            	                     $oneday = mysql_num_rows($one);

            	                     $return = mysql_query("SELECT * FROM `one_day_borrow` WHERE  `start_date` LIKE '%".date("d-m-Y")."%'");
            	                     $return1 = mysql_num_rows($return) ?>
									<tr>
								    <td>1</td> 
                                    <td>B. Pharm I, II Sem</td>
                                    <td>ACP</td>
                                    <td><?php echo $row; ?></td>
                                    <td><?php echo $oneday; ?></td>
                                    <td><?php echo $return1; ?></td>
									<td>Active</td>
                                    </tr>
                                    <tr>
								    <td>3</td> 
                                    <td>B. Pharm V, VI Sem</td>
                                    <td>ACP</td>
                                    <td><?php echo $row; ?></td>
                                    <td><?php echo $oneday; ?></td>
                                    <td><?php echo $return1; ?></td>
									<td>Active</td>
                                    </tr>
                                    <tr>
								    <td>4</td> 
                                    <td>M. Pharm </td>
                                    <td>ACP</td>
                                    <td><?php echo $row; ?></td>
                                    <td><?php echo $oneday; ?></td>
                                    <td><?php echo $return1; ?></td>
									<td>Active</td>
                                    </tr>
                                </tbody>
                            </table>                        </div>
                    </div>
                </div>
                <div class="panel panel-default">
                    <div class="panel-heading" role="tab" id="headingThree">
                        <h4 class="panel-title">
                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
                                Book issue Day Wednesday
                            </a>
                        </h4>
                    </div>
                    <div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
                        <div class="panel-body">
<table cellpadding="0" cellspacing="0" border="0" class="table  table-bordered" >
                                <thead>
                                   <tr>
									    <th style="font-size: 12px; background-color: #4267B2; color: white;" width="25">Sr.No.</th>
									    <th style="font-size: 12px; background-color: #4267B2; color: white;">Class</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">College</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">Use ONe day Library</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">Today Borrowed Book</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">Today Returned Book</th>
										<th style="font-size: 12px; background-color: #4267B2; color: white;">Status</th>
                                   </tr>
                                </thead>
                                <tbody>
                               <?php $sql = mysql_query("SELECT * FROM `borrowdetails` WHERE  `date_borrow` LIKE '%".date("d-m-Y")."%'");
            	                     $row = mysql_num_rows($sql);

            	                     $one = mysql_query("SELECT * FROM `one_day_borrow` WHERE  `start_date` LIKE '%".date("d-m-Y")."%'");
            	                     $oneday = mysql_num_rows($one);

            	                     $return = mysql_query("SELECT * FROM `one_day_borrow` WHERE  `start_date` LIKE '%".date("d-m-Y")."%'");
            	                     $return1 = mysql_num_rows($return) ?>
            	                     <tr>
								    <td>1</td> 
                                    <td>D. Pharm I Year </td>
                                     <td>ACP</td>
                                    <td><?php echo $row; ?></td>
                                    <td><?php echo $oneday; ?></td>
                                    <td><?php echo $return1; ?></td>
									<td>Active</td>
                                    </tr>
									<tr>
								    <td>2</td> 
                                    <td>D. Pharm II Year</td>
                                    <td>ACP</td>
                                    <td><?php echo $row; ?></td>
                                    <td><?php echo $oneday; ?></td>
                                    <td><?php echo $return1; ?></td>
									<td>Active</td>
                                    </tr>
                                    <tr>
								    <td>3</td> 
                                    <td>M. Pharm I And II Sem</td>
                                    <td>ACP</td>
                                    <td><?php echo $row; ?></td>
                                    <td><?php echo $oneday; ?></td>
                                    <td><?php echo $return1; ?></td>
									<td>Active</td>
                                    </tr>
                                </tbody>
                            </table>                              </div>
                    </div>
                </div>
                <div class="panel panel-default">
                    <div class="panel-heading" role="tab" id="headingFour">
                        <h4 class="panel-title">
                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseFour" aria-expanded="false" aria-controls="collapseFour">
                                Book issue Day Thursday
                            </a>
                        </h4>
                    </div>
                    <div id="collapseFour" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingFour">
                        <div class="panel-body">
<table cellpadding="0" cellspacing="0" border="0" class="table  table-bordered" >
                                <thead>
                                   <tr>
									    <th style="font-size: 12px; background-color: #4267B2; color: white;" width="25">Sr.No.</th>
									    <th style="font-size: 12px; background-color: #4267B2; color: white;">Class</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">College</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">Use ONe day Library</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">Today Borrowed Book</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">Today Returned Book</th>
										<th style="font-size: 12px; background-color: #4267B2; color: white;">Status</th>
                                   </tr>
                                </thead>
                                <tbody>
                               <?php $sql = mysql_query("SELECT * FROM `borrowdetails` WHERE  `date_borrow` LIKE '%".date("d-m-Y")."%'");
            	                     $row = mysql_num_rows($sql);

            	                     $one = mysql_query("SELECT * FROM `one_day_borrow` WHERE  `start_date` LIKE '%".date("d-m-Y")."%'");
            	                     $oneday = mysql_num_rows($one);

            	                     $return = mysql_query("SELECT * FROM `one_day_borrow` WHERE  `start_date` LIKE '%".date("d-m-Y")."%'");
            	                     $return1 = mysql_num_rows($return) ?>
            	                     <tr>
								    <td>1</td> 
                                    <td>B. Pharm VII, VIII Sem</td>
                                     <td>ACP</td>
                                    <td><?php echo $row; ?></td>
                                    <td><?php echo $oneday; ?></td>
                                    <td><?php echo $return1; ?></td>
									<td>Active</td>
                                    </tr>
									<tr>
								    <td>2</td> 
                                    <td>B. Pharm III, IV Sem</td>
                                    <td>ACP</td>
                                    <td><?php echo $row; ?></td>
                                    <td><?php echo $oneday; ?></td>
                                    <td><?php echo $return1; ?></td>
									<td>Active</td>
                                    </tr>
                                    <tr>
								    <td>3</td> 
                                    <td>M. Pharm </td>
                                    <td>ACP</td>
                                    <td><?php echo $row; ?></td>
                                    <td><?php echo $oneday; ?></td>
                                    <td><?php echo $return1; ?></td>
									<td>Active</td>
                                    </tr>
                                </tbody>
                            </table>  
                        </div>
                    </div>
                </div>
                <div class="panel panel-default">
                    <div class="panel-heading" role="tab" id="headingFive">
                        <h4 class="panel-title">
                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseFive" aria-expanded="false" aria-controls="collapseFive">
                                Book issue Day Friday
                            </a>
                        </h4>
                    </div>
                    <div id="collapseFive" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingFive">
                        <div class="panel-body">
<table cellpadding="0" cellspacing="0" border="0" class="table  table-bordered" >
                                <thead>
                                   <tr>
									    <th style="font-size: 12px; background-color: #4267B2; color: white;" width="25">Sr.No.</th>
									    <th style="font-size: 12px; background-color: #4267B2; color: white;">Class</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">College</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">Use ONe day Library</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">Today Borrowed Book</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">Today Returned Book</th>
										<th style="font-size: 12px; background-color: #4267B2; color: white;">Status</th>
                                   </tr>
                                </thead>
                                <tbody>
                               <?php $sql = mysql_query("SELECT * FROM `borrowdetails` WHERE  `date_borrow` LIKE '%".date("d-m-Y")."%'");
            	                     $row = mysql_num_rows($sql);

            	                     $one = mysql_query("SELECT * FROM `one_day_borrow` WHERE  `start_date` LIKE '%".date("d-m-Y")."%'");
            	                     $oneday = mysql_num_rows($one);

            	                     $return = mysql_query("SELECT * FROM `one_day_borrow` WHERE  `start_date` LIKE '%".date("d-m-Y")."%'");
            	                     $return1 = mysql_num_rows($return) ?>
            	                     <tr>
								    <td>1</td> 
                                    <td>B. Pharm I, II Sem</td>
                                     <td>ACP</td>
                                    <td><?php echo $row; ?></td>
                                    <td><?php echo $oneday; ?></td>
                                    <td><?php echo $return1; ?></td>
									<td>Active</td>
                                    </tr>
									<tr>
								    <td>2</td> 
                                    <td>B. Pharm V, VI Sem</td>
                                    <td>ACP</td>
                                    <td><?php echo $row; ?></td>
                                    <td><?php echo $oneday; ?></td>
                                    <td><?php echo $return1; ?></td>
									<td>Active</td>
                                </tr>
                                    <tr>
                                    <td>3</td> 
                                    <td>M. Pharm </td>
                                    <td>ACP</td>
                                    <td><?php echo $row; ?></td>
                                    <td><?php echo $oneday; ?></td>
                                    <td><?php echo $return1; ?></td>
                                    <td>Active</td>
                                </tr>
                                </tbody>
                            </table>                              
                        </div>
                    </div>
                </div>
                <div class="panel panel-default">
                    <div class="panel-heading" role="tab" id="headingSix">
                        <h4 class="panel-title">
                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseSix" aria-expanded="false" aria-controls="collapseSix">
                                Book issue Day Saturday
                            </a>
                        </h4>
                    </div>
                    <div id="collapseSix" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingSix">
                        <div class="panel-body">
<table cellpadding="0" cellspacing="0" border="0" class="table  table-bordered" >
                                <thead>
                                   <tr>
									    <th style="font-size: 12px; background-color: #4267B2; color: white;" width="25">Sr.No.</th>
									    <th style="font-size: 12px; background-color: #4267B2; color: white;">Class</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">College</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">Use ONe day Library</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">Today Borrowed Book</th>
                                        <th style="font-size: 12px; background-color: #4267B2; color: white;">Today Returned Book</th>
										<th style="font-size: 12px; background-color: #4267B2; color: white;">Status</th>
                                   </tr>
                                </thead>
                                <tbody>
                               <?php $sql = mysql_query("SELECT * FROM `borrowdetails` WHERE  `date_borrow` LIKE '%".date("d-m-Y")."%'");
            	                     $row = mysql_num_rows($sql);

            	                     $one = mysql_query("SELECT * FROM `one_day_borrow` WHERE  `start_date` LIKE '%".date("d-m-Y")."%'");
            	                     $oneday = mysql_num_rows($one);

            	                     $return = mysql_query("SELECT * FROM `one_day_borrow` WHERE  `start_date` LIKE '%".date("d-m-Y")."%'");
            	                     $return1 = mysql_num_rows($return) ?>
            	                     <tr>
								    <td>1</td> 
                                    <td>D. Pharm I, II Sem</td>
                                     <td>ACP</td>
                                    <td><?php echo $row; ?></td>
                                    <td><?php echo $oneday; ?></td>
                                    <td><?php echo $return1; ?></td>
									<td>Active</td>
                                    </tr>
									<tr>
								    <td>2</td> 
                                    <td>D. Pharm III, IV sem</td>
                                    <td>ACP</td>
                                    <td><?php echo $row; ?></td>
                                    <td><?php echo $oneday; ?></td>
                                    <td><?php echo $return1; ?></td>
									<td>Active</td>
                                    </tr>
                                </tbody>
                            </table>                              
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</section>
<style>
	
#accordion .panel{
    border: none;
    border-radius: 0;
    box-shadow: none;
   /* margin: 0 30px 10px 30px;*/
    overflow: hidden;
    position: relative;
}
#accordion .panel-heading{
    padding: 0;
    border: none;
    border-radius: 0;
    position: relative;
}
#accordion .panel-title a{
    display: block;
    padding: 15px 20px;
    margin: 0;
    background: #fe7725;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    border-radius: 0;
    position: relative;
}
#accordion .panel-title a.collapsed{ background: #1c2336;}
#accordion .panel-title a:before,
#accordion .panel-title a.collapsed:before{
    content: "\f068";
    font-family: fontawesome;
    width: 30px;
    height: 30px;
    line-height: 25px;
    border-radius: 50%;
    background: #fe7725;
    font-size: 14px;
    font-weight: normal;
    color: #fff;
    text-align: center;
    border: 3px solid #fff;
    position: absolute;
    top: 10px;
    right: 14px;
}
#accordion .panel-title a.collapsed:before{
    content: "\f067";
    background: #ababab;
    border: 4px solid #626262;
}
#accordion .panel-title a:after,
#accordion .panel-title a.collapsed:after{
    content: "";
    width: 17px;
    height: 7px;
    background: #fff;
    position: absolute;
    top: 22px;
    right: 0;
}
#accordion .panel-title a.collapsed:after{
    width: 19px;
    background: #ababab;
}
#accordion .panel-body{
    border-left: 3px solid #fe7725;
    border-top: none;
    background: #fff;
    /*font-size: 15px;*/
    color: #1c2336;
    line-height: 27px;
    position: relative;
}
#accordion .panel-body:before{
    content: "";
    height: 3px;
    width: 50%;
    background: #fe7725;
    position: absolute;
    bottom: 0;
    left: 0;
}
#accordion .panel-body p{
  padding: 10px;
}
</style>
							
			
			</div>		
			</div>
		</div>
    </div>
<?php include('footer.php') ?>

Copyright © 1945 - 2024 GOOGLE