0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.190.176.94


Current Path : /var/www/oasis/sjbit/valdet/
Upload File :
Current File : /var/www/oasis/sjbit/valdet/index.php

<!doctype html>
<html lang="en">

<head>
    <title>Script Statistics - SJBIT</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css">
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.slim.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js"></script>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
    <script src="index.js"></script>
    <style>
    @media print {
        body {
            visibility: hidden;
        }

        #data_container {
            visibility: visible;
            position: absolute;
            left: 0;
            top: 0;
        }
    }
    </style>
</head>

<body>
    <?php include("sys_connect.php");?>
    <div class="navbar navbar-expand-sm d-flex justify-content-center">
        <img src="logo.jpg" width="100" height="80" alt="">
        <h3 class="text-center font-weight-bold text-primary">SJB Institute of Technology (SJBIT)</h3>
    </div>
    <nav class="navbar navbar-expand-sm bg-light d-flex justify-content-center my-2  border">
        <h4 class="text-center font-weight-bold text-success">Valuation Statistics</h4>
    </nav>

    <div class="container my-3 p-2 border">
        <div class="container-fluid">
            <div class="form-group row">
                <label class="col-sm-2 col-form-label">Degree Group</label>
                <div class="col-sm-10">
                    <select class="form-control" id="seldeggrp" onChange="load_valcntr();load_program();load_examno();load_board();disp_data();">
                        <option val="" selected>--Select--</option>
                        <?php
                        $mysql = "select distinct gp.fdeggrp,gp.fdescpn,gp.fexamdate from deggrp gp
                        inner join degree dg on gp.fdeggrp = dg.fdeggrp
                        inner join subject sb on dg.fdegree = sb.fdegree and dg.fexamno = sb.fexamno
                        inner join masqp qp on sb.fqpcode = qp.fqpcode";
                        $myres = mysqli_query($mycon, $mysql);
                        if (mysqli_num_rows($myres) > 1) {
                            echo "<option value='%'>All [Degree Groups]</option>";
                        }
                        while ($myrow = mysqli_fetch_assoc($myres)) {
                            echo "<option value='$myrow[fdeggrp]'>$myrow[fdescpn] [$myrow[fdeggrp]] </option>";
                        }
                        ?>
                    </select>
                </div>
            </div>

            <div class="form-group row">
                <label class="col-sm-2 col-form-label">Valuation Center</label>
                <div class="col-sm-10">
                    <select class="form-control" id="selvalcntr" onChange="load_board(); disp_data();">
                        <option value="%"> All [Val. Centers]</option>
                    </select>
                </div>
            </div>

            <div class="form-group row">
                <label class="col-sm-2 col-form-label">Program</label>
                <div class="col-sm-10">
                    <select class="form-control" id="selprogram" onChange="load_board(); disp_data();">
                        <option value="%"> All [Programs]</option>
                    </select>
                </div>
            </div>

            <div class="form-group row">
                <label class="col-sm-2 col-form-label">Semester</label>
                <div class="col-sm-10">
                    <select class="form-control" id="selexamno" onChange="load_board(); disp_data();">
                        <option value="%"> All [Sem / Year]</option>
                    </select>
                </div>
            </div>

            <div class="form-group row">
                <label class="col-sm-2 col-form-label">Board</label>
                <div class="col-sm-10">
                    <select class="form-control" id="selboard" onChange="disp_data();">
                        <option value="%">All [Boards]</option>
                    </select>
                </div>
            </div>

            <div class="form-group row">
                <label class="col-sm-2 col-form-label">Status</label>
                <div class="col-sm-10">
                    <select class="form-control" id="selqpstat" onChange="disp_data();">
                        <option value="%">All [Status]</option>
                        <option value="codecomp">Coded Scripts</option>
                        <option value="codepend">Coding Pending</option>
                        <option value="evalpend">Valuation Pending</option>
                        <option value="evalcomp">Valuation Completed</option>
                    </select>
                </div>
            </div>

            <div class="form-group row">
                <label class="col-sm-2 col-form-label">Report Type</label>
                <div class="col-sm-10">
                    <select class="form-control" id="selreptype" onChange="disp_data();">
                        <optgroup label="Valuation Center">
                            <option value="valcntr">Center Wise Summary</option>
                            <option value="valcntr_deggrp">Center / Degree Group Wise Summary</option>
                            <option value="valcntr_examno">Center / Semester Wise Summary</option>
                        </optgroup>

                        <optgroup label="QP Code">
                            <option value="qpcode">QP Code Wise List</option>
                        </optgroup>

                        <optgroup label="Degree Group">
                            <option value="deggrp">Degree Group Wise Summary</option>
                            <option value="deggrp_valcntr">Degree Group / Center Wise Summary</option>
                            <option value="deggrp_examno">Degree Group / Semester Wise Summary</option>
                        </optgroup>

                        <optgroup label="Board">
                            <option value="board">Board Wise Summary</option>
                            <option value="board_examno">Board / Semester Wise Summary</option>
                        </optgroup>

                        <optgroup label="Program">
                            <option value="program">Program Wise Summary</option>
                            <option value="program_examno">Program / Semester Wise Summary</option>
                        </optgroup>

                        <optgroup label="Semester">
                            <option value="examno">Semester Wise Summary</option>
                        </optgroup>
                    </select>
                </div>
            </div>
        </div>
    </div>
    <div class="container border p-0 my-2" id="data_container">
        <div class="text-center font-weight-bold text-success" id="data_header"></div>
        <div class="container-fluid p-0 m-0" id="data_content"> </div>
        <div class="" id="data_footer">
            <ul class="list-group list-group-flush">
                
            </ul>
        </div>
    </div>
</body>

</html>