Anda di halaman 1dari 68

TABLE OF CONTENTS

ABSTRACT

1. INTRODUCTION
PROJECT AIMS AND OBJECTIVES
BACKGROUND OF PROJECT
OPERATION ENVIRONMENT

2. SYSTEM ANALYSIS
SOFTWARE REQUIREMENT SPECIFICATION
EXISTING VS PROPOSED
SOFTWARE TOOL USED

3. SYSTEM DESIGN
TABLE DESIGN
DATA FLOW DIAGRAM’S
4. SYSTEM IMPLEMENTATION
MODULE DESCRIPTION
SCREEN SHOTS
5. SYSTEM TESTING
UNIT TESTING
INTEGRATION TESTING
6. CONCLUSION & FUTURE SCOPE
7. REFERENCES
SYNOPSIS
Library management system is a project which aims in developing a computerized
system to maintain all the daily work of library .This project has many features which are
generally not available in normal library management systems like facility of user login and a
facility of teachers login .It also has a facility of admin login through which the admin can
monitor the whole system .It also has facility of an online notice board where teachers can
student can put up information about workshops or seminars being held in our colleges or nearby
colleges and librarian after proper verification from the concerned institution organizing the
seminar can add it to the notice board . It has also a facility where student after logging in their
accounts can see list of books issued and its issue date and return date and also the students can
request the librarian to add new books by filling the book request form. The librarian after
logging into his account ie admin account can generate various reports such as student report,
issue report, teacher report and book report. Overall this project of ours is being developed to
help the students as well as staff of library to maintain the library in the best way possible and
also reduce the human efforts.

CHAPTER 1
INTRODUCTION

This chapter gives an overview about the aim , objectives, background and
operation environment of the system.

1.1 ABOUT OF THE PROJECT

The project aims and objectives that will be achieved after completion of this project are
discussed in this subchapter. The aims and objectives are as follows:

 Online book issue


 Request column for librarian for providing new books
 A separate column for digital library
 Student login page where student can find books issued by him/her and date of return.
 A search column to search availability of books

 A teacher login page where teacher can add any events being organized in the
college and important suggestions regarding books.

 Online notice board about the workshop.

1.2 BACKGROUND OF PROJECT

Library Management System is an application which refers to library systems which are
generally small or medium in size. It is used by librarian to manage the library using a
computerized system where he/she can record various transactions like issue of books, return of
books, addition of new books, addition of new students etc.

Books and student maintenance modules are also included in this system which would keep
track of the students using the library and also a detailed description about the books a library
contains. With this computerized system there will be no loss of book record or member record
which generally happens when a non computerized system is used.

In addition, report module is also included in Library Management System. If user’s position
is admin, the user is able to generate different kinds of reports like lists of students registered,
list of books, issue and return reports.

All these modules are able to help librarian to manage the library with more convenience and in
a more efficient way as compared to library systems which are not computerized.

1.3 SOFTWARE REQUIREMENT SPECIFICATION

1.3.1 GENERAL DESCRIPTION


Library Management System is a computerized system which helpsuser(librarian) to manage the
library daily activity in electronic format. It reducesthe risk of paper work such as file lost, file
damaged and time consuming.It can help user to manage the transaction or record more
effectively and time-saving.
SYSTEM ANALYSIS

In this chapter, we will discuss and analyze about the developing process of Library
Management System including software requirement specification (SRS) and comparison
between existing and proposed system . The functional and non functional requirements are
included in SRS part to provide complete description and overview of system requirement
before the developing process is carried out. Besides that, existing vs proposed provides a view
of how the proposed system will be more efficient than the existing one.

PROBLEM STATEMENT:

The problem occurred before having computerized system include


 File lost

When computerized system is not implemented file is always lost because of human
environment. Some times due to some human error there may be a loss of records.


 File damaged When a computerized system is not there file is always lost due to
some accdent like spilling of water by some member on file accidentally.Besides
some natural disaster like floods or fires may also damage the files.

2.1.2 SYSTEM OBJECTIVES

 Improvement in control and performance



The system is developed to cope up with the current issues and problems of library

.The system can add user, validate user and is also bug free.

 Save cost

After computerized system is implemented less human force will be required
to maintain the library thus reducing the overall cost.

 Save time

Librarian is able to search record by using few clicks of mouse and few search
keywords thus saving his valuable time.

 Option of online Notice board

Librarian will be able to provide a detailed description of workshops going in the
college as well as in nearby colleges

 Lecture Notes

Teachers have a facility to upload lectures notes in a pdf file having size not
more than 10mb

2.1.3 SYSTEM REQUIREMENTS

2.1.3.1 NON FUNCTIONAL REQUIREMENTS

 Product Requirements

EFFICIENCY REQUIREMENT

When a library management system will be implemented librarian and user will
easily acess library as searching and book transaction will be very faster .

RELIABILITY REQUIREMENT

The system should accurately performs member registration ,member validation ,


report generation, book transaction and search
USABILITY REQUIREMENT

The system is designed for a user friendly environment so that student and staff of
library can perform the various tasks easily and in an effective way.

ORGANIZATIONAL REQUIREMENT

IMPLEMENTATION REQUIREMNTS

In implementing whole system it uses html in front end with php as server side
scripting language which will be used for database connectivity and the backend ie
the database part is developed using mysql.

DELIVERY REQUIREMENTS

The whole system is expected to be delivered in six months of time with a weekly
evaluation by the project guide.

2.1.3.2 FUNCTIONAL REQUIREMENTS

1. NORMAL USER

1.1 USER LOGIN

Description of feature

This feature used by the user to login into system. They are required to enter user id and
password before they are allowed to enter the system .The user id and password will be verified
and if invalid id is there user is allowed to not enter the system.

Functional requirements
-user id is provided when they register

-The system must only allow user with valid id and password to enter the system

-The system performs authorization process which decides what user level can acess to.

-The user must be able to logout after they finished using system.

1.2 REGISTER NEW USER

Description of feature

This feature can be performed by all users to register new user to create account.

Functional requirements

-System must be able to verify information

