Вы находитесь на странице: 1из 34

Project

On

Design and Development of Vendor Management of


PNB using PHP
Submitted In partial fulfillment for the award of the degree
of

BACHELOR OF TECHNOLOGY
In
COMPUTER SCIENCE & ENGINEERING

Department of Computer Science & Engineering

Submitted by:
Manjot Kaur
University Roll No.- 1249349

RIMT- INSTITUTE OF ENGINEERING & TECHNOLOGY,


MANDI GOBINDGARH
JUNE-JULY, 2014

Acknowledgement
Firstly, I would like to thank Almighty god who helped me in completing this project
successfully. Secondly, I would like thank my PHP teacher, for providing me with a vivid
description of the topic. She has been very kind and patient, whilst suggesting me the outlines
of this project, and correcting my doubts. I thank her for overall support.
Last but not the least I would like to thank my parents who encouraged me to give my best.
I am making this project not only for marks but also to increase my knowledge.
THANKS AGAIN TO ALL WHO HELPED ME.

ABSTRACT
Vendor Management in PNB
In Punjab National Bank there are 121 branches and four circle offices. Each branch
has many number of machines like PC, ATM, CDM, PUM etc and hence there are
number of problems related to each, which is duty of circle office to resolve .The
procedure is as follows: Circle Office call each branch to ask if there is any problem
with any machine, if yes, they call vendor of that particular machine to correct it.
Then circle office again call for feedbacks, like this whole process takes place. For
resolving this lengthy and time consuming process, I tried to make a software which
will easier the whole process.
Now branch only needs to fill online form containing problem with any machine and
simple click on submit button will reach their form to circle office. Same is case with
feedback. On circle office side, they just need to check complaints by clicking on All
Complaints button and feedbacks with All Feedbacks button.
It means no more phone calls and no time wastage.

Table of Content
S.NO
1
2
3
4
5
6
7

CONTENT
List of Figures
Company Profile
Overview
Problem Formulation
Technologies Used
Snapshots
References

PAGE.NO
5
6
9
10
11
27
35

List of figures
Fig no.

Name

Page no.

1
2
3

Flowchart of if statement
Flowchart of if-else statement
Flowchart of switch statement

22
24
26

ORGANIZATION PROFILE
ABOUT PRO-ACE GROUP
PRO-ACE GROUP is a 6 year young organization who is actively involved in the IT field,
Embedded Systems and has been providing its clients with exceptional quality in Web
Designing, Web Development, Embedded Systems and SEO services. Our clients range from
small, medium to large scale Business houses & individuals.
PRO-ACE is an organization which is established in the field of Web Development ( PHP
& .NET ), JAVA (Core as well as Advance), Iphone & Android Applications, Embedded
systems(AVR, PIC & ARM), and Networking ( MCSE, CCNA & RHSE). . We have a team
of enthusiastic IT professionals and they are experts in their respective field. We focus on
delivering the smooth Business solution with technological usage to meet the strategic
objective of our client.
TECHNOLOGY EXPERTISE
Java Technologies
J2EE, EJB, JSP, J2ME, Servlet, SOAP, Web Services, XML, STRUTS, Spring, Hibernate,
Tapestry
PHP Technologies
PHP, JavaScript, Joomla, CakePHP, Drupal, Magneto, Ruby on Rails, MySQL
Mobile Technologies
MS Windows Mobile, J2ME, Windows CE, Symbian, iPhone, Google Android

PRO-ACE INFOTECH AT A GLANCE


(Training Branch)
PRO-ACE Infotech is a venture of PRO-ACE GROUP that offers technical and professional
skill training to individuals, organizations and educational institutions. We provide high end
training with comprehensive programs that integrate all aspects required to excel at the
corporate level. With a combination of vast industry experience, cutting-edge infrastructure,
evolving technological tools and a thorough corporate culture, we function to transform an
individual into a success story.
OUR PHILOSOPHY
To consistently deliver ingenious, Comprehensive, Efficient and Cost-effective quality
training solutions.
OUR MISSION
PRO-ACE mission is to bridge the gap between dreams and reality. The main motive is to
enable the students to achieve what they have been aspiring since they understood their
ambitions.
To impart Internationally Certified and advanced High-End IT training to Engineers,
Professionals, College students in the field of Software, Hardware, Networking & Database
Administration.
OUR TRAINING STRENGTHS:

Extensive Industry expertise


Latest and evolving program offerings
Practical work based training modules
On the job corporate environment
Overall Development

OTHER INFORMATION
Type

Privately Held

Company Size

15-20 Employees

Website

http://www.proacegroup.com/

Industry Type

Development and Professional Training


Company

Year of Inception

2010

Office

Opposite ICICI Bank,


Leela Bhawan Market,
Patiala-147001, Punjab

OVERVIEW
The Project Design and Development of Vendor Management in PNB using PHP saves
time and ease the system of solving problems of machines in different branches of PNB. The
aim is to reduce the number of phone calls to great extent which further cuts phone bills. On
the whole main idea is to reduce the workload in circle offices.

Problem Formulation
In Punjab National Bank, Circle Offices need to call each branch for asking if there is any
problem in any machines ( ATM, CDM, PUM etc) ,then they call vendors for solving
problems. In this way process is lengthy and time consuming. Therefore, the project vendor
management of PNB using PHP is made to decrease work load of bank.

10

TECHNOLOGIES USED
HTML
HTML is hypertext markup language.

With HTML you can create your own Web site.

HTML is static scripting language

HTML is easy to learn

SYNTAX:
<html>
<body>
<h1>my first heading</h1>
<p>my first paragraph</p>
</body>
</html>
HTML Headings:
HTML headings are defined with the <h1> to <h6> tags.
Example
<h1>This is a heading</h1>
<h2>This is a heading</h2>
<h3>This is a heading</h3>

HTML Paragraphs
HTML paragraphs are defined with the <p> tag.
11

Example
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>

HTML Links
HTML links are defined with the <a> tag.
Example
<a href="#">This is a link</a>

HTML Images
HTML images are defined with the <img> tag.
Example: <img scr=image.jpg width="104" height="142">
HTML documents are defined by HTML elements.
HTML Elements
An HTML element is everything from the start tag to the end tag:
Start tag

Element

End tag

content
<p>

This is a

</p>

paragraph
<a

This is a

href="default.htm"

link

</a>

>
<br>
HTML Element Syntax

An HTML element starts with a start tag / opening tag

12

An HTML element ends with an end tag / closing tag

The element content is everything between the start and the end tag

Some HTML elements have empty content

Empty elements are closed in the start tag

Most HTML elements can have attributes

HTML Example Explained


The <p> element:
<p>This is my first paragraph.</p>
The <p> element defines a paragraph in the HTML document.
The element has a start tag <p> and an end tag </p>.

The element content is: This is my first paragraph.


The <body> element:
<body>
<p>This is my first paragraph.</p>

</body>
The <body> element defines the body of the HTML document.
The element has a start tag <body> and an end tag </body>.

The element content is another HTML element (a p element).


The <html> element:
<html>
<body>
<p>This is my first paragraph.</p>
</body>

</html>
The <html> element defines the whole HTML document.
The element has a start tag <html> and an end tag </html>.

The element content is another HTML element (the body element).


Don't Forget the End Tag
Some HTML elements might display correctly even if you forget the end tag:
13

<p>This is a paragraph

<p>This is a paragraph
The example above works in most browsers, because the closing tag is considered

optional.
Never rely on this. Many HTML elements will produce unexpected results and/or
errors if you forget the end tag .
EXAMPLE 1:<html>
<head>
<h1>hello</h1>
<title>
Hello everyone
</head>
</title>
<body>
M here to learn php
</body>
</html>
OUTPUT:Hello
M here to learn php
EXAMPLE 2:<html>
<head><h1>hello</h1>
<title>intro</title>
<body>
<table>
<tr><td>name</td></tr>
<td>course</td>
<td>branch</td></tr>
</table>
</body>
</html>
OUTPUT:HELLO

