47
INTRANET DATABASE A PROJECT REPORT Submitted by ANJEET KUMAR (1301326440) in partial fulfillment for the award of the degree of BACHELOR OF TECHNOLOGY in COMPUTER SCIENCE AND ENGINEERING GANDHI INSTITUTE FOR EDUCATION AND TECHNOLOGY BHUBANESWAR BIJU PATNAIK UNIVERSITY OF TECHNOLOGY: ODISHA March 2017

Intranet database

Embed Size (px)

Citation preview

Page 1: Intranet database

INTRANET DATABASE

A PROJECT REPORT

Submitted by

ANJEET KUMAR (1301326440)

in partial fulfillment for the award of the degree

of

BACHELOR OF TECHNOLOGY

in

COMPUTER SCIENCE AND ENGINEERING

GANDHI INSTITUTE FOR EDUCATION AND TECHNOLOGY

BHUBANESWAR

BIJU PATNAIK UNIVERSITY OF TECHNOLOGY: ODISHA

March 2017

Page 2: Intranet database

BIJU PATNAIK UNIVERSITY OF TECHNOLOGY: ODISHA

BONAFIDE CERTIFICATE

Certified that this project report “ INTRANET DATABASE ” is the bonafide

work of “ANJEET KUMAR (1301326440) ” who carried out the project work

under my supervision.

SIGNATURE SIGNATURE SIGNATURE

Prof. Dr. Anil Kumar Mishra Prof. Nilamadhab Mishra Prof. Dr. S. K. Mishra

HEAD OF THE DEPARTMENT COORDINATOR SUPERVISOR

Department of Computer science & Engineering.

Gandhi Institute for Education & Technology

Baniatangi, Khurda, Bhubaneswar

www.gietbbsr.com

Page 3: Intranet database

ACKNOWLEDGEMENT

It is my pleasure to be indebted to various people, who directly or indirectly contributed

in the development of this work and who influenced my thinking, behavior and acts

during the course of study.

I also take this opportunity to express a deep sense of gratitude to Prof. J P Mishra,

Vice-Chairman , Dr. N. Sutar Principal , Prof. Dr. M. C. Panda Dean-Academic, ,

Prof. Dr. J. Jena Dean PC&D ,GIET, Baniatangi , Bhubaneswar, for his/her cordial

support, valuable information and guidance, which helped me in completing this task

through various stages.

I wish to express my profound and sincere gratitude to Dr. Sambit Kumar

Mishra , our project Guide and Prof. Nilamadhab Mishra, Project coordinator

Department of Computer Science & Engineering, , who guided me into the intricacies

of this project nonchalantly with matchless magnanimity.

I am thankful to Prof. Dr. Anil Kumar Mishra, Head of the Dept. of Computer

Science& Engineering, for his/her support, cooperation, and motivation provided to me

during the training for constant inspiration, presence and blessings.

I also extend my sincere appreciation to Faculty members are provided valuable

suggestions and precious time in accomplishing my minor project report.

Lastly, I would like to thank the almighty and my parents for their moral support and

friends with whom I shared my day-to-day experiences and received lots of suggestions

those improved the quality of work.

Anjeet Kumar (1301326440)

Page 4: Intranet database

ABSTRACT

Whenever we are in need of eBooks, previous year questions, lecture notes ,

lecture videos even essential software like AutoCAD, Ms office etc, we have to

browse a lot of websites, search Google even we have to ask our friends to get

that. And also we have to spend a lot of data charges to redeem that data.

So the best solution to this was database based on intranet, i.e Intranet Database

As we all know that in Intranet is a private network of an organization.

So we can use intranet to build a database where all the eBooks lectures software

will be stored . Even in that database students can get videos or images of college

functions or any events.

We build a website which will be hosted in local server of our college.

All users will be given a user-id and password which they will use to access files

from it.

They will be able to download files from the same.

Page 5: Intranet database

Table Of Contents

CHAPTER NO. TITLE PAGE NO.

Abstract

List Of Table

List Of Figures

1 Introduction 1

1.1 What Is Intranet Database ? 1

1.2 What Is Intranet 2

1.3 Terms & Definitions Used 2

1.4 Features And Benefits Of Intranet

Database

4

1.5 Setting Up An Intranet 6

