SlideShare a Scribd company logo
1 of 69
i
Disclaimer
I hereby declare that this study entitled “FILE TRACKING SYSTEM” is based on my original
research work. Related works on the topic, by other researchers, have been duly acknowledged. I
owe all the liabilities relating to accuracy and authenticity of the data or any other information
included here under.
Signature:
Name of student: Sabana Maharjan
Date:
ii
Recommendation
This is to certify that this project entitled, “FILE TRACKING SYSTEM” prepared and
submitted by Sabana Maharjan in partial fulfillment of the requirements of the degree of
Bachelor of science (B.Sc.) in Computer Science and Information Technology awarded by
Tribhuvan University, has been completed under my supervision. I recommend the same for
acceptance by Tribhuvan University.
Signature:
Name of the supervisor:
Designation:
Date signed:
iii
Certificate
This project entitled “ FILE TRACKING SYSTEM” prepared and submitted by Sabana
Maharjan has been examined by us and is accepted for the award of the degree of Bachelor of
science (B.Sc.) in Computer Science and Information Technology awarded by Tribhuvan
University.
….. (Name)….. ….. (Signature)….. …… (Date signed)….. External
Examiner (2 blank spaces)
….. (Name)….. ….. (Signature)….. …… (Date signed)….. Project
Coordinator (2 blank spaces)
….. (Name)….. ….. (Signature)….. …… (Date signed)….. Supervisor (2
blank spaces)
….. (Name)….. ….. (Signature)….. …… (Date signed)…..
Head/Program Coordinator
iv
ACKNOWLEDGEMENT
We are very grateful to the Department of Computer Science and Information technology,
Kathmandu BernHardt College for providing us with an opportunity to work on a major project
as part of our project works syllabus. We express our gratitude towards our project supervisor
Mr. Keshav Poudel and Mr. Ramesh Sharma for his valuable time, suggestions and feedbacks
during the research and reporting of this project.
We are also grateful to all our teachers for their encouragement, feedback, suggestions and inputs
have been very useful towards completion of this project.
We are very thankful to our entire classmate. The project could not be completed
without their suggestions and support.
Sabana Maharjan (Symbol No.: 3175/068)
v
ABSTRACT
This project is made for effective and efficient collecting information about file. Taking this
problem into consideration we got an idea of developing an application which will help the
organization. My project entitled “File Tracking System” will address the problem of cost
because it just use the Internet of low bandwidth and alert or notify the people ranging from few
to huge number of people. This is the era of technology most of the people are lured towards the
smart phones and after installing our app they will get notification despite of their busy schedules
and they will manage their time for the event as per schedule. Since my project will directly push
the notification user does not have to bother about synchronization of their application. If the
user’s mobile is connected to the Internet, they will get popup notification in notification bar of
their mobile phone. After clicking on the notification they will get the detail information related
to that notification.
Keywords: Google Cloud
vi
ABBREVIATION
SQL:Structured Query Language
PHP:Personal Home Page
JSP: Java Server Pages
UML: Unified Modeling Language
SDLC: System Development Life Cycle
ID: Identity
CSS:Cascading Style Sheets
HTML: Hyper Text Markup Language
XHTML: Extensible Hyper Text Markup Language
DC: Direct Control
QA: Quality Analyst
1
Table of Contents
Disclaimer .........................................................................................................................................i
Recommendation .............................................................................................................................ii
Certificate........................................................................................................................................iii
ACKNOWLEDGEMENT ..............................................................................................................iv
ABSTRACT.....................................................................................................................................v
ABBREVIATION...........................................................................................................................vi
Introduction..................................................................................................................................... 3
1.1 Background Study ............................................................................................................ 3
1.2 Problem Definition ........................................................................................................... 3
1.3 Objectives......................................................................................................................... 3
1.4 Scope ................................................................................................................................ 4
1.5 Limitation ......................................................................................................................... 4
1.6 Outline of chapter 1 ......................................................................................................... 4
Chapter 2......................................................................................................................................... 5
Literature review............................................................................................................................. 5
2.1 Theoretical Review................................................................................................................ 5
2.2 Review of previous projects .................................................................................................. 5
2.3 outline of chapter 2............................................................................................................... 5
Chapter 3......................................................................................................................................... 6
METHODOLOGY.......................................................................................................................... 6
3.1 Data Collection...................................................................................................................... 6
3.1.1 Primary source................................................................................................................ 6
3.1.2 Secondary source............................................................................................................ 6
3.2 Data presentation ................................................................................................................. 7
3.2.1 System model ................................................................................................................. 7
3.2.2 Architecture model ......................................................................................................... 7
3.2.3 UML................................................................................................................................. 7
3.3 outline of chapter 3............................................................................................................... 7
Chapter 4......................................................................................................................................... 8
2
System Analysis and Design........................................................................................................... 8
4.1 Requirements ........................................................................................................................ 8
4.1.1 Functional Requirement ................................................................................................. 8
4.1.2 Non- Functional Requirement ........................................................................................ 8
4.2 Design.................................................................................................................................... 9
4.2.1 Use Case Diagram........................................................................................................... 9
4.2.2 Class Diagram................................................................................................................ 10
4.2.3 State Diagram............................................................................................................... 10
4.3 outline of chapter 4............................................................................................................. 11
Chapter 5....................................................................................................................................... 12
Implementation ............................................................................................................................. 12
5.1 System Architecture............................................................................................................ 12
5.2 Tool Integration................................................................................................................... 13
HTML (Hypertext Markup Language)........................................................................................ 13
PHP ............................................................................................................................................ 13
CSS............................................................................................................................................. 14
5.3 Major Modules.................................................................................................................... 14
5.4 Testing................................................................................................................................. 15
5.4.1 Testing Cases................................................................................................................. 15
5.5 outline of the chapter 5 ...................................................................................................... 16
Chapter 6....................................................................................................................................... 17
Conclusion and Summary............................................................................................................. 17
6.1 Summary ............................................................................................................................. 17
6.2Conclusion............................................................................................................................ 17
REFERENCES: ............................................................................................................................ 18
Appendixes A................................................................................................................................ 19
3
Chapter 1
Introduction
1.1 Background Study
File tracking by using manual method is just time consuming and the user sometime cannot find
the file which is needed so to overcome the problems file tracking is developed. This project is
helpful in tracking files faster. The programming language used in the software is PHP and the
database is SQL Server. A person will save a file or a document or image in a specific location in
their Pc. When they return after 5 days searching for the file they had saved, they will be
forgotten in most cases but not all the time. In such cases, software would be useful which will
gives us the location of the file where we had saved. This software searches the file very fast
rather than searching it manually. A login page is provided for security purpose. To log in first
you need to register by entering the username and password which will act as your login Id and
password. This username and password must not be shared with any. Admin has the rights to
view all the files or go to that specific location of the file. But the specific user can view only the
file saved by them. As soon as they log into the system a home page will be displayed. This
consists of all the files saved by them. By right clicking on that specific row, two options will be
provided. First is to view, which will directly open the file. Second is the location, which will
provide you the location of the file. The user can also delete the file directly from the software. If
there are more than 100 files displayed in the home and if u want to search for a specific file, you
can either provide the exact name of the file or the name which nearly matches to the exact name
of the file. All the files which consist of the word you searched will be displayed. This will be
helpful for the user in selecting their file and proceeding with their work. This software isn’t time
consuming and is user friendly.
1.2 Problem Definition
Thepeople are very lazy. This system is more prone to errors and sometimes the approach to
various problems is unstructured. The technical systems contains the tools of latest trend i.e.
computers printers, fax, internet etc. The systems with this technology are very fast, accurate,
user-friendly and reliable.
1.3 Objectives
 To reduce time, effort and errors in the existing manual system
 To provide comfort to different users within the system in filling their work record
 To provide quick up information regarding their job details etc.
4
1.4 Scope
 To get high speed in finding documents
 to combines innovative technology skills with rich domain expertise
 to provide software solution to distinct business requirements
1.5 Limitation
 Software may fail to give proper output if there is more than one file with same name
 If any problem occur in software then expert person is necessary to solve problem
1.6 Outline of chapter 1
File tracking by using manual method is just time consuming and the user sometime cannot find
the file which is needed so to overcome the problems file tracking is developed. It consists many
advantages as well as disadvantages. The objective of this project is to reduce the time to search
files, get quick information etc.
5
Chapter 2
Literature review
This chapter explains and discusses about the related information to File Tracking System. File
Tracking System is an application developed for tracking and to locate the position of files.
2.1 Theoretical Review
Every day we make files and store in our electronic devices and there is numbers of files which
we store in our device. But when we need to search the respective file we have to remember the
location of the file. When we forget the location of stored file we will face big problem and to
search the file we have to open each and every file. We have to check manually the files and
more time is loosed. So this system is developed which helps the user to find the file faster and
easier. Which save the time of the user.
2.2 Review of previous projects
 A Review of Project.net: PM Software With Built-In Social Media
written by: Ronda Bowen • edited by: Marlene Gundlach • updated: 6/4/2013
This article takes a hard look at Project.net and describes this full-service open source web-based
free software and whether it may be helpful to you in your situation.
Project.net is open source web-based software that allows users to increase their project's
performance and productivity while still managing to cut costs. This program has many features
that may be useful to project managers. These features include collaboration capabilities, issues
tracking, document management, project portfolio management, reports creation, a powerful
project dashboard, and the ability to closely monitor all project progress.
 A Review of Project.net: File Tracking System for BPO company
www.freestudentprojects.com
This project is developed by using the Asp because this will be the advanced and easy to use the
client / server technology so developed this project on the JSP
Who have the BPO Company will be use this project. It will be fully based on the Client / Server
technology. Using this project we can maintain the all person details (Data Conversion
Operators, Data Management, Quality Controller, etc). This project also will be the very useful
for the BPO Company.
2.3 outline of chapter 2
In this chapter, we can see the reviews of previews projects, book and the review of this project.
6
Chapter 3
METHODOLOGY
Methodology is the systematic, theoretical analysis of the methods applied to a field of study. It
comprises the theoretical analysis of the body of methods and principles associated with a branch of
knowledge.
3.1 Data Collection
Data collection is the process of gathering and measuring information on targeted variables in an
established systematic fashion, which then enables one to answer relevant questions and evaluate
outcomes.
3.1.1 Primary source
Primary data means original data that has been collected specially for the purpose to build my
“file tracking system “. That is the data collected from the original source first hand. Since the
data has not been published yet so the data is more reliable, authentic and objective. And the data
it includes is valid.
 Questioner
I found that many of users are not aware about the system and they just use manual file tracking
process. There is least number of people who use this system. But those who used it have great
feedback to my system. So I start collecting the information about the users who are using
manual process for searching files and latest trend to search files,and collect the data in which I
found many users are not feeling easy to use manual process.
 Interview
I ask the people about how they search their files. And from the interview I found that how
difficult for them to get the document which they want. So I collected the information from them
and included that information in my system as the features.
3.1.2 Secondary source
I collected the other secondary information like the analysis of system, system design from the
following sources:
 Software Engineering by Ian Sommerville (Seventh Edition)
 Software Engineering by Ian Sommerville (Ninth Edition)
7
3.2 Data presentation
Data presentation is the method by which people summarize, organize and
communicate information using a variety of tools, such as diagrams, distribution charts,
histograms and graphs.
3.2.1 System model
A system model is the conceptual model as a result of system modeling that describes and
represents a system. A system comprises multiple views such as planning, requirement
(analysis), design, implementation, deployment, structure, behavior, input data, and output
data views. A system model is required to describe and represent all these multiple views.
3.2.2 Architecture model
An architectural model is a type of scale model - a physical representation of a structure - built to
study aspects of an architectural design or to communicate design ideas.
Depending on the purpose, models can be made from a variety of materials, including blocks,
paper, and wood, and at a variety of scales.
3.2.3 UML
Unified Modeling language (UML) is a standardized modeling language enabling developers to
specify, visualize, construct and document artifacts of a software system. Thus, UML makes
these artifacts scalable, secure and robust in execution. UML is an important aspect involved in
object-oriented software development. It uses graphic notation to create visual models of
software systems.
3.3 outline of chapter 3
In this chapter, I have include different methodologies for this project. This project include data
collection methods like primary source and secondary source; and different data presentation like
system model, architecture model and UML.
8
Chapter 4
System Analysis and Design
Information Systems Analysis and Design-Development Life Cycle == Businesses and
organizations use various types of information systems to support the many processes needed to
carry out their business functions. Each of these information systems has a particular purpose or
focus, and each has a life of its own. This “life of its own” concept is called the systems
development life cycle or SDLC, and it includes the entire process of planning, building,
deploying, using, updating, and maintaining an information system. The development of a new
information system involves several different, but related activities. These activities, or phases,
usually include planning, analysis, design, implementation, and maintenance/support.
4.1 Requirements
Requirements analysis, also called requirements engineering, is the process of determining user
expectations for a new or modified product. These features, called requirements, must be
quantifiable, relevant and detailed. In software engineering, such requirements are often
called functional specifications. Requirements analysis is an important aspect of project
management.
4.1.1 Functional Requirement
Functional Requirements are statement of services that system should provide. It describes what
the system should do. They are helpful to describe the system function in detail. Here are some
of the functional requirements for our system, used by the users.
 The users shall be able to search either of all initial set of database or select a subset of it.
 The system shall provide the users to read the content and provide the feedback.
 Modification in the system can only be done by the developer.
 Every feedback is collected from the mail id of the user. Every user shall be allocated a unique
identifier and provide password.
4.1.2 Non- Functional Requirement
Non-functional Requirements are constraints on the services or functions offered by the system.
They are the constraint to the system as a whole. Some of the non-functional requirement of this
system is:-
 Accurate information
 System reliability
 Usable information
 System security
9
4.2 Design
Design is the creation of a plan or convention for the construction of an object, system or
measurable human interaction (as in architectural blueprints, engineering drawings, business
processes, circuit diagrams, and sewing patterns). Design has different connotations in different
fields (see design disciplines below). In some cases, the direct construction of an object (as
in pottery, engineering, management, coding, and graphic design) is also considered to be design.
4.2.1 Use Case Diagram
As we know that every system invoices the different actors (users) to run the system or to
interact with the system. Use case diagram shows the graphical overview of the actors involves
in the system, different function perform by different actor, interaction with the system within
environment. File Tracking System involves two actors: Admin and user.
This system includes different function which should be performed within the system
environment. Some functions are: Login, create user, take input i.e., name of file, etc. User can
provide their review through login into the system. The use case diagram of this project is shown
below:
10
4.2.2 Class Diagram
It is mostly used UML diagram which is blueprint to classes in a system. It shows the classes in a
system, attributes and functions of each class and the relationship between each class. In class
diagram, it contains three parts, name at the top, attributes in the middle and functions or
methods at the bottom.
In this system, it also contains classes. Due to presence of classes, classes are grouped
together to create a class diagram. Different relationships between classes are shown by different
types of arrows.
The Class diagram for the system is shown below:
4.2.3 State Diagram
A state diagram is a type of diagram used in computer science and related fields to describe the
behavior of systems. State diagrams require that the system described is composed of a finite
number of states. The State diagram for our project is shown below:
11
Fig: state diagram of user
Log in add
update
response
Fig: state diagram for admin
Some of the symbols used in this state diagram indicate-
Initial pseudo state
Final state
Simple state
4.3 outline of chapter 4
This chapter includes system analysis and design of the system. It includes requirements for the
project and designs : use case design, class design and state design with diagrams.
user
Search item
it
Compare item
view
Provide feedback
Not found
compare
admin Add item
Update item
Response
feedback
12
Chapter 5
Implementation
5.1 System Architecture
The methodology we have used to develop this software is “Waterfall Model”. Waterfall model
is one of a system development life cycle (SDLC) model. Users proceed to next phase if and
only if current phase is complete. Users are not allowed go back to previous phases if there are
any mistake so they named it waterfall model, just like the water is always fall down from the
waterfall and not flow upward.
In Royce's original waterfall model, the waterfall model originally consists of 7 phases
which is Requirement Specification, Design, Construction, Integration, Testing and Debugging,
Installation and Maintenance.
Fig: water flow model
13
In system architecture data are represented in different models as system models and architecture
models. The models are shown below:
 System model:
A system model is the conceptual model as a result of system modeling that describes
and represents a system.
 Architecture model:
An architectural model is a type of scale model - a physical representation of a structure -
built to study aspects of an architectural design or to communicate design ideas.
 UML:
UML is a standardized modeling language enabling developers to specify, visualize,
construct and document artifacts of a software system
5.2 Tool Integration
The tools that were used for the development of this system are:
 MSWord 2010(Report writing)
 Database server : MySQL
 Programming language : PHP, CSS, Html
 Photoshop (pictures)
 Microsoft visio (forming charts)