name

Course

Branch

EXAMPLE 3:<html>
<head>
<title>info</title>
14

</head>
<body>
<form action=#method=post>
<table>
<tr><td colspan=3><img src=image/a.jpg/></td></tr>
<tr><td><input type=textvalue=name/></td>
<td><input type=textvalue=course/></td>
<td><input type=textvalue=branch/></td>
<td>profile<img src=image/b.jpg/></td></tr>
</table>
</form>
</html>

OUTPUT:-

Profile
name

Course

pari

B.Tech

branch
cse

JAVASCRIPTING:
15

JavaScript is the programming language of the Web.

All modern HTML pages are using JavaScript.

JavaScript is easy to learn.

Why We Study JavaScript?


JavaScript is one of 3 languages all web developers MUST learn:
1. HTML to define the content of web pages
2. CSS to specify the layout of web pages
3. JavaScript to program the behavior of web pages

PHP
PHP stands for hypertext preprocessor programming. It is html embedded scripting language
much of its syntax borrowed from C, java, perl with a couple of unique php specific features
thrown in syntax:
<?php?>
The goal of PHP language is to allow web developer to write dynamically generated pages
quickly. Another way to think of php is a powerful, behind the scenes scripting language that
your visitors will not see.
What PHP Do:-

16

PHP server site scripting language that is embedded in HTML. It is used to manage dynamic
contents database session even built in entire e-commerce web site. It is integrated with the
no of popular databases including mysql, oracle, Sybase, infomix, Microsoft sql server.
WEB TECHNOLOGIES:
1. MARK UP LANGUAGE: it is used to in-text and word-processing document to
describe how a document should look when displayed or print. The internet uses
markup to define how a web pages should look when displayed in the browser. There
are different markup languages like HTML, DHTML, RTF(rich text formatting).
HTML (Hypertext markup language):HTML is primary i.e used for web
pages. Html tells the browser what to display on a page example: specific text,

text images.
DHTML (Dynamic hypertext markup language): it combines CSS. And css
provides the ability to change the appearance of text such as font, color, and

spacing on web pages.


2. WEB BROWSER: it is a software application used to locate, retrieve and display
content on the WWW including web pages and other files as a client and server
model. The browser is a client run on the computer that contacts the web server and
request information back to web browser which displays the result another internet
enable devices that supports the browser.
HISTORY OF PHP:
PHP is a successor to a product name php/fi created in 1994 by Rasmus Lerdorf,
second verson of php i.e(php-2) was developed in 1996 as its first verson has some
lackings in its features. Some features were still lacking in php verson 2.0.further php
3.0 was developed that closely resembles as it exists today. It was formed by Andi and
Zeev of israil. It was renamed simply php.
Php-4:- it was improved verson of 3.0 and was developed in 1998. The design goal
was to improve performance of complex application and improve the modularity of
phps code base ZEND ENGINE met those design goals.php 4.0 based on this
engine and completed with wide new features was efficiently released in 2000.
Php 5.0: it was released in july 2004. It is mainly driven by its core the zend engine
2.0 with a new object model and dozen of other new features.
EXAMPLE:<html>
17

<head>
<title>facebook</title>
<h1>signup</h1>
</head>
<body bgcolor=blue><bg color =blue></bg>
<table>
<form>
<tr><td><input type=textvalue=first name/></td>
<td><input type=textvalue=last name/></td></tr>
<tr><td><input type=textvalue=your email/></td>
<td><input type=textvalue=confirm email/></td></tr>
<tr><td><input type=textvalue=password/></td>
<td><input type=textvalue=confirm password/></td></tr>
<tr><td>Birthday</td></tr>
<select><option>jan</option>
<option>feb</option>
</select>
<select><option>1</option>
<option>2</option>
</select>
<select><option>1994</option>
<option>1995</option>
</select>
<tr><td><input type=submit/></td></tr>
</table>
</form>
</body>
</html>
OUTPUT:-

First name

Last name

Email
Confirm email
Password
Confirm password
Birthday
submit

18