1.5.1 Strategic Planning 7

1.5.2 Detailed Framework And

Implementation

8

1.5.3 Management And Maintenance 12

2 Literature Survey 14-16

Page 6: Intranet database

3 Intranet Database 17-23

3.1 Hardware Requirement 17

3.2 Software Requirement 18

3.3 How To Connect To Intranet

Database

19

3.4 How To Upload Content 20

3.5 How To Download Content 21

3.6 Er Diagram Of Intranet Database 23

3.7 Data Flow Diagram 24

4 Code Samples 25-32

4.1 Home Page 25

4.2 Admin Page 28

4.3 User Page 31

5 Testing 33

6 Screenshots 34-35

7 Future Enhancement 36

8 Limitations 37

Conclusion 38

References 39

Page 7: Intranet database

vi

LIST OF TABLES

1 Terms & Definitions Used 2-3

2 Setting Up An Intranet 6

3 Technologies Used 8-9

4 List Of Staffs 11

5 Software Requirement 18

Page 8: Intranet database

vi

LIST OF FIGURES

1 Intranet Structure 13

2 Intranet Database Structure 22

3 ER Diagram Of Intranet Database 23

4 Data Flow Diagram of the Intranet Database 24

Page 9: Intranet database

[Intranet Database]

1

Chapter 1

INTRODUCTION

1.1 What Is Intranet Database ?

The title of the project is “Intranet Database” is defined as an web

application based on Intranet that aims to all the levels of management

providing information within an organization. This system can be used as a

information & data sharing system for the college. After registration, any

student/staff (Technical / Non-technical) they have to login, they can access

the system to download some information from the database. The front-end

will be HTML & CSS pages for client side with php validation where as all

business logics will be in Java reside at middle layer. Third layer of

database will be interacted with these layers, which would be Oracle

database. The web server would be wampserver . The database

management system would be php MySQL.

Intranet Database is an website from where all students , teachers, college

staffs anyone related to college can download eBooks , last year question

papers , lectures , videos, images . software etc.

In other words Intranet Database is a combination Of Intranet &

Database.

It is accessing college database in an Intranet Network through a website.

Page 10: Intranet database

[Intranet Database]

2

1.2 What Is Intranet ?

An intranet is an organisation’s local computer network, based on the

communication standards of the Internet. This could either be a Local Area

Network (LAN) – typically restricted to locations within an office building

or a campus – or a Wide Area Network – which is geographically dispersed

and spans organisational locations in different cities or even countries. It is

a private version of the Internet, with “internal access only” web sites,

which can be seen only by members of the organisation – unlike the public

Internet. All that is needed for users to access this “intranet” is the same

“web browser” used on the Internet, which acts as a universal window for

all information on the intranet.

1.3 Terms & Definitions Used

A list of definitions of a few other commonly used terms

relevant to intranets is as follows:

World Wide Web (WWW or Web)

The most prominent component of the Internet; based on a technology, which enables linking of documents residing on documents residing on servers which are connected through the Intranet, but which may be physically located anywhere in the world

Browser

A client software, which is installed on a user’s machine to enable him to access the Internet or Intranet

Web Server

A server software, which “serves” web pages which can be viewed by users with a web browser

Page 11: Intranet database

[Intranet Database]

3

Application Server

A “middle tier” software which acts as an interface between the web server and the database server or other applications

Firewall

Software that protects the internal network from unauthorised access through the Internet

DBMS

Data Base Management System

Extranet

An “extranet” falls between an intranet and the Internet. This is also an Internet standards based network, providing web-browser based access not only within the organisation, but also to specified third parties e.g. vendors, customers etc., but not to the public at large. In the case of an SAI, this could include access to or connectivity with an auditee agency’s intranet. However, extranets are beyond the scope of this research study.

Table 1

Page 12: Intranet database

[Intranet Database]

4

1.4 Features and Benefits of Intranet Database

Time and cost savings

One of the biggest reasons why organisations move their documents and

processes onto the Intranet Database is the reduction in cost and time of

publishing and distribution. The savings can be substantial even for small

and medium organisations. Moreover, the intranet often results in a change

from a “calendar-driven” publishing schedule to needs-based publishing,

where changes to documents are made as needed and “uploaded” onto the