-System must be able to delete information if information is wrong

1.3 REGISTER NEW BOOK

Description of feature

This feature allows to add new books to the library

Functional requirements

-System must be able to verify information

-System must be able to enter number of copies into table.

- System must be able to not allow two books having same book id.
1.5 SEARCH BOOK
DESCRIPTION OF FEATURE

This feature is found in book maintenance part .we can search book based on book id ,
book name , publication or by author name.

Functional requirements

- System must be able to search the database based on select search type

- System must be able to filter book based on keyword enterd

- System must be able to show the filtered book in table view

1.5 ISSUE BOOKS AND RETURN BOOKS

DESCRIPTION OF FEATURE

This feature allows to issue and return books and also view reports of book issued.

Functional requirements
-System must be able to enter issue information in database.
-System must be able to update number of books.
- System must be able to search if book is available or not before issuing books
-System should be able to enter issue and return date information

1.6 EVENT ADDITION

DESCRIPTION OF FEATURE

This feature allows teacher and student to add information about various workshops
being conducted in college and colleges nearby.
Functional requirements

-System should be able to add detailed information about events .

-System should be able to display information on notice board available in the homepage
of site

2.2 EXISTING VS PROPOSED SYSTEM

i. Existing system does not have any facility of teachers login or student login
where as proposed system will have a facility of student login as well as
teacher’s login

ii. Existing system does not have a facility of online reservation of books whereas
proposed system has a facility of online reservation of books

iii. Existing system does not have any facility of online notice board where
description of workshops happening in our college as well as nearby colleges is
being provided.

iv. Existing system does not has any option of lectures notes uploaded by teachers
whereas proposed system will have this facility

v. Existing system does not have any facility to generate student reports as well
book issue reports whereas proposed system provides librarian with a tool to
generate reports

vi. Existing system does not has any facility for book request and sugeestions
where as in proposed system after logging in to their accounts student can
request books as well as provide suggestions to improve library

SYSTEM DESIGN
3.1 TABLE DESIGN

VARIOUS TABELS TO MAINTAIN


INFORMATION

 BOOK TABLE FOR KEEPING TRACK OF BOOKS

Field Data type Default Key Extra


Code INT(11) Not Null Primary Auto
increment

Bookname VARCHAR(255) Null

Author VARCHAR(255) Null

Publication VARCHAR(255) Null

Subject VARCHAR(255) Null

No of INT(10) Null
copies
 
STUDENT TABLE FOR STUDENT INFORMATION

Field Data type Default Key Extra

libid INT(11) NOT NULL Primary key Autoincrement

regno INT(10) NULL

branch VARCHAR(255) NULL

section VARCHAR(255) NULL

semester VARCHAR(255) NULL

section VARCHAR(2) NULL

yearofadm INT(5) NULL

 
TEACHER TABLE TO KEEP TEACHER INFORMATION

Field Data Type Default Key Extra

Tid INT(11) NOT NULL Primary key Auto


increment

Name VARCHAR(255) NULL

Designation VARCHAR(255) NULL

Branch VARCHAR(255) NULL

Contactno INT(13) NULL

Lectures LONG BLOB NULL


Field Data Type Default Key Extra

bookid INT(11) NOT NULL Foreign key References


book
stuid INT(11) NOT NULL Foreign key References

Student

issuedate DATE NULL

returndate DATE NULL

Field Data type Default Key Extra

logid INT(11) NOT NULL Foreign key References


Student

Username VARCHAR(255) NULL

Password VARCHAR(255) NULL

numbooks INT(1) NULL


Field Data type Default Key Extra

Name Varchar(255) NULL

Date Date(yyyy/mm/dd) NULL

Time VARCHAR(255) NULL

Mname VARCHAR(255) NULL

Contactno. Int(30) NULL

Email VARCHAR(255) NULL

Venue varchar(255) NULL


 
EVENT TABLE FOR EVENT INFORMATION
Field DataType Default Key Extra

Loginid INT(11) NOT NULL Foreign References


key teacher

Username VARCHAR(255) NULL

Password VARCHAR(255) NULL

 
TEACHER LOGIN TABLE
3.2 DATA FLOW DIAGRAMS

DATA FLOW DIAGRAM FOR TEACHER LOGIN

TEACHER
DATABASE

ENTER
ENTER USERNAME CHECK
TEACHER
URL & VALIDITY
PASSWORD

IF VALID

TEACHER
WEB SERVER LOGIN
PAGE

After entering to the home page of the website , teacher can choose the TEACHER LOGIN
option where they are asked to enter username & password , and if he/she is a valid user then a
teacher login page will be displayed.
DATA FLOW DIAGRAM FOR STUDENT LOGIN

STUDENT
DATABASE

ENTER
ENTER USERNAME CHECK
STUDENT
URL & VALIDITY
PASSWORD

IF VALID

STUDENT
WEB SERVER LOGIN
PAGE

After entering to the home page of the website , student can choose the STUDENT LOGIN
option where they are asked to enter username & password , and if he/she is a valid user
then a student login page will be displayed.
DATA FLOW DIAGRAM FOR BOOK ISSUE

LOGIN
DATABASE

IF NO.
SELECT ENTER
MESSAGE
IF OF UPDATE
SELECT
BOOK BOOK
BOOK
NO. “BOOK
STUDENT ISSUE DETAIL BOOK OF
AVBL ISSUE ISSUED COPIES RESERVED”
LOGIN
LESS THAN
PAGE 3

BOOK
LOGIN BOOK

DATABASE
TABLE DATABASE

It is a 2nd level Data Flow Diagram where after entering STUDENT LOGIN page he/she can
select a book issue option where after entering the book detail, he/she can select the book issue
option and if the maximum no of books issued limit is not crossed then a request will be sent to
the librarian who will approve the book issue.
DATA FLOW DIAGRAM FOR BOOK SEARCH

IF
SELECT ENTER
ADVANCE BOOK BOOK
HOME FOUND
SEARCH DETAIL DETAILS

BOOK
DATABASE

