Anda di halaman 1dari 80

Alumni Association

KARNATAK UNIVERSITY
Janata Shikshna Samiti’s
Shri Manjunatheshwara Institute of UG &
PG Studies, Vidyagiri, Dharwad-580004.

A PROJECT REPORT ON
“ALUMNI ASSOCIATION”
BACHELOR OF COMPUTER SCIENCE
OF
KARNATAK UNIVERSITY, DHARWAD

PROJECT GUIDED BY
Prof.Manjunath.Pujar
Submitted by
GANESH .BEDRE BASAVARAJ.KAMATI
BSc(cs)VI SEMESTER BSc(cs)VI SEMESTER
REGNO:16M10118 REG NO:16M10108

DEPARTMENT OF COMPUTER SCIENCE

JSS SMI UG & PG STUDIES DHARWAD Page 1


Alumni Association

JSS SHRI MANJUNATHESHWARA INSTITUTE OF UG AND PG


STUDIES VIDYAGIRI, DHARWAD -580004

BSc(CS) (Bachelor of Computer Science)

CERTIFICATE
CERTIFICATE

This is to certify that Mr.Ganesh.Bedre and Mr.Basavaraj.Kamati has


satisfactorily completed Project work entitled “Alumni Association” for
the partial fulfillment of BSc(CS) prescribed by Karnataka University,
Dharwad during the academic year.
2018-2019

Prof. Manjunath.P Prof. Vivek .M. Laxmeshwar Dr. Ajith Prasad

Project Guide HOD Principal

Examination Reg No: Examiners:


1.16M10118 1.
2. 16M10108 2.

JSS SMI UG & PG STUDIES DHARWAD Page 2


Alumni Association

ACKNOWLEDGEMENT
The successful presentation of this project is an acknowledgement of the immense
support extended by JSS SHRI MANJUNATHESHWARA INSTITUTE OF
UG & PG STUDIES VIDYAGIRI, DHARWAD, Which has provided an
opportunity to fulfill our goal.

We would like to express our heartfelt thanks to our President SHRI SHRI
VISHWESHATEERTHA SRIPADANGALAVARU SWAMIJI OF
PEJAVARMATH, UDUPI & PUJYA Dr.D.VEERENDRA HEGGADE,
Chairman of JANATA SHIKSHANA SAMITI & Dharmadhikari of
DHARMASTHALA For their kind blessing and Our beloved Secretary of
JANATA SHIKSHANA SAMITI’S Dr. N. VAJRAKUMAR.

We express our thanks to our beloved Principal Dr. AJITH PRASAD for
extending all the facilities to carry out this project.

We express our thanks to our beloved UG HOD Dept. Of Computer Science


Prof. VIVEK M. LAXMESHWAR who has been a constant source of
inspiration and motivation. We would also like to express out special thanks to our
Project Guide Shree. MANJUNATH.PUJAR who has spent his precious time
by guiding and encouraging us throughout the development of the project.

And we are grateful to our Parents, our Friends and all the people who have
helped us directly or indirectly to make this project a success.

Basavaraj.Kamati Ganesh.Bedre

JSS SMI UG & PG STUDIES DHARWAD Page 3


Alumni Association

DECLARATION

We Ganesh bedre and Basavaraj kamati student of sixth semester BSC(cs),


Department of Computer Science, JSS SMI UG AND PG STUDIES
VIDHYAGIRI, DHARWAD, KARNATAK UNIVERSITY, Dharwad declare
that the project entitled “ALUMNI ASSOCIATION” and submitted in partial
fulfillment of the course, As it is requirement for the award of the degree in
Bachelor of Computer Science, Karnatak University, Dharwad during the
Academic Year 2018-2019.We have not submitted the matter embodied to any
other university or institution for the award of any other degree.

Date: Ganesh.Bedre

Place:Dharwad Basavaraj.Kamati

JSS SMI UG & PG STUDIES DHARWAD Page 4


Alumni Association

CONTENTS

1. PROJECT SYNOPSIS ............................................................................7-11

1.1 Introduction

2. FRAME WORK……………………………………………………………12-26

2.1 Introduction

2.2 PHP

2.3 HTML

2.4 MYSQL

3. PROJECT SUBJECT……………………………………………………27-29

3.1 About Project

3.2 Existing System

3.3 Proposed System

3.4 Process Logic

4. SYSTEM REQUIREMENTS AND SPECIFICATION………….…30-39

5.DATA FLOW DIAGRAM…………………………………………….40-43

6.ENTITY RELATIONSHIP DIAGRAM(ER)……………………..44-46

JSS SMI UG & PG STUDIES DHARWAD Page 5


Alumni Association

7. DATABASE TABLE………………………………………………47-50

8. SCREEN SHOT……………………………………………………51-57

9. SOURCE CODE………………………………………………… .58-75

10.SYSTEM TESTING ……………………………………………76-79

10.1 Testing Objectives

10.2 Testing Strategies

10.3 Testing Method used

10.4 Test Cases & Results

11. CONCLUSION ………………………………………………….80

12. FUTURE SCOPE…………………………………………………80

13. BIBLIOGRAPHY…………………………………………………81

JSS SMI UG & PG STUDIES DHARWAD Page 6


Alumni Association

SYNOPSIS

JSS SMI UG & PG STUDIES DHARWAD Page 7


Alumni Association

Alumni Association
OBJECTIVE:
The aim of this project is to build a system that will be able to manage alumni
data of a college and provide easy access to the same. Alumni of a college
generally stay in touch with their immediate friends but find it hard to stay
connected with college mates. Contact between alumni can be used to forge
business connections and to gain references or insight in a new field.
This Application is to allow old and new students of a college to communicate
with each other. This allows students to know about each other and their
current activities.

INPUT OF THE PROJECT :

ADMIN :
Login
Add Event /Updates
Approve Students/Alumni
view Alumni Members

ALUMNI:
Registration
Login
View Events/Upates

OUTPUT OF PROJECT:
Alumni Details
Feedback Reports

JSS SMI UG & PG STUDIES DHARWAD Page 8


Alumni Association

DATA FLOW DIAGRAM:

PROCESS LOGIC:

 REGISTRATIO
N  DETAIL
ALUMNI RECORD OF
 LOGIN
DETAILES ALUMNI

 ADD EVENT

EVENT  PHOTO  FEEDBACK


DETAILES GALLERY REPORT

JSS SMI UG & PG STUDIES DHARWAD Page 9


Alumni Association

LEVEL ONE :

Updated records

TOOLS/PLATFORM LANGUAGES
SOFTWARE REQUIREMENTS:
OPERATING SYSTEM: WINDOWS XP OR ABOVE

LANGUAGES : HTML ,CSS, PHP

DATABASE: MY SQL,

HARDWARE REQUIREMENTS:
PROCESSOR: PENTIUM IV OR ABOVE

RAM : 512MB

HARD DISK : 10GB

ARE YOU DOING THIS PROJECT FOR ANY INDUSTRY/CLIENT?

IF YES ACCEPTANCE OF THE PROJECT:


 YES

JSS SMI UG & PG STUDIES DHARWAD Page 10


Alumni Association

DURATION OF PROJECT: 2 MONTHS

LIMITATIONS:
 The Alumni members those who registers can only view further details.

FUTURE APPLICATION:

 This system can be extended to many departments institution as the


user needs.

JSS SMI UG & PG STUDIES DHARWAD Page 11