intranet for immediate access by users.

Universal User Interface

The web browser (Netscape Navigator or Microsoft’s Internet Explorer)

can become the user’s single window to all IT systems and information.

This translates into lower Total Cost of Ownership (TCO), as the browser

can serve as the interface for many applications. Also, training costs are

lowered dramatically, since the end- user needs to learn only one interface.

Even this may not be necessary in most cases, considering the familiarity of

most users with the browser, on account of accessing the Internet.

Ease of use

The intranet provides an incredibly simple “point and click” way to surf

through the web of hyper linked documents, starting from the corporate

intranet homepage. All that the employee needs to know is how to use a

mouse; he/she probably does not need even elementary keyboard skills – a

major factor inhibiting extensive use of IT by end-users in many

organisations.

Page 13: Intranet database

[Intranet Database]

5

Better Information Support for Decision Making

Because information is so much easier to access on an intranet using a web

browser, it tends to get accessed more frequently and more widely by users

throughout the organisation, and leads to widespread information

dissemination and consequently more informed decision-making.

Cross Platform Connectivity

The Internet was designed specifically to enable communication across

disparate hardware and software platforms, with a language called HTML

(Hyper Text Mark-up Language) as the universal language of the web and

browsers available for all common operating systems. Since the intranet

database is based on Internet technologies, users within the organisation

working on different platforms – UNIX, Mac, Windows etc – can also share

information with the same ease.

Multimedia Information

Intranets can be used for publishing not only text and graphics, but also

audio, video and interactive applications– providing a powerful

communications and learning tool for students and staffs.

Page 14: Intranet database

[Intranet Database]

6

1.5 Setting Up An Intranet

The process of setting up an intranet can be divided into four broad

stages, each with its own set of activities and issues:

Strategic Planning

Need for a database based on intranet

High level vision

Creation of a suitable Intranet

Management Team

Detailed Framework

and Implementation

Content Specification

Technology

Budget and Schedule

Staffing

Management and

Maintenance

Content Contribution and

Ongoing Development

Publishing and Technical Standards

Performance, Maintenance and Backup

Table 2

Page 15: Intranet database

[Intranet Database]

7

1.5.1 Strategic Planning

1.5.1.1 Need for a database based on Intranet :-

Why GIET need an Intranet. ??

Whenever we are in need of eBook , Lecture Videos, Notes , Previous

Year question papers we have to ask many persons .

Even we have to search lots of websites .

This Intranet Database is going to overcome these problems.

In This Intranet Database students can access all types of lectures

eBooks, Videos, Softwares etc. for free.

1.5.1.2 High Level Vision :-

It will save lots of time because students waste a lot time in searching

files.

It will also save lots of money spent on data charges.

All the materials will be available in one place

1.5.1.3 Creation of a Suitable Intranet Management Team

Unlike typical software development projects, the intranet will not be

just a one-off project. It needs to be maintained and kept up to date

and constantly upgraded. It is therefore important to plan for an

“intranet management team”, which will be responsible for managing

the intranet with a medium to long term perspective. Such a team

should typically include representatives from key user groups, as well

as technical staff.

Responsibilities for the intranet need to be clearly demarcated, from

the outset of the project.

Page 16: Intranet database

[Intranet Database]

8

1.5.2 Detailed Framework and Implementation

1.5.2.1 Content Specification

After the successful demonstration of the project , it is necessary to

start formally documenting the requirements for contents on the

Intranet Database. It may be appropriate to adopt a modular or

phased approach, spelling out the contents for the first phase in

detail and only preparing an outline of the contents proposed for

subsequent phases. It is also important to finalise the overall

structure of the Intranet Database and the different “routes” to be

provided for user access.

1.5.2.2 Technology

It is very important to decide what technologies to be used

in building Intranet Database.

From a somewhat simplified point of view, there are four

groups of technological issues to be considered, additional

details of which are discussed below.

Network The network must have TCP/IP (the Internet

Standard Protocol) as one of its protocols, to run

an intranet. The latest versions of common

network operating systems support TCP/IP, but

older versions may not.

Further, the network must have enough capacity

or “bandwidth” to support the projected

requirements of the intranet. For example,

multimedia (audio and video) can easily overload

