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 : 3.145.81.250


Current Path : /var/www/html/univadmin/
Upload File :
Current File : /var/www/html/univadmin/REVAReport.html

<html>
  <head>
    <style>
      body {
        background-image: url("revabg.png");
        background-size: cover;
      }
      .header {
        font-size: 40;
        font-family: "Constantia";
        color: #ffff;
        margin-top: 10px;
        margin-bottom: 25px;
        background-image: url("revalogo.jpg");
        padding-bottom: 1px;
        height: 75px;
      }
    </style>
  </head>
  <body>
    <center>
      <div class="row clearfix" style="padding: 5% 7% 4% 7%">
        <div
          class="header"
          style="/*background-color: #ffffff;*/ height: 55px; opacity: 0.4"
        >
          <h2 style="font-size: inherit; color: #2e2a27; /* opacity: 0.5; */">
            Logisys REVA Reports
          </h2>
        </div>
        <div
          class="col-lg-8 col-md-8 col-sm-8 col-xs-8"
          style="/*background-color: #ffffff;*/ font: message-box"
        >
          <div
            class="card"
            style="align-items: center; width: fit-content; height: 500px"
          >
            <form name="reports" style="text-align-last: left">
              <label for="univcode"
                ><b
                  ><span
                    style="font-size: 20; font-family: 'Mangal'; color: #077d78"
                    >University Name:
                  </span></b
                ></label
              >
              <select
                id="univcode"
                name="univcode"
                style="width: 170; height: 26; border: lab"
                required=""
              >
                <option
                  value="Select"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  --Select--
                </option>
                <option
                  value="030"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  030 - Reva Uninversity
                </option></select
              ><br /><br /><br />

              <label for="fdeggrp"
                ><b
                  ><span
                    style="font-size: 20; font-family: 'Mangal'; color: #077d78"
                    >Degree Group:
                  </span></b
                ></label
              >
              <select
                id="fdeggrp"
                name="fdeggrp"
                style="width: 170; height: 26; border: lAB"
                required=""
              >
                <option
                  value="Select"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  --Select--
                </option>
                <option
                  value="%"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  ALL
                </option>
                <option
                  value="UG"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  UG - Under Graduate
                </option>
                <option
                  value="PG"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  PG - Post Graduate
                </option>
                <option
                  value="UGEN"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  UGEN - UG Engineering
                </option>
                <option
                  value="PGEN"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  PGEN - PG Engineering
                </option></select
              ><br /><br /><br />

              <label for="fdate"
                ><b
                  ><span
                    style="font-size: 20; font-family: 'Mangal'; color: #077d78"
                    >Date Range:
                  </span></b
                ></label
              >
              <input
                type="text"
                id="fdatefrom"
                name="fdatefrom"
                rows="1"
                cols="20"
                style="width: 100; height: 25; border: lab"
                required=""
              />
              &nbsp&nbsp<span style="font-size: 20"> To</span>&nbsp&nbsp
              <input
                type="text"
                id="fdateto"
                name="fdateto"
                rows="1"
                cols="20"
                style="width: 100; height: 25; border: lab"
                required=""
              />
              <br /><br /><br />

              <label for="fyear"
                ><b
                  ><span
                    style="font-size: 20; font-family: 'Mangal'; color: #077d78"
                    >Year:
                  </span></b
                ></label
              >
              <input
                id="fyear"
                name="deggrp"
                style="width: 100; height: 26; border: lab"
                required
              />
              <!-- <select
                id="fyear"
                name="deggrp"
                style="width: 100; height: 26; border: lab"
                required=""
              >
                <option
                  value="Select"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  --Select--
                </option>
                <option
                  value="2022"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  2022
                </option>
                <option
                  value="2023"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  2023
                </option></select
              >&nbsp&nbsp&nbsp -->

              <label for="fexamtype"
                ><b
                  ><span
                    style="font-size: 20; font-family: 'Mangal'; color: #077d78"
                    >Exam Mode:
                  </span></b
                ></label
              >
              <input
                id="fexamtype"
                name="fexamtype"
                style="width: 100; height: 26; border: lab"
                required
              />
              <!-- <select
                id="fexamtype"
                name="fexamtype"
                style="width: 100; height: 26; border: lab"
                required=""
              >
                <option
                  value="Select"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  --Select--
                </option>
                <option
                  value="3"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  DEC 2022 / JAN 2023
                </option>
                <option
                  value="1"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  MAY / JUNE 2023
                </option>
                <option
                  value="3"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  DEC 2023 / JAN 2024
                </option></select
              > -->
              <br /><br /><br />

              &nbsp&nbsp&nbsp<label for="frtype"
                ><b
                  ><span
                    style="font-size: 20; font-family: 'Mangal'; color: #077d78"
                    >Report:
                  </span></b
                ></label
              >
              <select
                id="frtype"
                name="frtype"
                style="width: 300; height: 26; border: lab"
                required=""
              >
                <option
                  value="Select"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  --Select--
                </option>
                <option
                  value="exaEeePaidCsv"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  SRN wise payment report
                </option>
                <option
                  value="revaQpindentCsv"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  Qpindent with Subject Count
                </option>
                <option
                  value="QPINDENTSRN"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  Qpindent with SRN
                </option>
                <option
                  value="roomsummary"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  Room Allotment Summary
                </option>
                <option
                  value="roomsummarydetail"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  Room Allotment Detailed
                </option>
                <option
                  value="RVPCReport"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  RV PC Report
                </option>
                <option
                  value="PRACTICALQPINDENT"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  Practical Indent SRN
                </option>
                <option
                value="pendpaymentrpt"
                style="font-size: 14; font-family: 'Consolas'"
              >
                Fee Pending Report
              </option>
              <option
                  value="MPEXCEL"
                  style="font-size: 14; font-family: 'Consolas'"
                >
                  Mal-Practice Report
                </option></select>
                <br /><br /><br/>

              &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<label
                for="rpttype"
                ><b
                  ><span
                    style="font-size: 20; font-family: 'Mangal'; color: #077d78"
                    >Report Type:
                  </span></b
                ></label
              ><br />
              &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input
                type="radio"
                id="PDF"
                name="rpttype"
                value="PDF"
                checked=""
                required="required"
              />
              <span style="font-size: 24">PDF</span>
              <input type="radio" id="Excel" name="rpttype" value="Excel" />
              <span style="font-size: 24">Excel</span><br /><br /><br />

              <button
                id="rpttype"
                type="button"
                value="Generate Report"
                onclick="getReports()"
                style="
                  font-family: 'MoolBoran';
                  font-size: 20;
                  height: 30;
                  width: 140;
                  text-align-last: center;
                  border: lab;
                  opacity: 0.6;
                "
              >
                <b>Generate</b>
              </button>
              &nbsp&nbsp

              <button
                type="reset"
                value="Reset"
                style="
                  font-family: 'MoolBoran';
                  font-size: 20;
                  height: 30;
                  width: 140;
                  text-align-last: center;
                  border: lab;
                  opacity: 0.6;
                "
              >
                <b>Reset </b>
              </button>
              <!--<input type="reset" value="Reset"/>-->
            </form>
          </div>
        </div>
      </div>
    </center>

    <script>
      var $host_url = "https://universitysolutions.in/univadmin/app.php?a=";
      function getReports() {
        univcode = document.getElementById("univcode").value;
        deggrp = document.getElementById("fdeggrp").value;
        fdatefrom = document.getElementById("fdatefrom").value;
        fdateto = document.getElementById("fdateto").value;
        fyear = document.getElementById("fyear").value;
        fexamtype = document.getElementById("fexamtype").value;
        frtype = document.getElementById("frtype").value;
        rpttype = document.getElementById("rpttype").value;


        if (frtype == "exaEeePaidCsv") {
          if (document.reports.rpttype.value == "PDF") alert("PDF not found");
          else if (document.reports.rpttype.value == "Excel")
            window.open(
              $host_url +
                "exaEeePaidCsv" +
                "&univcode=" +
                univcode +
                "&fdeggrp=" +
                deggrp +
                "&fdatefrom=" +
                fdatefrom +
                "&fdateto=" +
                fdateto,
              "_blank"
            );
        }

        if (frtype == "revaQpindentCsv") {
          if (document.reports.rpttype.value == "PDF") alert("PDF not found");
          else if (document.reports.rpttype.value == "Excel")
            window.open(
              $host_url +
                "revaQpindentCsv" +
                "&fdeggrp=" +
                deggrp +
                "&univcode=" +
                univcode +
                "&fyear=" +
                fyear +
                "&fexamtype=" +
                fexamtype +
                "&fdatefrom=" +
                fdatefrom +
                "&fdateto=" +
                fdateto,
              "_blank"
            );
        }

        if (frtype == "QPINDENTSRN") {
          if (document.reports.rpttype.value == "PDF") alert("PDF not found");
          else if (document.reports.rpttype.value == "Excel")
            window.open(
              $host_url +
                "QPINDENTSRN" +
                "&fdeggrp=" +
                deggrp +
                "&univcode=" +
                univcode +
                "&fyear=" +
                fyear +
                "&fexamtype=" +
                fexamtype +
                "&fdatefrom=" +
                fdatefrom +
                "&fdateto=" +
                fdateto,
              "_blank"
            );
        }

        if (frtype == "roomsummary") {
          if (document.reports.rpttype.value == "PDF") alert("PDF not found");
          else if (document.reports.rpttype.value == "Excel")
            window.open(
              $host_url +
                "roomsummary" +
                "&univcode=" +
                univcode +
                "&fdeggrp=" +
                deggrp +
                "&fdatefrom=" +
                fdatefrom +
                "&fdateto=" +
                fdateto,
              "_blank"
            );
        }

        if (frtype == "roomsummarydetail") {
          if (document.reports.rpttype.value == "PDF") alert("PDF not found");
          else if (document.reports.rpttype.value == "Excel")
            window.open(
              $host_url +
                "roomsummarydetail" +
                "&univcode=" +
                univcode +
                "&fdeggrp=" +
                deggrp +
                "&fdatefrom=" +
                fdatefrom +
                "&fdateto=" +
                fdateto,
              "_blank"
            );
        }

        if (frtype == "RVPCReport") {
          if (document.reports.rpttype.value == "PDF") alert("PDF not found");
          else if (document.reports.rpttype.value == "Excel")
            window.open(
              $host_url +
                "RVPCReport" +
                "&univcode=" +
                univcode +
                "&fdeggrp=" +
                fdeggrp +
                "&fcorrtype="+
                "%"+
                "&fdatefrom=" +
                fdatefrom +
                "&fdateto=" +
                fdateto,
              "_blank"
            );
        }

        if (frtype == "PRACTICALQPINDENT") {
          if (document.reports.rpttype.value == "PDF") alert("PDF not found");
          else if (document.reports.rpttype.value == "Excel")
            window.open(
              $host_url +
                "PRACTICALQPINDENT" +
                "&fdeggrp=" +
                deggrp +
                "&univcode=" +
                univcode +
                "&fyear=" +
                fyear +
                "&fexamtype=" +
                fexamtype,
              "_blank"
            );
        }

        if (frtype == "pendpaymentrpt") {
          if (document.reports.rpttype.value == "PDF") alert("PDF not found");
          else if (document.reports.rpttype.value == "Excel")
            window.open(
              $host_url +
                "pendpaymentrpt" +
                "&fdeggrp=" +
                deggrp +
                "&univcode=" +
                univcode +
                "&fyear=" +
                fyear +
                "&fexamtype=" +
                fexamtype,
              "_blank"
            );
        }

        if (frtype == "MPEXCEL") {
          if (document.reports.rpttype.value == "PDF") alert("PDF not found");
          else if (document.reports.rpttype.value == "Excel")
            window.open(
              $host_url +
                "MPEXCEL" +
                "&univcode=" +
                univcode +
                "&clgfrom=" +
                "0000" +
                "&clgto=" +
                "zzzz" +
                "&fdeggrp=" +
                deggrp +
                "&qpfrom=" +
                "0000" +
                "&qpto=" +
                "zzzz"+
                "&fdatefrom=" +
                fdatefrom +
                "&fdateto=" +
                fdateto,
              "_blank"
            );
        }
      }
    </script>
  </body>
</html>