Alumni Association

FRAMEWORK

JSS SMI UG & PG STUDIES DHARWAD Page 12


Alumni Association

2 Introduction to technologies used in this project:


Implementation is the realization of an application, or execution of a plan,
idea, model, design, specification, standard, algorithm, or policy and it is a
process of having the systems personnel check out and put new equipment into
use, train users, install new application and construct any files of data needed to
use it.

Why You Need WAMP, MySQL, and PHP?

PHP is a powerful scripting language that can be run by itself in the


command line of any computer with PHP installed. However, PHP alone isn't
enough in order to build dynamic web sites. To use PHP on a web site, you need
a server that can process PHP scripts. WAMP server allows developers to test
PHP scripts locally; this makes it an invaluable piece of your local development
environment.
Additionally, dynamic websites are dependent on stored information this is the
main difference between a dynamic site and a static HTML site. However, PHP
doesn’t provide a simple, efficient way to store data. This is where a relational
database management system like MySQL comes into play.

2.2 PHP:
PHP originally stood for “Personal Home Page” and was released as a free,

open source project. Over time, the language was reworked to meet the needs of

its users. In 1997, PHP was renamed to the current “PHP: Hypertext

Preprocessor”. PHP is generally used as a server-side scripting language; it is

JSS SMI UG & PG STUDIES DHARWAD Page 13


Alumni Association

especially well-suited for creating dynamic web pages and client-side GUI

applications. . PHP generally runs on a web server, taking PHP code as its input

and creating web pages as output The scripting language features integrated

support for interfacing with databases such as MySQL, which makes it a prime

candidate for building all manner of web applications, from simple personal

web sites to complex enterprise-level applications.

Unlike HTML, which is parsed by a browser when a page loads, PHP is


preprocessed by the machine that serves the document (this machine is referred
to as a server). All PHP code contained with the document is processed by the
server before the document is sent to the visitor’s browser. PHP is a scripted
language, which is another great advantage for PHP programmers. PHP can be
deployed on most web servers, many operating systems and platforms, and can
be used with many relational database management systems. It is available free
of charge, and the PHP Group provides the complete source code for users to
build, customize and extend for their own use. Many programming languages
require that you compile files into machine code before they can be run, which
is a time-consuming process. Bypassing the need to compile means you’re able
to edit and test code much more quickly Because PHP is a server-side language,
running PHP scripts on your local machine requires installing a server on your
local machine.

PHP is free software released under the PHP License; however it is

incompatible with the GNU General Public License (GPL), due to restrictions

on the usage of the term PHP. It is a widely-used general-purpose scripting

language that is especially suited for web development and can be embedded

JSS SMI UG & PG STUDIES DHARWAD Page 14


Alumni Association

into HTML. It generally runs on a web server, taking PHP code as its input and

creating web pages as output. It can be deployed on most web servers and on

almost every operating system and platform free of charge. PHP is installed on

more than 20 million websites and 1 million web servers.

Example:

<? Php
Echo “Hello Welcome to JSS”
?>

2.2.1 Usage:
PHP is a general-purpose scripting language that is especially suited for
web development. PHP generally runs on a web server, taking PHP code as its
input and creating web pages as output. It can also be used for command-line
scripting and client-side GUI applications. PHP can be deployed on most web
servers, many operating systems and platforms, and can be used with many
relational database management systems. It is available free of charge, and the
PHP Group provides the complete source code for users to build, customize and
extend for their own use.

JSS SMI UG & PG STUDIES DHARWAD Page 15


Alumni Association

PHP primarily acts as a filter, taking input from a file or stream containing
text and/or PHP instructions and outputs another stream of data; most
commonly the output will be HTML. It can automatically detect the language of
the user. From PHP 4, the PHP parser compiles input to produce byte code for
processing by the Zend Engine, giving improved performance over its
interpreter predecessor. Originally designed to create dynamic web pages,
PHP’s principal focus is server side scripting, and it is similar to other server-
side scripting languages that provide dynamic content from a web server to a
client, such as Microsoft’s Active Server Pages, Sun Microsystems’ Java Server
Pages, and mod_perl. PHP has also attracted the development of many
frameworks that provide building blocks and a design structure to promote rapid
application development (RAD). Some of these include CakePHP, Symphony,
Code Igniter, and Send Framework, offering features similar to other web
application frameworks.
The LAMP architecture has become popular in the web industry as a way
of deploying web applications. PHP is commonly used as the P in this bundle
alongside Linux, Apache and MySQL, although they may also refer to Python
or Perl. AS of April 2007, over 20 million Internet domains were hosted on
servers with PHP installed, and PHP was recorded as the most popular Apache
module. Significant websites are written in PHP including the user-facing
portion of Facebook, Wikipedia (MediaWiki), Yahoo!, My Yearbook, Digs,
Word press and Tagged. In addition to server-side scripting, PHP can be used to
create stand-alone, compiled applications and libraries, it can be used for shell
scripting, and the PHP binaries can be called from the command line.

2.2.2 Speed Optimization:

JSS SMI UG & PG STUDIES DHARWAD Page 16


Alumni Association

As with many scripting languages, PHP scripts are normally kept as human-
readable source code, even on production web servers. In this case, PHP scripts
will be compiled at runtime by the PHP engine, which increases their execution
time. PHP scripts are able to be compiled before runtime using PHP compilers
as with other programming languages such as C (the language PHP and its
extensions are written in). Code optimizers aim to reduce the computational
complexity of the compiled code by reducing its size and making other changes
that can reduce the execution time with the overall goal of improving
performance. The nature of the PHP compiler is such that there are often
opportunities for code optimization, and an example of a code optimizer is the
Send Optimizer PHP extension.

Another approach for reducing overhead for high load PHP servers is using
PHP accelerators. These can offer significant performance gains by caching the
compiled form of a PHP script in shared memory to avoid the overhead of
parsing and compiling the code every time the script runs.
2.3 HTML:
HTML means Hypertext Markup Language. HTML is a method of
describing the format of document, which allows them to be viewed on
computer screen. Web browsers display HTML documents, program which can
navigate across networks and display a wide variety of types of information.
HTML pages can be developed to be simple text or to be complex multimedia
extra advantages containing, moving images, virtual reality, and java applets.

The global publishing format of the Internet is HTML. It allows authors to use
not only text but also format that text with headings, list and tables, and also
includes still images videos, and sound within text. Readers can access pages
information from anywhere in the world at the click of mouse button

JSS SMI UG & PG STUDIES DHARWAD Page 17


Alumni Association

information can be downloaded to readers own PC or workstations HTML


pages can also be used for entering a data and as a front end for commercial
transaction.

Example to display message using HTML tags

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


"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>

</head>

<body>
<h1> Welcome To JSS College</h1>

</body>
</html>

OUTPUT:

2.4 MY SQL:INTRODUCTION TO SQL SERVER

SQL Server is a Relational Database Management System (RDBMS)


that runs exclusively under the Windows operating system. One benefit of using

JSS SMI UG & PG STUDIES DHARWAD Page 18


Alumni Association

Windows exclusively is that you can send and receive E-mail messages based
on SQL Server "events" and you can also let the operating system handle login
security. The data base is an organized collection of data. A database
management system (DBMS) such as Access, FileMaker Pro, Oracle or SQL
Server provides you with the software tools you need to organize that data in a
flexible manner. It includes facilities to add, modify or delete data from the
database, ask questions (or queries) about the data stored in the database and
produce reports summarizing selected contents.