a network with inadequate bandwidth.

Page 17: Intranet database

[Intranet Database]

9

Remote Access

Notwithstanding the concerns related to security,

remote access is of special importance to SAIs

with a large number of field formations, which

may be geographically dispersed. Connectivity

options for remote access include dial-up

telephone lines, ISDN (Integrated Switched

Digital Network) lines, or leased lines.

In contrast to the “direct” methods for remote

access, it may sometimes be advantageous to

provide remote access routed through the Internet,

using virtually the same underlying technology

for connectivity. This is called a “Virtual Private

Network”, where the Internet appears to form part

of the private corporate IT network.

Server

Hardware and

OS

A dedicated machine (at the very least, a high

end desktop PC) would be required.

Server Software

The following software components are needed

from the server side:

Web server software, which is responsible

for “serving” web pages on the intranet

Software for web site management and

web application development

Application server software, for interfacing

between the web server and databases or

other applications (desirable, not essential)

A search engine for searching for text

through web pages, and even through word-processed

Table 3

Page 18: Intranet database

[Intranet Database]

10

1.5.2.3 Budget and Time Schedule

As stated earlier, developing an intranet cannot be equated

with simply putting up a few web pages. Hence, even a

simple intranet needs a formal budget and a time schedule;

these formalise expectations and are important

performance measures for assessing the success of the

project.

The budget should include costs on account of:

Server hardware and software;

Client software;

Staff; and

Training

1.5.2.4 Staffing

In the initial days of the World Wide Web (and the

intranet), most organisations had just one staff member

designated as the “webmaster”, who was responsible for

everything related to the web site. This is generally no

longer the case.

The administration has to consider the following staff roles

for the intranet, although some of them can probably be

handled by the same person, depending on the size of the

task.

Page 19: Intranet database

[Intranet Database]

11

List Of Staffs Are As Follows :

Network Administrator

Will be needed for installing the web

server, planning and setting up security etc.

Webmaster

Responsible for keeping content up-to-date;

also the central contact point for intranet

questions

Graphics Designer

Responsible for the overall “look and

“feel” of web pages

Web Developer / Author

Develops web-enabled applications

and prepares / updates content for the intranet

Database Administrator

Sets up access from the intranet-

based applications to the databases

Editorial Board

Reviews and approves content

before “uploading” onto the intranet

Intranet

Management Team

Mix of representatives of key user groups

and technical staff, responsible for overall

management of the intranet.

Table 4

Page 20: Intranet database

[Intranet Database]

12

1.5.3 Management and Maintenance

Intranet Database developed without formal policies, guidance

and strategies, result in chaos sooner rather than later. It is

therefore important to frame policies and procedures governing

the development and maintenance of the Intranet Database at

an early stage. Of course, it is equally important to ensure that

these policies and standards are actually adhered to. Some of

the important areas to be covered by specific guidance include

the following:

1.5.3.1 Content Contribution and Ongoing Development

• Who can publish to the intranet? Do different

departments have separate web sites or sections, or is all

content “funnelled” through the webmaster?

• What types of content can be published? What is the

policy on personal home pages?

• What are the procedures for content submission, review

and approval?

• What is the policy on the appropriateness of links?

1.5.3.2 Publishing and Technical Standards

• In what format is content “uploaded” to the intranet

web? Are there standards for tools for content creation

and conversion?

• What are the standards for web pages in terms of layout,

font, colours, use of links, naming conventions etc.? Are

there standard templates for content?

Page 21: Intranet database

[Intranet Database]

13

• What are the standards for scripting, programming and

application and database interfaces?

1.5.3.3 Performance, Maintenance and Backup

What are the procedures for “broken link”

analysis? This is an important issue, since users

who repeatedly get “File Not Found” messages,

may be demotivated from using the intranet.

What are the procedures for monitoring intranet

usage, as well as its impact on hardware and

network performance, and by whom?

What is the procedure for maintenance and backup

of intranet data, and by whom? Is there a

contingency plan?

Page 22: Intranet database

[Intranet Database]

14

Chapter 2

LITERATURE REVIEW

The role of the intranet in enhancing communication and knowledge

sharing in a multinational company: Create, store, retrieve, transfer,

use and share information.

The exploration of previous literature and research presented in this chapter