After the home page login there will be an option of the book search where after entering book
detail like author name, publication, book name etc book details will be displayed.
DATA FLOW FOR ACCOUNT CREATION DIAGRAM

ADMIN
SELECT ENTER MESSAGE
HOME VERIFY
ACCOUNT STUDENT SENT
STUDEN
CREATION DETAIL TO
T STUDENT

IF ALL REG. IS IF VALID


PARTIALLY FILLED

ADMIN STUDENT
DATABASE DATABASE

After the home page login there will be an option of CREATE AN ACCOUNT where after
entering student detail ,if all the fields are filled then a request will be sent to the librarian who
will approve him as a registered member of the library.
4.1 MODULE DESCRIPTION

For Library Management System it is divided into the following Modules:

4.1.1 Admin Module

ADMIN

STUDENT TEACHER BOOK ADDITION REPORT


VALIDATION REGISTRATION GENERATION

The following module contains various facilities like student validation,


teacher registration, book addition, and report generation.

4.1.2Student Module

STUDENT

STUDENT STUDENT LOGIN ONLINE BOOK EVENT ADDITION


REGISTRATION RESERVATTION
USERNAME AND FORGOT
PASSWORD PASSWORD
AUTHENTICATION

The following module contains various facilities like student registration, student
login, online book reservation, and event addition. Any student if at any moment
forgets his password he can retrieve it from forgot password option.

 4.1.3 Teacher Module

TEACHER
SUGGESTIONS
TEACHER LOGIN
EVENT ADDITION

USERNAME AND FORGOT


PASSWORD PASSWORD
AUTHENTICATION

The following module contains various facilities like teacher login, suggestions, and
event addition. Further any teacher if at any moment forgets his/her password he/she
can retrieve it from ‘forgot password’ option.
 4.1.4 Book Module

BOOK MAINTENANCE

ADD NEW BOOK SEARCH BOOK

The following module contains various facilities like add new book and search book.
In the ‘add new book’ section if any new book comes in the library then the librarian
can add its specifications. Similarly if the user wants to search for a specific book then
he/she can use search book option to do it.
 4.1.5 Book Transaction Module

BOOK TRANSACTION

ISSUE BOOK RETURN BOOK CHECK


RESERVATION

The following module contains various facilities like issue book, return book and
check reservation.

4.1.6 Report Module


REPORT

STUDENT REPORT TEACHER REPORT BOOK REPORT TRANSACTION


REPORT

The following module contains various facilities like student report, teacher report,
book report, and transaction report.

CHAPTER 5

SYSTEM TESTING

The aim of the system testing process was to determine all defects in our project .The
program was subjected to a set of test inputs and various observations were made and based
on these observations it will be decided whether the program behaves as expected or not. Our
Project went through two levels of testing

1.Unit testing

2.integration testing
UNIT TESTING

Unit testing is undertaken when a module has been created and succesfully reviewed .In order
to test a single module we need to provide a complete environment ie besides the module we
would require

 The procedures belonging to other modules that the module under test calls

 Non local data structures that module accesses

 A procedure to call the functions of the module under test with appropriate
parameters

Unit testing was done on each and every module that is described under module description of
chapter 4

 Testing admin login form-This form is used for log in of administrator of


the system.In this we enter the username and password if both are correct
administration page will open other wise if any of data is wrong it will get
redirected back to the login page and again ask for username and password

 Student account addition- In this section the admin can verify student
details from student academinc info and then only add student details to
main library database it contains add and delete buttons if user click add
button data will be added to student database and if he clicks delete button
the student data will be deleted

 Book Addition- Admin can enter details of book and can add the details to
the main book table also he can view the books requests .






2. Test for Student login module

 Test for Student login Form-This form is used for log in of Student .In this
we enter thelibraryid, username and password if all these are correct student
login page will open other wise if any of data is wrong it will get redirected
back to the login page and again ask for libraryid, username and password.

 Test for account creation- This form is used for new account creation when
student does not fill the form completely it asks again to fill the whole form
when he fill the form fully it gets redirected to page which show waiting
for conformation message as his data will be only added by administrator
after verification.

3. Test for teacher login module-

 Test for teacher login form- This form is used for logg in of teacher .In
this we enter the username and password if all these are correct teacher
login page will open other wise if any of data is wrong it will get
redirected back to the login page and again ask for username and
password.
INTEGRATION TESTING

In this type of testing we test various integration of the project module by providing the input

.The primary objective is to test the module interfaces in order to ensure that no errors are
occurring when one module invokes the other module.

Coding:
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Mar 23, 2017 at 07:05 PM
-- Server version: 10.1.13-MariaDB
-- PHP Version: 5.6.20

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";


