You are on page 1of 28

ICT

A Major Project report submitted in partial fulfilment of the


requirement for the award

of

Diploma In

COMPUTER ENGINEERING

Name Sr no. Board Roll no.


Anjali 08 .
Kangan Verma 15 .
Meenakshi Thakur 22 .

DEPARTMENT OF COMPUTER ENGINEERING

GOVT.POLYTECHNIC HAMIRPUR (H.P)

June, 2022
Acknowledgement:
We have taken efforts in this project.
However, it would not have been possible
without the kind support and help of many
individual and organizations. We would like
to extend my sincere thanks to all of them.
I would like to express a deep
sense of thanks & gratitude to my project
guide “Mr Vikash Soni” sir for guiding us
and our HOD sir “Mr Sameer Bharti”.
We would like to express my
special gratitude and thanks to my team
mates without team work the project was out
of bound.
DECLARATION
We hereby certify that the work, which is being
presented in the project entitled “ICT” submitted for
the award of diploma is our original work and the
project has not formed the basis for the award of other
degree, diploma, fellowship or any other similar titles.

Signature:

Anjali(190710204005)

Kanagan Verma(190710204018)

Meenakshi Thakur (190710204025)

Place: Hamirpur

Date:
CERTIFICATE
This is to certify that the project titled
“ICT(Inventory Management”) is a bonofide
work carried out by [names(s) of students] ,
students of 6th sem. diploma (CSE) of Govt.
Polytechnic Hamirpur during the academic
year 2022, in partial fulfilment of the
requirements for the award of the diploma in
Computer Engineering and that the project
has not formed the basis for the award
previously of any other degree, diploma,
fellowship or any other similar title.

Signature of the Guide

Place: Hamirpur
Date:
Types of Content:
Sr Topic name
No.

1. Introduction
2. Objective
3. Advantages

4. Physical design
5. Introduction to technology used

6. Dfds
7. Output(Screenshot)
8. Conclusion

9. Reference
INTRODUCTION-
The primary objective of “ICT (Inventory
Management)” is to manage the details of
reports, complete information, view
updated. It manages all the information
about lab. The purpose of the project is to
build an application program to reduce
the manual work for managing the
reports, complete information, lab
updated. The main purpose of this project
is to manage the all data of labs.
OBJECTIVE-

MAIN PURPOSE-
 The main purpose of this project is
to manage the all data/details of
labs.

Advantages-
 Easy to use.
 Easy to maintain.
 User can Sign In/Sign Up very easily at user
interface is simple.
 It also reduces the time taken to get data of
labs.
 Reduce time and save money.
Physical design:

Login page
<?php

session_start();

include("connection.php");

include("functions.php");

if($_SERVER['REQUEST_METHOD'] == "POST")

//something was posted

$user_name = $_POST['user_name'];

$password = $_POST['password'];