gives a general understanding of intranets and their use as a communication

tool and knowledge sharing forum in multinationals. Keeping in mind the

objectives of this research as well as the propositions and research questions

presented in the second chapter, the main issues focused on in the literature

review are as follows:

Intranet’s role as an internal communications channel and a

collaboration tool

Intranet’s advantages and disadvantages compared to other channels

Power and control of intranets (centralisation/decentralisation)

Information technology enhancing top-down, bottom-up and

horizontal communication, and enabling personalisation that leads to

communality and connectivity

Knowledge creation, storage, retrieval, sharing and use through

intranets

The stages of intranet development with their crises can be closely related to

the centralisation or decentralisation of the intranet.

At Globemec, the next stage seems to be integration but in order to reach it,

the company has to make sure the intranet is neither let to “grow too wild”,

Page 23: Intranet database

[Intranet Database]

15

nor create too strict frames and rules for it. Almost all information

technology today is focused on compressing the time to acquire, use and

share information to zero. Szukala and O’Conor (2001) argue that electronic

systems help companies retrieve, process, store and distribute information

easier and faster. The use of computer technology, for instance an intranet,

increases the speed and accuracy of information transfer and knowledge

sharing and also provides the possibility to process large amounts of data

and store them in a relatively small space.

Even if the use of modern technology in internal communication does not

only depend on the latest available technical qualities but also on business

policies and resources of

companies, it is easy to agree with Trkman and Trkman (2009, p. 1087) who

claim that the spread of internet-based information systems has changed the

way employees work and interact with their colleagues. Today they spend

more and more time in communicating “online” or “digitally” compared to

the twentieth century.

Knowledge creation, storage, retrieval, sharing and use through

Intranet Database.

Youngjin, Lyytinen and Dongcheol (2007, pp. 322-323) define knowledge

sharing as “a process of creating a mutual stock of knowledge among

individuals or groups – the knowledge that someone in the organisation

already knows – through direct or indirect interaction”. According to them,

knowledge sharing takes place through structures, people and processes.

Stenmark (2002, p. 1) argues that the ability to share and transfer knowledge

within an organisation and amongst its members is a fundamental

Page 24: Intranet database

[Intranet Database]

16

knowledge management process that can be greatly facilitated by the use of

information technology in the form of e-mails, documents or Web pages.

The chosen literature presents findings of empirical research conducted in

several disciplines, among others international business communication,

information technology, organisational psychology, strategy management,

and knowledge management. The theories found in previous research help

the presenter of this thesis work form a general overview of frameworks

useful in studying internal communications and, more precisely, intranets in

multinationals.

Page 25: Intranet database

[Intranet Database]

17

Chapter 3

Intranet Database

3.1 Hardware Requirement.

Following Hardwares are required for building Intranet Database.

Processor : Intel® Core™ i5-4200 CPU @ 2.5 GHz

RAM : 4.00 GB

System Type : 64 Bit Processor

HDD : 1.0 TB

Page 26: Intranet database

[Intranet Database]

18

3.2 Software Requirement

Item Details / Specifications

1. Operating System Windows 8.1

2. Web server Wamp Server

3. Database Management

System My SQL

4. Web Site Development

Software Dreamweaver

5. Document Conversion

Software Adobe Acrobat

6. Web Browser Mozilla Firefox

GOOGLE Chrome

7. Application Programming

CGI (Common Gateway

Interface)

NSAPI (Netscape Server

Application Programming

Interfaces)

Microsoft’s ASP (Active Server

Pages)

Table 5

Page 27: Intranet database

[Intranet Database]

19

3.3 How To Connect To Intranet Database ?

When a user within GIET whether he/she is a student , teacher or a

staff, he just have to connect to any Wi-Fi network of college like

GIET Floor 1 or HP4.

Then enter 192.168.43.63 in address bar of browser.

On entering above address a webpage will open which is given on

Screenshot 1.

Then they have To enter their user-id and password for login.

When they will be successfully logged in they will find second page

given on Screeenshot 2.

Here they will get the options to select eBooks, softwares, lectures etc.

Page 28: Intranet database

[Intranet Database]

20

3.4 How To Upload Content ?

Only Admin can upload content onto the Intranet Database.

For uploading anything , first of all the admin have to login.