MySQL is a multithreaded, multi-user SQL database management system


(DBMS). The basic program runs as a server providing multi-user access to a
number of databases. Originally financed in a similar fashion to the JBoss
model, MySQL was owned and sponsored by a single for-profit firm, the
Swedish company MySQL now a subsidiary of Sun Micro system , which holds
the copyright to most of the codebase.

Database Evolution:
SQL was invented back in the 1960's by E.F. Cod of IBM. in order to increase
data integrity and reduce repetitive data. RDBMS systems didn't appear until the
late 70's when Sybase and Oracle introduced systems. These systems existed on
mainframes at the time.

ANSI-SQL came to be in the 1980's. This was important because it meant


that disparate systems could communicate through an agreed set of standards.
There are different levels of ANSI-SQL compliance. Almost every major
RDBMS today is entry level compliant, including SQL Server 2000. Every
RDBMS has its own flavor of SQL that complements ANSI-SQL with
proprietary elements. SQL Server's flavor of SQL is known as Transact SQL
(T-SQL).

JSS SMI UG & PG STUDIES DHARWAD Page 19


Alumni Association

SQL Server was originally a Sybase product. Microsoft bought the


product outright from Sybase and by version 7.0, the version prior to 2000, all
the code had been rewritten by Microsoft's programming gurus

FEATURES OF SQL:
 It is simple English like language and uses simple commands such as
SELECT, CREATE, DROP etc.
 It is not having condition loops, variables and most of the commands
are single line commands.
 To implement application logics, SQL has got extension language
popularly called as PL/SQL (Procedural language of sql).
 One of the key features of sql server is the XML support. XML has
Grown to be standard technology for organizations that share data on
the web.

 Now with sql server 2000 XML documents can be retrieved directly
from the database and it provides various ways to retrieve data in XML
format.
 The entire SQL has been divided into 4 major categories.
1. Data Manipulation Language.

2. Data Definition Language.

3. Transaction Control language.

4. Data Control Language.


. Security:

View are basically used as a part of security, means in many organizations ,the
end user will never be given original tables & all data entry will be done with
the help of views only. But the data base administrator will be able to see
everything because all the operations done by the different users will come to
the same table.

2.4.1 Queries:

JSS SMI UG & PG STUDIES DHARWAD Page 20


Alumni Association

A query is a question or a request. With MySQL, we can query a database for


specific information and have a record set returned.

Create a connection to a database:


Before you can access data in a database, you must create a connection to the
database. In PHP, this is done with the mysql_connect () function.

Syntax:
mysql_connect (server name, username, password);
Server name: Optional Specifies the Server to connect .Default values is
Local host: 3306

Example:
In the following example we store the connection in a variable ($con) for
later use in the script. The “die” part will be executed if the connection fails:

Closing a Connection:

JSS SMI UG & PG STUDIES DHARWAD Page 21


Alumni Association

The connection will be closed automatically when the script ends. To close
the connection before, use the mysql_close() function:

2.4.2 MySQL Functions:


What is a database? Quite simply, it’s an organized collection of data. A
database management system (DBMS) such as Access, FileMaker Pro, Oracle
or SQL Server provides you with the software tools you need to organize that
data in a flexible manner. It includes facilities to add, modify or delete data
from the database, ask questions (or queries) about the data stored in the
database and produce reports summarizing selected contents.

MySQL is a multithreaded, multi-user SQL database management system


(DBMS). The basic program runs as a server providing multi-user access to a
number of databases., MySQL was owned and sponsored by a single for-profit
firm, the Swedish company MySQL now a subsidiary of Sun Micro system ,
which holds the copyright to most of the codebase. The project’s source code is

JSS SMI UG & PG STUDIES DHARWAD Page 22


Alumni Association

available under terms of the GNU General Public License, as well as under a
variety of proprietary agreements. MySQL is a database. The data in MySQL is
stored in database objects called tables. A table is a collection of related data
entries and it consists of columns and rows. Databases are useful when storing
information categorically.

2.4.3 Create a connection to a database:

Before you can access data in a database, you must create a connection to the
database. In PHP, this is done with the mysql_connect () function.

Syntax: MySQL connect (server name, username, and password);

Server name: Optional Specifies the Server to connect .Default values is local
host: 3306

2.4.4 Steps to create a database in PHPMyAdmin:

1) The following figure shows your PHPMyAdmin interface, just enter your
database name and click the 'Create' button to create your database.

2) Now to create new tables enter your table name and the number of fields in
the table, then clicks the 'Go' Button.

JSS SMI UG & PG STUDIES DHARWAD Page 23


Alumni Association

3) The next step is to create the fields, just enter values for each field name,
type, length of the field, null option and mention whether it is a primary key or
not. Then click the 'Save' button to complete your table creation.

4) The following figure is displayed upon successful creation of your table

JSS SMI UG & PG STUDIES DHARWAD Page 24


Alumni Association

2.4.5 Steps to Drop Table in PHPMyAdmin


Login to phpmyadmin.Click 'databases'

A list of your databases will appear. Click the one that is your Word Press
database.

Note the size of the 'customer details' table - this is one to be emptied in this

JSS SMI UG & PG STUDIES DHARWAD Page 25


Alumni Association

example.

JSS SMI UG & PG STUDIES DHARWAD Page 26


Alumni Association

PROJECT SUBJECT

JSS SMI UG & PG STUDIES DHARWAD Page 27


Alumni Association

3) PROJECT SUBJECT

3.1 ABOUT PROJECT

This Application is to allow old and new students of a college to communicate


with each other. This allows students to know about each other and their
current activities.

This system provides the following facilities:


 This application provides Daily updates of college.
 Update the alumni details in database.
 Alumni will get notification regarding meeting and registration.
Project Objective:

The aim of this project is to build a system that will be able to manage
alumni data of a college and provide easy access to the same. Alumni of a
college generally stay in touch with their immediate friends but find it hard to
stay connected with other college and college mates. Contact between alumni
can be used to forge business connections and to gain references or insight in a
new field.

Existing system
1. There is lack of updates regarding college activities.
2. There is no interaction between college and alumni.

Proposed System:

 It establishes the accurate way of communication.

 It is very easy to maintain as the system is user friendly.

 It provides benefits and services that help alumni to maintain connection


with their education institution.

JSS SMI UG & PG STUDIES DHARWAD Page 28


Alumni Association

3.3PROCESS_LOGIC

 REGISTRATIO
ALUMNI N
 EVENTS
DETAILES REPORT
 LOGIN

 ADD EVENT  FEEDBACK


EVENT
REPORT
DETAILES  PHOTO
GALLERY

JSS SMI UG & PG STUDIES DHARWAD Page 29


Alumni Association

SOFTWARE REQUIREMENT

AND

SPECIFICATION

JSS SMI UG & PG STUDIES DHARWAD Page 30


Alumni Association

1.Introduction
1.1 Purpose
The purpose of the JSS SMI Alumni website is to create a social networking website for
alumni. For the alumni to gather and share information. Alumni must be graduated from the
JSS SMI College. Alumni will be able to view events, upload contact information and search
for contact information of other alumni. Events will minimally include a date, time,
description, Contact information will consist of an email address, phone number and full
name (inclusive of middle name if applicable).

1.2. Scope