C++
C++ (pronounced cee plus plus) is a general purpose programming language. It
has imperative, object-oriented and genericprogramming features, while also providing the
facilities for low level memory manipulation.
It is designed with a bias for systems programming (e.g. embedded systems, operating system
kernels), with performance, efficiency and flexibility of use as its design requirements. C++
has also been found useful in many other contexts, including desktop applications, servers
(e.g. e-commerce, web search, SQL), performance critical applications (e.g. telephone
switches,space probes) and entertainment software, such as video games.[3]
It is a compiled language, with implementations of it available on many platforms. Various
organizations provide them, including the FSF, LLVM, Microsoft and Intel.
C++ is standardised by the International Organization for Standardization (ISO), which the
latest (and current) having being ratified and published by ISO in September 2011
as ISO/IEC 14882:2011 (informally known as C++11).[4] The C++ programming language
was initially standardised in 1998 as ISO/IEC 14882:1998, which was then amended by the
C++03,ISO/IEC 14882:2003, standard. The current standard (C++11) supersedes these,
with new features and an enlarged standard library.
Before standardization (1989 onwards), C++ was developed by Bjarne Stroustrup at Bell
Labs, starting in 1979, who wanted an efficient flexible language (like C) that also provided
high level features for program organization.
Many other programming languages have been influenced by C++, including C#, Java, and
newer versions of C (after 1998).
19

# include <iostream>
int main()
{
std::cout << "Hello, world!\n";
}
Within functions that define a non-void return type, failure to return a value before control
reaches the end of the function results in undefined behaviour (compilers typically provide
the means to issue a diagnostic in such a case). The sole exception to this rule is
the main function, which implicitly returns a value of zero.

Operators and operator overloading

20

Operators that cannot be overloaded

Operator

Symbol

Scope resolution operator

::

Conditional operator

?:

dot operator

Member selection operator

.*

"sizeof" operator

Sizeof

"typeid" operator

Typeid

C++ provides more than 35 operators, covering basic arithmetic, bit manipulation,
indirection, comparisons, logical operations and others. Almost all operators can
be overloaded for user-defined types, with a few notable exceptions such as member access
(. and .*) as well as the conditional operator. The rich set of overloadable operators is central
to using user created types in C++ as well and as easily as built in types (so that the user

USE OF IF STATEMENT
SYNTAX: if(expression)
Body of if;

expression

true
21

false

Body of if

Fig:1 Flow-chart of if statement


EXAMPLE: #include<iostream.h>
# include<conio.h>
Void main( )
{
Int a, b;
Clrscr ( );
Cout<<enter two no.:;
Cin>>a>>b;
If (a > b) cout << greater is: <<a;
If(b > a) cout << greater is: <<b; Getch( ); }
IF ELSE STATEMENT
The syntax of if else statement is
if (expression)
body of if
else
body of else
22

Body of if and body of else may be simple and may be block. If body of if and body of else
is simple then the structure look like.
If (expression)
{
Statement1;
Statement 2:
.
Statement n;
}
Else
{
Statement 1;
Statement 2;
.
Statement n;
}

expression

fal se

Body of if

true

23

Body of
else

fig:2 Flowchart of if-else statement

SWITCH STATEMENT:
Switch (expression)
{
Case value 1:
Statement 1;
Statement 2;
.
Statement n;
Break;
Case value 2:
Statement 1;
Statement 2;
.
Statement n;
Break;
.
Case value n:
Statement 1;
Statement 2;
.
24

Statement n;
Break;
Default case:
Statement 1;
Statement 2;
.
Statement n;
}

If expression equal to
true
1

First case : body of


execution.

false
If expression equal to
2
true

If expression 25
equal to
n

Second case : body


executed

Nth
casebody
: body
Default
executed

false

true

false

fig:3 Flowchart of switch statement

SNAPSHOTS

26

27

28

29

30

31

32

33

REFERENCES
PHP for the web: Visual QuickStart Guide by Larry Ullman
www.w3schools.com/php/
En.wikibooks.org/wiki/PHP_Programming

34