Then they have to click on specific section on which the content

is to be uploaded say eBook.

After clicking specific section a page will open which will look

like as shown in Screenshot 3.

The admin has to choose he file to be uploaded.

Page 29: Intranet database

[Intranet Database]

21

3.5 How To Download Content ?

For downloading anything let us say a eBook on Java.

Then they have to click on eBook section.

After clicking there will be a list of eBooks.

On the right side of each eBooks, there will be an option of

download.

The illustration of page is given on Screenshot 4.

Page 30: Intranet database

[Intranet Database]

22

Intranet Database Structure

User

Admin

Download

Download

Upload

Delete

EBooks

Softwares

Lectures

Images

Questions

Page 31: Intranet database

[Intranet Database]

23

3.6 ER Diagram Of Intranet Database

N

1

1 1 1 1 1

User

Menu

Lectures Software eBooks Images Questions

Page 32: Intranet database

[Intranet Database]

24

3.7 Data Flow Diagram

Level 0

Level 0.1 Level 0.2 Level 0.3 Level 0.4 Level 0.5

Figure 5

User/Admin

eBooks Lectures Softwares Images Questions

Page 33: Intranet database

[Intranet Database]

25

Chapter 4

Code Samples

4.1 Home Page

<?php

session_start();

include_once 'include/class.user.php';

$user = new User();

$msg="";

if (isset($_REQUEST['submit'])) {

extract($_REQUEST);

$login = $user->check_login($emailusername, $password);

if ($login) {

// Registration Success

//header("location:home.php");

header("location:home.php");

} else {

// Registration Failed

$msg= 'Wrong username or password !! Please try again.';

}

}

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Intranet Database</title>

<link rel="stylesheet" type="text/css" href="assets/css/style.css" />

Page 34: Intranet database

[Intranet Database]

26

<script language="javascript" type="text/javascript">

function submitlogin() {

var form = document.login;

if(form.emailusername.value == ""){

alert( "Enter email or username." );

return false;

}

else if(form.password.value == ""){

alert( "Enter password." );

return false;

}

}

</script>

</head>

<body>

<div style="position: absolute; font-size: 30px; top: 15px; left: 20px; width: 50%;

height: 40px; color: orange; z-index: 999;">

</div>

<div class="background">

<video id="vid" autoplay="autoplay" preload="auto" loop="loop"

muted="muted" width="100%">

<source src="assets/public/BGVID.mp4" type="video/mp4" />

video not supported

</video>

</div>

<div id="menu-box">

<form action="" method="post" name="index">

<div id="login-box">

<?php if($msg!="") echo '<span style="color:red; font-

style:italic;">'.$msg.'</span><br/>';?>

Page 35: Intranet database

[Intranet Database]

27

<span>Username: <input type="text" name="emailusername" required>

</span><span> Password: <input type="password" name="password" required>

</span><input class="button-a-green-login" type="submit" name="submit"

value="Login" onclick="return(submitlogin());"><br/>

<a href="register.php" style="color: #fff; padding: 0px 100px 0px 0px; font-

style: italic;">New User

Registration</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a

href="javascript:alert('Please contact administrator for Password reset.');"

style="color: #fff; font-style: italic;">Forgot Password</a>

</div>

</form>

</div>

<div class="clear-both"></div>

<div class="text">

<h1>INTRANET DATABASE</h1>

<form action="#" method="post">

<input type="text" id="searchBar" name="Search" placeholder="Search The

Site..." value="" maxlength="50" autocomplete="on" />

<input type="submit" id="searchBtn" value="Go!" onclick="f1()"/>

</form>

</div>

<script type="text/javascript">

function f1(){

alert ("WEBSITE UNDER MENTAINENCE!!!");

}

</script>

</body>

</html>

Page 36: Intranet database

[Intranet Database]

28

4.2 Admin Page

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<title>Home</title>

<style>

body{

font-family:Arial, Helvetica, sans-serif;

}

h1{

font-family:'Georgia', Times New Roman, Times, serif;

}

</style>

<link rel="stylesheet" type="text/css" href="assets/css/signup.css" />

</head>

<body style="margin: 0;">

<div id="container" >

<div id="header" style="background-color: #ddd; padding: 10px 20px 40px ; ">