The JSS SMI UG&PG STUDIES Alumni Database is designed to run on the departmental
server and to allow alumni to fill out a survey form, create a new database entry, update an
existing database entry or contact another alumni. The data will be held in an Access
database on the departmental server.

1.3. Document Overview

The remainder of this document is three chapters, the first offering a general description of
the
Software product about the initial situation, the purpose of the project, the context and the
benefits
of the project.
The second chapter lists the functional requirements that the software product should meet.
So, it describes the actors, the system boundary and the use cases.
The final chapter exposes the non-functional requirements of the application such as
performance, safety, security issues, etc.

1.4 Document Conventions


Main Section Title: Font: Times New Roman, Bold: Size 16

Sub Section Title: Font: Times New Roman, Bold: Size 14

Other Text matter: Font: Times New Roman, Bold: Size 12

JSS SMI UG & PG STUDIES DHARWAD Page 31


Alumni Association

2. Overall description

2.1 User Classes and Characteristics

Groups of people that we expect will be using this product are going to be any person who
have studied in JSS SMI college .These groups consist of all JSS SMI Graduated Students.

2.2. Functional requirements definitions

Functional Requirements are those that refer to the functionality of the system, i.e., what
services it will provide to the user. Nonfunctional (supplementary) requirements pertain to
other information needed to produce the correct system and are detailed separately.

2.3 Product Perspective


JSS SMI college was unable to find the alumni and their updates ,so this application helps
college to get all alumni details and it act as bridge between college and alumni and alumni
will get daily updates regarding the college activities.

2.4 User Documentation


This document will be delivered to the client to work as a user guide. The website will also
feature
contact information to use in the event that they have questions, concerns, or problems
regarding
the website.

2.5 Design and Implementation Restraints

The developers are limited to less than two months to completely develop this website.

3.External Interface Requirements


3.1 User Interface
There will be two user types the alumni, and the administrator each of which will have its
own corresponding interface.

Alumni interface

JSS SMI UG & PG STUDIES DHARWAD Page 32


Alumni Association

The minimal requirements are that the alumni should be able to interact with the system
through the interface provided by Constraint layout or Relative layout. There will be a
different command for each of the following actions:

 Alumni will be provided with a forum where they can interact with each other.
 Alumni can share their feedbacks.
 Alumni who have registered will get an notification.

3.2 Application Administrator


The minimal requirements are that the administrator should have a separate application and in
addition to that, additional commands will allow the administrator to:
 Check the status of registered alumni.
 Admin can edit,update,view(event,gallery,feedback,suggestions,etc..)
 Admin will send appropriate notifications

3.2 Hardware Interface :


The minimum hardware requirements for this application are as follows :

 Processor Intel-Core I3 or above


 1GB RAM or above
 30 GB free space or above

3.3 Software Interface:


The development of the application requires the following Softwares :

 Windows XP or above
 Dream Weaver
 WAMP
 MySql (as database)

3.4 Technologies to be used

HTML: HyperText Markup Language 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. With HTML constructs , images
and other objects such as interactive forms may be embedded into the rendered page.

CSS: Cascading Style Sheets describes how HTML elements are to be displayed on screen
, paper or in other media. CSS saves a lot of work . It can control the layout of multiple web

JSS SMI UG & PG STUDIES DHARWAD Page 33


Alumni Association

pages all at once. CSS is a cornerstone technology of the World Wide Web, alongside HTML
and JavaScript.

JAVASCRIPT: JavaScript often abbreviated as JS is a high level, interpreted


programming language. JavaScript is one of the three core technologies of the World Wide
Web. It enables interactive Web pages and thus is an essential part of web applications. The
vast majority of websites use it and all the major web browsers have a dedicated JavaScript
engine to execute it.

PHP: Hypertext Pre-processor is a server side scripting language designed for web
development.PHP code may be embedded into HTML code or it can be used in combination
with various web template systems, web content management systems and web
frameworks.PHP code is usually processed by a PHP interpreter implemented as a module in
the web server or as a Common Gateway Interface (CGI) executable.

MYSQL: MySql is an open source Relational Database Management System. It is a


component of the LAMP web application software stack which is an acronym for LINUX.
MySql is used by many database driven web applications.

3. System Features

4.1 Functional Requirements

Register:

4.1.1 Description and Priority


A user will be able to register as a member of the site. A user must be registered in order to
search for other users and view an event. This feature is of high priority.

4.1.2 Stimulus/Response Sequences


User Action: User clicks the “Register” button on the task bar.
Response: When the user clicks this button they will be directed to a new page displaying a
form for the user to input their information into. This information includes: first name, last
name, maiden name (if applicable), email address for log in, password, and re-typed
password fields. The password must be at least 8 characters long and contain one numerical
character. Upon submitting the information, the user will get notification.

User Action: User clicks the “Submit” button.


Response: The system processes the form and determines that all of the information is valid;
both of the passwords match and the email address is not already in use. The user is added to
the database, then redirected to the home page.

User Action: User clicks the “Submit” button.

JSS SMI UG & PG STUDIES DHARWAD Page 34


Alumni Association

Response: The system processes the form and determines that at least one piece of
information is invalid. An error is displayed next to the invalid fields. The user does not leave
the register page.

4.2 Log In

4.2.1 Description and Priority


A user who has previously registered may log in using their email and password to access
the search functionality and the ability to view an event. This feature is of high priority.

4.2.2 Stimulus/Response Sequences


User Action: The user clicks the “Log In” button on the task bar.
Response: A small box will appear below it prompting the user for log in information; the
user’s email and password.

User Action: The user clicks the “Login” button.


Response: The system processes the form and determines that all of the information is valid;
the password matches the email address.

4.3 Update Profile

4.3.1 Description and Priority


The user, who is currently logged in, wishes to update their information on their user profile.
The feature is of high priority.

4.3.2 Stimulus/Response Sequences


User Action: The user mouse over the “Account” tab on the task bar.
Response: A list of options for the users account is shown: Edit Profile and Delete Profile.

User Action: The user clicks the “Edit Profile” tab on the task bar.
Response: Redirects the user to a page with a form that asks them to fill in information about
themselves: first name, last name, maiden name (if applicable), contact email, contact
address, contact number, and password for verification.

User Action: User clicks the “Submit Form” button.


Response: The system processes the form and determines that all of the information is valid.
It redirects the user to their newly created profile page.

User Action: User clicks the “Submit Form” button.


Response: The system processes the form and determines that at least one piece of
information is invalid. The user does not leave the form page and an error is displayed next
to the invalid fields.

4.4 Log Out

4.4.1 Description and Priority


The user, who was previously logged in, will be able to log out of the website. This feature is
of medium priority.
JSS SMI UG & PG STUDIES DHARWAD Page 35
Alumni Association

4.4.2 Stimulus/Response Sequences


User Action: The user clicks the “Log Out” button on the task bar.
Response: The user is logged out and redirected to the homepage. The “Log Out” button
returns to the previous state of “Log In”.

4.5 Forgot Password

4.5.1 Description and Priority


The user has forgotten their password and needs to recover it. The system must verify the
identity of the user and provide them with their password. This feature is of medium priority.

4.5.2 Stimulus/Response Sequences


User Action: The user clicks the “I forgot my password” link that appears on the “Log In”
box.
Response: The user is prompted for the email address associated with their log in.

User Action: The user clicks “Submit” button in the “I forgot my password” form.
Response: The system will send an automatic email to the provided address; displaying the
password associated with that account, along with a link to the “Log In” page.