SET time_zone = "+00:00";
/*!40101 SET
@OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET
@OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET
@OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `eb_lms`
--
CREATE DATABASE IF NOT EXISTS `eb_lms` DEFAULT CHARACTER SET
latin1 COLLATE latin1_swedish_ci;
USE `eb_lms`;

-- --------------------------------------------------------

--
-- Table structure for table `book`
--

DROP TABLE IF EXISTS `book`;


CREATE TABLE `book` (
`book_id` int(11) NOT NULL,
`book_title` varchar(100) NOT NULL,
`category_id` int(50) NOT NULL,
`author` varchar(50) NOT NULL,
`book_copies` int(11) NOT NULL,
`book_pub` varchar(100) NOT NULL,
`publisher_name` varchar(100) NOT NULL,
`isbn` varchar(50) NOT NULL,
`copyright_year` int(11) NOT NULL,
`date_receive` varchar(20) NOT NULL,
`date_added` datetime NOT NULL,
`status` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `book`
--

INSERT INTO `book` (`book_id`, `book_title`, `category_id`, `author`, `book_copies`,


`book_pub`, `publisher_name`, `isbn`, `copyright_year`, `date_receive`, `date_added`,
`status`) VALUES
(15, 'Natural Resources', 8, 'Robin Kerrod', 15, 'Marshall Cavendish Corporation',
'Marshall', '1-85435-628-3', 1997, '', '2013-12-11 06:34:27', 'New'),
(16, 'Encyclopedia Americana', 5, 'Grolier', 20, 'Connecticut', 'Grolier Incorporation', '0-
7172-0119-8', 1988, '', '2013-12-11 06:36:23', 'Archive'),
(17, 'Algebra 1', 3, 'Carolyn Bradshaw, Michael Seals', 35, 'Pearson Education, Inc',
'Prentice Hall, New Jersey', '0-13-125087-6', 2004, '', '2013-12-11 06:39:17', 'Damage'),
(18, 'The Philippine Daily Inquirer', 7, '..', 3, 'Pasay City', '..', '..', 2013, '', '2013-12-11
06:41:53', 'New'),
(19, 'Science in our World', 4, 'Brian Knapp', 25, 'Regency Publishing Group', 'Prentice
Hall, Inc', '0-13-050841-1', 1996, '', '2013-12-11 06:44:44', 'Lost'),
(20, 'Literature', 9, 'Greg Glowka', 20, 'Regency Publishing Group', 'Prentice Hall, Inc',
'0-13-050841-1', 2001, '', '2013-12-11 06:47:44', 'Old'),
(21, 'Lexicon Universal Encyclopedia', 5, 'Lexicon', 10, 'Lexicon Publication', 'Pulication
Inc., Lexicon', '0-7172-2043-5', 1993, '', '2013-12-11 06:49:53', 'Old'),
(22, 'Science and Invention Encyclopedia', 5, 'Clarke Donald, Dartford Mark', 16, 'H.S.
Stuttmaninc. Publishing', 'Publisher , Westport Connecticut', '0-87475-450-x', 1992, '',
'2013-12-11 06:52:58', 'New'),
(23, 'Integrated Science Textbook ', 4, 'Merde C. Tan', 15, 'Vibal Publishing House Inc.',
'12536. Araneta Avenue Corner Ma. Clara St., Quezon City', '971-570-124-8', 2009, '',
'2013-12-11 06:55:27', 'New'),
(24, 'Algebra 2', 3, 'Glencoe McGraw Hill', 15, 'The McGrawHill Companies Inc.',
'McGrawhill', '978-0-07-873830-2', 2008, '', '2013-12-11 06:57:35', 'New'),
(25, 'Wiki at Panitikan ', 7, 'Lorenza P. Avera', 28, 'JGM & S Corporation', 'JGM & S
Corporation', '971-07-1574-7', 2000, '', '2013-12-11 06:59:24', 'Damage'),
(26, 'English Expressways TextBook for 4th year', 9, 'Virginia Bermudez Ed. O. et al',
23, 'SD Publications, Inc.', 'Gregorio Araneta Avenue, Quezon City', '978-971-0315-33-
8', 2007, '', '2013-12-11 07:01:25', 'New'),
(27, 'AsyaPag-usbong Ng Kabihasnan ', 8, 'Ricardo T. Jose, Ph . D.', 21, 'Vibal
Publishing House Inc.', 'AranetaAvenue . Cor. Maria Clara St., Quezon City', '971-07-
2324-3', 2008, '', '2013-12-11 07:02:56', 'New'),
(28, 'Literature (the readers choice)', 9, 'Glencoe McGraw Hill', 20, '..', 'the McGrawHill
Companies Inc', '0-02-817934-x', 2001, '', '2013-12-11 07:05:25', 'Damage'),
(29, 'Beloved a Novel', 9, 'Toni Morrison', 13, '..', 'Alfred A. Knoff, Inc', '0-394-53597-9',
1987, '', '2013-12-11 07:07:02', 'Old'),
(30, 'Silver Burdett Engish', 2, 'Judy Brim', 12, 'Silver Burdett Company', 'Silver', '0-382-
03575-5', 1985, '', '2013-12-11 09:22:50', 'Old'),
(31, 'The Corporate Warriors (Six Classic Cases in American Business)', 8, 'Douglas K.
Ramsey', 8, 'Houghton Miffin Company', '..', '0-395-35487-0', 1987, '', '2013-12-11
09:25:32', 'Old'),
(32, 'Introduction to Information System', 9, 'CristineRedoblo', 10, 'CHMSC', 'Brian
INC', '123-132', 2013, '', '2014-01-17 19:00:10', 'New');

-- --------------------------------------------------------

--
-- Table structure for table `borrow`
--
DROP TABLE IF EXISTS `borrow`;
CREATE TABLE `borrow` (
`borrow_id` int(11) NOT NULL,
`member_id` bigint(50) NOT NULL,
`date_borrow` varchar(100) NOT NULL,
`due_date` varchar(100) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `borrow`
--

INSERT INTO `borrow` (`borrow_id`, `member_id`, `date_borrow`, `due_date`)


VALUES
(484, 66, '2014-03-20 23:50:27', '19/03/2017'),
(483, 66, '2014-03-20 23:49:34', '21/03/2017'),
(482, 66, '2014-03-20 23:38:22', '23/03/2017'),
(485, 66, '2017-03-21 07:33:49', '21/03/2017');

-- --------------------------------------------------------

--
-- Table structure for table `borrowdetails`
--

DROP TABLE IF EXISTS `borrowdetails`;


CREATE TABLE `borrowdetails` (
`borrow_details_id` int(11) NOT NULL,
`book_id` int(11) NOT NULL,
`borrow_id` int(11) NOT NULL,
`borrow_status` varchar(50) NOT NULL,
`date_return` varchar(100) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `borrowdetails`
--

INSERT INTO `borrowdetails` (`borrow_details_id`, `book_id`, `borrow_id`,


`borrow_status`, `date_return`) VALUES
(164, 16, 484, 'pending', ''),
(162, 15, 482, 'pending', ''),
(163, 15, 483, 'returned', '2014-03-21 00:30:51'),
(165, 15, 485, 'pending', '');

-- --------------------------------------------------------

--
-- Table structure for table `category`
--

DROP TABLE IF EXISTS `category`;


CREATE TABLE `category` (
`category_id` int(11) NOT NULL,
`classname` varchar(50) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `category`
--

INSERT INTO `category` (`category_id`, `classname`) VALUES


(1, 'Periodical'),
(2, 'English'),
(3, 'Math'),
(4, 'Science'),
(5, 'Encyclopedia'),
(6, 'Filipiniana'),
(7, 'Newspaper'),
(8, 'General'),
(9, 'References');

-- --------------------------------------------------------

--
-- Table structure for table `lost_book`
--

DROP TABLE IF EXISTS `lost_book`;


CREATE TABLE `lost_book` (
`Book_ID` int(11) NOT NULL,
`ISBN` int(11) NOT NULL,
`Member_No` varchar(50) NOT NULL,
`Date Lost` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `member`
--

DROP TABLE IF EXISTS `member`;


CREATE TABLE `member` (
`member_id` int(11) NOT NULL,
`firstname` varchar(100) NOT NULL,
`lastname` varchar(100) NOT NULL,
`gender` varchar(10) NOT NULL,
`address` varchar(100) NOT NULL,
`contact` varchar(100) NOT NULL,
`type` varchar(100) NOT NULL,
`year_level` varchar(100) NOT NULL,
`status` varchar(100) NOT NULL,
`password` varchar(100) NOT NULL DEFAULT '12345'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `member`
--

INSERT INTO `member` (`member_id`, `firstname`, `lastname`, `gender`, `address`,


`contact`, `type`, `year_level`, `status`, `password`) VALUES
(66, 'user', '1', 'Male', 'pollachi', '98765432100', 'Student', 'Third Year', 'active',
'9876543210'),
(67, 'staff', '1', 'Male', 'poy', '9875643210', 'Staff', 'Fourth Year', 'active', '123');

-- --------------------------------------------------------

--
-- Table structure for table `note`
--

DROP TABLE IF EXISTS `note`;


CREATE TABLE `note` (
`notes_id` int(11) NOT NULL,
`notes` text NOT NULL,
`staff_name` varchar(50) NOT NULL,
`description` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `note`
--

INSERT INTO `note` (`notes_id`, `notes`, `staff_name`, `description`) VALUES


(1, 'notes/staff 1_249.zip', 'staff 1', 'Internal notes');

-- --------------------------------------------------------

--
-- Table structure for table `stock`
--

DROP TABLE IF EXISTS `stock`;


CREATE TABLE `stock` (
`id` int(11) NOT NULL,
`systemno` int(11) NOT NULL,
`software` varchar(50) NOT NULL,
`printer` varchar(50) NOT NULL,
`bought_date` date NOT NULL,
`service_date` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `stock`
--

INSERT INTO `stock` (`id`, `systemno`, `software`, `printer`, `bought_date`,


`service_date`) VALUES
(1, 123, 'JAVA', 'available', '2017-03-01', '2017-03-15'),
(2, 123, 'JAVA', 'available', '2016-11-10', '2017-02-10'),
(3, 124, 'C++', 'unavailable', '2017-02-10', '2017-02-10');

-- --------------------------------------------------------

--
-- Table structure for table `type`
--

DROP TABLE IF EXISTS `type`;


CREATE TABLE `type` (
`id` int(11) NOT NULL,
`borrowertype` varchar(50) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `type`
--

INSERT INTO `type` (`id`, `borrowertype`) VALUES


(2, 'Teacher'),
(20, 'Employee'),
(21, 'Non-Teaching'),
(22, 'Student'),
(32, 'Contruction');
-- --------------------------------------------------------

--
-- Table structure for table `users`
--

DROP TABLE IF EXISTS `users`;


CREATE TABLE `users` (
`user_id` int(11) NOT NULL,
`username` varchar(100) NOT NULL,
`password` varchar(100) NOT NULL,
`firstname` varchar(100) NOT NULL,
`lastname` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`user_id`, `username`, `password`, `firstname`, `lastname`)


VALUES
(2, 'admin', 'admin', 'john', 'smith');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `book`
--
ALTER TABLE `book`
ADD PRIMARY KEY (`book_id`);

--
-- Indexes for table `borrow`
--
ALTER TABLE `borrow`
ADD PRIMARY KEY (`borrow_id`),
ADD KEY `borrowerid` (`member_id`),
ADD KEY `borrowid` (`borrow_id`);

--
-- Indexes for table `borrowdetails`
--
ALTER TABLE `borrowdetails`
ADD PRIMARY KEY (`borrow_details_id`);

--
-- Indexes for table `category`
--
ALTER TABLE `category`
ADD PRIMARY KEY (`category_id`),
ADD UNIQUE KEY `category_id` (`category_id`),
ADD KEY `classid` (`category_id`);

--
-- Indexes for table `lost_book`
--
ALTER TABLE `lost_book`
ADD PRIMARY KEY (`Book_ID`);

--
-- Indexes for table `member`
--
ALTER TABLE `member`
ADD PRIMARY KEY (`member_id`);

--
-- Indexes for table `note`
--
ALTER TABLE `note`
ADD PRIMARY KEY (`notes_id`);

--
-- Indexes for table `stock`
--
ALTER TABLE `stock`
ADD PRIMARY KEY (`id`);

--
-- Indexes for table `type`
--
ALTER TABLE `type`
ADD PRIMARY KEY (`id`),
ADD KEY `borrowertype` (`borrowertype`),
ADD KEY `id` (`id`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`user_id`);
--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `book`
--
ALTER TABLE `book`
MODIFY `book_id` int(11) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=33;
--
-- AUTO_INCREMENT for table `borrow`
--
ALTER TABLE `borrow`
MODIFY `borrow_id` int(11) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=486;
--
-- AUTO_INCREMENT for table `borrowdetails`
--
ALTER TABLE `borrowdetails`
MODIFY `borrow_details_id` int(11) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=166;
--
-- AUTO_INCREMENT for table `category`
--
ALTER TABLE `category`
MODIFY `category_id` int(11) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=801;
--
-- AUTO_INCREMENT for table `lost_book`
--
ALTER TABLE `lost_book`
MODIFY `Book_ID` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `member`
--
ALTER TABLE `member`
MODIFY `member_id` int(11) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=68;
--
-- AUTO_INCREMENT for table `note`
--
ALTER TABLE `note`
MODIFY `notes_id` int(11) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `stock`
--
ALTER TABLE `stock`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `type`
--
ALTER TABLE `type`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=42;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `user_id` int(11) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=3;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT
*/;
/*!40101 SET
CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION
*/;
<div class="life-side-bar">
<div class="hero-container">