<div style="text-align:left; width: 20%; float: left; position: relative; color: orange;">

Intranet DATABASE </div>

<div style="text-align: right; float: right; width:30%; color: seagreen;">Hello Anjeet

Kumar <a href="home.php?q=logout" style="text-decoration: none; padding-left: 20px;

color: steelblue; "> &nbsp;LOGOUT</a></div>

</div>

<div class="clearfix"></div>

<div class="nav_menu">

<ul>

<li><a href="ebooks.php" >E-Books</a></li><li><a href="lectures.php"

>Lectures</a></li><li><a href="softwares.php" >Software</a></li><li><a

href="images.php" >Images</a></li><li><a href="questions.php" >Questions</a></li>

</ul>

</div>

<div id="main-body">

<div align="center" style="width:20%;"><form method="post"

enctype="multipart/form-data" align="center">

<table width="350" border="0" cellspacing="1" cellpadding="1" >

<tbody>

<tr>

Page 37: Intranet database

[Intranet Database]

29

<td width="246">

<input type="hidden" name="MAX_FILE_SIZE" value="2000000" />

<input class="button-a-green" id="userfile" type="file" name="fileToUpload" /></td>

<td width="80"><input class="button-a-green" id="upload" type="submit"

name="upload" value=" Upload " style="padding:13px; background-color:orange;"

/></td>

</tr>

<tr><td>Description: <br><textarea name="description"></textarea><td/><tr/>

</tbody>

</table>

</form></div>

<div id="data-container" >

<?php

$sql="SELECT * FROM `media`";

$result = mysqli_query($user->db,$sql);

//$user_data = mysqli_fetch_array($result);

if ($result->num_rows > 0){

echo '<div align="center" style="align-items: center; width:50%; margin-

left: 25%; margin-top: 50px;"><table border=1 style="margin-left:20px; border-

color:green;">

<tr style="background-color:#ccc; padding:10px;"><td >Document

Name</td><td>Download</td><td >File Size</td>';

if(isset($usertype) and $usertype=="admin"){

echo '<td>Options</td>';

}

echo '</tr>';

while($row = $result->fetch_assoc()) {

if($row['content']=='ebooks' and (strpos($row['media_type'],"pdf"))){

echo '<tr>

Page 38: Intranet database

[Intranet Database]

30

<td>'. $row['media_name'].'<br/>'.$row['description'].'</td>

<td><a href="uploads/'.$row['filename'].'"> Download </a></td>

<td>'.$row['filesize'].' Bytes</td>';

if(isset($usertype) and $usertype=="admin")

{

echo '<td><form action="home.php" method="post" ><input

type="submit" name="delete_file" class="button-a-red" value="X" />';

echo '<input type="hidden" name="df_id"

value="'.$row['media_code'].'"/></td>';

}

echo '</tr>';

}

}

echo '</table></div></form>';

}

?>

</div>

<div id="footer"></div>

</div>

</body>

</html>

Page 39: Intranet database

[Intranet Database]

31

4.3 User Page

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<title>Home</title>

<style>

body{

font-family:Arial, Helvetica, sans-serif;

}

h1{

font-family:'Georgia', Times New Roman, Times, serif;

}

</style>

<link rel="stylesheet" type="text/css" href="assets/css/signup.css" />

</head>

<body style="margin: 0;">

<div id="container" >

<div id="header" style="background-color: #ddd; padding: 10px 20px 40px ; ">

<div style="text-align:left; width: 20%; float: left; position: relative; color: orange;">

Intranet DATABASE </div>

<div style="text-align: right; float: right; width:30%; color: seagreen;">Hello Anjeet

Kumar <a href="home.php?q=logout" style="text-decoration: none; padding-left: 20px;

color: steelblue; "> &nbsp;LOGOUT</a></div>

</div>

<div class="clearfix"></div>

<div class="nav_menu">

<ul>

<li><a href="ebooks.php" >E-Books</a></li><li><a href="lectures.php"

>Lectures</a></li><li><a href="softwares.php" >Software</a></li><li><a

href="images.php" >Images</a></li><li><a href="questions.php" >Questions</a></li>

</ul>

</div>

<div id="main-body">

<div id="data-container" >