4.6 Search

4.6.1 Description and Priority


The user is signed in and wishes to search for a fellow alumni. This feature is of high priority.

4.6.2 Stimulus/Response Sequences


User Action: The user types in the search bar and presses enter.
Response: The system processes the input and displays all applicable results found in the
database.

User Action: The user types in the search bar, specifies a category to search by, and presses
enter.
Response: The system processes the input and displays all applicable results found in the
database based on the category specified.

User Action: The user presses enter or inputs an invalid escape character.
Response: The system process the input and determines that the information is invalid. It
does not produce any search results. An error message is displayed on the new page.

The user must have pop-up windows enabled on their systems.


4.7 View an Event

4.7.1 Description and Priority


Any user visiting the website will be able to view any events that have been created. This
feature is of high priority.

JSS SMI UG & PG STUDIES DHARWAD Page 36


Alumni Association

4.7.2 Stimulus/Response Sequences


User Action: User mouse over the “Events” tab on the task bar.
Response: A list of available features is shown, including: “View All Events”, and a list of
the five most recent events created.

User Action: User clicks the “View All Events” button.


Response: Redirects the user to a page with a list of every event created. Each event is shown
by it’s title, the date it is occurring and a link to its information page. Events are sorted by
when they were created; most recent events on top.

User Action: User clicks a link to an event’s information page.


Response: Redirects the user to that event’s information page. The description, date, time and
contact information of the creator are displayed.

4.8 Delete Profile

4.8.1 Description and Priority


A registered user will be able to delete their user profile, if they wish.

4.8.2 Stimulus/Response Sequences


User Action: The user mouse over the “Account” tab on the task bar.
Response: A list of options for the users account is shown: “Edit Profile” and “Delete
Profile”.

User Action: The user clicks the “Delete Profile” tab on the task bar.
Response: The user is presented with a pop-up asking them if they’re sure they want to delete
their user profile.

User Action: The user clicks the “Yes” button.


Response: The system removes the profile from the database, then redirects the user to a
Home page.

4.9 Feedback

4.9.1 Description and Priority


A registered user will be able to share their feedback, if they wish.

4.9.2 Stimulus/Response Sequences


User Action: The user mouse over the “feedback” tab on the task bar.
Response: user will get message pad. where he can enter feedback.

User Action: The user clicks the “Yes” button.


Response: The system updates the feedback to database, then redirects the user to a home
page
JSS SMI UG & PG STUDIES DHARWAD Page 37
Alumni Association

4.10 View Photo Gallery

4.10.1 Description and Priority


A registered user will be able to see the gallery , if they wish.

4.10.2 Stimulus/Response Sequences


User Action: The user mouse over the “gallery” tab on the task bar.
Response: : Redirects the user to a page with a list of gallery created. Each gallery is
shown by it’s title, the date it is occurring and a link to its information page. Gallery photos
are
sorted by when they were created; most recent events on top.

5. Non-functional requirements

5.1. User Interface Requirements

The user interface of the application must be user-friendly and easy to use.

5.2. Performance Requirements

The system shall function in real-time: any operation on the stored information, triggered by
the Alumni, shall complete in less than 10 seconds.
 Processor Intel-Core I3 or above
 1GB RAM or above
 30 GB free space or above
 Windows XP or above
 Widows Operating System

5.3. Security Requirements

In order to use certain features of the system, users must first authenticate themselves by
name and password. The system shall not allow access if the user fails to provide correct
login information.The system should automatically perform log out if the user has been idle
for a specific period (e.g. 30 minutes).Physical access to the computer(s) storing the Alumni
Database shall be restricted to authorized personnel.

Class of use cases Use cases Description of use cases

Use case related to Successful register Can use the application.

JSS SMI UG & PG STUDIES DHARWAD Page 38


Alumni Association

register/sign up Unsuccessful register Application cannot be used.

Use case related to login Successful login Logins to the application.


Forgot password Reset the password.
Use case related to view View Event Only registered member can
Event view the events.
Click on event After clicking on the particular
event he can view all the details
of it.
Use case related to Feedback Feedback Only registered alumni can give
the feedback.
Use case related to Successful login Can add, edit and delete the
administrative required details.
Unsuccessful login Reset the Password Using
password hint.
Use case related to Email service Successful Registered alumni
notification will get the notification.
Use case related to view Edit Profile Alumni can edit his profile
profile. Delete Profile Alumni can delete his Profile
Use case related to gallery View gallery Only Registered alumni can see
the galley.
Click on gallery After clicking on the particular
gallery field he can view all the
photos related to that field is
displayed.

JSS SMI UG & PG STUDIES DHARWAD Page 39


Alumni Association

DATAFLOW DIAGRAM

JSS SMI UG & PG STUDIES DHARWAD Page 40


Alumni Association

5. Data Flow Diagram:


The data flow diagram (DFD) is one of the important modeling tools. It shows
the user of the data pictorially. DFD represents the flow of the data between
different transformations and processes in the system. The data flow diagram
shows logical flow of the data. It represents the functional dependencies within
a system. It shows output values in a computation are derived from input values.
It is a simple pictorial representation or model for system behavior. It specifies,
“What is to be done but not how is to be done”. It describes the logical structure
of the system. It relates data information to various processes of the system. It
follows top-down approach.

Data Flow Diagram Notations:

Data Flow:

It may be from file-to-file or file-to-process or process- process. It is


generally in terms of attributes. There may be either an input data flow or output data flow.

Functional Processing:

The process is nothing but the transformation of data


it starts with the subject and it has the verb followed
by the subject.

Data store:

JSS SMI UG & PG STUDIES DHARWAD Page 41


Alumni Association

It includes file, data base and repository. To parallel


lines represent it or a one end closed rectangle

Or

Actor/source/sink:

The files which are outside the system and used by the
process or the processes of the system. Generally

Source/Sink in the actor.

Objectives

• To graphically document boundaries of a system.


• To provide hierarchy breakdown of the system.
• To show movement of information between a system and its environment.
• To document information flows within the system.
• To aid communication between users and developers.

CONTEXT LEVEL DFD:

JSS SMI UG & PG STUDIES DHARWAD Page 42


Alumni Association

LEVEL 1 DFD:

Updated records

JSS SMI UG & PG STUDIES DHARWAD Page 43


Alumni Association

ER DIAGRAM

JSS SMI UG & PG STUDIES DHARWAD Page 44


Alumni Association

6)ENTITY RELATIONSHIP DIAGRAM (ER)

In software engineering, an Entity-Relationship Model (ER model for short) is


an abstract and conceptual representation of data. Entity-Relationship modeling
is a database modeling method, used to produce a type of conceptual schema or
semantic data model of a system, often a relational database, and its
requirements in a top-down fashion. Diagrams created by this process are called
Entity-Relationship Diagrams or ER Diagrams. The first stage of information
system design uses these models during the requirement analysis to describe
information needs or the type of information that is to be stored in database.

An entity may be defined as a thing which is recognized as being capable of


an independent existence and which can be uniquely identified. An entity is an
abstraction from the complexities of some domain. When we speak of an entity
we normally speak of some aspect of the real world which can be distinguished
from other aspects of the real.

An entity may be a physical object such as a house or car, an event such as a


house sale or a car service, or a concept such as customer transaction or order.
Although the term entity is the one most commonly used, following we should
really distinguish between an entity and entity type. A entity- type is a category.
An entity, strictly speaking, is an instance of a given entity type. There are
usually many instances of an entity –type.