</div>

<ul class="navnav-tabs nav-


stacked">
<li class="">
<a href="#"><i class="icon-phone icon-
large"></i>&nbsp;Contact US</a>
</li>
</ul>
<strong>Address</strong>
<p>National Highway, Brgy. 2 Poblacionkit., Negros Occidental </p>
<p>Tel. nos.:</p>
<p>(034) 433-2281 / 435-0535</p>
<p>Fax:</p>
<p>*** </p>
</div>

<!-- vision student login -->


<div id="vision" class="modal hide fade" tabindex="-1" role="dialog" aria-
labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header"><div class="alert alert-
info"><strong>Vision</strong></div></div>
<div class="modal-body">
<p>By 2016. KIT is a center of learning were stackholders are
conscientiously involved in loning holistic
individuals committed to positively respond to the
needs of the Collage, community and the country.</p>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true"><i
class="icon-remove icon-large"></i>&nbsp;Close</button>
</div>
</div>

<!-- mission student login -->


<div id="mission" class="modal hide fade" tabindex="-1" role="dialog" aria-
labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header"><div class="alert alert-
info"><strong>Mission</strong></div></div>
<div class="modal-body">
<p>
To nurture students to become productive responsible citizens through the
assistance of service -
oriented and highly competent internal and external stakeholders working
in a harmonious relationship.
</p>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true"><i
class="icon-remove icon-large"></i>&nbsp;Close</button>
</div>
</div>
<?php include('header.php'); ?>
<?php include('navbar.php'); ?>
<div class="container">
<div class="margin-top">
<div class="row">
<?php include('head.php'); ?>
<div class="span2">
<?php include('sidebar.php'); ?>
</div>
<div class="span10">
<?php include('slider.php'); ?>
</div>