<div align="center" style="align-items: center; width:50%; margin-left: 25%; margin-

top: 50px;"><table border=1 style="margin-left:20px; border-color:green;">

<tr style="background-color:#ccc; padding:10px;"><td >Document

Name</td><td>Download</td><td >File Size</td></tr><tr>

Page 40: Intranet database

[Intranet Database]

32

<td>Core Java - Interview Questions and Answers.pdf<br/>Core Java</td>

<td><a href="uploads/Core Java - Interview Questions and Answers.pdf"> Download

</a></td>

<div id="footer"></div>

</div>

</body>

</html>

Page 41: Intranet database

[Intranet Database]

33

Chapter 5

Testing

Case 1: Connecting to another network.

When the user connects to another network within same organisation,

then he will not be able to access the database.

On typing the address it will show error 404, i.e. the page not found.

Case2 : Uploading Bigger File Size.

As the file size limit is fixed according to type of file, so the admin

will not be able to upload file which is greater than specified.

Case 3 : Uploading files of different extension .

In all sections there is a limitation of file extension. For eg in eBook

section it will support only pdf and doc files. Likewise Lectures will

support .ppt , .pptx , .mp4 files. When the admin tries to upload a not

supported file like .zip file in Lecture section it will show an alert

saying only .ppt files are allowed.

Case 4 : Deleting a file.

When the admin wants to delete a file he have to login and click on

the cross mark. On clicking the icon, the file is successfully deleted.

Page 42: Intranet database

[Intranet Database]

34

Chapter 6

Screenshots

Screenshot 1

Home Page

Screenshot 2

Login Page

Page 43: Intranet database

[Intranet Database]

35

Screenshot 3

Page For Uploading eBooks

Screenshot 4

Page For Downloding

Page 44: Intranet database

[Intranet Database]

36

Chapter 7

Future Enhancement

Intranet Database can not only be used for sharing files like ebooks,

softwares , images but also can be used as a tool for taking online classes

and give assignments .

One future scope is as follows

Teacher will create his/her own page

He/She will act as an admin and has to share the ip to

students so that they can connect.

Student will connect to that address and will login with

their credentials.

Teacher will give assignments or notes and students will

complete it online.

But for this students will be given limited privilege to

edit the assignments only.

Page 45: Intranet database

[Intranet Database]

37

Chapter 8

Limitations

There are some limitations in Intranet Database ;-

Here the files that can be shared will be of upto a limited

size that means no big files can be shared.

All the data will be available to all people.

Have to go through the whole list for getting a specific

file.

Not Secure.

Page 46: Intranet database

[Intranet Database]

38

Conclusion

The project entitled as Intranet Database is the system that deals with the

issues related to the availability of database inside the institution.

This project is successfully implemented with all the features mentioned in

system requirements specification.

The application provides appropriate information to users according to the

chosen service.

The project is designed keeping in view the day to day problems faced by a

college.

Page 47: Intranet database

[Intranet Database]

39

Reference

1. D B Heras, D. Otero, and F. Arguello ,” An eco feedback system for

improving the sustainability Performance of universities,” in Proc.

2011 IEEE International Conference on Virtual Environments Human

–Computer Interfaces and Measurement Systems, Ottawa, ON 2011 ,

pp. 1 – 6

2. Y Wang, B Y Sun, and F Cheng, “Electronic document – based

process model for image archives in universities,” in Proc. 2011

IInternational Conference on Information Technology, Computer

Engineering, and Management Sciences , Nanjing, Jiangsu , pp. 57–

60

3. System[J].Information System,1998,23(7):423-437.

4. Rakesh Agrawal, Sakti Ghosh, Tomasz Imielinski, Bala lyer, Aran

Swami. An Interval Classifier for Database Mining Applications[M].

CLDB92. Vancouver, British Coumbia, Vanada, 1992:560~573.

5. S.R. Bharamagoudar , Geeta R .B. and S.G.Totad, “Web Based

Student Information Management System”,

6. Intranet Design Magazine (http://www.innergy.com/index.html and

http://idm.internet.com )

7. Intranet Journal (http://www.intranetjournal.com )

8. Intranet Reference Site (http://www.intrack.com/intranet/ )

9. Intranet Roadmap (http://www.intranetroadmap.com )