if(!empty($user_name) && !empty($password)


&& !is_numeric($user_name))
{

//read from database

$query = "select * from users where


user_name = '$user_name' limit 1";

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

if($result)

if($result && mysqli_num_rows($result)


> 0)

$user_data =
mysqli_fetch_assoc($result);

if($user_data['password'] ===
$password)

{
$_SESSION['user_id'] =
$user_data['user_id'];

header("Location: index.php");

die;

echo "wrong username or password!";

}else

echo "wrong username or password!";

?>

<!DOCTYPE html>
<html>

<head>

<title>Login</title>

</head>

<body>

<style type="text/css">

#text{

height: 35px;

border-radius: 7px;

padding: 6px;

border: solid thin #aaa;

width: 40%;

border: solid gray;

#button{

padding: 10px;
width: 100px;

color: black;

background-color: lightgrey;

border: solid black;

#box{

background-image: url('logi.png');

background-repeat: no-repeat;

background-attachment: fixed;

background-size: cover;

margin: auto;

height: 35%;

width: 1000px;

padding: 200px;

a:link, a:visited {
background-color: #f44336;

color: white;

padding: 12px 20px;

text-align: center;

text-decoration: none;

display: inline-block;

label {

color: black;

padding: 10px;

font-family: Arial Black;

</style>

<div id="box">

<form method="post">

<div style="font-size: 80px;font-family:


Fantasy;margin: 20px;color: black;">Login</div>
<label for="fname">Name:</label><br>

<input id="text" type="text"


name="user_name"><br><br>

<label for="password">Enter your


password:</label><br>

<input id="text" type="password"


name="password"><br><br>

<input id="button" type="submit"


value="Login"><br><br>

<a href="signup.php">Click to
Signup</a><br><br>

</form>

</div>

</body>

</html>

Function page
<?php
function check_login($con)

if(isset($_SESSION['user_id']))

$id = $_SESSION['user_id'];

$query = "select * from users where user_id = '$id'


limit 1";

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

if($result && mysqli_num_rows($result) > 0)

$user_data = mysqli_fetch_assoc($result);

return $user_data;

//redirect to login

header("Location: login.php");

die;
}

function random_num($length)

$text = "";

if($length < 5)

$length = 5;

$len = rand(4,$length);

for ($i=0; $i < $len; $i++) {

# code...

$text .= rand(0,9);

return $text;

}
Introduction about technology
PHP:
 Php run perfectly on different operating system such as
window , linux , unix and so on.
 Php is compatible with almost all web servers used today
(apache ).
 Php is free to download from the official php resource:
http://www.php.net.
 Php is easy to learn and runs efficiently and swiftly on any
compatible web server.
MYSQL
MySQL is the world's most popular open source database
software. With its superior speed, reliability, and ease of use,
MySQL has become the preferred choice for Web, Web 2.0,
SaaS, organizations use MySQL to save time and money.
MySQL is a key part of XAMPP (Extensible, Apache, MySQL,
PHP / Perl / Python), the fast-growing open source enterprise
software stack. More and more companies are using XAMPP
as an alternative to expensive proprietary software stacks
because of its lower cost and freedom from platform lock-in.
HTML
 HTML stands for Hyper Text Markup Language
 HTML is the standard markup language for creating Web
pages
 HTML describes the structure of a Web page
 HTML consists of a series of elements
 HTML elements tell the browser how to display the content

 The <!DOCTYPE html> declaration defines that this document is an


HTML5 document
 The <html> element is the root element of an HTML page
 The <head> element contains meta information about the HTML page
 The <title> element specifies a title for the HTML page (which is
shown in the browser's title bar or in the page's tab)
 The <body> element defines the document's body, and is a container
for all the visible contents, such as headings, paragraphs, images,
hyperlinks, tables, lists, etc.
 The <h1> element defines a large heading
 The <p> element defines a paragraph
CSS
 CSS stands for Cascading Style Sheets.

 CSS describes how HTML elements are


to be displayed on screen, paper, or in
other media.

 CSS saves a lot of work. It can control


the layout of multiple web pages all at
once
Sublime text editor:

Sublime Text is a shareware cross-


platform source code editor. It natively
supports many programming languages
and markup languages. Users can
expand its functionality with plugins,
typically community-built and
maintained under free-software
licenses.
Dfds:

ICT

Login Page Signup Page

Index Page Create Account

labs

DCN lab Basic computer Computer centre


lab lab

Web technology
lab
Advanced Operating system
programming lab lab

logout
Outputs:
Signup page:
Login page:
Labs:

DCN lab:
WT lab:
CONCLUSION:
In this project we can make a project on the basis
of php language. This project help us for maintain
the data/required items of lab. It saves times
since user does not need to wait to see the
details. There is no need to pen paper to maintain
the data.
REFERENCE:
 https://www.W3schools.com/
 https://www.javapoint.com
 https://www.youtube.com/
 https://www.toturialspoint.com/

You might also like