<div class="span2">
<h4></h4>

</div>
<div class="span10">

<?php include('thumbnail.php'); ?>


<div class="text_content">
<div class="abc">
<!-- text content -->
<h4>Vision</h4>
<hr>
<p>
By 2016. KIT is a center of learning were
stackholders are conscientiously involved in loning holistic
individuals committed to positively respond to the
needs of the Collage, community and the country.
</p>
<hr>
<h4>Mission</h4>
<hr>
<p>
To nurture students to become productive
responsible citizens through the assistance of service -
oriented and highly competent internal and external
stakeholders working in a harmonious relationship.
</p>
<hr>
</div>
</div>
<!-- end content -->

</div>

</div>
</div>
</div>
<?php include('footer.php') ?>

<?php
include('dbcon.php');
if (isset($_POST['login'])){
session_start();
$student_no =
$_POST['student_no'];
$password =
$_POST['password'];
$query = "SELECT * FROM
students WHERE student_no='$student_no' AND password='$password' and status =
'active' ";
$result =
mysql_query($query)or die(mysql_error());
$num_row =
mysql_num_rows($result);

$row=mysql_fetch_array($result);
if( $num_row> 0 ) {

header('location:dasboard.php');

$_SESSION['id']=$row['student_id'];
}
else{

header('location:access_denied.php');
}}
?>
SQL QUERY:
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Mar 23, 2017 at 07:05 PM
-- Server version: 10.1.13-MariaDB
-- PHP Version: 5.6.20

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";


SET time_zone = "+00:00";