JSS SMI UG & PG STUDIES DHARWAD Page 45


Alumni Association

JSS SMI UG & PG STUDIES DHARWAD Page 46


Alumni Association

DATABASE TABLES

JSS SMI UG & PG STUDIES DHARWAD Page 47


Alumni Association

7) Database table

Table structure for table login


NAME DATATYPE CONSTRAINTS REFERENCE

Username Varchar(20) Not Null Primary key


Password Varchar(20) Not Null
Type Varchar(20) Not Null
Hint_q Varchar(20) Not Null
Hint a Varchar(20) Not Null
Status Varchar(20) Not Null

Table structure for table Event Details


NAME DATATYPE CONSTRAINTS REFERENCE
Event-id Number(20) Not Null Primary key
Event name Varchar(20) Not Null
description Varchar(200) Not Null
Event date date Not Null

Table structure for table Gallery Details


NAME DATATYPE CONSTRAINTS REFERENCE
Gallery_id Number(20) Not Null Primary key
Gallery name Varchar(20) Not Null
description Varchar(20) Not Null
Created date Date Not Null

JSS SMI UG & PG STUDIES DHARWAD Page 48


Alumni Association

Table structure for table Feedback


NAME DATATYPE CONSTRAINTS REFERENCE
Not Null
Feedback_id Number (20) Primary key
Not Null
Event_id Varchar (20)
Not Null
Feedback_message Varchar (20)
Not Null
Feedback date Date (20)

Table structure for table Meeting


NAME DATATYPE CONSTRAINTS REFERENCE

Meeting_id Number(20) Not Null Primary key


Meeting_name Varchar(20) Not Null

Meeting date Date Not null

Meeting agenda Varchar(200) Not nul

JSS SMI UG & PG STUDIES DHARWAD Page 49


Alumni Association

Table structure for table Registration


NAME DATATYPE CONSTRAINTS REFERENCE

Reg id Number(20) Not Null Primary key


First name Varchar (20) Null

Last name Varchar(20) Not Null


Email Varchar(20) Not Null
Mobile Number(10) Not Null
Address Number(250) Not Null
Dob Date Not Null
photo Varchar (7000)

JSS SMI UG & PG STUDIES DHARWAD Page 50


Alumni Association

SCREENSHOT

JSS SMI UG & PG STUDIES DHARWAD Page 51


Alumni Association

9) SCREENSHOT
Home Page

LOGIN PAGE

ADMIN PANEL

JSS SMI UG & PG STUDIES DHARWAD Page 52


Alumni Association

REGISTRATION DETAILS

FEEDBACK DETAILS

JSS SMI UG & PG STUDIES DHARWAD Page 53


Alumni Association

REGISTRATION VALIDATION

REGISTRATION VALIDATION

JSS SMI UG & PG STUDIES DHARWAD Page 54


Alumni Association

LOGIN PAGE VALIDATION

BLOG

JSS SMI UG & PG STUDIES DHARWAD Page 55


Alumni Association

JSS SMI UG & PG STUDIES DHARWAD Page 56


Alumni Association

ALUMNI ASSOCIATION HOME PAGE

JSS SMI UG & PG STUDIES DHARWAD Page 57


Alumni Association

SOURCE CODE

JSS SMI UG & PG STUDIES DHARWAD Page 58


Alumni Association

10)SOURCE CODE
Login:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
<!--
.style1 {
font-size: 24px;
font-weight: bold;
}
-->
</style>
</head>

<body>
<form name="form1" method="post" action="logcheck.php">
<p class="style1">Login</p>
<p>Username :
<input name="username" type="text" id="username">
</p>
<p>Password:
<input name="password" type="password" id="password">
</p>
<p>
<input type="submit" name="Submit" value="Submit">
&nbsp;&nbsp;&nbsp;<a href="forgot_password.php">Forgot password </p>
</form>
</body>
</html>

FORGOT PASSWORD:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equal="X-UA-Compatible" content="IE=edge, chrome=1">
JSS SMI UG & PG STUDIES DHARWAD Page 59
Alumni Association

<Meta name="viewport" content="width=device-width, initial-scale=1.0">


<title>Custom Login Form Styling</title>
<meta name="description" content="Custom Login Form Styling with CSS3"
/>
<meta name="keywords" content="css3, login, form, custom, input, submit,
button, html5, placeholder" />
<meta name="author" content="Codrops" />
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" type="text/css" href="css/style.css" />
<scriptsrc="js/modernizr.custom.63321.js"></script>
<!--[if lte IE 7]><style>.main{display:none;} .support-note .note-
ie{display:block;}</style><![endif]-->

</head>
<body>
<div class="container">

<!--Codrops top bar -->


<div class="codrops-top">
<span class="right">
</span>
</div><!--/ Codrops top bar -->

<header>

<h1><strong>Forgot Password</strong></h1>

</header>

<section class="main"><p><span class="style2">Enter User Name</span><p


class="style2">

<?php
include('dbconnect.php');
echo $uname=$_REQUEST["username"];
//echo $uname;
$sql="select * from login where binary(username)='$uname'";
//echo $sql;
$res=mysql_query($sql);

JSS SMI UG & PG STUDIES DHARWAD Page 60


Alumni Association

if($row=mysql_fetch_array($res))
{
$hintqtn=$row["hint_q"];
$hintans=$row["hint_a"];
$pwd=$row["password"];
?>
</p>
</p>
<p class="style2"> Enter Hint Answer
</p>
<p><span class="style2">Hint Question</span>:<p class="style2"><?php echo
" ".$hintqtn; ?></p>
</p>
<form class="form-3" action="getpwd.php" method="post">
<div class="input-prepend" title="Hint Answer" data-rel="tooltip">
<input name="type_ans" type="text" class="input-large span10" id="username"
size="50" autofocus />
<input name="db_hintans" type="hidden" id="hintans" value="<?php echo
$hintans; ?>">
<input name="password" type="hidden" id="password" value="<?php echo
$pwd; ?>">
<p> <button type="submit"
class="btnbtn-primary">Get Password</button>
</p>
</fieldset>
</form>

</section>

</div>
</body>
</html>

<?php

}
else
{
?>
<script type="text/javascript">

JSS SMI UG & PG STUDIES DHARWAD Page 61


Alumni Association

alert("Wrong Username");
document.location="login.php";
</script>
<?php
}
?>
</body>
</html>

CHANGE PASSWORD:
<!DOCTYPE HTML>
<html>
<head>
<?php include('meta.php'); ?>
</head>

<body class="sticky-header" onLoad="initMap()">


<section>
<!-- left side start-->
<?php include('side_bar.php'); ?>
<!-- left side end-->

<!-- main content start-->


<div class="main-content main-content3">
<!-- header-starts -->
<?php include('header.php'); ?>
<!-- //header-ends -->
<div id="page-wrapper">
<div class="graphs">
<h3 class="blank1"> Bill Form</h3>
<div class="tab-content">
<div class="tab-pane active" id="horizontal-form">

<form name="form2" method="post" action="changepin.php">


<p>Old Password </p>
<label>
<input type="text" name="old_pwd">
</label>
<p>New password </p>
<p>
<label>
JSS SMI UG & PG STUDIES DHARWAD Page 62
Alumni Association

<input type="text" name="new_pwd">


</label>
<p>Confirm password </p>
<p>
<label>
<input type="text" name="conf_pwd">
</label>
</p>

