File "library.php"

Full path: /var/www/krbed.in/application618/views/library.php
File size: 4.51 KiB (4614 bytes)
MIME-type: text/html
Charset: utf-8

Download   Open   Back

<style>
	.library-table table {
		border-spacing: 1px !important;
	}

	.library-table th {
		padding: 5px;
		background-color: #032555;
		color: #fff;

	}

	.library-table td {
		padding: 10px;
		text-align: center;
		color: #545454;
		font-size: 16px;
	}

	.library-table tr:nth-child(even) {
		background-color: #B0C8EA;
	}

	.library-table tr:nth-child(odd) {
		background-color: #B0C8EA;
	}

	.td-left {
		text-align: left !important;
	}
</style>

<div class="static_content">
	<h2 class="hpad">Library
	</h2>

	<div>

		<img src="<?php echo base_url() ?>assets/images/library.jpg" style="margin-top:18px;" class="pull-right" />

		<p class="stext pr">
			The focal Library of K.R College of Education has a major reading hall for our students, with a separate space for students with various study interest. Our college library is having thousands of books and reference materials for students to integrate their knowledge. The Library holds in excess of <strong>10,000 books</strong>.
			Our Education library consists of records and collections which is relating to the education activities and sports.
		</p>

		<p class="stext pr">
			Books are the calmest and most steady of every student. Our library is completely prepared to explore the student's voyage to revelation. It is our saving box for both students and education trainers.</p>
	</div>

	<p class="stext pr">
		The library houses a substantial and great accumulation of books on instruction, well being training, diversion and preparing and instructing.
		education research journals, periodicals, and magazines are likewise accessible.
	</p>
	<p class="stext">
		Our library has huge collections of books, magazines, research journals, and e-learning materials to support the learning in education and sports. The main objective of our education library makes our students who physically educated for their life.
	</p>

</div>
<p class="stext">
	To enhance our library functionality, every academic year we have a meeting or discussion with our headed principal, head of the department of education and our student's representatives. We also have the various facilities to our students and staff members that are the <strong>internet, bibliographic service, CD-ROM Collections, multimedia and conferencing</strong>.
</p>

<p class="stext">
	The certain Rules and Regulations of our Education Library should follow by our beloved students. This will help to motivate other students to move on their education training study to their next level.

</p>
<div class="col">
	<h2 class="hpad">Library Book Details
	</h2>
	<h5 class="blue"><strong></strong></h5>

	<div class="row">
		<div class="library-table">
			<table>
				<tr>
					<th width="1%">S.No</th>
					<th width="10%" class="td-left">Department Name</th>

					<th width="10%" class="td-left">Subject</th>
					<th width="30%" class="td-left">Book Name</th>
					<th width="5%">No of Books</th>

				</tr>
				<tbody>
					<?php

					$CI = &get_instance();

					$CI->load->model('Home_model');
					$i = 1;


					$getlibrary = $CI->Home_model->getlibrary();

					if (!empty($getlibrary)) {

						foreach (($getlibrary) as $libitem) {

							$pi = 1;

							$department_name = $libitem['department_name'];
							$subject = $libitem['subject'];
							$subrowspan = $libitem['subject_new'];



							foreach ($subject as $sub) {

								$pii = 1;

								$specialization_name = $sub['specialization_name'];
								$book_details = $sub['book_details'];
								$rowspann = count($sub['book_details']);

								foreach ($book_details as $bk) {


									$book_name = $bk['book_name'];
									$no_of_books = $bk['no_of_books'];



					?>

									<tr>
										<?php if ($pi == 1) { ?>
											<td rowspan="<?php echo $subrowspan ?>"><?php echo $i ?></td>
											<td class="td-left" rowspan="<?php echo $subrowspan ?>"><?php echo $department_name ?></td>

										<?php }
										if ($pii == 1) { ?>
											<td class="td-left" rowspan="<?php echo $rowspann ?>"> <?php echo $specialization_name ?></td>
										<?php } ?>

										<td class="td-left"><?php echo $book_name ?> </td>
										<td><?php echo $no_of_books ?></td>

									</tr>


						<?php
									$pii++;
									$pi++;
								}
							}

							$i++;
						}
					} else { ?>


						<tr>
							<td colspan="5"> No Records Found </td>
						</tr>


					<?php } ?>
				</tbody>
			</table>


		</div>
	</div>
</div>

PHP File Manager