/*!40101 SET
@OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET
@OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET
@OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `eb_lms`
--
CREATE DATABASE IF NOT EXISTS `eb_lms` DEFAULT CHARACTER SET
latin1 COLLATE latin1_swedish_ci;
USE `eb_lms`;

-- --------------------------------------------------------
--
-- Table structure for table `book`
--

DROP TABLE IF EXISTS `book`;


CREATE TABLE `book` (
`book_id` int(11) NOT NULL,
`book_title` varchar(100) NOT NULL,
`category_id` int(50) NOT NULL,
`author` varchar(50) NOT NULL,
`book_copies` int(11) NOT NULL,
`book_pub` varchar(100) NOT NULL,
`publisher_name` varchar(100) NOT NULL,
`isbn` varchar(50) NOT NULL,
`copyright_year` int(11) NOT NULL,
`date_receive` varchar(20) NOT NULL,
`date_added` datetime NOT NULL,
`status` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `book`
--

INSERT INTO `book` (`book_id`, `book_title`, `category_id`, `author`, `book_copies`,


`book_pub`, `publisher_name`, `isbn`, `copyright_year`, `date_receive`, `date_added`,
`status`) VALUES
(15, 'Natural Resources', 8, 'Robin Kerrod', 15, 'Marshall Cavendish Corporation',
'Marshall', '1-85435-628-3', 1997, '', '2013-12-11 06:34:27', 'New'),
(16, 'Encyclopedia Americana', 5, 'Grolier', 20, 'Connecticut', 'Grolier Incorporation', '0-
7172-0119-8', 1988, '', '2013-12-11 06:36:23', 'Archive'),
(17, 'Algebra 1', 3, 'Carolyn Bradshaw, Michael Seals', 35, 'Pearson Education, Inc',
'Prentice Hall, New Jersey', '0-13-125087-6', 2004, '', '2013-12-11 06:39:17', 'Damage'),
(18, 'The Philippine Daily Inquirer', 7, '..', 3, 'Pasay City', '..', '..', 2013, '', '2013-12-11
06:41:53', 'New'),
(19, 'Science in our World', 4, 'Brian Knapp', 25, 'Regency Publishing Group', 'Prentice
Hall, Inc', '0-13-050841-1', 1996, '', '2013-12-11 06:44:44', 'Lost'),
(20, 'Literature', 9, 'Greg Glowka', 20, 'Regency Publishing Group', 'Prentice Hall, Inc',
'0-13-050841-1', 2001, '', '2013-12-11 06:47:44', 'Old'),
(21, 'Lexicon Universal Encyclopedia', 5, 'Lexicon', 10, 'Lexicon Publication', 'Pulication
Inc., Lexicon', '0-7172-2043-5', 1993, '', '2013-12-11 06:49:53', 'Old'),
(22, 'Science and Invention Encyclopedia', 5, 'Clarke Donald, Dartford Mark', 16, 'H.S.
Stuttmaninc. Publishing', 'Publisher , Westport Connecticut', '0-87475-450-x', 1992, '',
'2013-12-11 06:52:58', 'New'),
(23, 'Integrated Science Textbook ', 4, 'Merde C. Tan', 15, 'Vibal Publishing House Inc.',
'12536. Araneta Avenue Corner Ma. Clara St., Quezon City', '971-570-124-8', 2009, '',
'2013-12-11 06:55:27', 'New'),
(24, 'Algebra 2', 3, 'Glencoe McGraw Hill', 15, 'The McGrawHill Companies Inc.',
'McGrawhill', '978-0-07-873830-2', 2008, '', '2013-12-11 06:57:35', 'New'),
(25, 'Wiki at Panitikan ', 7, 'Lorenza P. Avera', 28, 'JGM & S Corporation', 'JGM & S
Corporation', '971-07-1574-7', 2000, '', '2013-12-11 06:59:24', 'Damage'),
(26, 'English Expressways TextBook for 4th year', 9, 'Virginia Bermudez Ed. O. et al',
23, 'SD Publications, Inc.', 'Gregorio Araneta Avenue, Quezon City', '978-971-0315-33-
8', 2007, '', '2013-12-11 07:01:25', 'New'),
(27, 'AsyaPag-usbong Ng Kabihasnan ', 8, 'Ricardo T. Jose, Ph . D.', 21, 'Vibal
Publishing House Inc.', 'AranetaAvenue . Cor. Maria Clara St., Quezon City', '971-07-
2324-3', 2008, '', '2013-12-11 07:02:56', 'New'),
(28, 'Literature (the readers choice)', 9, 'Glencoe McGraw Hill', 20, '..', 'the McGrawHill
Companies Inc', '0-02-817934-x', 2001, '', '2013-12-11 07:05:25', 'Damage'),
(29, 'Beloved a Novel', 9, 'Toni Morrison', 13, '..', 'Alfred A. Knoff, Inc', '0-394-53597-9',
1987, '', '2013-12-11 07:07:02', 'Old'),
(30, 'Silver Burdett Engish', 2, 'Judy Brim', 12, 'Silver Burdett Company', 'Silver', '0-382-
03575-5', 1985, '', '2013-12-11 09:22:50', 'Old'),
(31, 'The Corporate Warriors (Six Classic Cases in American Business)', 8, 'Douglas K.
Ramsey', 8, 'Houghton Miffin Company', '..', '0-395-35487-0', 1987, '', '2013-12-11
09:25:32', 'Old'),
(32, 'Introduction to Information System', 9, 'CristineRedoblo', 10, 'CHMSC', 'Brian
INC', '123-132', 2013, '', '2014-01-17 19:00:10', 'New');

-- --------------------------------------------------------

--
-- Table structure for table `borrow`
--

DROP TABLE IF EXISTS `borrow`;


CREATE TABLE `borrow` (
`borrow_id` int(11) NOT NULL,
`member_id` bigint(50) NOT NULL,
`date_borrow` varchar(100) NOT NULL,
`due_date` varchar(100) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `borrow`
--

INSERT INTO `borrow` (`borrow_id`, `member_id`, `date_borrow`, `due_date`)


VALUES
(484, 66, '2014-03-20 23:50:27', '19/03/2017'),
(483, 66, '2014-03-20 23:49:34', '21/03/2017'),
(482, 66, '2014-03-20 23:38:22', '23/03/2017'),
(485, 66, '2017-03-21 07:33:49', '21/03/2017');

-- --------------------------------------------------------

--
-- Table structure for table `borrowdetails`
--

DROP TABLE IF EXISTS `borrowdetails`;


CREATE TABLE `borrowdetails` (
`borrow_details_id` int(11) NOT NULL,
`book_id` int(11) NOT NULL,
`borrow_id` int(11) NOT NULL,
`borrow_status` varchar(50) NOT NULL,
`date_return` varchar(100) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `borrowdetails`
--

INSERT INTO `borrowdetails` (`borrow_details_id`, `book_id`, `borrow_id`,


`borrow_status`, `date_return`) VALUES
(164, 16, 484, 'pending', ''),
(162, 15, 482, 'pending', ''),
(163, 15, 483, 'returned', '2014-03-21 00:30:51'),
(165, 15, 485, 'pending', '');

-- --------------------------------------------------------

--
-- Table structure for table `category`
--

DROP TABLE IF EXISTS `category`;


CREATE TABLE `category` (
`category_id` int(11) NOT NULL,
`classname` varchar(50) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `category`
--

INSERT INTO `category` (`category_id`, `classname`) VALUES


(1, 'Periodical'),
(2, 'English'),
(3, 'Math'),
(4, 'Science'),
(5, 'Encyclopedia'),
(6, 'Filipiniana'),
(7, 'Newspaper'),
(8, 'General'),
(9, 'References');

-- --------------------------------------------------------

--
-- Table structure for table `lost_book`
--

DROP TABLE IF EXISTS `lost_book`;


CREATE TABLE `lost_book` (
`Book_ID` int(11) NOT NULL,
`ISBN` int(11) NOT NULL,
`Member_No` varchar(50) NOT NULL,
`Date Lost` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `member`
--

DROP TABLE IF EXISTS `member`;


CREATE TABLE `member` (
`member_id` int(11) NOT NULL,
`firstname` varchar(100) NOT NULL,
`lastname` varchar(100) NOT NULL,
`gender` varchar(10) NOT NULL,
`address` varchar(100) NOT NULL,
`contact` varchar(100) NOT NULL,
`type` varchar(100) NOT NULL,
`year_level` varchar(100) NOT NULL,
`status` varchar(100) NOT NULL,
`password` varchar(100) NOT NULL DEFAULT '12345'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `member`
--
INSERT INTO `member` (`member_id`, `firstname`, `lastname`, `gender`, `address`,
`contact`, `type`, `year_level`, `status`, `password`) VALUES
(66, 'user', '1', 'Male', 'pollachi', '98765432100', 'Student', 'Third Year', 'active',
'9876543210'),
(67, 'staff', '1', 'Male', 'poy', '9875643210', 'Staff', 'Fourth Year', 'active', '123');

-- --------------------------------------------------------

--
-- Table structure for table `note`
--

DROP TABLE IF EXISTS `note`;


CREATE TABLE `note` (
`notes_id` int(11) NOT NULL,
`notes` text NOT NULL,
`staff_name` varchar(50) NOT NULL,
`description` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `note`
--

INSERT INTO `note` (`notes_id`, `notes`, `staff_name`, `description`) VALUES


(1, 'notes/staff 1_249.zip', 'staff 1', 'Internal notes');

-- --------------------------------------------------------

--
-- Table structure for table `stock`
--

DROP TABLE IF EXISTS `stock`;


CREATE TABLE `stock` (
`id` int(11) NOT NULL,
`systemno` int(11) NOT NULL,
`software` varchar(50) NOT NULL,
`printer` varchar(50) NOT NULL,
`bought_date` date NOT NULL,
`service_date` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `stock`
--

INSERT INTO `stock` (`id`, `systemno`, `software`, `printer`, `bought_date`,


`service_date`) VALUES
(1, 123, 'JAVA', 'available', '2017-03-01', '2017-03-15'),
(2, 123, 'JAVA', 'available', '2016-11-10', '2017-02-10'),
(3, 124, 'C++', 'unavailable', '2017-02-10', '2017-02-10');

-- --------------------------------------------------------

--
-- Table structure for table `type`
--

DROP TABLE IF EXISTS `type`;


CREATE TABLE `type` (
`id` int(11) NOT NULL,
`borrowertype` varchar(50) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `type`
--

INSERT INTO `type` (`id`, `borrowertype`) VALUES


(2, 'Teacher'),
(20, 'Employee'),
(21, 'Non-Teaching'),
(22, 'Student'),
(32, 'Contruction');

-- --------------------------------------------------------

--
-- Table structure for table `users`
--

DROP TABLE IF EXISTS `users`;


CREATE TABLE `users` (
`user_id` int(11) NOT NULL,
`username` varchar(100) NOT NULL,
`password` varchar(100) NOT NULL,
`firstname` varchar(100) NOT NULL,
`lastname` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`user_id`, `username`, `password`, `firstname`, `lastname`)


VALUES
(2, 'admin', 'admin', 'john', 'smith');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `book`
--
ALTER TABLE `book`
ADD PRIMARY KEY (`book_id`);

--
-- Indexes for table `borrow`
--
ALTER TABLE `borrow`
ADD PRIMARY KEY (`borrow_id`),
ADD KEY `borrowerid` (`member_id`),
ADD KEY `borrowid` (`borrow_id`);

--
-- Indexes for table `borrowdetails`
--
ALTER TABLE `borrowdetails`
ADD PRIMARY KEY (`borrow_details_id`);

--
-- Indexes for table `category`
--
ALTER TABLE `category`
ADD PRIMARY KEY (`category_id`),
ADD UNIQUE KEY `category_id` (`category_id`),
ADD KEY `classid` (`category_id`);

--
-- Indexes for table `lost_book`
--
ALTER TABLE `lost_book`
ADD PRIMARY KEY (`Book_ID`);

--
-- Indexes for table `member`
--
ALTER TABLE `member`
ADD PRIMARY KEY (`member_id`);

--
-- Indexes for table `note`
--
ALTER TABLE `note`
ADD PRIMARY KEY (`notes_id`);

--
-- Indexes for table `stock`
--
ALTER TABLE `stock`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `type`
--
ALTER TABLE `type`
ADD PRIMARY KEY (`id`),
ADD KEY `borrowertype` (`borrowertype`),
ADD KEY `id` (`id`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`user_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `book`
--
ALTER TABLE `book`
MODIFY `book_id` int(11) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=33;
--
-- AUTO_INCREMENT for table `borrow`
--
ALTER TABLE `borrow`
MODIFY `borrow_id` int(11) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=486;
--
-- AUTO_INCREMENT for table `borrowdetails`
--
ALTER TABLE `borrowdetails`
MODIFY `borrow_details_id` int(11) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=166;
--
-- AUTO_INCREMENT for table `category`
--
ALTER TABLE `category`
MODIFY `category_id` int(11) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=801;
--
-- AUTO_INCREMENT for table `lost_book`
--
ALTER TABLE `lost_book`
MODIFY `Book_ID` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `member`
--
ALTER TABLE `member`
MODIFY `member_id` int(11) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=68;
--
-- AUTO_INCREMENT for table `note`
--
ALTER TABLE `note`
MODIFY `notes_id` int(11) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `stock`
--
ALTER TABLE `stock`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `type`
--
ALTER TABLE `type`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=42;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `user_id` int(11) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=3;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT
*/;
/*!40101 SET
CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION
*/;

CHAPTER 6

CONCLUSION & FUTURE SCOPE

This website provides a computerized version of library management system which will
benefit the students as well as the staff of the library.

It makes entire process online where student can search books, staff can generate reports and
do book transactions. It also has a facility for student login where student can login and can see
status of books issued as well request for book or give some suggestions. It has a facility of
teacher’s login where teachers can add lectures notes and also give necessary suggestion to
library and also add info about workshops or events happening in our college or nearby college
in the online notice board.

There is a future scope of this facility that many more features such as online lectures video
tutorials can be added by teachers as well as online assignments submission facility , a feature
Of group chat where students can discuss various issues of engineering can be added to this
project thus making it more interactive more user friendly and project which fulfills each users
need in the best way possible.

Anda mungkin juga menyukai