HTML (Hypertext Markup Language)
Hypertext Markup Language (HTML) is the standard markup language for creating web
pages and web applications. With Cascading Style Sheets (CSS), and JavaScript, it forms a triad
of cornerstone technologies for the World Wide Web. Web browsers receive HTML documents
from a webserver or from local storage and render them into multimedia web pages. HTML
describes the structure of a web page semantically and originally included cues for the
appearance of the document.
PHP
PHP is a server-side scripting language designed primarily for web development but also
used as a general-purpose programming language. Originally created by Rasmus Lerdorf in
1994, the PHP reference implementation is now produced by The PHP Development Team. PHP
originally stood for Personal Home Page, but it now stands for the recursive acronym PHP:
Hypertext Preprocessor.
14
CSS
Cascading Style Sheets (CSS) is a style sheet language used for describing
the presentation of a document written in a markup language. Although most often used to set
the visual style of web pages and user interfaces written in HTML and XHTML and is applicable
to rendering in speech, or on other media. Along with HTML and JavaScript, CSS is a
cornerstone technology used by most websites to create visually engaging webpages, user
interfaces for web applications, and user interfaces for many mobile applications.
5.3 Major Modules
Here the project Modules:-
 Login Module
 Administrator Module
 Data Management Module
 Data conversion operator Module
 Quality control Module
 Server or quality Analyst Module
 Report Module
LOGIN MODULE:
This module is used for authentication purpose. Any registered employee who is trying to enter
his work area is checked for his id and password .If he is authorized then he would be allowed to
enter into his work area.
ADMINISTRATOR MODULE:
This module helps the administrator to get the files from the client and register it into the server
database. Depending on the information given by the data management group the data or files
would be stored in the system. If the client wants to know the status of their files then they can
get it from the administrator. The Administrator would get the requested data from quality
analyst’s database.
DATA MANAGEMNT MODULE:
This module helps the data management group to assign the id and password for the employees
depending on their domain. It also helps the data management group to allocate the files their
domain.
DATA CONVERSION OPERATOR MODULE:
The employees authenticate themselves and get into the work area. This module helps the DC
operator to view the files that have been allocating to him. Through this module the employee
15
can download the files from the server and work on it. Once the DC operator has finished
processing the file, it is sent to quality controller.
QUALITY ANALYST MODULE:
This module helps the QA to track the current status of the file on which a DC operator is
working on. Immediately after the file is downloaded by the employee, information regarding the
file with the time that should be taken to process that file is received by the quality analyst. If the
file is not completed by the employee within the allocated time, then the quality analyst would
send a message to the respective employee asking him for the reason for the delay of the process.
If the process on the file is completed within the allotted time then a message would be received
regarding this by the quality analyst. Quality analyst can just maintain theses information, he is
not permitted to view or download a file from the database.
QUALITY CONTROLLER MODULE: After the process on the file is completed it is received
by the quality controller. He checks the file for quality and if found satisfactory then sends it
back to the administrator. But if the quality of the processed file is not found to be satisfactory
then that file is sent to the same place where the administrator had stored after registering the
file.
5.4 Testing
In system testing a common view is to eliminate program errors. This is extremely difficult and
time consuming. Since designers cannot prove 100% accuracy. A successful test, then, is one
that fined errors
.
5.4.1 Testing Cases
Test case ID Test case Expected result Actual result
1 Entry the valid date
in user Id and user
password and click
on login button on
login page.
Login page should
be display.
Login page opened.
2 Entry the invalid
date in user Id and
user password and
click on login
button on login
page.
Error message
should be display.
Error message is
display.
3 Search the file with
the file name.
File is found. Mission complete.
16
4 Mistake file is
searched or may be
spelling mistake.
Error message
should be
displayed.
Error message is
display.
5 File is searched but
more than one file
with same name are
stored.
File is displayed on
the screen.
Many files are
displayed on the
screen.
5.5 outline of the chapter 5
Chapter 5 describe about the implementation and testing of the system. This chapter describe
about the system architecture, tools used for the development of the system, modules are also
described and the result of the test are also includes.
17
Chapter 6
Conclusion and Summary
6.1 Summary
File tracking system is developed in place of manual method to decrease time consuming and the
user sometime cannot find the file which is needed so to overcome the problems file tracking is
developed. This project is helpful in tracking files faster. The programming language used in the
software is PHP and the database is SQL Server. A person will save a file or a document or
image in a specific location in their Pc. When they return after 5 days searching for the file they
had saved, they will be forgotten in most cases but not all the time. In such cases, software would
be useful which will gives us the location of the file where we had saved. This software searches
the file very fast rather than searching it manually. A login page is provided for security purpose.
To log in first you need to register by entering the username and password which will act as your
login Id and password. This username and password must not be shared with any. Admin has the
rights to view all the files or go to that specific location of the file. But the specific user can view
only the file saved by them. As soon as they log into the system a home page will be displayed.
This consists of all the files saved by them. By right clicking on that specific row, two options
will be provided. First is to view, which will directly open the file. Second is the location, which
will provide you the location of the file. The user can also delete the file directly from the
software. If there are more than 100 files displayed in the home and if u want to search for a
specific file, you can either provide the exact name of the file or the name which nearly matches
to the exact name of the file. All the files which consist of the word you searched will be
displayed. This will be helpful for the user in selecting their file and proceeding with their work.
This software isn’t time consuming and is user friendly.
In this project I have include the system design, architecture design modules of the file tracking
system which verify the working system of the system. I have questioned many users about this
system and manual system and take the feedback from then and tries to make the module which
the user want. This documentation includes different reviews of projects and the book. It
includes the figures of UML diagrams and other diagrams. In this documentation I have include
the testing cases which shows the system is not 100% errorless.
6.2Conclusion
I developed this project by using the PHP, HTML and CSS because this will be the advanced and
easy to use the client / server technology so developed this project on the JSP
This project will be used by any laptop users especially for those who have to work on different
files daily like students. It will be fully based on the Client / Server technology. Using this
project I can maintain the all person details (Data Conversion Operators, Data Management,
Quality Controller, etc.).
18
REFERENCES:
 Djbfts.nic.in - File Tracking System (FTS). (n.d.). Retrieved February 13, 2017,
from
http://www.bing.com/cr?IG=3A7F04D6D42C460AA2A9CD7E407C701D&CID=1061A03
03E896B87334FAA183FB86A37&rd=1&h=lkK-
lgFA5_3ne7u2DTW49nv9yJkEllDfornVuDoZWag&v=1&r=http%3a%2f%2fdjbfts.nic.in%
2f&p=DevEx,5035.1
 File Tracking System Login - nic.in. (n.d.). Retrieved February 14, 2017,
from
http://www.bing.com/cr?IG=5586481D598D4F4EA32BE275E8ED618E&CID=211FF
26D42396DEC15E1F84443086CE7&rd=1&h=lvhQaanSzZhGRTgFSF62yVOlRZKys
BbE1O_pcymhyL4&v=1&r=http%3a%2f%2fcg.nic.in%2ffms%2f&p=DevEx,5043.1
 File Tracking and Tracing. (n.d.). Retrieved February 14, 2017, from
http://www.filetrackingclient.com/
19
Appendixes A
 Login page:
<form name="form1" method="post" action="system.php">
<div align="center"><font size="2">Username</font><br>
<input type="text" name="user"><br>
<font size="2">Password</font><br>
<input type="password" name="pass">
<br><br>
<input type="submit" name="Submit" value=" Login ">
</div>
</form>
<div align="center"></div>
 Logout page:
<?php
$time = time();
// Say that user is logged out
$loggedout = true;
// If there is a cookie
if (isset($_COOKIE['cookie_info'])) {
// Delete the cookie
setcookie ("cookie_info", "", $time - 3600);
// Use Connect Script
include("connect.php");
// Include the validation of user file
include("validateuser.php");
// If user and password are correct
if (validateuser() == true) {
// Use cookie and Extract the cookie data (Username and Password)
$cookie_info = explode("-", $_COOKIE['cookie_info']);
$namecookie = $cookie_info[0];
$passcookie = $cookie_info[1];
// Get details of user from Database and put them in variables
$query = mysql_query("SELECT * FROM user WHERE username = '$namecookie'");
$name= mysql_result($query,0,0);
//The user is not logged out yet
$loggedout = false;
}
// If user and password are not correct print error message
else {
20
echo "Incorrect username/password";
exit;
}
}
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Logout</title>
</head>
<body>
<div align="center"><br><br><br><br><br>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,
0,0,0" width="80" height="58">
<param name=movie value="images/Movie2.swf">
<param name=quality value=high>
<embed src="images/Movie2.swf" quality=high
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=
ShockwaveFlash" type="application/x-shockwave-flash" width="80" height="58">
</embed>
</object><br>
<br>
<?php
// If user is logged out then print message
if ($loggedout == false) {
echo " <b>You are now logged out. <br><br><a href='index2.php'>Click here to log in
again.</a><br><br> or<br><br>";?><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-
444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,
0,0,0" width="100" height="22">
<param name=movie value="images/close.swf">
<param name=quality value=high>
<embed src="images/close.swf" quality=high
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=
ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22">
</embed>
</object><?php
}
?>
21
</div>
</html>
 User validation:
<?php
function validateuser() {
// Use cookie information and validate cookie
// Use cookie and Extract the cookie data (Username and Password)
// 'cookie_info' is the cookie name you assigned it when making the cookie
$cookie_info = explode("-", $_COOKIE['cookie_info']);
$namecookie = $cookie_info[0];
$passcookie = $cookie_info[1];
// Check if username exists
$usernamelogin = mysql_num_rows(mysql_query("SELECT * FROM user WHERE username
= '$namecookie'"));
// If username exists
if ($usernamelogin == 1) {
// Check if password matches the database password
$passwordlogin = mysql_num_rows(mysql_query("SELECT * FROM user WHERE
username = '$namecookie' AND password = '$passcookie'"));
// If password is correct
if ($passwordlogin == 1) {
// User is now logged in
return (true);
}
// If the password is incorrect
else {
return(false);
}
}
// If the username was not found in database
else {
return(false);
}
}
?>
 Connection with Database :
<?php
22
$dbh=mysql_connect ("localhost", "root", "dah7717") or die ('I cannot connect to the database
because: ' . mysql_error());
mysql_select_db ("fts");
?>
 File set:
<script language="JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-
2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src;
x.src=a[i+2];}
}
//-->
</script>
<body
onLoad="MM_preloadImages('images/createNewDown.PNG','images/updatelocationDown.PN
G','images/deletefileDown.PNG')" >
<table width="758" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td width="2" height="19"></td>
<td valign="top" colspan="5"><a href="system_files.php"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image2','','images/updatelocationDown.PNG',1)"><img
23
name="Image2" border="0" src="images/updatelocationDown.PNG" width="150"
height="19"></a></td>
<td width="2"></td>
<td width="150" valign="top"><a href="system_files_createNew.php"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image3','','images/createNewDown.PNG',1)"><img
name="Image3" border="0" src="images/createNewUp.PNG" width="150" height="19"
alt="Create New File"></a></td>
<td width="2"></td>
<td width="150" valign="top"><a href="system_files_delete.php"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image4','','images/deletefileDown.PNG',1)"><img
name="Image4" border="0" src="images/deletefileUp.PNG" width="150"
height="19"></a></td>
<td width="166"></td>
<td width="2"></td>
<td width="6"></td>
<td width="128" rowspan="4" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0"
background="images/BG.PNG">
<tr>
<td width="132" height="91"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="15"></td>
<td width="16"></td>
<td width="6"></td>
<td width="50"></td>
<td width="61"></td>
<td width="17"></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="23"></td>
<td></td>
<td colspan="6" valign="top">
24
<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr>
<td width="483" height="21" valign="top" bgcolor="#6B6C9C">
<div align="center"><b><font color="#FFFFFF">Check Current File
Location</font></b></div>
</td>
</tr>
</table>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td height="40"></td>
<td valign="top">&nbsp;</td>
<td></td>
<td rowspan="6" valign="top">
<div align="center">
<p><b><font color="#CCCCCC">U</font></b></p>
<p><font color="#CCCCCC"><b>P</b></font></p>
<p><font color="#CCCCCC"><b>D</b></font></p>
<p><font color="#CCCCCC"><b>A</b></font></p>
<p><font color="#CCCCCC"><b>T</b></font></p>
<p><font color="#CCCCCC"><b>E</b></font></p>
</div>
</td>
<td></td>
<td colspan="6" rowspan="2" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="487" height="120" valign="top">
<form name="form3" method="post" action="system_files.php">
<div align="center"><br>
<b><font size="2">File Number or Name:</font></b><br>
<input type="text" name="finoname">
<br>
<br>
<input type="submit" name="Submit4" value=" Check ">
</div>
</form>
25
</td>
</tr>
</table>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td height="97"></td>
<td></td>
</tr>
<tr>
<td height="57"></td>
<td></td>
<td></td>
<td></td>
<td colspan="7" valign="top">
<table width="100%" border="1" cellpadding="1" cellspacing="1">
<tr>
<td width="481" height="2"></td>
</tr>
<tr>
<td height="23" valign="top" bgcolor="#AAABC6">
<div align="center"><font color="#FFFFFF"><b>Current File Location</b></font></div>
</td>
</tr>
<tr>
<td height="22" valign="top" bgcolor="#FFFFCC">
<div align="center"><b>[</b>
<?PHP
include("connect.php");
$fnn = $_POST['finoname'];
$query = mysql_query("SELECT * FROM files WHERE fileno = '$fnn' ");
$fno = mysql_result($query,0,0);
$fname = mysql_result($query,0,1);
$floc = mysql_result($query,0,3);
$fres = mysql_result($query,0,5);
$query2 = mysql_query("SELECT * FROM files WHERE filename = '$fnn' ");
$fno2 = mysql_result($query2,0,0);
$fname2 = mysql_result($query2,0,1);
26
$floc2 = mysql_result($query2,0,3);
$fres2 = mysql_result($query2,0,5);
$idindb = mysql_query("SELECT * FROM files WHERE filename = '$fnn' OR fileno =
'$fnn' ");
$isidindb = mysql_num_rows($idindb);
if ($fnn == ''){
echo "<font color='red'>Input the File Number or File Name.</font>";
} else
if ($isidindb == 0){
echo "<font color='red'>The File Does Not Exist</font>";
}else {
echo"<b><font color='red'> $fno$fno2 - $fname$fname2 - $floc$floc2 -
$fres$fres2 </font></b>";}
?>
<b>] </b></div>
</td>
</tr>
<tr>
<td height="2"></td>
</tr>
</table>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td height="7"></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="24"></td>
<td></td>
<td></td>
<td></td>
<td colspan="6" valign="top">
<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr>
<td width="483" height="21" valign="top" bgcolor="#6B6C9C">
27
<div align="center"><b><font color="#FFFFFF">Set New File Location</font></b></div>
</td>
</tr>
</table>
</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="3"></td>
<td></td>
<td></td>
<td></td>
<td colspan="6" valign="top" rowspan="4">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<form name="form2" method="post" action="system_files_setact.php">
<tr>
<td valign="top" height="48" colspan="2">
<div align="center"><b><font size="2"> New Location:</font></b><br>
<select name="select1">
<?php
include("connect.php");
$query = "SELECT * FROM location";
$result = mysql_query($query);
echo "<option selected> [ Choose Location ] </option>";
while($row = mysql_fetch_array($result))
{
$loc = $row[0];
echo "<option>$loc</option>";
}
?>
</select>
<font size="2"><b></b></font></div>
</td>
<td width="239" rowspan="2" valign="top">
<div align="center"><font size="2"><b>Comments (Optional):</b></font>
<br>
28
<textarea name="komen" rows="3"></textarea>
</div>
</td>
<td width="2"></td>
</tr>
<tr>
<td height="51" colspan="2" valign="top">
<div align="center"><font size="2"><b>Person Responsible:<br>
</b></font><b><font size="2">
<select name="select2">
<?php
$query = "SELECT * FROM person";
$result = mysql_query($query);
echo "<option selected>[ Choose Person ]</option>";
while($row = mysql_fetch_array($result))
{
$file = $row[0];
echo "<option>$file</option>";
}
?>
</select>
</font></b></div>
</td>
<td></td>
</tr>
<tr>
<td height="33" width="2"></td>
<td colspan="3" valign="top">
<div align="center"><b><font size="2"></font></b><b></b>
<input type="reset" name="Submit3" value=" Clear ">
<input type="submit" name="Submit2" value="Update">
<b><font size="2"></font></b></div>
</td>
</tr>
<tr>
<td height="1"></td>
<td width="244"></td>
<td></td>
<td></td>
29
</tr>
</form>
</table>
</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="22"></td>
<td></td>
</tr>
<tr>
<td height="69"></td>
<td colspan="4" valign="top"><b><font size="2">
<div align = 'center'>
<?php
echo "<table border='0' width='0' id='table1' height='0'>
<tr>
<td><input type='hidden' name='fno' value='$fno$fno2'/></td>
</tr>
<tr>
<td><input type='hidden' name='fname'
value='$fname$fname2'/></td>
</tr>
</table>";
$currentdatetime = mysql_query('select now()');
$curdatetime = mysql_result($currentdatetime,0);
//$date = date("D",time()) . " | " . date("d",time()) .
"-" . date ("m", time()) . "-" . date("y",time());
$fno = $_POST['fno'];
$fname = $_POST['fname'];
$location = $_POST['select1'];
$responsible = $_POST['select2'];
$comment = $_POST['komen'];
$initiator = $name;
if ($location == '[ Choose Location ]'){
30
echo "<font color='red'>Select the Location to Update.";
}else
if ($responsible == '[ Choose Person ]'){
echo "<font color='red'>Select the Person Responsible to
Update.";
}else if ($fno == '' OR $fname == ''){
echo "<font color='red'>Check Current File Location First
Before Updating.";
}else{
echo "Updated!";
mysql_query("INSERT INTO movement VALUE
('$fno','$fname','$location','$responsible','$comment','$initiator','$curdatetime')");
mysql_query ("UPDATE files SET currentloc = '$location'
WHERE fileno = '$fno' OR filename = '$fname' ");
mysql_query ("UPDATE files SET currentresponsible = '$responsible' WHERE
fileno = '$fno' OR filename = '$fname' ");
}
?>
</div>
</font></b></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="39"></td>
<td></td>
</tr>
</table>
 Search file:
<body >
<table width="758" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td width="31" height="34"></td>
<td width="22"></td>
<td width="9" rowspan="2" valign="top">&nbsp;</td>
<td width="4"></td>
<td width="69"></td>
<td width="482"></td>
<td width="3"></td>
31
<td width="6"></td>
<td width="132" rowspan="4" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0"
background="images/BGsearch.PNG">
<tr>
<td width="132" height="91"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="23"></td>
<td></td>
<td></td>
<td></td>
<td valign="top" rowspan="2">
<table width="100%" border="1" cellpadding="1" cellspacing="1">
<tr>
<td width="474" height="23" valign="top" bgcolor="#6B6C9C">
<div align="center"><b><font color="#FFFFFF">Search File</font></b></div>
</td>
</tr>
</table>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td height="9"></td>
<td colspan="3" rowspan="8" valign="top">
<div align="center">
<p><b><font color="#CCCCCC">S</font></b></p>
<p><font color="#CCCCCC"><b>E</b></font></p>
<p><font color="#CCCCCC"><b>A</b></font></p>
<p><font color="#CCCCCC"><b>R</b></font></p>
<p><font color="#CCCCCC"><b>C</b></font></p>
<p><font color="#CCCCCC"><b>H</b></font></p>
</div>
</td>
<td></td>
32
<td></td>
<td></td>
</tr>
<tr>
<td height="25" valign="top">&nbsp;</td>
<td></td>
<td rowspan="2" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" width="482" height="137">
<form name="formS1" method="post" action="system_search_bynumber.php">
<div align="center"><br>
<b><font size="2">File Number or Name:</font></b><br>
<input type="text" name="fname">
<br>
<br>
<input type="submit" name="SubmitS1" value=" Search ">
</div>
</form>
</td>
</tr>
</table>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td height="112"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="18"></td>
<td></td>
<td valign="top">
<div align="center">
<?php
include("connect.php");
33
$nameno = $_POST['fname'];
// Get details of files from Database and put them in variables
$query = mysql_query("SELECT * FROM files WHERE filename = '$nameno'");
$fno = mysql_result($query,0,0);
$fname = mysql_result($query,0,1);
$floc = mysql_result($query,0,3);
$fres = mysql_result($query,0,5);
$query2 = mysql_query("SELECT * FROM files WHERE fileno = '$nameno'");
$fno2 = mysql_result($query2,0,0);
$fname2 = mysql_result($query2,0,1);
$floc2 = mysql_result($query2,0,3);
$fres2 = mysql_result($query2,0,5);
$idindb = mysql_query("SELECT * FROM files WHERE filename = '$nameno' OR fileno =
'$nameno' ");
$isidindb = mysql_num_rows($idindb);
if ($nameno == ''){
echo "<font color='red'>Please make sure you input the file name or number.";
} else
if ($isidindb == 0){
echo "<font color='red'>The File Does Not Exist";
}else {echo "<b>[ $nameno ]</b>";}
?>
</div>
</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="18"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
34
<td height="60"></td>
<td></td>
<td colspan="2" valign="top">
<table width="100%" border="1" cellpadding="1" cellspacing="1">
<tr>
<td height="2" width="477"></td>
</tr>
<tr>
<td valign="top" bgcolor="#AAABC6" height="23">
<div align="center"><font color="#FFFFFF"><b>Current File Location</b></font></div>
</td>
</tr>
<tr>
<td height="2"></td>
</tr>
<tr>
<td height="22" valign="top" bgcolor="#FFFFCC">
<div align="center">
<?PHP
echo"<b>[ <font color='red'>";
echo"<b>$fno2$fno - </b>";
echo"<b>$fname2$fname - </b>";
echo"<b>$floc2$floc - </b>";
echo"<b>$fres2$fres</b>";
echo"</font><b> ]";
?>
</div>
</td>
</tr>
<tr>
<td height="3"></td>
</tr>
</table>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td height="16"></td>
<td></td>
35
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="76"></td>
<td></td>
<td rowspan="2" valign="top">
<form name="form1" method="post" action="history.php">
<div align="center"><b>File Number:</b>
<?php echo "$fno$fno2"; ?>
<b>&nbsp;&nbsp;&nbsp;File Name:</b>
<?php echo "$fname$fname2"; ?>
<br>
<br>
<input type="submit" name="Submit" value="History">
<?php
echo "<table border='0' width='0' id='table1' height='0'>
<tr>
<td><input type='hidden' name='fno' value='$fno$fno2'/></td>
</tr>
<tr>
<td><input type='hidden' name='fname'
value='$fname$fname2'/></td>
</tr>
</table>";
$fno = $_POST['fno'];
$fname = $_POST['fname'];
?>
</div>
</form>
</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="14"></td>
36
<td></td>
</tr>
</table>
 History search:
<html>
<head>
<title>..::: File-Track System :::.. by ReVo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-
2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src;
x.src=a[i+2];}
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000"
onLoad="MM_preloadImages('images/search_down.PNG','images/loc_down.PNG','images/PER
SON_down.PNG','images/help_down.PNG','images/icon2.PNG','images/foldericondownsearch.P
37
NG','images/foldericonpersondown.PNG','images/foldericonlocdown.PNG','images/foldericondo
wnhelp.PNG','images/files_down.PNG')">
<div align = 'center'>
<table width="761" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td valign="middle" colspan="3" align="center" height="65">
<div align="left"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,
0,0,0" width="80" height="58">
<param name=movie value="images/Movie2.swf">
<param name=quality value=high>
<embed src="images/Movie2.swf" quality=high
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=
ShockwaveFlash" type="application/x-shockwave-flash" width="80" height="58">
</embed>
</object></div>
</td>
<td valign="middle" colspan="9" bgcolor="#FFFFFF" align="center">
<div align="left"><img src="images/ftrack.PNG" width="289" height="56" alt="File-Track
System">
</div>
</td>
<td valign="middle" align="center" colspan="2">&nbsp;</td>
</tr>
<tr>
<td height="73" width="1"></td>
<td width="1"></td>
<td valign="top" colspan="2" align="center"><a href="system_files.php"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('filee','','images/files_down.PNG',1)"><img name="filee"
border="0" src="images/files_up.PNG" width="150" height="19" alt="Update Files
Location"></a><a href="system_files.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('icon1','','images/icon2.PNG',1)"><br>
<img name="icon1" border="0" src="images/icon1.PNG" width="70" height="52" alt="Update
Files Location"></a></td>
<td width="2"></td>
<td width="150" valign="top" align="center"><a href="system_search_bynumber.php"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('search','','images/search_down.PNG',1)"><img
38
name="search" border="0" src="images/search_down.PNG" width="150" height="19"
alt="Search for files"></a><br>
<a href="system_search_bynumber.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('iconsearch','','images/foldericondownsearch.PNG',1)"><img
name="iconsearch" border="0" src="images/foldericonupsearch.PNG" width="68" height="54"
alt="Search Files"></a></td>
<td width="2"></td>
<td width="150" valign="top">
<div align="center"><a href="system_locations.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('location','','images/loc_down.PNG',1)"><img
name="location" border="0" src="images/loc_up.PNG" width="150" height="19" alt="Files at
location"></a><br>
<a href="system_locations.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('locationicon','','images/foldericonlocdown.PNG',1)"><img
name="locationicon" border="0" src="images/foldericonlocup.PNG" width="68" height="54"
alt="Files at Location"></a></div>
</td>
<td width="2"></td>
<td width="150" valign="top">
<div align="center"><a href="system_persons.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('person','','images/PERSON_down.PNG',1)"><img
name="person" border="0" src="images/PERSON_up.PNG" width="150" height="19"
alt="Files at Person"></a><br>
<a href="system_persons.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('personicon','','images/foldericonpersondown.PNG',1)"><img
name="personicon" border="0" src="images/foldericonpersonup.PNG" width="68" height="54"
alt="Files at Person"></a></div>
</td>
<td width="2"></td>
<td valign="top" colspan="2">
<div align="center"><a href="system_help.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('help','','images/help_down.PNG',1)"><img name="help"
border="0" src="images/help_up.PNG" width="150" height="19" alt="Need Help?"></a><br>
<a href="system_help.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('helpicon','','images/foldericondownhelp.PNG',1)"><img
name="helpicon" border="0" src="images/foldericonuphelp.PNG" width="68" height="54"
alt="Need Help?"></a></div>
</td>
<td width="1"></td>
</tr>
39
<tr>
<td height="40"></td>
<td></td>
<td valign="top" colspan="12">
<div align="center">
<hr>
</div>
</td>
</tr>
<tr>
<td height="21"></td>
<td></td>
<td valign="top" colspan="12" bgcolor="#6B6C9C">
<div align="center"><b><font color="#FFFFFF">File Location History</font></b></div>
</td>
</tr>
<tr>
<td height="126"></td>
<td></td>
<td valign="top" colspan="12">
<?php
include("connect.php");
$nameno = $_POST['fname'];
// Get details of files from Database and put them in variables
$query = mysql_query("SELECT * FROM files WHERE filename = '$nameno'");
$fno = mysql_result($query,0,0);
$fname = mysql_result($query,0,1);
$floc = mysql_result($query,0,3);
$query2 = mysql_query("SELECT * FROM files WHERE fileno = '$nameno'");
$fno2 = mysql_result($query2,0,0);
$fname2 = mysql_result($query2,0,1);
$floc2 = mysql_result($query2,0,3);
$idindb = mysql_query("SELECT * FROM files WHERE filename = '$nameno' OR fileno =
'$nameno' ");
$isidindb = mysql_num_rows($idindb);
$query3 = "SELECT * FROM movement WHERE filesNo = '$fno'
OR filesName = '$fname' ";
40
$result3 = mysql_query($query3);
//echo "$fno $fname $nameno $fno2 $fname2";
?>
<?php
echo "<table border='0' width='0' id='table1' height='0'>
<tr>
<td><input type='hidden' name='fno' value='$fno$fno2'/></td>
</tr>
<tr>
<td><input type='hidden' name='fname'
value='$fname$fname2'/></td>
</tr>
</table>";
$fno = $_POST['fno'];
$fname = $_POST['fname'];
//echo "$fno $fname";
?>
<br>
<br>
<div align="center">
<?php echo "<b>File No:</b> $fno <b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File Name:</b>
$fname";?>
<br>
<br>
<table border="1" width="78%" cellpadding="2">
<tr>
<th width="79" valign="top" bgcolor="#6B6C9C"><font
color="#FFFFFF">Location</font></th>
<th width="139" valign="top" bgcolor="#6B6C9C"><font color="#FFFFFF">Person
Responsible</font></th>
<th width="96" valign="top" bgcolor="#6B6C9C"><font
color="#FFFFFF">Comments</font></th>
<th width="88" valign="top" bgcolor="#6B6C9C"><font color="#FFFFFF">Initiated
By</font></th>
<th width="101" valign="top" bgcolor="#6B6C9C"><font color="#FFFFFF">Date
and Time</font></th>
41
</tr>
<?php
while($row = mysql_fetch_array($result3)){
$location = $row[2];
$responsible = $row[3];
$comment = $row[4];
$initiator = $row[5];
$datime = $row[6];
echo "<tr bgcolor='#FFCC99'>";
echo "<td><font size='2' color =
'red'><b>$location</b>";
echo "<td><font size='2'>$responsible";
echo "<td><font size='2'>$comment";
echo "<td><font size='2'>$initiator";
echo "<td><font size='2'>$datime";
echo "</tr>";
}
?>
</table>
</div>
</td>
</tr>
<tr>
<td height="40"></td>
<td colspan="12" valign="top">
<div align="center">
<p></p>
<hr>
<a href="javascript:history.back(-1);">Back</a></div>
</td>
<td></td>
</tr>
<tr>
<td height="1"></td>
<td></td>
<td width="79"></td>
<td width="71"></td>
<td></td>
42
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td width="62"></td>
<td width="88"></td>
<td></td>
</tr>
</table>
</div>
</body>
</html>
 Location:
<script language="JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-
2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src;
x.src=a[i+2];}
43
}
//-->
</script>
<body
onLoad="MM_preloadImages('images/createnewpersonDown.PNG','images/filesatLocationDow
n.PNG','images/deletelocDown.PNG')" >
<table width="758" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td width="2" height="19"></td>
<td valign="top" colspan="6"><a href="system_locations.php"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image4','','images/filesatLocationDown.PNG',1)"><img
name="Image4" border="0" src="images/filesatLocationDown.PNG" width="150" height="19"
alt="Files at specific Location"></a></td>
<td width="2"></td>
<td valign="top" colspan="2"><a href="system_locations_createnew.php"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image2','','images/createnewpersonDown.PNG',1)"><img
name="Image2" border="0" src="images/createnewpersonUp.PNG" width="150" height="19"
alt="Create New Location"></a></td>
<td width="2"></td>
<td valign="top" width="150"><a href="system_locations_delete.php"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image3','','images/deletelocDown.PNG',1)"><img
name="Image3" border="0" src="images/deletelocUp.PNG" width="150" height="19"
alt="Delete Location"></a></td>
<td width="46"></td>
<td width="22" rowspan="3" valign="top">&nbsp;</td>
<td width="70"></td>
<td width="20"></td>
<td width="10"></td>
<td width="129" rowspan="4" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0"
background="images/BGlocation.PNG">
<tr>
<td width="132" height="89"></td>
</tr>
</table>
</td>
<td width="5"></td>
44
</tr>
<tr>
<td height="44"></td>
<td width="39"></td>
<td width="15"></td>
<td width="4"></td>
<td width="22"></td>
<td width="35"></td>
<td width="35"></td>
<td></td>
<td width="1"></td>
<td width="149"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="6"></td>
<td></td>
<td rowspan="9" valign="top">
<div align="center">
<p><font color="#CCCCCC"><b>F</b></font></p>
<p><b><font color="#CCCCCC">I</font></b></p>
<p><b><font color="#CCCCCC">L</font></b></p>
<p><b><font color="#CCCCCC">E</font></b></p>
<p><b><font color="#CCCCCC">@</font></b></p>
<p>&nbsp;</p>
</div>
</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
45
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="23"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td colspan="9" rowspan="2" valign="top">
<table width="100%" border="1" cellpadding="1" cellspacing="0">
<tr>
<td width="456" height="23" valign="middle" bgcolor="#6B6C9C">
<div align="center"><font color="#FFFFFF"><b>Current File(s) at Specific
Location</b></font></div>
</td>
</tr>
</table>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td height="2"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
46
<td height="14"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="9"></td>
<td></td>
<td></td>
<td rowspan="6" valign="top">
<div align="center">
<p><b><font color="#CCCCCC">L</font></b></p>
<p><font color="#CCCCCC"><b>O</b></font></p>
<p><font color="#CCCCCC"><b>C</b></font></p>
<p><font color="#CCCCCC"><b>A</b></font></p>
<p><font color="#CCCCCC"><b>T</b></font></p>
<p><font color="#CCCCCC"><b>I</b></font></p>
<p><font color="#CCCCCC"><b>O</b></font></p>
<p><font color="#CCCCCC"><b>N</b></font></p>
</div>
</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
47
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="131"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td colspan="9" valign="top" rowspan="2">
<form name="form1" method="post" action="system_locations.php">
<div align="center">
<p><br>
<b>Name: </b>
<select name="select">
<?php
include("connect.php");
$query = "SELECT * FROM location";
$result = mysql_query($query);
echo "<option selected>[Choose Location]</option>";
while($row = mysql_fetch_array($result))
{
$loc = $row[0];
echo "<option>$loc</option>";
}
?>
</select>
<br>
<br>
<input type="submit" name="Submit" value=" Check ">
</p>
48
</div>
</form>
<div align='center'>
<?php
include("connect.php");
$location = $_POST['select'];
$resindb = mysql_query("SELECT * FROM files WHERE currentloc = '$location' ");
$isresindb = mysql_num_rows($resindb);
//echo"$isidindb";
if ($location == '[Choose Location]' OR $location == ''){
echo "<font color='red'>Select Location to check File-At-Location";
}else if ($isresindb == '0'){
echo "<font color='red'>There is no files at</font> [ <b>$location</b> ]";
}else {
echo " File(s)-At-Location [ <b>$location</b> ]<br>";
}
?>
</div>
</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="19"></td>
<td></td>
<td></td>
<td></td>
<td valign="top">
<?php
include("connect.php");
$query2 = "SELECT * FROM files WHERE currentloc =
'$location'";
$result2 = mysql_query($query2);
?>
</td>
<td></td>
<td></td>
<td></td>
</tr>
49
<tr>
<td height="43"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td colspan="6" valign="top">
<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr>
<td valign="middle" height="21" width="127" align="center" bgcolor="#AAABC6"><b>File
Number</b></td>
<td width="174" valign="middle" align="center" bgcolor="#AAABC6"><b>File
Name</b></td>
<td width="130" valign="top" bgcolor="#AAABC6">
<div align="center"><b>File Description</b></div>
</td>
</tr>
<?php
while($row = mysql_fetch_array($result2)){
$no = $row[0];
$name = $row[1];
$fdesc = $row[2];
echo "<tr>";
?>
<tr>
<td height="20" valign="top" bgcolor="#FFFFCC">
<?php echo "<center>$no";
?>
<td valign="top" bgcolor="#FFFFCC">
<?php echo " <center>$name";
?>
<td valign="top" bgcolor="#FFFFCC">
<?php echo " <center>$fdesc";
echo "</tr>";
} ?>
</table>
</td>
<td></td>
50
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="57"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="45"></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
 Help:
<?php
// If there is no cookie presesnt
if (!isset($_COOKIE['cookie_info'])) {
// Variables that data come from the form
$username = $_POST["user"];
$password = $_POST["pass"];
// Check if username and password where submitted
51
if (!$username) {
echo "<center><b>Please Enter Your Username <br><br><a
href='index2.php'>Back</a>"; exit;
}
if (!$password) {
echo "<center><b>Please Enter Your Password <br><br><a
href='index2.php'>Back</a>"; exit;
}
// Use Connect Script
include("connect.php");
// MD5 Username and Password
//$username = MD5($username);
//$password = MD5($password);
// Check if username exists. If not then say no such username.
$issuchusername = mysql_query("SELECT * FROM user WHERE username =
'$username'");
$usernamelogin = mysql_num_rows($issuchusername);
// If username exists
if ($usernamelogin == 1) {
$issuchpassword = mysql_query("SELECT * FROM user WHERE username =
'$username' AND password = '$password'");
$passwordlogin = mysql_num_rows($issuchpassword);
// If password is correct
if ($passwordlogin == 1) {
$time = time();
$cookie_data = $username.'-'.$password;
if(setcookie ("cookie_info",$cookie_data, $time+3600)==TRUE) {
}
else {
echo "You computer does not support cookies. <BR> To view other pages after
logged in you need to have cookies enabled.<BR>";
}
52
}
else {
echo "<center><b>Incorrect Username/Password <br><br><a
href='index2.php'>Back</a>";
exit;
}
}
else {
echo "<center><b>Incorrect Username/Password <br><br><a
href='index2.php'>Back</a>";
exit;
}
}
// End if no cookie present
?>
<html>
<head>
<title>..::: File-Track System :::.. by ReVo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
53
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-
2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src;
x.src=a[i+2];}
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000"
onLoad="MM_preloadImages('images/files_down.PNG','images/icon2.PNG','images/foldericon
downsearch.PNG','images/foldericonpersondown.PNG','images/foldericonlocdown.PNG','images
/foldericondownhelp.PNG','images/search_down.PNG','images/loc_down.PNG','images/PERSO
N_down.PNG','images/help_down.PNG')">
<div align = 'center'>
<table width="762" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td valign="middle" colspan="2" align="center" height="65">
<div align="left"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,
0,0,0" width="80" height="58">
<param name=movie value="images/Movie2.swf">
<param name=quality value=high>
<embed src="images/Movie2.swf" quality=high
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=
ShockwaveFlash" type="application/x-shockwave-flash" width="80" height="58">
</embed>
</object></div>
</td>
<td valign="middle" colspan="9" bgcolor="#FFFFFF" align="center">
<div align="left"><img src="images/ftrack.PNG" width="289" height="56" alt="File-Track
System">
</div>
</td>
<td valign="middle" align="center" colspan="2"><a href="logout.php">Logout</a></td>
<td width="1"></td>
</tr>
<tr>
<td height="73" width="2"></td>
54
<td valign="top" colspan="2" align="center"><a href="system_files.php"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('files','','images/files_down.PNG',1)"><img name="files"
border="0" src="images/files_up.PNG" width="150" height="19" alt="Update Files
Location"></a><a href="system_files.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('icon1','','images/icon2.PNG',1)"><br>
<img name="icon1" border="0" src="images/icon1.PNG" width="70" height="52" alt="Update
Files Location"></a></td>
<td width="2"></td>
<td width="150" valign="top" align="center"><a href="system_search_bynumber.php"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image11','','images/search_down.PNG',1)"><img
name="Image11" border="0" src="images/search_up.PNG" width="150" height="19"
alt="Search Files"></a><br>
<a href="system_search_bynumber.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('iconsearch','','images/foldericondownsearch.PNG',1)"><img
name="iconsearch" border="0" src="images/foldericonupsearch.PNG" width="68" height="54"
alt="Search Files"></a></td>
<td width="2"></td>
<td width="150" valign="top">
<div align="center"><a href="system_locations.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image12','','images/loc_down.PNG',1)"><img
name="Image12" border="0" src="images/loc_up.PNG" width="150" height="19" alt="Files at
Location"></a><br>
<a href="system_locations.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('locationicon','','images/foldericonlocdown.PNG',1)"><img
name="locationicon" border="0" src="images/foldericonlocup.PNG" width="68" height="54"
alt="Files at Location"></a></div>
</td>
<td width="2"></td>
<td width="150" valign="top">
<div align="center"><a href="system_persons.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image13','','images/PERSON_down.PNG',1)"><img
name="Image13" border="0" src="images/PERSON_up.PNG" width="150" height="19"
alt="Files at Person"></a><br>
<a href="system_persons.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('personicon','','images/foldericonpersondown.PNG',1)"><img
name="personicon" border="0" src="images/foldericonpersonup.PNG" width="68" height="54"
alt="Files at Person"></a></div>
</td>
55
<td width="2"></td>
<td valign="top" colspan="2">
<div align="center"><a href="?page=help" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image14','','images/help_down.PNG',1)"><img
name="Image14" border="0" src="images/help_down.PNG" width="150" height="19"
alt="Need Help?"></a><br>
<a href="?page=help" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('helpicon','','images/foldericondownhelp.PNG',1)"><img
name="helpicon" border="0" src="images/foldericonuphelp.PNG" width="68" height="54"
alt="Need Help?"></a></div>
</td>
<td width="1"></td>
<td></td>
</tr>
<tr>
<td height="39"></td>
<td valign="top" colspan="12">
<div align="center">
<hr>
<?php
switch($_GET['page']) {
case "files":
//echo "Files";
include ('files.php');
break;
case "search":
//echo "Search";
include ('searchbynumber.php');
break;
case "location":
//echo "Locations";
include ('locations.php');
break;
case "person":
//echo "Persons";
include ('persons.php');
break;
case "help":
//echo "Help";
56
include ('help.php');
break;
default:
//echo "Help Default";
include ('help.php');
break;
}
?>
</div>
</td>
<td></td>
</tr>
<tr>
<td height="1"></td>
<td width="79"></td>
<td width="71"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td width="62"></td>
<td width="88"></td>
<td></td>
<td></td>
</tr>
</table>
</div>
</body>
</html>
 System location:
<?php
// If there is no cookie presesnt
if (!isset($_COOKIE['cookie_info'])) {
// Variables that data come from the form
$username = $_POST["user"];
57
$password = $_POST["pass"];
// Check if username and password where submitted
if (!$username) {
echo "<center><b>Please Enter Your Username <br><br><a
href='index2.php'>Back</a>"; exit;
}
if (!$password) {
echo "<center><b>Please Enter Your Password <br><br><a
href='index2.php'>Back</a>"; exit;
}
// Use Connect Script
include("connect.php");
// MD5 Username and Password
//$username = MD5($username);
//$password = MD5($password);
// Check if username exists. If not then say no such username.
$issuchusername = mysql_query("SELECT * FROM user WHERE username =
'$username'");
$usernamelogin = mysql_num_rows($issuchusername);
// If username exists
if ($usernamelogin == 1) {
$issuchpassword = mysql_query("SELECT * FROM user WHERE username =
'$username' AND password = '$password'");
$passwordlogin = mysql_num_rows($issuchpassword);
// If password is correct
if ($passwordlogin == 1) {
$time = time();
$cookie_data = $username.'-'.$password;
if(setcookie ("cookie_info",$cookie_data, $time+3600)==TRUE) {
}
else {
58
echo "You computer does not support cookies. <BR> To view other pages after
logged in you need to have cookies enabled.<BR>";
}
}
else {
echo "<center><b>Incorrect Username/Password <br><br><a
href='index2.php'>Back</a>";
exit;
}
}
else {
echo "<center><b>Incorrect Username/Password <br><br><a
href='index2.php'>Back</a>";
exit;
}
}
// End if no cookie present
?>
<html>
<head>
<title>..::: File-Track System :::.. by ReVo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
File tracking system
File tracking system
File tracking system
File tracking system
File tracking system

More Related Content

What's hot

Placement management system
Placement management systemPlacement management system
Placement management systemSurya Teja
 
Hostel Management system Report
Hostel Management system ReportHostel Management system Report
Hostel Management system ReportPrasoon Rawat
 
Agile software development
Agile software developmentAgile software development
Agile software developmentRajesh Piryani
 
College administation system abstract
College administation system abstractCollege administation system abstract
College administation system abstractNinad Samel
 
Campus news information system - Android
Campus news information system - AndroidCampus news information system - Android
Campus news information system - AndroidDhruvil Dhulia
 
Modeling- Object, Dynamic and Functional
Modeling- Object, Dynamic and FunctionalModeling- Object, Dynamic and Functional
Modeling- Object, Dynamic and FunctionalRajani Bhandari
 
Android College Application Project Report
Android College Application Project ReportAndroid College Application Project Report
Android College Application Project Reportstalin george
 
Software Project Management
Software Project ManagementSoftware Project Management
Software Project ManagementNoorHameed6
 
Dormitory management system project report
Dormitory management system project reportDormitory management system project report
Dormitory management system project reportShomnath Somu
 
Software Engineering (Project Scheduling)
Software Engineering (Project Scheduling)Software Engineering (Project Scheduling)
Software Engineering (Project Scheduling)ShudipPal
 
Covid-19 Hospital management system_project_report
Covid-19 Hospital management system_project_reportCovid-19 Hospital management system_project_report
Covid-19 Hospital management system_project_reportRajeshPandey215
 
School management System
School management SystemSchool management System
School management SystemHATIM Bhagat
 
Software Devlopment Life Cycle
Software Devlopment Life CycleSoftware Devlopment Life Cycle
Software Devlopment Life CycleVivek Gupta
 
Student management system analysis document
Student management system analysis documentStudent management system analysis document
Student management system analysis documentHojamuradowa
 
Traning and placement management system
Traning and placement management systemTraning and placement management system
Traning and placement management systemriteshitechnosoft
 
Attendance Management Report 2016
Attendance Management Report 2016Attendance Management Report 2016
Attendance Management Report 2016Pooja Maan
 
Final document of software project
Final document of software projectFinal document of software project
Final document of software projectNadia Nahar
 
Quiz app (android) Documentation
Quiz app (android) DocumentationQuiz app (android) Documentation
Quiz app (android) DocumentationAditya Nag
 
Design of a prototype web based students’ record management system – webstrems
Design of a prototype web based students’ record management system – webstremsDesign of a prototype web based students’ record management system – webstrems
Design of a prototype web based students’ record management system – webstremsAlexander Decker
 
Software Project Management: Project Planning
Software Project Management: Project PlanningSoftware Project Management: Project Planning
Software Project Management: Project PlanningMinhas Kamal
 

What's hot (20)

Placement management system
Placement management systemPlacement management system
Placement management system
 
Hostel Management system Report
Hostel Management system ReportHostel Management system Report
Hostel Management system Report
 
Agile software development
Agile software developmentAgile software development
Agile software development
 
College administation system abstract
College administation system abstractCollege administation system abstract
College administation system abstract
 
Campus news information system - Android
Campus news information system - AndroidCampus news information system - Android
Campus news information system - Android
 
Modeling- Object, Dynamic and Functional
Modeling- Object, Dynamic and FunctionalModeling- Object, Dynamic and Functional
Modeling- Object, Dynamic and Functional
 
Android College Application Project Report
Android College Application Project ReportAndroid College Application Project Report
Android College Application Project Report
 
Software Project Management
Software Project ManagementSoftware Project Management
Software Project Management
 
Dormitory management system project report
Dormitory management system project reportDormitory management system project report
Dormitory management system project report
 
Software Engineering (Project Scheduling)
Software Engineering (Project Scheduling)Software Engineering (Project Scheduling)
Software Engineering (Project Scheduling)
 
Covid-19 Hospital management system_project_report
Covid-19 Hospital management system_project_reportCovid-19 Hospital management system_project_report
Covid-19 Hospital management system_project_report
 
School management System
School management SystemSchool management System
School management System
 
Software Devlopment Life Cycle
Software Devlopment Life CycleSoftware Devlopment Life Cycle
Software Devlopment Life Cycle
 
Student management system analysis document
Student management system analysis documentStudent management system analysis document
Student management system analysis document
 
Traning and placement management system
Traning and placement management systemTraning and placement management system
Traning and placement management system
 
Attendance Management Report 2016
Attendance Management Report 2016Attendance Management Report 2016
Attendance Management Report 2016
 
Final document of software project
Final document of software projectFinal document of software project
Final document of software project
 
Quiz app (android) Documentation
Quiz app (android) DocumentationQuiz app (android) Documentation
Quiz app (android) Documentation
 
Design of a prototype web based students’ record management system – webstrems
Design of a prototype web based students’ record management system – webstremsDesign of a prototype web based students’ record management system – webstrems
Design of a prototype web based students’ record management system – webstrems
 
Software Project Management: Project Planning
Software Project Management: Project PlanningSoftware Project Management: Project Planning
Software Project Management: Project Planning
 

Similar to File tracking system

Multicast chat with file and desktop sharing
Multicast chat with file and desktop sharingMulticast chat with file and desktop sharing
Multicast chat with file and desktop sharingKhagendra Chapre
 
AMIZONER: Final Report
AMIZONER: Final ReportAMIZONER: Final Report
AMIZONER: Final ReportNeil Mathew
 
Minor Project Report On Intranet database
Minor Project Report On Intranet databaseMinor Project Report On Intranet database
Minor Project Report On Intranet databaseAnjeet Kumar
 
DEVOPS SEMINAR INDEX (1) (10).docx
DEVOPS SEMINAR INDEX (1) (10).docxDEVOPS SEMINAR INDEX (1) (10).docx
DEVOPS SEMINAR INDEX (1) (10).docxmansooraliattar
 
Internet Traffic Measurement and Analysis
Internet Traffic Measurement and AnalysisInternet Traffic Measurement and Analysis
Internet Traffic Measurement and AnalysisNikolaos Draganoudis
 
Boscochat- A free Wi-Fi ChatRoom in android final documentation
Boscochat- A free Wi-Fi ChatRoom in android final documentationBoscochat- A free Wi-Fi ChatRoom in android final documentation
Boscochat- A free Wi-Fi ChatRoom in android final documentationSamaresh Debbarma
 
Automotive security with Blockchain Technology (Project Report)
Automotive security with Blockchain Technology (Project Report)Automotive security with Blockchain Technology (Project Report)
Automotive security with Blockchain Technology (Project Report)Anil Chaurasiya
 
Major File On web Development
Major File On web Development Major File On web Development
Major File On web Development Love Kothari
 
Smart Portal: A Platform for Student's Profile Creation, Evaluation and Clust...
Smart Portal: A Platform for Student's Profile Creation, Evaluation and Clust...Smart Portal: A Platform for Student's Profile Creation, Evaluation and Clust...
Smart Portal: A Platform for Student's Profile Creation, Evaluation and Clust...vivatechijri
 
ONLINE FLAT BOOKING SERVICE MINOR PROJECT REPORT.
ONLINE FLAT BOOKING SERVICE MINOR PROJECT REPORT.ONLINE FLAT BOOKING SERVICE MINOR PROJECT REPORT.
ONLINE FLAT BOOKING SERVICE MINOR PROJECT REPORT.Lavkushpatkar
 
IRJET- Online Programming Assessment and Evaluation Platform in Education System
IRJET- Online Programming Assessment and Evaluation Platform in Education SystemIRJET- Online Programming Assessment and Evaluation Platform in Education System
IRJET- Online Programming Assessment and Evaluation Platform in Education SystemIRJET Journal
 
2015 | Continuous Acceleration: Why Continuous Everything Needs A Supply Chai...
2015 | Continuous Acceleration: Why Continuous Everything Needs A Supply Chai...2015 | Continuous Acceleration: Why Continuous Everything Needs A Supply Chai...
2015 | Continuous Acceleration: Why Continuous Everything Needs A Supply Chai...joshcorman
 

Similar to File tracking system (20)

Multicast chat with file and desktop sharing
Multicast chat with file and desktop sharingMulticast chat with file and desktop sharing
Multicast chat with file and desktop sharing
 
3 job adda doc 1
3 job adda doc 13 job adda doc 1
3 job adda doc 1
 
3 job adda doc 1
3 job adda doc 13 job adda doc 1
3 job adda doc 1
 
firozreport.pdf
firozreport.pdffirozreport.pdf
firozreport.pdf
 
AMIZONER: Final Report
AMIZONER: Final ReportAMIZONER: Final Report
AMIZONER: Final Report
 
Minor Project Report On Intranet database
Minor Project Report On Intranet databaseMinor Project Report On Intranet database
Minor Project Report On Intranet database
 
DEVOPS SEMINAR INDEX (1) (10).docx
DEVOPS SEMINAR INDEX (1) (10).docxDEVOPS SEMINAR INDEX (1) (10).docx
DEVOPS SEMINAR INDEX (1) (10).docx
 
Internet Traffic Measurement and Analysis
Internet Traffic Measurement and AnalysisInternet Traffic Measurement and Analysis
Internet Traffic Measurement and Analysis
 
Boscochat- A free Wi-Fi ChatRoom in android final documentation
Boscochat- A free Wi-Fi ChatRoom in android final documentationBoscochat- A free Wi-Fi ChatRoom in android final documentation
Boscochat- A free Wi-Fi ChatRoom in android final documentation
 
Intranet database
Intranet databaseIntranet database
Intranet database
 
Automotive security with Blockchain Technology (Project Report)
Automotive security with Blockchain Technology (Project Report)Automotive security with Blockchain Technology (Project Report)
Automotive security with Blockchain Technology (Project Report)
 
Sport.net(2).doc
Sport.net(2).docSport.net(2).doc
Sport.net(2).doc
 
Project Report
 Project Report Project Report
Project Report
 
Project documentaion sample.docx
Project documentaion sample.docxProject documentaion sample.docx
Project documentaion sample.docx
 
Online Job Portal
Online Job PortalOnline Job Portal
Online Job Portal
 
Major File On web Development
Major File On web Development Major File On web Development
Major File On web Development
 
Smart Portal: A Platform for Student's Profile Creation, Evaluation and Clust...
Smart Portal: A Platform for Student's Profile Creation, Evaluation and Clust...Smart Portal: A Platform for Student's Profile Creation, Evaluation and Clust...
Smart Portal: A Platform for Student's Profile Creation, Evaluation and Clust...
 
ONLINE FLAT BOOKING SERVICE MINOR PROJECT REPORT.
ONLINE FLAT BOOKING SERVICE MINOR PROJECT REPORT.ONLINE FLAT BOOKING SERVICE MINOR PROJECT REPORT.
ONLINE FLAT BOOKING SERVICE MINOR PROJECT REPORT.
 
IRJET- Online Programming Assessment and Evaluation Platform in Education System
IRJET- Online Programming Assessment and Evaluation Platform in Education SystemIRJET- Online Programming Assessment and Evaluation Platform in Education System
IRJET- Online Programming Assessment and Evaluation Platform in Education System
 
2015 | Continuous Acceleration: Why Continuous Everything Needs A Supply Chai...
2015 | Continuous Acceleration: Why Continuous Everything Needs A Supply Chai...2015 | Continuous Acceleration: Why Continuous Everything Needs A Supply Chai...
2015 | Continuous Acceleration: Why Continuous Everything Needs A Supply Chai...
 

More from Sabana Maharjan

More from Sabana Maharjan (20)

All in one mis
All in one misAll in one mis
All in one mis
 
All in one mis
All in one misAll in one mis
All in one mis
 
M commerce
M commerceM commerce
M commerce
 
E marketing
E marketingE marketing
E marketing
 
Onlineshhopping final
Onlineshhopping finalOnlineshhopping final
Onlineshhopping final
 
Online shopping presentation
Online shopping presentationOnline shopping presentation
Online shopping presentation
 
Erlonggg
ErlongggErlonggg
Erlonggg
 
Er diagram
Er diagramEr diagram
Er diagram
 
Er long
Er longEr long
Er long
 
Relational model
Relational modelRelational model
Relational model
 
Introduction to structured query language (sql)
Introduction to structured query language (sql)Introduction to structured query language (sql)
Introduction to structured query language (sql)
 
Good food for better life
Good food for better lifeGood food for better life
Good food for better life
 
Do not think about any consequences just travel around nepal
Do not think about any consequences just travel around nepalDo not think about any consequences just travel around nepal
Do not think about any consequences just travel around nepal
 
5 best place to watch sunrise and sunset naturally
5 best place to watch sunrise and sunset naturally5 best place to watch sunrise and sunset naturally
5 best place to watch sunrise and sunset naturally
 
Newari food
Newari foodNewari food
Newari food
 
This is indeed a life time experience
This is indeed a life time experienceThis is indeed a life time experience
This is indeed a life time experience
 
MIS enterprise system for collaboration
MIS enterprise system for collaborationMIS enterprise system for collaboration
MIS enterprise system for collaboration
 
Mis presentation
Mis presentationMis presentation
Mis presentation
 
Chapter9
Chapter9Chapter9
Chapter9
 
Chapter8
Chapter8Chapter8
Chapter8
 

Recently uploaded

Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....rightmanforbloodline
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaWSO2
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data SciencePaolo Missier
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 

Recently uploaded (20)

Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

File tracking system

  • 1. i Disclaimer I hereby declare that this study entitled “FILE TRACKING SYSTEM” is based on my original research work. Related works on the topic, by other researchers, have been duly acknowledged. I owe all the liabilities relating to accuracy and authenticity of the data or any other information included here under. Signature: Name of student: Sabana Maharjan Date:
  • 2. ii Recommendation This is to certify that this project entitled, “FILE TRACKING SYSTEM” prepared and submitted by Sabana Maharjan in partial fulfillment of the requirements of the degree of Bachelor of science (B.Sc.) in Computer Science and Information Technology awarded by Tribhuvan University, has been completed under my supervision. I recommend the same for acceptance by Tribhuvan University. Signature: Name of the supervisor: Designation: Date signed:
  • 3. iii Certificate This project entitled “ FILE TRACKING SYSTEM” prepared and submitted by Sabana Maharjan has been examined by us and is accepted for the award of the degree of Bachelor of science (B.Sc.) in Computer Science and Information Technology awarded by Tribhuvan University. ….. (Name)….. ….. (Signature)….. …… (Date signed)….. External Examiner (2 blank spaces) ….. (Name)….. ….. (Signature)….. …… (Date signed)….. Project Coordinator (2 blank spaces) ….. (Name)….. ….. (Signature)….. …… (Date signed)….. Supervisor (2 blank spaces) ….. (Name)….. ….. (Signature)….. …… (Date signed)….. Head/Program Coordinator
  • 4. iv ACKNOWLEDGEMENT We are very grateful to the Department of Computer Science and Information technology, Kathmandu BernHardt College for providing us with an opportunity to work on a major project as part of our project works syllabus. We express our gratitude towards our project supervisor Mr. Keshav Poudel and Mr. Ramesh Sharma for his valuable time, suggestions and feedbacks during the research and reporting of this project. We are also grateful to all our teachers for their encouragement, feedback, suggestions and inputs have been very useful towards completion of this project. We are very thankful to our entire classmate. The project could not be completed without their suggestions and support. Sabana Maharjan (Symbol No.: 3175/068)
  • 5. v ABSTRACT This project is made for effective and efficient collecting information about file. Taking this problem into consideration we got an idea of developing an application which will help the organization. My project entitled “File Tracking System” will address the problem of cost because it just use the Internet of low bandwidth and alert or notify the people ranging from few to huge number of people. This is the era of technology most of the people are lured towards the smart phones and after installing our app they will get notification despite of their busy schedules and they will manage their time for the event as per schedule. Since my project will directly push the notification user does not have to bother about synchronization of their application. If the user’s mobile is connected to the Internet, they will get popup notification in notification bar of their mobile phone. After clicking on the notification they will get the detail information related to that notification. Keywords: Google Cloud
  • 6. vi ABBREVIATION SQL:Structured Query Language PHP:Personal Home Page JSP: Java Server Pages UML: Unified Modeling Language SDLC: System Development Life Cycle ID: Identity CSS:Cascading Style Sheets HTML: Hyper Text Markup Language XHTML: Extensible Hyper Text Markup Language DC: Direct Control QA: Quality Analyst
  • 7. 1 Table of Contents Disclaimer .........................................................................................................................................i Recommendation .............................................................................................................................ii Certificate........................................................................................................................................iii ACKNOWLEDGEMENT ..............................................................................................................iv ABSTRACT.....................................................................................................................................v ABBREVIATION...........................................................................................................................vi Introduction..................................................................................................................................... 3 1.1 Background Study ............................................................................................................ 3 1.2 Problem Definition ........................................................................................................... 3 1.3 Objectives......................................................................................................................... 3 1.4 Scope ................................................................................................................................ 4 1.5 Limitation ......................................................................................................................... 4 1.6 Outline of chapter 1 ......................................................................................................... 4 Chapter 2......................................................................................................................................... 5 Literature review............................................................................................................................. 5 2.1 Theoretical Review................................................................................................................ 5 2.2 Review of previous projects .................................................................................................. 5 2.3 outline of chapter 2............................................................................................................... 5 Chapter 3......................................................................................................................................... 6 METHODOLOGY.......................................................................................................................... 6 3.1 Data Collection...................................................................................................................... 6 3.1.1 Primary source................................................................................................................ 6 3.1.2 Secondary source............................................................................................................ 6 3.2 Data presentation ................................................................................................................. 7 3.2.1 System model ................................................................................................................. 7 3.2.2 Architecture model ......................................................................................................... 7 3.2.3 UML................................................................................................................................. 7 3.3 outline of chapter 3............................................................................................................... 7 Chapter 4......................................................................................................................................... 8
  • 8. 2 System Analysis and Design........................................................................................................... 8 4.1 Requirements ........................................................................................................................ 8 4.1.1 Functional Requirement ................................................................................................. 8 4.1.2 Non- Functional Requirement ........................................................................................ 8 4.2 Design.................................................................................................................................... 9 4.2.1 Use Case Diagram........................................................................................................... 9 4.2.2 Class Diagram................................................................................................................ 10 4.2.3 State Diagram............................................................................................................... 10 4.3 outline of chapter 4............................................................................................................. 11 Chapter 5....................................................................................................................................... 12 Implementation ............................................................................................................................. 12 5.1 System Architecture............................................................................................................ 12 5.2 Tool Integration................................................................................................................... 13 HTML (Hypertext Markup Language)........................................................................................ 13 PHP ............................................................................................................................................ 13 CSS............................................................................................................................................. 14 5.3 Major Modules.................................................................................................................... 14 5.4 Testing................................................................................................................................. 15 5.4.1 Testing Cases................................................................................................................. 15 5.5 outline of the chapter 5 ...................................................................................................... 16 Chapter 6....................................................................................................................................... 17 Conclusion and Summary............................................................................................................. 17 6.1 Summary ............................................................................................................................. 17 6.2Conclusion............................................................................................................................ 17 REFERENCES: ............................................................................................................................ 18 Appendixes A................................................................................................................................ 19
  • 9. 3 Chapter 1 Introduction 1.1 Background Study File tracking by using manual method is just time consuming and the user sometime cannot find the file which is needed so to overcome the problems file tracking is developed. This project is helpful in tracking files faster. The programming language used in the software is PHP and the database is SQL Server. A person will save a file or a document or image in a specific location in their Pc. When they return after 5 days searching for the file they had saved, they will be forgotten in most cases but not all the time. In such cases, software would be useful which will gives us the location of the file where we had saved. This software searches the file very fast rather than searching it manually. A login page is provided for security purpose. To log in first you need to register by entering the username and password which will act as your login Id and password. This username and password must not be shared with any. Admin has the rights to view all the files or go to that specific location of the file. But the specific user can view only the file saved by them. As soon as they log into the system a home page will be displayed. This consists of all the files saved by them. By right clicking on that specific row, two options will be provided. First is to view, which will directly open the file. Second is the location, which will provide you the location of the file. The user can also delete the file directly from the software. If there are more than 100 files displayed in the home and if u want to search for a specific file, you can either provide the exact name of the file or the name which nearly matches to the exact name of the file. All the files which consist of the word you searched will be displayed. This will be helpful for the user in selecting their file and proceeding with their work. This software isn’t time consuming and is user friendly. 1.2 Problem Definition Thepeople are very lazy. This system is more prone to errors and sometimes the approach to various problems is unstructured. The technical systems contains the tools of latest trend i.e. computers printers, fax, internet etc. The systems with this technology are very fast, accurate, user-friendly and reliable. 1.3 Objectives  To reduce time, effort and errors in the existing manual system  To provide comfort to different users within the system in filling their work record  To provide quick up information regarding their job details etc.
  • 10. 4 1.4 Scope  To get high speed in finding documents  to combines innovative technology skills with rich domain expertise  to provide software solution to distinct business requirements 1.5 Limitation  Software may fail to give proper output if there is more than one file with same name  If any problem occur in software then expert person is necessary to solve problem 1.6 Outline of chapter 1 File tracking by using manual method is just time consuming and the user sometime cannot find the file which is needed so to overcome the problems file tracking is developed. It consists many advantages as well as disadvantages. The objective of this project is to reduce the time to search files, get quick information etc.
  • 11. 5 Chapter 2 Literature review This chapter explains and discusses about the related information to File Tracking System. File Tracking System is an application developed for tracking and to locate the position of files. 2.1 Theoretical Review Every day we make files and store in our electronic devices and there is numbers of files which we store in our device. But when we need to search the respective file we have to remember the location of the file. When we forget the location of stored file we will face big problem and to search the file we have to open each and every file. We have to check manually the files and more time is loosed. So this system is developed which helps the user to find the file faster and easier. Which save the time of the user. 2.2 Review of previous projects  A Review of Project.net: PM Software With Built-In Social Media written by: Ronda Bowen • edited by: Marlene Gundlach • updated: 6/4/2013 This article takes a hard look at Project.net and describes this full-service open source web-based free software and whether it may be helpful to you in your situation. Project.net is open source web-based software that allows users to increase their project's performance and productivity while still managing to cut costs. This program has many features that may be useful to project managers. These features include collaboration capabilities, issues tracking, document management, project portfolio management, reports creation, a powerful project dashboard, and the ability to closely monitor all project progress.  A Review of Project.net: File Tracking System for BPO company www.freestudentprojects.com This project is developed by using the Asp because this will be the advanced and easy to use the client / server technology so developed this project on the JSP Who have the BPO Company will be use this project. It will be fully based on the Client / Server technology. Using this project we can maintain the all person details (Data Conversion Operators, Data Management, Quality Controller, etc). This project also will be the very useful for the BPO Company. 2.3 outline of chapter 2 In this chapter, we can see the reviews of previews projects, book and the review of this project.
  • 12. 6 Chapter 3 METHODOLOGY Methodology is the systematic, theoretical analysis of the methods applied to a field of study. It comprises the theoretical analysis of the body of methods and principles associated with a branch of knowledge. 3.1 Data Collection Data collection is the process of gathering and measuring information on targeted variables in an established systematic fashion, which then enables one to answer relevant questions and evaluate outcomes. 3.1.1 Primary source Primary data means original data that has been collected specially for the purpose to build my “file tracking system “. That is the data collected from the original source first hand. Since the data has not been published yet so the data is more reliable, authentic and objective. And the data it includes is valid.  Questioner I found that many of users are not aware about the system and they just use manual file tracking process. There is least number of people who use this system. But those who used it have great feedback to my system. So I start collecting the information about the users who are using manual process for searching files and latest trend to search files,and collect the data in which I found many users are not feeling easy to use manual process.  Interview I ask the people about how they search their files. And from the interview I found that how difficult for them to get the document which they want. So I collected the information from them and included that information in my system as the features. 3.1.2 Secondary source I collected the other secondary information like the analysis of system, system design from the following sources:  Software Engineering by Ian Sommerville (Seventh Edition)  Software Engineering by Ian Sommerville (Ninth Edition)
  • 13. 7 3.2 Data presentation Data presentation is the method by which people summarize, organize and communicate information using a variety of tools, such as diagrams, distribution charts, histograms and graphs. 3.2.1 System model A system model is the conceptual model as a result of system modeling that describes and represents a system. A system comprises multiple views such as planning, requirement (analysis), design, implementation, deployment, structure, behavior, input data, and output data views. A system model is required to describe and represent all these multiple views. 3.2.2 Architecture model An architectural model is a type of scale model - a physical representation of a structure - built to study aspects of an architectural design or to communicate design ideas. Depending on the purpose, models can be made from a variety of materials, including blocks, paper, and wood, and at a variety of scales. 3.2.3 UML Unified Modeling language (UML) is a standardized modeling language enabling developers to specify, visualize, construct and document artifacts of a software system. Thus, UML makes these artifacts scalable, secure and robust in execution. UML is an important aspect involved in object-oriented software development. It uses graphic notation to create visual models of software systems. 3.3 outline of chapter 3 In this chapter, I have include different methodologies for this project. This project include data collection methods like primary source and secondary source; and different data presentation like system model, architecture model and UML.
  • 14. 8 Chapter 4 System Analysis and Design Information Systems Analysis and Design-Development Life Cycle == Businesses and organizations use various types of information systems to support the many processes needed to carry out their business functions. Each of these information systems has a particular purpose or focus, and each has a life of its own. This “life of its own” concept is called the systems development life cycle or SDLC, and it includes the entire process of planning, building, deploying, using, updating, and maintaining an information system. The development of a new information system involves several different, but related activities. These activities, or phases, usually include planning, analysis, design, implementation, and maintenance/support. 4.1 Requirements Requirements analysis, also called requirements engineering, is the process of determining user expectations for a new or modified product. These features, called requirements, must be quantifiable, relevant and detailed. In software engineering, such requirements are often called functional specifications. Requirements analysis is an important aspect of project management. 4.1.1 Functional Requirement Functional Requirements are statement of services that system should provide. It describes what the system should do. They are helpful to describe the system function in detail. Here are some of the functional requirements for our system, used by the users.  The users shall be able to search either of all initial set of database or select a subset of it.  The system shall provide the users to read the content and provide the feedback.  Modification in the system can only be done by the developer.  Every feedback is collected from the mail id of the user. Every user shall be allocated a unique identifier and provide password. 4.1.2 Non- Functional Requirement Non-functional Requirements are constraints on the services or functions offered by the system. They are the constraint to the system as a whole. Some of the non-functional requirement of this system is:-  Accurate information  System reliability  Usable information  System security
  • 15. 9 4.2 Design Design is the creation of a plan or convention for the construction of an object, system or measurable human interaction (as in architectural blueprints, engineering drawings, business processes, circuit diagrams, and sewing patterns). Design has different connotations in different fields (see design disciplines below). In some cases, the direct construction of an object (as in pottery, engineering, management, coding, and graphic design) is also considered to be design. 4.2.1 Use Case Diagram As we know that every system invoices the different actors (users) to run the system or to interact with the system. Use case diagram shows the graphical overview of the actors involves in the system, different function perform by different actor, interaction with the system within environment. File Tracking System involves two actors: Admin and user. This system includes different function which should be performed within the system environment. Some functions are: Login, create user, take input i.e., name of file, etc. User can provide their review through login into the system. The use case diagram of this project is shown below:
  • 16. 10 4.2.2 Class Diagram It is mostly used UML diagram which is blueprint to classes in a system. It shows the classes in a system, attributes and functions of each class and the relationship between each class. In class diagram, it contains three parts, name at the top, attributes in the middle and functions or methods at the bottom. In this system, it also contains classes. Due to presence of classes, classes are grouped together to create a class diagram. Different relationships between classes are shown by different types of arrows. The Class diagram for the system is shown below: 4.2.3 State Diagram A state diagram is a type of diagram used in computer science and related fields to describe the behavior of systems. State diagrams require that the system described is composed of a finite number of states. The State diagram for our project is shown below:
  • 17. 11 Fig: state diagram of user Log in add update response Fig: state diagram for admin Some of the symbols used in this state diagram indicate- Initial pseudo state Final state Simple state 4.3 outline of chapter 4 This chapter includes system analysis and design of the system. It includes requirements for the project and designs : use case design, class design and state design with diagrams. user Search item it Compare item view Provide feedback Not found compare admin Add item Update item Response feedback
  • 18. 12 Chapter 5 Implementation 5.1 System Architecture The methodology we have used to develop this software is “Waterfall Model”. Waterfall model is one of a system development life cycle (SDLC) model. Users proceed to next phase if and only if current phase is complete. Users are not allowed go back to previous phases if there are any mistake so they named it waterfall model, just like the water is always fall down from the waterfall and not flow upward. In Royce's original waterfall model, the waterfall model originally consists of 7 phases which is Requirement Specification, Design, Construction, Integration, Testing and Debugging, Installation and Maintenance. Fig: water flow model
  • 19. 13 In system architecture data are represented in different models as system models and architecture models. The models are shown below:  System model: A system model is the conceptual model as a result of system modeling that describes and represents a system.  Architecture model: An architectural model is a type of scale model - a physical representation of a structure - built to study aspects of an architectural design or to communicate design ideas.  UML: UML is a standardized modeling language enabling developers to specify, visualize, construct and document artifacts of a software system 5.2 Tool Integration The tools that were used for the development of this system are:  MSWord 2010(Report writing)  Database server : MySQL  Programming language : PHP, CSS, Html  Photoshop (pictures)  Microsoft visio (forming charts) HTML (Hypertext Markup Language) Hypertext Markup Language (HTML) is the standard markup language for creating web pages and web applications. With Cascading Style Sheets (CSS), and JavaScript, it forms a triad of cornerstone technologies for the World Wide Web. Web browsers receive HTML documents from a webserver or from local storage and render them into multimedia web pages. HTML describes the structure of a web page semantically and originally included cues for the appearance of the document. PHP PHP is a server-side scripting language designed primarily for web development but also used as a general-purpose programming language. Originally created by Rasmus Lerdorf in 1994, the PHP reference implementation is now produced by The PHP Development Team. PHP originally stood for Personal Home Page, but it now stands for the recursive acronym PHP: Hypertext Preprocessor.
  • 20. 14 CSS Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language. Although most often used to set the visual style of web pages and user interfaces written in HTML and XHTML and is applicable to rendering in speech, or on other media. Along with HTML and JavaScript, CSS is a cornerstone technology used by most websites to create visually engaging webpages, user interfaces for web applications, and user interfaces for many mobile applications. 5.3 Major Modules Here the project Modules:-  Login Module  Administrator Module  Data Management Module  Data conversion operator Module  Quality control Module  Server or quality Analyst Module  Report Module LOGIN MODULE: This module is used for authentication purpose. Any registered employee who is trying to enter his work area is checked for his id and password .If he is authorized then he would be allowed to enter into his work area. ADMINISTRATOR MODULE: This module helps the administrator to get the files from the client and register it into the server database. Depending on the information given by the data management group the data or files would be stored in the system. If the client wants to know the status of their files then they can get it from the administrator. The Administrator would get the requested data from quality analyst’s database. DATA MANAGEMNT MODULE: This module helps the data management group to assign the id and password for the employees depending on their domain. It also helps the data management group to allocate the files their domain. DATA CONVERSION OPERATOR MODULE: The employees authenticate themselves and get into the work area. This module helps the DC operator to view the files that have been allocating to him. Through this module the employee
  • 21. 15 can download the files from the server and work on it. Once the DC operator has finished processing the file, it is sent to quality controller. QUALITY ANALYST MODULE: This module helps the QA to track the current status of the file on which a DC operator is working on. Immediately after the file is downloaded by the employee, information regarding the file with the time that should be taken to process that file is received by the quality analyst. If the file is not completed by the employee within the allocated time, then the quality analyst would send a message to the respective employee asking him for the reason for the delay of the process. If the process on the file is completed within the allotted time then a message would be received regarding this by the quality analyst. Quality analyst can just maintain theses information, he is not permitted to view or download a file from the database. QUALITY CONTROLLER MODULE: After the process on the file is completed it is received by the quality controller. He checks the file for quality and if found satisfactory then sends it back to the administrator. But if the quality of the processed file is not found to be satisfactory then that file is sent to the same place where the administrator had stored after registering the file. 5.4 Testing In system testing a common view is to eliminate program errors. This is extremely difficult and time consuming. Since designers cannot prove 100% accuracy. A successful test, then, is one that fined errors . 5.4.1 Testing Cases Test case ID Test case Expected result Actual result 1 Entry the valid date in user Id and user password and click on login button on login page. Login page should be display. Login page opened. 2 Entry the invalid date in user Id and user password and click on login button on login page. Error message should be display. Error message is display. 3 Search the file with the file name. File is found. Mission complete.
  • 22. 16 4 Mistake file is searched or may be spelling mistake. Error message should be displayed. Error message is display. 5 File is searched but more than one file with same name are stored. File is displayed on the screen. Many files are displayed on the screen. 5.5 outline of the chapter 5 Chapter 5 describe about the implementation and testing of the system. This chapter describe about the system architecture, tools used for the development of the system, modules are also described and the result of the test are also includes.
  • 23. 17 Chapter 6 Conclusion and Summary 6.1 Summary File tracking system is developed in place of manual method to decrease time consuming and the user sometime cannot find the file which is needed so to overcome the problems file tracking is developed. This project is helpful in tracking files faster. The programming language used in the software is PHP and the database is SQL Server. A person will save a file or a document or image in a specific location in their Pc. When they return after 5 days searching for the file they had saved, they will be forgotten in most cases but not all the time. In such cases, software would be useful which will gives us the location of the file where we had saved. This software searches the file very fast rather than searching it manually. A login page is provided for security purpose. To log in first you need to register by entering the username and password which will act as your login Id and password. This username and password must not be shared with any. Admin has the rights to view all the files or go to that specific location of the file. But the specific user can view only the file saved by them. As soon as they log into the system a home page will be displayed. This consists of all the files saved by them. By right clicking on that specific row, two options will be provided. First is to view, which will directly open the file. Second is the location, which will provide you the location of the file. The user can also delete the file directly from the software. If there are more than 100 files displayed in the home and if u want to search for a specific file, you can either provide the exact name of the file or the name which nearly matches to the exact name of the file. All the files which consist of the word you searched will be displayed. This will be helpful for the user in selecting their file and proceeding with their work. This software isn’t time consuming and is user friendly. In this project I have include the system design, architecture design modules of the file tracking system which verify the working system of the system. I have questioned many users about this system and manual system and take the feedback from then and tries to make the module which the user want. This documentation includes different reviews of projects and the book. It includes the figures of UML diagrams and other diagrams. In this documentation I have include the testing cases which shows the system is not 100% errorless. 6.2Conclusion I developed this project by using the PHP, HTML and CSS because this will be the advanced and easy to use the client / server technology so developed this project on the JSP This project will be used by any laptop users especially for those who have to work on different files daily like students. It will be fully based on the Client / Server technology. Using this project I can maintain the all person details (Data Conversion Operators, Data Management, Quality Controller, etc.).
  • 24. 18 REFERENCES:  Djbfts.nic.in - File Tracking System (FTS). (n.d.). Retrieved February 13, 2017, from http://www.bing.com/cr?IG=3A7F04D6D42C460AA2A9CD7E407C701D&CID=1061A03 03E896B87334FAA183FB86A37&rd=1&h=lkK- lgFA5_3ne7u2DTW49nv9yJkEllDfornVuDoZWag&v=1&r=http%3a%2f%2fdjbfts.nic.in% 2f&p=DevEx,5035.1  File Tracking System Login - nic.in. (n.d.). Retrieved February 14, 2017, from http://www.bing.com/cr?IG=5586481D598D4F4EA32BE275E8ED618E&CID=211FF 26D42396DEC15E1F84443086CE7&rd=1&h=lvhQaanSzZhGRTgFSF62yVOlRZKys BbE1O_pcymhyL4&v=1&r=http%3a%2f%2fcg.nic.in%2ffms%2f&p=DevEx,5043.1  File Tracking and Tracing. (n.d.). Retrieved February 14, 2017, from http://www.filetrackingclient.com/
  • 25. 19 Appendixes A  Login page: <form name="form1" method="post" action="system.php"> <div align="center"><font size="2">Username</font><br> <input type="text" name="user"><br> <font size="2">Password</font><br> <input type="password" name="pass"> <br><br> <input type="submit" name="Submit" value=" Login "> </div> </form> <div align="center"></div>  Logout page: <?php $time = time(); // Say that user is logged out $loggedout = true; // If there is a cookie if (isset($_COOKIE['cookie_info'])) { // Delete the cookie setcookie ("cookie_info", "", $time - 3600); // Use Connect Script include("connect.php"); // Include the validation of user file include("validateuser.php"); // If user and password are correct if (validateuser() == true) { // Use cookie and Extract the cookie data (Username and Password) $cookie_info = explode("-", $_COOKIE['cookie_info']); $namecookie = $cookie_info[0]; $passcookie = $cookie_info[1]; // Get details of user from Database and put them in variables $query = mysql_query("SELECT * FROM user WHERE username = '$namecookie'"); $name= mysql_result($query,0,0); //The user is not logged out yet $loggedout = false; } // If user and password are not correct print error message else {
  • 26. 20 echo "Incorrect username/password"; exit; } } ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Logout</title> </head> <body> <div align="center"><br><br><br><br><br> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5, 0,0,0" width="80" height="58"> <param name=movie value="images/Movie2.swf"> <param name=quality value=high> <embed src="images/Movie2.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version= ShockwaveFlash" type="application/x-shockwave-flash" width="80" height="58"> </embed> </object><br> <br> <?php // If user is logged out then print message if ($loggedout == false) { echo " <b>You are now logged out. <br><br><a href='index2.php'>Click here to log in again.</a><br><br> or<br><br>";?><object classid="clsid:D27CDB6E-AE6D-11cf-96B8- 444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5, 0,0,0" width="100" height="22"> <param name=movie value="images/close.swf"> <param name=quality value=high> <embed src="images/close.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version= ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22"> </embed> </object><?php } ?>
  • 27. 21 </div> </html>  User validation: <?php function validateuser() { // Use cookie information and validate cookie // Use cookie and Extract the cookie data (Username and Password) // 'cookie_info' is the cookie name you assigned it when making the cookie $cookie_info = explode("-", $_COOKIE['cookie_info']); $namecookie = $cookie_info[0]; $passcookie = $cookie_info[1]; // Check if username exists $usernamelogin = mysql_num_rows(mysql_query("SELECT * FROM user WHERE username = '$namecookie'")); // If username exists if ($usernamelogin == 1) { // Check if password matches the database password $passwordlogin = mysql_num_rows(mysql_query("SELECT * FROM user WHERE username = '$namecookie' AND password = '$passcookie'")); // If password is correct if ($passwordlogin == 1) { // User is now logged in return (true); } // If the password is incorrect else { return(false); } } // If the username was not found in database else { return(false); } } ?>  Connection with Database : <?php
  • 28. 22 $dbh=mysql_connect ("localhost", "root", "dah7717") or die ('I cannot connect to the database because: ' . mysql_error()); mysql_select_db ("fts"); ?>  File set: <script language="JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && document.getElementById) x=document.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length- 2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> <body onLoad="MM_preloadImages('images/createNewDown.PNG','images/updatelocationDown.PN G','images/deletefileDown.PNG')" > <table width="758" border="0" cellpadding="0" cellspacing="0" > <tr> <td width="2" height="19"></td> <td valign="top" colspan="5"><a href="system_files.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image2','','images/updatelocationDown.PNG',1)"><img
  • 29. 23 name="Image2" border="0" src="images/updatelocationDown.PNG" width="150" height="19"></a></td> <td width="2"></td> <td width="150" valign="top"><a href="system_files_createNew.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','images/createNewDown.PNG',1)"><img name="Image3" border="0" src="images/createNewUp.PNG" width="150" height="19" alt="Create New File"></a></td> <td width="2"></td> <td width="150" valign="top"><a href="system_files_delete.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image4','','images/deletefileDown.PNG',1)"><img name="Image4" border="0" src="images/deletefileUp.PNG" width="150" height="19"></a></td> <td width="166"></td> <td width="2"></td> <td width="6"></td> <td width="128" rowspan="4" valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/BG.PNG"> <tr> <td width="132" height="91"></td> </tr> </table> </td> </tr> <tr> <td height="15"></td> <td width="16"></td> <td width="6"></td> <td width="50"></td> <td width="61"></td> <td width="17"></td> <td></td> <td></td> </tr> <tr> <td height="23"></td> <td></td> <td colspan="6" valign="top">
  • 30. 24 <table width="100%" border="1" cellpadding="0" cellspacing="0"> <tr> <td width="483" height="21" valign="top" bgcolor="#6B6C9C"> <div align="center"><b><font color="#FFFFFF">Check Current File Location</font></b></div> </td> </tr> </table> </td> <td></td> <td></td> </tr> <tr> <td height="40"></td> <td valign="top">&nbsp;</td> <td></td> <td rowspan="6" valign="top"> <div align="center"> <p><b><font color="#CCCCCC">U</font></b></p> <p><font color="#CCCCCC"><b>P</b></font></p> <p><font color="#CCCCCC"><b>D</b></font></p> <p><font color="#CCCCCC"><b>A</b></font></p> <p><font color="#CCCCCC"><b>T</b></font></p> <p><font color="#CCCCCC"><b>E</b></font></p> </div> </td> <td></td> <td colspan="6" rowspan="2" valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="487" height="120" valign="top"> <form name="form3" method="post" action="system_files.php"> <div align="center"><br> <b><font size="2">File Number or Name:</font></b><br> <input type="text" name="finoname"> <br> <br> <input type="submit" name="Submit4" value=" Check "> </div> </form>
  • 31. 25 </td> </tr> </table> </td> <td></td> <td></td> </tr> <tr> <td height="97"></td> <td></td> </tr> <tr> <td height="57"></td> <td></td> <td></td> <td></td> <td colspan="7" valign="top"> <table width="100%" border="1" cellpadding="1" cellspacing="1"> <tr> <td width="481" height="2"></td> </tr> <tr> <td height="23" valign="top" bgcolor="#AAABC6"> <div align="center"><font color="#FFFFFF"><b>Current File Location</b></font></div> </td> </tr> <tr> <td height="22" valign="top" bgcolor="#FFFFCC"> <div align="center"><b>[</b> <?PHP include("connect.php"); $fnn = $_POST['finoname']; $query = mysql_query("SELECT * FROM files WHERE fileno = '$fnn' "); $fno = mysql_result($query,0,0); $fname = mysql_result($query,0,1); $floc = mysql_result($query,0,3); $fres = mysql_result($query,0,5); $query2 = mysql_query("SELECT * FROM files WHERE filename = '$fnn' "); $fno2 = mysql_result($query2,0,0); $fname2 = mysql_result($query2,0,1);
  • 32. 26 $floc2 = mysql_result($query2,0,3); $fres2 = mysql_result($query2,0,5); $idindb = mysql_query("SELECT * FROM files WHERE filename = '$fnn' OR fileno = '$fnn' "); $isidindb = mysql_num_rows($idindb); if ($fnn == ''){ echo "<font color='red'>Input the File Number or File Name.</font>"; } else if ($isidindb == 0){ echo "<font color='red'>The File Does Not Exist</font>"; }else { echo"<b><font color='red'> $fno$fno2 - $fname$fname2 - $floc$floc2 - $fres$fres2 </font></b>";} ?> <b>] </b></div> </td> </tr> <tr> <td height="2"></td> </tr> </table> </td> <td></td> <td></td> </tr> <tr> <td height="7"></td> <td></td> <td></td> </tr> <tr> <td height="24"></td> <td></td> <td></td> <td></td> <td colspan="6" valign="top"> <table width="100%" border="1" cellpadding="0" cellspacing="0"> <tr> <td width="483" height="21" valign="top" bgcolor="#6B6C9C">
  • 33. 27 <div align="center"><b><font color="#FFFFFF">Set New File Location</font></b></div> </td> </tr> </table> </td> <td></td> <td></td> <td></td> </tr> <tr> <td height="3"></td> <td></td> <td></td> <td></td> <td colspan="6" valign="top" rowspan="4"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <form name="form2" method="post" action="system_files_setact.php"> <tr> <td valign="top" height="48" colspan="2"> <div align="center"><b><font size="2"> New Location:</font></b><br> <select name="select1"> <?php include("connect.php"); $query = "SELECT * FROM location"; $result = mysql_query($query); echo "<option selected> [ Choose Location ] </option>"; while($row = mysql_fetch_array($result)) { $loc = $row[0]; echo "<option>$loc</option>"; } ?> </select> <font size="2"><b></b></font></div> </td> <td width="239" rowspan="2" valign="top"> <div align="center"><font size="2"><b>Comments (Optional):</b></font> <br>
  • 34. 28 <textarea name="komen" rows="3"></textarea> </div> </td> <td width="2"></td> </tr> <tr> <td height="51" colspan="2" valign="top"> <div align="center"><font size="2"><b>Person Responsible:<br> </b></font><b><font size="2"> <select name="select2"> <?php $query = "SELECT * FROM person"; $result = mysql_query($query); echo "<option selected>[ Choose Person ]</option>"; while($row = mysql_fetch_array($result)) { $file = $row[0]; echo "<option>$file</option>"; } ?> </select> </font></b></div> </td> <td></td> </tr> <tr> <td height="33" width="2"></td> <td colspan="3" valign="top"> <div align="center"><b><font size="2"></font></b><b></b> <input type="reset" name="Submit3" value=" Clear "> <input type="submit" name="Submit2" value="Update"> <b><font size="2"></font></b></div> </td> </tr> <tr> <td height="1"></td> <td width="244"></td> <td></td> <td></td>
  • 35. 29 </tr> </form> </table> </td> <td></td> <td></td> <td></td> </tr> <tr> <td height="22"></td> <td></td> </tr> <tr> <td height="69"></td> <td colspan="4" valign="top"><b><font size="2"> <div align = 'center'> <?php echo "<table border='0' width='0' id='table1' height='0'> <tr> <td><input type='hidden' name='fno' value='$fno$fno2'/></td> </tr> <tr> <td><input type='hidden' name='fname' value='$fname$fname2'/></td> </tr> </table>"; $currentdatetime = mysql_query('select now()'); $curdatetime = mysql_result($currentdatetime,0); //$date = date("D",time()) . " | " . date("d",time()) . "-" . date ("m", time()) . "-" . date("y",time()); $fno = $_POST['fno']; $fname = $_POST['fname']; $location = $_POST['select1']; $responsible = $_POST['select2']; $comment = $_POST['komen']; $initiator = $name; if ($location == '[ Choose Location ]'){
  • 36. 30 echo "<font color='red'>Select the Location to Update."; }else if ($responsible == '[ Choose Person ]'){ echo "<font color='red'>Select the Person Responsible to Update."; }else if ($fno == '' OR $fname == ''){ echo "<font color='red'>Check Current File Location First Before Updating."; }else{ echo "Updated!"; mysql_query("INSERT INTO movement VALUE ('$fno','$fname','$location','$responsible','$comment','$initiator','$curdatetime')"); mysql_query ("UPDATE files SET currentloc = '$location' WHERE fileno = '$fno' OR filename = '$fname' "); mysql_query ("UPDATE files SET currentresponsible = '$responsible' WHERE fileno = '$fno' OR filename = '$fname' "); } ?> </div> </font></b></td> <td></td> <td></td> <td></td> </tr> <tr> <td height="39"></td> <td></td> </tr> </table>  Search file: <body > <table width="758" border="0" cellpadding="0" cellspacing="0" > <tr> <td width="31" height="34"></td> <td width="22"></td> <td width="9" rowspan="2" valign="top">&nbsp;</td> <td width="4"></td> <td width="69"></td> <td width="482"></td> <td width="3"></td>
  • 37. 31 <td width="6"></td> <td width="132" rowspan="4" valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/BGsearch.PNG"> <tr> <td width="132" height="91"></td> </tr> </table> </td> </tr> <tr> <td height="23"></td> <td></td> <td></td> <td></td> <td valign="top" rowspan="2"> <table width="100%" border="1" cellpadding="1" cellspacing="1"> <tr> <td width="474" height="23" valign="top" bgcolor="#6B6C9C"> <div align="center"><b><font color="#FFFFFF">Search File</font></b></div> </td> </tr> </table> </td> <td></td> <td></td> </tr> <tr> <td height="9"></td> <td colspan="3" rowspan="8" valign="top"> <div align="center"> <p><b><font color="#CCCCCC">S</font></b></p> <p><font color="#CCCCCC"><b>E</b></font></p> <p><font color="#CCCCCC"><b>A</b></font></p> <p><font color="#CCCCCC"><b>R</b></font></p> <p><font color="#CCCCCC"><b>C</b></font></p> <p><font color="#CCCCCC"><b>H</b></font></p> </div> </td> <td></td>
  • 38. 32 <td></td> <td></td> </tr> <tr> <td height="25" valign="top">&nbsp;</td> <td></td> <td rowspan="2" valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td valign="top" width="482" height="137"> <form name="formS1" method="post" action="system_search_bynumber.php"> <div align="center"><br> <b><font size="2">File Number or Name:</font></b><br> <input type="text" name="fname"> <br> <br> <input type="submit" name="SubmitS1" value=" Search "> </div> </form> </td> </tr> </table> </td> <td></td> <td></td> </tr> <tr> <td height="112"></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td height="18"></td> <td></td> <td valign="top"> <div align="center"> <?php include("connect.php");
  • 39. 33 $nameno = $_POST['fname']; // Get details of files from Database and put them in variables $query = mysql_query("SELECT * FROM files WHERE filename = '$nameno'"); $fno = mysql_result($query,0,0); $fname = mysql_result($query,0,1); $floc = mysql_result($query,0,3); $fres = mysql_result($query,0,5); $query2 = mysql_query("SELECT * FROM files WHERE fileno = '$nameno'"); $fno2 = mysql_result($query2,0,0); $fname2 = mysql_result($query2,0,1); $floc2 = mysql_result($query2,0,3); $fres2 = mysql_result($query2,0,5); $idindb = mysql_query("SELECT * FROM files WHERE filename = '$nameno' OR fileno = '$nameno' "); $isidindb = mysql_num_rows($idindb); if ($nameno == ''){ echo "<font color='red'>Please make sure you input the file name or number."; } else if ($isidindb == 0){ echo "<font color='red'>The File Does Not Exist"; }else {echo "<b>[ $nameno ]</b>";} ?> </div> </td> <td></td> <td></td> <td></td> </tr> <tr> <td height="18"></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr>
  • 40. 34 <td height="60"></td> <td></td> <td colspan="2" valign="top"> <table width="100%" border="1" cellpadding="1" cellspacing="1"> <tr> <td height="2" width="477"></td> </tr> <tr> <td valign="top" bgcolor="#AAABC6" height="23"> <div align="center"><font color="#FFFFFF"><b>Current File Location</b></font></div> </td> </tr> <tr> <td height="2"></td> </tr> <tr> <td height="22" valign="top" bgcolor="#FFFFCC"> <div align="center"> <?PHP echo"<b>[ <font color='red'>"; echo"<b>$fno2$fno - </b>"; echo"<b>$fname2$fname - </b>"; echo"<b>$floc2$floc - </b>"; echo"<b>$fres2$fres</b>"; echo"</font><b> ]"; ?> </div> </td> </tr> <tr> <td height="3"></td> </tr> </table> </td> <td></td> <td></td> </tr> <tr> <td height="16"></td> <td></td>
  • 41. 35 <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td height="76"></td> <td></td> <td rowspan="2" valign="top"> <form name="form1" method="post" action="history.php"> <div align="center"><b>File Number:</b> <?php echo "$fno$fno2"; ?> <b>&nbsp;&nbsp;&nbsp;File Name:</b> <?php echo "$fname$fname2"; ?> <br> <br> <input type="submit" name="Submit" value="History"> <?php echo "<table border='0' width='0' id='table1' height='0'> <tr> <td><input type='hidden' name='fno' value='$fno$fno2'/></td> </tr> <tr> <td><input type='hidden' name='fname' value='$fname$fname2'/></td> </tr> </table>"; $fno = $_POST['fno']; $fname = $_POST['fname']; ?> </div> </form> </td> <td></td> <td></td> <td></td> </tr> <tr> <td height="14"></td>
  • 42. 36 <td></td> </tr> </table>  History search: <html> <head> <title>..::: File-Track System :::.. by ReVo</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && document.getElementById) x=document.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length- 2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> </head> <body bgcolor="#FFFFFF" text="#000000" onLoad="MM_preloadImages('images/search_down.PNG','images/loc_down.PNG','images/PER SON_down.PNG','images/help_down.PNG','images/icon2.PNG','images/foldericondownsearch.P
  • 43. 37 NG','images/foldericonpersondown.PNG','images/foldericonlocdown.PNG','images/foldericondo wnhelp.PNG','images/files_down.PNG')"> <div align = 'center'> <table width="761" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> <tr> <td valign="middle" colspan="3" align="center" height="65"> <div align="left"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5, 0,0,0" width="80" height="58"> <param name=movie value="images/Movie2.swf"> <param name=quality value=high> <embed src="images/Movie2.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version= ShockwaveFlash" type="application/x-shockwave-flash" width="80" height="58"> </embed> </object></div> </td> <td valign="middle" colspan="9" bgcolor="#FFFFFF" align="center"> <div align="left"><img src="images/ftrack.PNG" width="289" height="56" alt="File-Track System"> </div> </td> <td valign="middle" align="center" colspan="2">&nbsp;</td> </tr> <tr> <td height="73" width="1"></td> <td width="1"></td> <td valign="top" colspan="2" align="center"><a href="system_files.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('filee','','images/files_down.PNG',1)"><img name="filee" border="0" src="images/files_up.PNG" width="150" height="19" alt="Update Files Location"></a><a href="system_files.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('icon1','','images/icon2.PNG',1)"><br> <img name="icon1" border="0" src="images/icon1.PNG" width="70" height="52" alt="Update Files Location"></a></td> <td width="2"></td> <td width="150" valign="top" align="center"><a href="system_search_bynumber.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('search','','images/search_down.PNG',1)"><img
  • 44. 38 name="search" border="0" src="images/search_down.PNG" width="150" height="19" alt="Search for files"></a><br> <a href="system_search_bynumber.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('iconsearch','','images/foldericondownsearch.PNG',1)"><img name="iconsearch" border="0" src="images/foldericonupsearch.PNG" width="68" height="54" alt="Search Files"></a></td> <td width="2"></td> <td width="150" valign="top"> <div align="center"><a href="system_locations.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('location','','images/loc_down.PNG',1)"><img name="location" border="0" src="images/loc_up.PNG" width="150" height="19" alt="Files at location"></a><br> <a href="system_locations.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('locationicon','','images/foldericonlocdown.PNG',1)"><img name="locationicon" border="0" src="images/foldericonlocup.PNG" width="68" height="54" alt="Files at Location"></a></div> </td> <td width="2"></td> <td width="150" valign="top"> <div align="center"><a href="system_persons.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('person','','images/PERSON_down.PNG',1)"><img name="person" border="0" src="images/PERSON_up.PNG" width="150" height="19" alt="Files at Person"></a><br> <a href="system_persons.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('personicon','','images/foldericonpersondown.PNG',1)"><img name="personicon" border="0" src="images/foldericonpersonup.PNG" width="68" height="54" alt="Files at Person"></a></div> </td> <td width="2"></td> <td valign="top" colspan="2"> <div align="center"><a href="system_help.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('help','','images/help_down.PNG',1)"><img name="help" border="0" src="images/help_up.PNG" width="150" height="19" alt="Need Help?"></a><br> <a href="system_help.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('helpicon','','images/foldericondownhelp.PNG',1)"><img name="helpicon" border="0" src="images/foldericonuphelp.PNG" width="68" height="54" alt="Need Help?"></a></div> </td> <td width="1"></td> </tr>
  • 45. 39 <tr> <td height="40"></td> <td></td> <td valign="top" colspan="12"> <div align="center"> <hr> </div> </td> </tr> <tr> <td height="21"></td> <td></td> <td valign="top" colspan="12" bgcolor="#6B6C9C"> <div align="center"><b><font color="#FFFFFF">File Location History</font></b></div> </td> </tr> <tr> <td height="126"></td> <td></td> <td valign="top" colspan="12"> <?php include("connect.php"); $nameno = $_POST['fname']; // Get details of files from Database and put them in variables $query = mysql_query("SELECT * FROM files WHERE filename = '$nameno'"); $fno = mysql_result($query,0,0); $fname = mysql_result($query,0,1); $floc = mysql_result($query,0,3); $query2 = mysql_query("SELECT * FROM files WHERE fileno = '$nameno'"); $fno2 = mysql_result($query2,0,0); $fname2 = mysql_result($query2,0,1); $floc2 = mysql_result($query2,0,3); $idindb = mysql_query("SELECT * FROM files WHERE filename = '$nameno' OR fileno = '$nameno' "); $isidindb = mysql_num_rows($idindb); $query3 = "SELECT * FROM movement WHERE filesNo = '$fno' OR filesName = '$fname' ";
  • 46. 40 $result3 = mysql_query($query3); //echo "$fno $fname $nameno $fno2 $fname2"; ?> <?php echo "<table border='0' width='0' id='table1' height='0'> <tr> <td><input type='hidden' name='fno' value='$fno$fno2'/></td> </tr> <tr> <td><input type='hidden' name='fname' value='$fname$fname2'/></td> </tr> </table>"; $fno = $_POST['fno']; $fname = $_POST['fname']; //echo "$fno $fname"; ?> <br> <br> <div align="center"> <?php echo "<b>File No:</b> $fno <b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File Name:</b> $fname";?> <br> <br> <table border="1" width="78%" cellpadding="2"> <tr> <th width="79" valign="top" bgcolor="#6B6C9C"><font color="#FFFFFF">Location</font></th> <th width="139" valign="top" bgcolor="#6B6C9C"><font color="#FFFFFF">Person Responsible</font></th> <th width="96" valign="top" bgcolor="#6B6C9C"><font color="#FFFFFF">Comments</font></th> <th width="88" valign="top" bgcolor="#6B6C9C"><font color="#FFFFFF">Initiated By</font></th> <th width="101" valign="top" bgcolor="#6B6C9C"><font color="#FFFFFF">Date and Time</font></th>
  • 47. 41 </tr> <?php while($row = mysql_fetch_array($result3)){ $location = $row[2]; $responsible = $row[3]; $comment = $row[4]; $initiator = $row[5]; $datime = $row[6]; echo "<tr bgcolor='#FFCC99'>"; echo "<td><font size='2' color = 'red'><b>$location</b>"; echo "<td><font size='2'>$responsible"; echo "<td><font size='2'>$comment"; echo "<td><font size='2'>$initiator"; echo "<td><font size='2'>$datime"; echo "</tr>"; } ?> </table> </div> </td> </tr> <tr> <td height="40"></td> <td colspan="12" valign="top"> <div align="center"> <p></p> <hr> <a href="javascript:history.back(-1);">Back</a></div> </td> <td></td> </tr> <tr> <td height="1"></td> <td></td> <td width="79"></td> <td width="71"></td> <td></td>
  • 48. 42 <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td width="62"></td> <td width="88"></td> <td></td> </tr> </table> </div> </body> </html>  Location: <script language="JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && document.getElementById) x=document.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length- 2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
  • 49. 43 } //--> </script> <body onLoad="MM_preloadImages('images/createnewpersonDown.PNG','images/filesatLocationDow n.PNG','images/deletelocDown.PNG')" > <table width="758" border="0" cellpadding="0" cellspacing="0" > <tr> <td width="2" height="19"></td> <td valign="top" colspan="6"><a href="system_locations.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image4','','images/filesatLocationDown.PNG',1)"><img name="Image4" border="0" src="images/filesatLocationDown.PNG" width="150" height="19" alt="Files at specific Location"></a></td> <td width="2"></td> <td valign="top" colspan="2"><a href="system_locations_createnew.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image2','','images/createnewpersonDown.PNG',1)"><img name="Image2" border="0" src="images/createnewpersonUp.PNG" width="150" height="19" alt="Create New Location"></a></td> <td width="2"></td> <td valign="top" width="150"><a href="system_locations_delete.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','images/deletelocDown.PNG',1)"><img name="Image3" border="0" src="images/deletelocUp.PNG" width="150" height="19" alt="Delete Location"></a></td> <td width="46"></td> <td width="22" rowspan="3" valign="top">&nbsp;</td> <td width="70"></td> <td width="20"></td> <td width="10"></td> <td width="129" rowspan="4" valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/BGlocation.PNG"> <tr> <td width="132" height="89"></td> </tr> </table> </td> <td width="5"></td>
  • 50. 44 </tr> <tr> <td height="44"></td> <td width="39"></td> <td width="15"></td> <td width="4"></td> <td width="22"></td> <td width="35"></td> <td width="35"></td> <td></td> <td width="1"></td> <td width="149"></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td height="6"></td> <td></td> <td rowspan="9" valign="top"> <div align="center"> <p><font color="#CCCCCC"><b>F</b></font></p> <p><b><font color="#CCCCCC">I</font></b></p> <p><b><font color="#CCCCCC">L</font></b></p> <p><b><font color="#CCCCCC">E</font></b></p> <p><b><font color="#CCCCCC">@</font></b></p> <p>&nbsp;</p> </div> </td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>
  • 51. 45 <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td height="23"></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td colspan="9" rowspan="2" valign="top"> <table width="100%" border="1" cellpadding="1" cellspacing="0"> <tr> <td width="456" height="23" valign="middle" bgcolor="#6B6C9C"> <div align="center"><font color="#FFFFFF"><b>Current File(s) at Specific Location</b></font></div> </td> </tr> </table> </td> <td></td> <td></td> </tr> <tr> <td height="2"></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr>
  • 52. 46 <td height="14"></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td height="9"></td> <td></td> <td></td> <td rowspan="6" valign="top"> <div align="center"> <p><b><font color="#CCCCCC">L</font></b></p> <p><font color="#CCCCCC"><b>O</b></font></p> <p><font color="#CCCCCC"><b>C</b></font></p> <p><font color="#CCCCCC"><b>A</b></font></p> <p><font color="#CCCCCC"><b>T</b></font></p> <p><font color="#CCCCCC"><b>I</b></font></p> <p><font color="#CCCCCC"><b>O</b></font></p> <p><font color="#CCCCCC"><b>N</b></font></p> </div> </td> <td></td> <td></td> <td></td> <td></td> <td></td>
  • 53. 47 <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td height="131"></td> <td></td> <td></td> <td></td> <td></td> <td colspan="9" valign="top" rowspan="2"> <form name="form1" method="post" action="system_locations.php"> <div align="center"> <p><br> <b>Name: </b> <select name="select"> <?php include("connect.php"); $query = "SELECT * FROM location"; $result = mysql_query($query); echo "<option selected>[Choose Location]</option>"; while($row = mysql_fetch_array($result)) { $loc = $row[0]; echo "<option>$loc</option>"; } ?> </select> <br> <br> <input type="submit" name="Submit" value=" Check "> </p>
  • 54. 48 </div> </form> <div align='center'> <?php include("connect.php"); $location = $_POST['select']; $resindb = mysql_query("SELECT * FROM files WHERE currentloc = '$location' "); $isresindb = mysql_num_rows($resindb); //echo"$isidindb"; if ($location == '[Choose Location]' OR $location == ''){ echo "<font color='red'>Select Location to check File-At-Location"; }else if ($isresindb == '0'){ echo "<font color='red'>There is no files at</font> [ <b>$location</b> ]"; }else { echo " File(s)-At-Location [ <b>$location</b> ]<br>"; } ?> </div> </td> <td></td> <td></td> <td></td> </tr> <tr> <td height="19"></td> <td></td> <td></td> <td></td> <td valign="top"> <?php include("connect.php"); $query2 = "SELECT * FROM files WHERE currentloc = '$location'"; $result2 = mysql_query($query2); ?> </td> <td></td> <td></td> <td></td> </tr>
  • 55. 49 <tr> <td height="43"></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td colspan="6" valign="top"> <table width="100%" border="1" cellpadding="0" cellspacing="0"> <tr> <td valign="middle" height="21" width="127" align="center" bgcolor="#AAABC6"><b>File Number</b></td> <td width="174" valign="middle" align="center" bgcolor="#AAABC6"><b>File Name</b></td> <td width="130" valign="top" bgcolor="#AAABC6"> <div align="center"><b>File Description</b></div> </td> </tr> <?php while($row = mysql_fetch_array($result2)){ $no = $row[0]; $name = $row[1]; $fdesc = $row[2]; echo "<tr>"; ?> <tr> <td height="20" valign="top" bgcolor="#FFFFCC"> <?php echo "<center>$no"; ?> <td valign="top" bgcolor="#FFFFCC"> <?php echo " <center>$name"; ?> <td valign="top" bgcolor="#FFFFCC"> <?php echo " <center>$fdesc"; echo "</tr>"; } ?> </table> </td> <td></td>
  • 56. 50 <td></td> <td></td> <td></td> </tr> <tr> <td height="57"></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td height="45"></td> <td></td> <td></td> <td></td> </tr> </table>  Help: <?php // If there is no cookie presesnt if (!isset($_COOKIE['cookie_info'])) { // Variables that data come from the form $username = $_POST["user"]; $password = $_POST["pass"]; // Check if username and password where submitted
  • 57. 51 if (!$username) { echo "<center><b>Please Enter Your Username <br><br><a href='index2.php'>Back</a>"; exit; } if (!$password) { echo "<center><b>Please Enter Your Password <br><br><a href='index2.php'>Back</a>"; exit; } // Use Connect Script include("connect.php"); // MD5 Username and Password //$username = MD5($username); //$password = MD5($password); // Check if username exists. If not then say no such username. $issuchusername = mysql_query("SELECT * FROM user WHERE username = '$username'"); $usernamelogin = mysql_num_rows($issuchusername); // If username exists if ($usernamelogin == 1) { $issuchpassword = mysql_query("SELECT * FROM user WHERE username = '$username' AND password = '$password'"); $passwordlogin = mysql_num_rows($issuchpassword); // If password is correct if ($passwordlogin == 1) { $time = time(); $cookie_data = $username.'-'.$password; if(setcookie ("cookie_info",$cookie_data, $time+3600)==TRUE) { } else { echo "You computer does not support cookies. <BR> To view other pages after logged in you need to have cookies enabled.<BR>"; }
  • 58. 52 } else { echo "<center><b>Incorrect Username/Password <br><br><a href='index2.php'>Back</a>"; exit; } } else { echo "<center><b>Incorrect Username/Password <br><br><a href='index2.php'>Back</a>"; exit; } } // End if no cookie present ?> <html> <head> <title>..::: File-Track System :::.. by ReVo</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && document.getElementById) x=document.getElementById(n); return x; }
  • 59. 53 function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length- 2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> </head> <body bgcolor="#FFFFFF" text="#000000" onLoad="MM_preloadImages('images/files_down.PNG','images/icon2.PNG','images/foldericon downsearch.PNG','images/foldericonpersondown.PNG','images/foldericonlocdown.PNG','images /foldericondownhelp.PNG','images/search_down.PNG','images/loc_down.PNG','images/PERSO N_down.PNG','images/help_down.PNG')"> <div align = 'center'> <table width="762" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> <tr> <td valign="middle" colspan="2" align="center" height="65"> <div align="left"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5, 0,0,0" width="80" height="58"> <param name=movie value="images/Movie2.swf"> <param name=quality value=high> <embed src="images/Movie2.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version= ShockwaveFlash" type="application/x-shockwave-flash" width="80" height="58"> </embed> </object></div> </td> <td valign="middle" colspan="9" bgcolor="#FFFFFF" align="center"> <div align="left"><img src="images/ftrack.PNG" width="289" height="56" alt="File-Track System"> </div> </td> <td valign="middle" align="center" colspan="2"><a href="logout.php">Logout</a></td> <td width="1"></td> </tr> <tr> <td height="73" width="2"></td>
  • 60. 54 <td valign="top" colspan="2" align="center"><a href="system_files.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('files','','images/files_down.PNG',1)"><img name="files" border="0" src="images/files_up.PNG" width="150" height="19" alt="Update Files Location"></a><a href="system_files.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('icon1','','images/icon2.PNG',1)"><br> <img name="icon1" border="0" src="images/icon1.PNG" width="70" height="52" alt="Update Files Location"></a></td> <td width="2"></td> <td width="150" valign="top" align="center"><a href="system_search_bynumber.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image11','','images/search_down.PNG',1)"><img name="Image11" border="0" src="images/search_up.PNG" width="150" height="19" alt="Search Files"></a><br> <a href="system_search_bynumber.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('iconsearch','','images/foldericondownsearch.PNG',1)"><img name="iconsearch" border="0" src="images/foldericonupsearch.PNG" width="68" height="54" alt="Search Files"></a></td> <td width="2"></td> <td width="150" valign="top"> <div align="center"><a href="system_locations.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image12','','images/loc_down.PNG',1)"><img name="Image12" border="0" src="images/loc_up.PNG" width="150" height="19" alt="Files at Location"></a><br> <a href="system_locations.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('locationicon','','images/foldericonlocdown.PNG',1)"><img name="locationicon" border="0" src="images/foldericonlocup.PNG" width="68" height="54" alt="Files at Location"></a></div> </td> <td width="2"></td> <td width="150" valign="top"> <div align="center"><a href="system_persons.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image13','','images/PERSON_down.PNG',1)"><img name="Image13" border="0" src="images/PERSON_up.PNG" width="150" height="19" alt="Files at Person"></a><br> <a href="system_persons.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('personicon','','images/foldericonpersondown.PNG',1)"><img name="personicon" border="0" src="images/foldericonpersonup.PNG" width="68" height="54" alt="Files at Person"></a></div> </td>
  • 61. 55 <td width="2"></td> <td valign="top" colspan="2"> <div align="center"><a href="?page=help" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image14','','images/help_down.PNG',1)"><img name="Image14" border="0" src="images/help_down.PNG" width="150" height="19" alt="Need Help?"></a><br> <a href="?page=help" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('helpicon','','images/foldericondownhelp.PNG',1)"><img name="helpicon" border="0" src="images/foldericonuphelp.PNG" width="68" height="54" alt="Need Help?"></a></div> </td> <td width="1"></td> <td></td> </tr> <tr> <td height="39"></td> <td valign="top" colspan="12"> <div align="center"> <hr> <?php switch($_GET['page']) { case "files": //echo "Files"; include ('files.php'); break; case "search": //echo "Search"; include ('searchbynumber.php'); break; case "location": //echo "Locations"; include ('locations.php'); break; case "person": //echo "Persons"; include ('persons.php'); break; case "help": //echo "Help";
  • 62. 56 include ('help.php'); break; default: //echo "Help Default"; include ('help.php'); break; } ?> </div> </td> <td></td> </tr> <tr> <td height="1"></td> <td width="79"></td> <td width="71"></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td width="62"></td> <td width="88"></td> <td></td> <td></td> </tr> </table> </div> </body> </html>  System location: <?php // If there is no cookie presesnt if (!isset($_COOKIE['cookie_info'])) { // Variables that data come from the form $username = $_POST["user"];
  • 63. 57 $password = $_POST["pass"]; // Check if username and password where submitted if (!$username) { echo "<center><b>Please Enter Your Username <br><br><a href='index2.php'>Back</a>"; exit; } if (!$password) { echo "<center><b>Please Enter Your Password <br><br><a href='index2.php'>Back</a>"; exit; } // Use Connect Script include("connect.php"); // MD5 Username and Password //$username = MD5($username); //$password = MD5($password); // Check if username exists. If not then say no such username. $issuchusername = mysql_query("SELECT * FROM user WHERE username = '$username'"); $usernamelogin = mysql_num_rows($issuchusername); // If username exists if ($usernamelogin == 1) { $issuchpassword = mysql_query("SELECT * FROM user WHERE username = '$username' AND password = '$password'"); $passwordlogin = mysql_num_rows($issuchpassword); // If password is correct if ($passwordlogin == 1) { $time = time(); $cookie_data = $username.'-'.$password; if(setcookie ("cookie_info",$cookie_data, $time+3600)==TRUE) { } else {
  • 64. 58 echo "You computer does not support cookies. <BR> To view other pages after logged in you need to have cookies enabled.<BR>"; } } else { echo "<center><b>Incorrect Username/Password <br><br><a href='index2.php'>Back</a>"; exit; } } else { echo "<center><b>Incorrect Username/Password <br><br><a href='index2.php'>Back</a>"; exit; } } // End if no cookie present ?> <html> <head> <title>..::: File-Track System :::.. by ReVo</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];