<label>
<input type="submit" name="Submit" value="Change" />
</label>
</form>
</div>
</div>
<div class="panel-footer">
<div class="row">

</div>
</div>
</div>
</div>
</div>
<!--footer section start-->
<?php include('footer.php'); ?>
<?php include('val.php');?>

Insert:

<?php
$eventname =$_POST['eventname'];
$description=$_POST['description'];
$eventdate=$_POST['eventdate'];

$con=mysql_connect('localhost','root','');
mysql_select_db('alumni',$con);
$sql="insert into event_details
values(null,'$eventname','$description','$eventdate')";
mysql_query($sql);
?>

JSS SMI UG & PG STUDIES DHARWAD Page 63


Alumni Association

<script>
alert('inserted.......');
document.location="event_details_form.php"
</script>

DELETE:
<?php

include('db.php');
$r_id=$_REQUEST['r_id'];
$sql="delete from registration where regid='$r_id' ";
mysql_query($sql);
?>
<script>
alert("deleted..");
document.location="Registration_Details_view.php";
</script>

EDIT:
<!DOCTYPE html>
<html>
<head>
<?php include('meta_tags.php'); ?>
<style type="text/css">
<!--
.style3 {font-family: "Times New Roman", Times, serif; font-size: 18px; }
-->
</style>
</head>
<body class="skin-blue">
<?php include('header.php'); ?>

<div class="wrapper row-offcanvas row-offcanvas-left">


<!-- Left side column. contains the logo and sidebar -->
<?php include('menu.php'); ?>
<!-- Right side column. Contains the navbar and content of the page -->
<aside class="right-side">
<!-- Content Header (Page header) -->

JSS SMI UG & PG STUDIES DHARWAD Page 64


Alumni Association

<section class="content-header">
<h1>
REGISTRATION DETAILS
<small>(Fill Registration Details)</small>
</h1>

</section>

<!-- Main content -->


<section class="content">
<!---start -->

<?php
include('db.php');
include('val.php');
$r_id=$_REQUEST['r_id'];
$sql="select * from registration where regid='$r_id'";
$res=mysql_query($sql);
$row=mysql_fetch_array($res);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body>
<form action="Registration_Details_update.php" method="post"
name="formID" id="formID">
<input type="hidden" name="r_id" value="<?php echo $row['regid'];?>">

<table width="723" height="965" border="1">


<tr>
<td colspan="2">Registration_Details</td>
</tr>
<tr>

<tr>
<td width="72">First_Name</td>

JSS SMI UG & PG STUDIES DHARWAD Page 65


Alumni Association

<td width="486"><input name="firstname" type="text" id="firstname"


class="validate[required,custom[onlyLetter]]" value="<?php echo
$row['firstname'];?>"></td>
</tr>
<tr>
<td>Last_Name</td>
<td><input name="lastname" type="text" id="lastname"
class="validate[required,custom[onlyLetter]]" value="<?php echo
$row['lastname'];?>"></td>
</tr>
<tr>
<td>Username</td>
<td><input name="username" type="text" id="username"
class="validate[required]" value="<?php echo $row['username'];?>"></td>
</tr>
<tr>
<td>Email</td>
<td><input name="email" type="text" id="email"
class="validate[required,custom[email]] "value="<?php echo
$row['email'];?>"></td>
</tr>
<tr>
<td>Password</td>
<td><input name="password" type="password" id="password"
class="validate[required]"value="<?php echo $row['password'];?>"></td>
</tr>
<tr>
<td>Mobile </td>
<td><input name="mobile" type="text" id="mobile"
class="validate[required,custom[mobile]]" value="<?php echo
$row['mobile'];?>"></td>
</tr>
<tr>
<td>Address</td>
<td><textarea name="address" id="address" type="text"
class="validate[required]"> <?php echo $row['address'];?></textarea></td>
</tr>
<tr>
<td>Date-Of-Birth</td>
<td><input name="dob" type="date" id="dob"
class="validate[required,custom[date]]" value="<?php echo
$row['dob'];?>"></td>

JSS SMI UG & PG STUDIES DHARWAD Page 66


Alumni Association

</tr>
<tr>
<td>Photo</td>
<td><input type="file" name="photo" class="validate[required]"></td>
</tr>
<tr>
<td colspan="2"><input type="submit" name="Submit" value="Submit">
<input type="reset" name="Reset" value="Reset"></td>
</tr>
</table>
</form>
<!-- end -->
</section><!-- /.content -->
</aside><!-- /.right-side -->
</div><!-- ./wrapper -->

<!-- add new calendar event modal -->

<!-- jQuery 2.0.2 -->

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


</body>
</html>

UPDATE:
<?php
include('db.php');
$r_id=$_POST['r_id'];
$firstname =$_POST['firstname'];
$lastname=$_POST['lastname'];
$username=$_POST['username'];
$email=$_POST['email'];
$password=$_POST['password'];
$mobile=$_POST['password'];
$address=$_POST['address'];
$dob=$_POST['dob'];
$photo=$_POST['photo'];

JSS SMI UG & PG STUDIES DHARWAD Page 67


Alumni Association

$sql="update registration set


firstname='$firstname',lastname='$lastname',username='$username',email='$em
ail',password='$password',
mobile='$mobile',address='$address',dob='$dob',photo='$photo' where
regid='$r_id' ";
mysql_query($sql);
?>
<script>
alert("upda ted..");
document.location="Registration_details_view.php";
</script>

View:
<!DOCTYPE html>
<html>
<head>
<?php include('meta_tags.php'); ?>
</head>
<body class="skin-blue">
<?php include('header.php'); ?>

<div class="wrapper row-offcanvas row-offcanvas-left">


<!-- Left side column. contains the logo and sidebar -->
<?php include('menu.php'); ?>
<!-- Right side column. Contains the navbar and content of the page -->
<aside class="right-side">
<!-- Content Header (Page header) -->
<section class="content-header">
<h3>
<i class=" icon-bar-chart"></i> <span>REGISTRATION DETAILS<small><!-
-(List of Raw Materials)--></small></span>

</h3>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active">Dashboard</li>
</ol>
</section>

<!-- Main content -->


<section class="content">
<!---start -->
JSS SMI UG & PG STUDIES DHARWAD Page 68
Alumni Association

<table class="table table-bordered" id="sample_1">


<thead>
<tr>
<td>Reg ID </td>
<td>First Name</td>
<td>Last Name</td>

<td>Email</td>

<td>Mobile</td>
<td>Address</td>
<td>DateOfBirth</td>
<td>Photo</td>

<td>Delete</td>
</tr>
<?php
include('db.php');
$sql="select * from registration";
$res=mysql_query($sql);
while($row=mysql_fetch_array($res))
{
?>
<tr>
<td >&nbsp;<?php echo $row['regid'];?></td>
<td>&nbsp;<?php echo $row['firstname'];?></td>
<td>&nbsp;<?php echo $row['lastname'];?></td>

<td>&nbsp;<?php echo $row['email'];?></td>

<td>&nbsp;<?php echo $row['mobile'];?></td>


<td>&nbsp;<?php echo $row['address'];?></td>
<td>&nbsp;<?php echo $row['dob'];?></td>
<td>&nbsp;<img src="../img/members/<?php echo $row['photo'];?>"
width="100" height="100"/</td>

JSS SMI UG & PG STUDIES DHARWAD Page 69


Alumni Association

<td>&nbsp;<a href="Registration_delete.php?r_id=<?php echo


$row['regid'];?>">delete</a></td>
</tr>
<?php
}
?>
</tbody>
</table>
<!-- end -->
</section><!-- /.content -->
</aside><!-- /.right-side -->
</div><!-- ./wrapper -->

