First Record System.

  • it is a file of statistics that is using to the police first in factor of time .
  • . it’s far typically a grievance lodging with the police by way of the sufferer.
  • The first record system is of a cognizable offence or via a person on his/her behalf.
  • Absolutely everyone can file the commission of a cognizable offence either orally.
  • Totally essential document because it sets the technique of criminal justice in movement.
  • Miles handiest after registering inside the police station that the police take up investigation of the case.
  • All people who know about the commission of a cognizable offence can record an report.

First details Other Details.

  • It is not necessary that simplest the sufferer of the crime must report an FIR.
  • A police officer who involves realize approximately a cognizable offence can document an FIR himself/herself.
  • The system of filing an FIR is prescribed in phase 154 of the criminal technique Code, 1973. * While facts.
  • While facts approximately the fee of a cognizable offence is giving orally, the police should write it down.
  • Once the facts are recording through the police, it ought to signing by the person giving the statistics.
  • In this system have very small features such as register complaint, check FRI status and login.
  • Created FRI searched and visit using the check FRI status option.
  • HTML, CSS PHP is mainly use for this system. Also used the MYSQL as a database to store the data.

Index.Html code.

<!DOCTYPE html>
<html>
<head>
    <title>FIR</title>
    <link rel="stylesheet" href="Login/css/firstat.css">

    <style type="text/css">
    body{
        background-image:url(./firpic.jpg);
        background-repeat:no-repeat;
        background-size:cover;
    }
    .homebtns{
        margin-top: 30vh;
    }
    .btn{
        width:300px;
    }
    </style>

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

</head>
<body>
    <center>
        <div class="btn-group btn-group-lg homebtns" role="group" aria-label="Basic example">
          <a href="registercomplaint.php"><button type="button" class="btn btn-lg btn-secondary">Register a Complaint</button></a>
          <a href="Login/firlogin.html"><button type="button" class="btn btn-lg btn-secondary">Check your FIR Status</button>
          <a href="Login/login.html"><button type="button" class="btn btn-lg btn-secondary">Login</button>
        </div>
    </center>

</body>
</html>

Display compliant code

<!DOCTYPE html>

<html>

<head>

    <!– Required meta tags –>

    <meta charset=”utf-8″>

    <meta name=”viewport” content=”width=device-width, initial-scale=1, shrink-to-fit=no”>

    <link rel=”stylesheet” href=”Login/css/firstat.css”>

    <!– Bootstrap CSS –>

    <link rel=”stylesheet” href=”https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css” integrity=”sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm” crossorigin=”anonymous”>

    <title>Complaints</title>

    <style type=”text/css”>

        .complaintscontainer{

            margin-left: 10vw;

            margin-right: 10vw;

            margin-top: 5vh;

        }

        body{

            background-color: #ebebeb;

        }

    </style>

</head>

<body>

    <nav class=”navbar navbar-dark bg-dark”>

        <div style=”float:left; color:#fff; margin-left:10vw;”>

          <a class=”navbar-brand” href=”index.html”>

            <img src=”./fir.jpg” width=”30″ height=”30″ class=”d-inline-block align-top” alt=””>

            FIR

          </a>

      </div>

      <div style=”float:right; color:#fff; margin-right:10vw;”>

          <a href=”logout.php” style=”text-decoration: none; color:#fff;”>Log Out</a>

      </div>

    </nav>

    <div class=”complaintscontainer”>

        <div><h1>Pending Complaint Requests</h1></div><br>

        <table class=”table table-hover table-light”>

          <thead class=”thead”>

            <tr>

              <th scope=”col”>S.No.</th>

              <th scope=”col”>Complaint ID</th>

              <th scope=”col”>Name</th>

              <th scope=”col”>Age</th>

              <th scope=”col”>Address</th>

              <th scope=”col”>Date of Incidence</th>

              <th scope=”col”>Date of Registration</th>

              <th scope=”col”>Complaint</th>

              <th scope=”col”>Section</th>

              <th scope=”col”>Category</th>

              <th scope=”col”>Status</th>

            </tr>

          </thead>

          <tbody>

            <?php

            session_start();

            if(isset($_SESSION[’email’])){

            }

            else{

                echo ‘<script>

                window.location=”Login/login.html”;

                </script>’;

            }

            $i =1;

            $con = mysqli_connect(‘localhost’,’root’,”,’complaints’);

            $query = “SELECT * from fir WHERE Approved = false ORDER BY Reg_DateTime DESC”;

            $res = mysqli_query($con,$query);

            $count = mysqli_num_rows($res);

            if($count>0)

            {

                while($row = mysqli_fetch_array($res))

                {

            ?>

                    <tr>

                      <th scope=”row”><?php echo $i ?></th>

                      <td><?php echo $row[‘SNo’] ?></td>

                      <td><?php echo $row[‘Name’] ?></td>

                      <td><?php echo $row[‘Age’] ?></td>

                      <td><?php echo $row[‘Address’] ?></td>

                      <td><?php echo $row[‘Inc_DateTime’] ?></td>

                      <td><?php echo $row[‘Reg_DateTime’] ?></td>

                      <td><?php echo $row[‘Complaint’] ?></td>

                      <td><?php echo $row[‘Section’] ?></td>

                      <td><?php echo $row[‘Category’] ?></td>

                      <td>

                        <form action=”approvalASI.php” method=”POST” >

                            <input type=”hidden” name=”sno” value=”<?php echo $row[‘SNo’] ?>” >

                            <input type=”hidden” name=”cat” value=”<?php echo $row[‘Category’] ?>” >

                            <button type=”submit” name=”approve” class=”btn btn-outline-success”>Approve</button>

                            <button type=”submit” name=”reject” class=”btn btn-outline-danger”>Reject</button>

                        </form>

                      </td>

                    </tr>

            <?php

                    $i++;

                }

            }

            else

            {

                echo “<h2>No pending complaints!</h2>”;

            }

            $con->close();

            ?>

          </tbody>

        </table>

    </div>

    </body>

</html>

First Record System

Resume/CV creating using HTML and CSS.

Leave a Reply

Your email address will not be published. Required fields are marked *