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/app/code/../ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include('php-includes/connect.php'); include('php-includes/check-login.php'); $userid = $_SESSION['userid']; $search = $userid; $id=$_REQUEST['flag']; $sel4="select * from registration where application='$userid' and session='$session' order by id desc"; $res4=mysqli_query($con,$sel4); $rowt56=mysqli_fetch_array($res4,MYSQLI_BOTH); $class=$rowt56['subject']; $sel41="select * from home_work where date='$id' and class='$class'and home!='' order by id asc "; $res41=mysqli_query($con,$sel41); ?> <!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']?></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>Home Work => <?php echo date("d-m-Y", strtotime($id))?></h3> </div> <div class="card-body pt-0"> <table class="table table-bordered"> <tr style='background-color:#763716'> <th width="30%">Subject</th> <td width="2%">:</td> <td>Home Work</td> </tr> <?php $t_p=0;while($row41=mysqli_fetch_array($res41,MYSQLI_BOTH)) { $mobile=$row41['teacher']; $sel4="select * from classteacher where mobile='$mobile' order by id desc"; $res4=mysqli_query($con,$sel4); $row4=mysqli_fetch_array($res4,MYSQLI_BOTH); ?> <tr> <th width="30%"><?php echo $row41['subject']?></th> <td width="2%">:</td> <td><?php echo $row41['home']?></td> </tr> <?php }?> </table> </div> </div> <?php $sel1="select * from registration where session='$session' and application='$search' order by id asc "; $res1=mysqli_query($conn,$sel1); ?> <style> td{font-size:12px} </style> <tbody> </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>