<!-- add new calendar event modal -->

<!-- jQuery 2.0.2 -->

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


</body>
</html>
REGISTRATION FORM:

<!DOCTYPE html>

<html>

<head>

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

<style type="text/css">

<!--

.style3 {font-family: "Times New Roman", Times, serif; font-size: 18px; }

-->

</style>

</head>

<body class="skin-blue">

JSS SMI UG & PG STUDIES DHARWAD Page 70


Alumni Association

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

<div class="wrapper row-offcanvas row-offcanvas-left">

<!-- Left side column. contains the logo and sidebar -->

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

<!-- Right side column. Contains the navbar and content of the page -->

<aside class="right-side">

<!-- Content Header (Page header) -->

<section class="content-header">

<h1>

REGISTRATION DETAILS

<small>(Fill Registration Details)</small>

</h1>

</section>

<!-- Main content -->

<section class="content">

<!---start -->

<?php

include('val.php');

?>

JSS SMI UG & PG STUDIES DHARWAD Page 71


Alumni Association

<form action="Registration_Details_insert.php" method="post"


name="formID" id="formID" >

<table width="557" height="781" border="0">

<tr>

<td colspan="2">Registration_Details</td>

</tr>

<tr>

<td>Reg No</td>

<td><input name="regid" type="text" pattern="[0-9][0-9][a-z,A-z][0-9][0-9][0-


9][0-9][0-9]" id="regid" class="validate[required]"></td>

</tr>

<tr>

<td>First_Name</td>

<td><input name="firstname" type="text" id="firstname"


class="validate[required,custom[onlyLetter]]"></td>

</tr>

<tr>

<td>Last_Name</td>

<td><input name="lastname" type="text" id="lastname"


class="validate[required,custom[onlyLetter]]"></td>

</tr>

<tr>

<td>Username</td>

<td><input name="username" type="text"


id="username"class="validate[required]"></td>

</tr>

JSS SMI UG & PG STUDIES DHARWAD Page 72


Alumni Association

<tr>

<td>Email</td>

<td><input name="email" type="text" id="email"


class="validate[required,custom[email]]"></td>

</tr>

<tr>

<td>Password</td>

<td><input name="password" type="password" id="password"


class="validate[required]"></td>

</tr>

<tr>

<td>Mobile </td>

<td><input name="mobile" type="text" id="mobile"


class="validate[required,custom[mobile]]"></td>

</tr>

<tr>

<td>Address</td>

<td><textarea name="address" id="address" type="text"


class="validate[required]"></textarea></td>

</tr>

<tr>

<td>Date-Of-Birth</td>

<td><input name="dob" type="date" id="dob"


class="validate[required,custom[date]]"></td>

</tr>

<tr>

JSS SMI UG & PG STUDIES DHARWAD Page 73


Alumni Association

<td>Photo</td>

<td><input type="file" name="photo" id="photo"


class="validate[required]"></td>

</tr>

<tr>

<td colspan="2"><input type="submit" name="Submit" value="Submit">

<input type="reset" name="Reset" value="Reset"></td>

</tr>

</table>

</form>

<!-- end -->

</section><!-- /.content -->

</aside><!-- /.right-side -->

</div><!-- ./wrapper -->

<!-- add new calendar event modal -->

<!-- jQuery 2.0.2 -->

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

</body>

</html>

JSS SMI UG & PG STUDIES DHARWAD Page 74


Alumni Association

TESTING

JSS SMI UG & PG STUDIES DHARWAD Page 75


Alumni Association

10) SYSTEM TESTING AND RESULTING


Introduction:

Testing is a process of executing program with an indent of finding error.


Testing is vital to success of the system. Testing demonstrates that the
software functions appear to be working according to the specifications and
performance requirements appeared to have been met. If a test is conducted
successfully, it will discover errors in the software.

Test Objectives:

The system is tested with variety of inputs. The System is tested for accuracy
and correctness of the results obtained. Finally the system is tested for inter-
operability.

Test Approaches:

 Black Box Testing:


Black-Box testing is done to find:

1. 1 Incorrect or missing functions,


2. Interface error,
3. Errors in data structure or external database Access,
4. Behavior or performance errors and
5. Initialization and termination errors.
 White Box Testing:
This test allows the tester to

1. Check whether all independent paths within a module


have exercised at least once
2. Exercise all logical decision on their true and false
sides
3. Exercise all loops at their boundaries and within their
bounds
4. Exercise the internal data structure to ensure their

JSS SMI UG & PG STUDIES DHARWAD Page 76


Alumni Association

validity
5. Ensure whether the possible validity check and
validity lookups have been provided validate data
entry.

Testing Strategies:
 Unit Testing:
Unit testing is done on individual modules as they are completed and
become executable. It is confined only to the designer’s requirements.

 Integration Testing:
Integration testing ensures that software and subsystems work together as a
whole. It tests the interface of all the modules to make sure that the modules
behave properly when integrated together.

 System Testing:
System testing involves in-house testing of the entire system before delivery
to the user. Its aim is to satisfy the user. The system meets all requirements
of the client’s specifications.

 Validation Testing:
The system has been tested and implemented successfully and thus ensured
that all requirements as listed in the software requirements specification are
completely fulfilled. In case of erroneous input corresponding error
messages are display.

JSS SMI UG & PG STUDIES DHARWAD Page 77


Alumni Association

10.4 Test Cases and Results:

Test Case

TEST Expected Result Result


1)Invalid username and It should give appropriate Pass
Password error message saying “Invalid
username or password “
2)Add/Update/Delete Add/Update/Delete Pass
details Done Successfully.
3)In forgot Password Add some Data Pass
No data entered
4)Adding new Category Add Some data Pass
without any data

5)Leave Email-id and Prompts that no Data has pass


P+assword been entered.
6)Enter Authentic Email User Page will be Displayed. pass
and Password
7)Registration Notification Notification will be sent to pass
registered alumni.

JSS SMI UG & PG STUDIES DHARWAD Page 78


Alumni Association

11) CONCLUSION
Software is said to have attained its objective only when it meet all
requirements of the user, further the user himself is the person to judge the
success of the system. Every attempt has been made to ensure that the system is
fully functional & works effectively & efficiently. The system has been tested
with simple data to cover all possible options & checked for all outputs. Since
the system is flexible & modular, further modifications of this package can be
easily incorporated.

Importance of the system:

 User friendly screen, Simple to learn and easy to work.

 Fully validate to ensure correct and error free data entry.

 Quick (instant) result.

12) FUTURE SCOPE

 This system can be extended to many Departments as the user needs.

JSS SMI UG & PG STUDIES DHARWAD Page 79


Alumni Association

13) BIBLIOGRAPHY

Books:

1. IEEE SRS Format.


2. Database Management Systems, by Navathe.
Websites:

http://en.wikipedia.org/wiki/PHP for Php.


https://www.w3schools.com/ for Php and MySql

http://www.mysql.com/click.php?e=35050 for MySQL


https://www.youtube.com/

JSS SMI UG & PG STUDIES DHARWAD Page 80

Anda mungkin juga menyukai