You are on page 1of 56

ENTREPRENEURSHIP PORTAL

CAPSTONE PROJECT REPORT


(Project Term January-April, 2013)

CAP 328

TOPIC ENTREPRENEURSHIP PORTAL

SUBMITTED BY:
Mohit Kr. Sinha (Registration Number: 11011239) Deepak Rawat (Registration Number: 11004396) Programme:- BCA (2010-2013)

Under the Guidance of Mr Deepak Mehta Department of Computer Application Lovely Professional University, Phagwara January to April, 2013

CAP328

Page 1

ENTREPRENEURSHIP PORTAL CERTIFICATE

We declare that this Project is our own individual work. We have not

copied from any other student or from any other source except where due Acknowledgment is made explicitly in the text nor has any part being written for me by another person.

By: Mohit Kr. Sinha -11011239 Deepak Rawat-11004396

CAP328

Page 2

ENTREPRENEURSHIP PORTAL

DECLARATION

I hereby declare that the project entitled Entrepreneurship Portal is an authentic record of my own work carried out at LPU project as for the award of degree of BCA Lovely Professional University, Phagwara, under the guidance of Mr. Deepak Mehta {project mentor} during January to May 2013.

{Signature of student}

Mohit Kr. Sinha Date27-04-2012 Reg. No.11011239 Deepak Rawat Reg. No.:-11004396 It is certified that the above statement made by the student is correct to the best of our knowledge and belief.

{Signature} Mr. Deepak Mehta Project mentor.

CAP328

Page 3

ENTREPRENEURSHIP PORTAL
ACKNOWLEDGEMENT
Apart from the efforts of me, the success of this project depends largely on the encouragement and guidelines of many others. I take this opportunity to express my gratitude to the people who have been instrumental in the successful completion of this project till now. I would like to show my greatest appreciation to Mr. Deepak Mehta. I cant say thank you enough for his tremendous support and help. I feel motivated and encouraged every time I attend his class. Without his encouragement and guidance this project would not have materialized. The guidance and support received from the team mate who contributed and contributing to this project, was vital for all the success of the project. I am grateful to him for his constant support and help.

Mohit Kr. Sinha (Reg. No. - 11011239) Deepak Rawat (Reg. No.-11004396)

CAP328

Page 4

ENTREPRENEURSHIP PORTAL
TABLE OF CONTENTS Particulars Page No.

Introduction...6 Objective7 System Analysis...8 Identification of need...9 Feasibility Study..11 Technical feasibility Economic feasibility Operational feasibility

Data Flow Diagrams...16 System Requirements....20 Snapshots.21 Coding

Testing...51 Pert Chart......52 Modules..53 Future Scope Of Project......54 References.55

CAP328

Page 5

ENTREPRENEURSHIP PORTAL
Introduction

This project will be very helpful for the system as the vendors who wants to open their shop in the university campus can easily open. There will be no problem regarding opening the shop. When any vendor want to open the shop in the campus, he will come to this department where they will register. They will give all the details of their shop and about them. After that the owner will give them permission to open the shop at the given place there is one admin who will manage all heads of the portal.

Purpose to overcome these problems: An entrepreneur is a person who deals with vendors who are working and who wants to work. It provides many facilities like: All vendors can come with their problem under one roof. Ease of access for them. Providing entrepreneurship facility. Facility for registration for the vendor.

Various operational works that are done in a portal are: Recording information about the vendors that come. Generating bills. Recording information related to access/facility given to Vendors. Keeping record of the all the things provided to Vendors. All this work is done manually by the receptionist and other operational staff and lot of papers are needed to be handled and taken care of Heads have to remember various things available for vendors and sometimes miss better alternatives as they cant remember them at that time. These are the various jobs that need to be done in an ENTREPRENEURSHIP portal by the operational staff and Heads. All these works are done on papers. Information about vendor is done by just writing the Vendors name, age and gender. Whenever the Vendor comes up his information is stored freshly. Bills are generated by recording price for each facility provided to Vendors on a separate sheet and at last they all are summed up. Problem information to Vendor is generally recorded on the document, which contains Vendor information. It is destroyed after some time period to decrease the paper load in the office.

CAP328

Page 6

ENTREPRENEURSHIP PORTAL
Objectives and aims are: Planned approach towards working: o The working in the organization will be well planned and organized. The data will be stored properly in data stores, which will help in retrieval of information as well as its storage. Accuracy: o The level of accuracy in the proposed system will be higher. o All operation would be done correctly and it ensures that whatever information is coming from the center is accurate.

Reliability: o The reliability of the proposed system will be high due to the above stated reasons. The reason for the increased reliability of the system is that now there would be proper storage of information. No Redundancy: In the proposed system utmost care would be that no information is repeated anywhere, in storage or otherwise. This would assure economic use of storage space and consistency in the data stored. Immediate retrieval of information: The main objective of proposed system is to provide for a quick and efficient retrieval of information. Any type of information would be available whenever the user requires. Immediate storage of information: In manual system there are many problems to store the largest amount of information. Easy to Operate: The system should be easy to operate and should be such that it can be developed within a short period of time and fit in the limited budget of the user.

CAP328

Page 7

ENTREPRENEURSHIP PORTAL
SYSTEM ANALYSIS
Project is related to Entrepreneurship portal. The project maintains two levels of users: Administrator Level User Level-Data Entry Operator

Main facilities available in this project are: Maintaining records of indoor/outdoor vendors. Maintaining vendors records. Providing billing details for indoor/outdoor vendors. Maintaining backup of data as per user requirements (between mentioned dates).

In this project collection of data is from vendors entry, bills will be automatically updated in the database. Vendors details report, billing reports can be generated as per user requirements. User or Administrator can search a vendors record by his/her name.

CAP328

Page 8

ENTREPRENEURSHIP PORTAL
IDENTIFICATION OF NEED
Existing System: The existing system is the manual system. The manual system is error

prone. It is time consuming. It is very difficult for a person to gather and manage report manually of distributor and their sales information. There are chances for manipulating the sales reports and changing it. Its also easily possible that hacked the distributor information sales and used by other competitive company. This system involves a lot of manual entries with the applications to perform the desired task.

Limitations: Data maintenance adopted by the present system is not accurate. Inaccurate result in case of duplicating, delay and inconsistency in reporting. Generating consolidated reports is more difficult in manual system and it may not be consistent. The transactions are very time consuming. There is no facility for the users to know whether the data is entered is valid or not. This disadvantage is the major cause of errors in transaction. There is inconsistency in maintaining datas. No global view ability of datas. No chance of knowing other members sales daily. It is not user friendly.

CAP328

Page 9

ENTREPRENEURSHIP PORTAL
Proposed System:
The proposed system is designed to eliminate the drawbacks of the existing system. It is designed by keeping in mind all the drawbacks of the present system in order to provide a permanent solution to the problems. The primary aim of the new system is to speedup transactions. The report is prepared for the sales done by the representative and the distributor.

The representative code and distributor code are validated. Accuracy for all the data entered is maintained in the proposed system through validation and verification from all the files. Verification of representative code, distributor code, validation of records, etc., are performed with maximum accuracy. efficiency is established. The advantages of this system are In short,

User friendliness is the keyword for all the new software in the market. The proposed system incorporates this concept into itself to guide the sales manager. At every stage of data entry necessary comments and validation messages are provided to the user. The proposed system is also expected to reduce the amount of paper work involved. The hard copies of only necessary documents need to be taken the rest can be avoided. Competitive environment is developed with the publications of other members of same level. Good communication is being held via mail options. Datas are maintained accurately via daily submission of sales details.

CAP328

Page 10

ENTREPRENEURSHIP PORTAL
Feasibility Study

Feasibility study is the measure of how beneficial, the development of information system would be to an organization, and it is mainly conducted. This is the system that proposed benefit fit to end user like sales manager. Its the best alternative for cost customization and benefit by reducing paper cost and labour. To recommend the best of alternatives. When we talk about feasibility study we concentrate our attention on four primary areas of interest: Form a project team. Prepare system flow work control. Enumerate potential proposed system. Define and identify characteristics of distributor. Determine and evaluate performance and cost effective of each information of distributor and their sales report. Weight system performance and cost data. Select the best-proposed system. Prepare and report final project directive to management. Distributor Information System

CAP328

Page 11

ENTREPRENEURSHIP PORTAL
Economic Feasibility
o Economic feasibility means an evaluation of development cost weighed against the ultimate income or benefit from the developed system. The benefits of the system to users outweigh the costs incurred during the system development. In addition, flexibility of the system to incorporate further enhancements improves the performance to suit the future needs of the user. It will estimate that its development cost around Rs 24000.

CAP328

Page 12

ENTREPRENEURSHIP PORTAL
Technical Feasibility
Technical study of resource availability that may affect the ability to achieve an acceptable system. This evaluation determines whether the technology needed for the proposed system is available or not. work for the project be done with current equipment existing software technology & available personal software with regular updates . Can the system be upgraded if developed?new technology is needed then it can be compatible with them This is concerned with specifying equipment and software that will successfully satisfy the user requirement. The technical needs of the system may include:

Front-end and back-end selection


An important issue for the development of a project is the selection of suitable front-end and back-end. When we decided to develop the project we went through an extensive study to determine the most suitable platform that suits the needs of the organization as well as helps in development of the project. The aspects of our study included the following factors. Front-end selection: It must have a graphical user interface that assists employees that are not from IT background. Scalability and extensibility. Flexibility. Robustness. According to the organization requirement and the culture. Must provide excellent reporting features with good printing support. Platform independent. Easy to debug and maintain. Event driven programming facility. Front end must support some popular back end like sql . According to the above stated features we selected php as the frontend for Developing our project. Distributor Information providing System

CAP328

Page 13

ENTREPRENEURSHIP PORTAL Back-end Selection:


Multiple user support. Efficient data handling. Provide inherent features for security. Efficient data retrieval and maintenance. Stored procedures. Popularity. Operating System compatible. Easy to install. Various drivers must be available. Easy to implant with the Front-end. According to above stated features we selected as the backend. The technical feasibility is frequently the most difficult area encountered at this stage. It is essential that the process of analysis and definition be conducted in parallel with an assessment to technical feasibility.

CAP328

Page 14

ENTREPRENEURSHIP PORTAL
Operational Feasibility
It is mainly related to human organizations and political aspects. The points to be considered are: We brought changes with the existing system and make all the paper and manual work by providing distributor information by online and computer services. Organization structures are disturbed into different department like sales, distributor, finance, marketing etc. we mainly focus on distributor information. The new skills will be required like website development by using php and html my sql We also concern about Do the existing staff members have these Skills? If not, they will be trained on time. The system is operationally feasible as it very easy for the End users to operate it. It only needs basic information about Windows platform.

CAP328

Page 15

ENTREPRENEURSHIP PORTAL

Data Flow Diagram (DFD)

Overview
Data flow diagram (DFD) represents the flows of data between different processes in a business. It is a graphical technique that depicts information flow and the transforms that are applied as data move form input to output. It provides a simple, intuitive method for describing business processes without focusing on the details of computer systems. DFDs are attractive technique because they provide what users do rather than what computers do.

Representation of Components of DFDs only involve four symbols. They are:


Process

Data Store

External entity Process

Transform of incoming data flow(s) to outgoing flow(s). Data Flow

Movement of data in the system. Data Store

Data repositories for data that is not moving. It may be as simple as a buffer or a queue or an s sophisticated as a relational database. External Entity

Sources of destinations outside the specified system boundary.


CAP328 Page 16

ENTREPRENEURSHIP PORTAL
Relationship
The DFD may be used for any level of data abstraction. DFD can be partitioned into levels. Each level has more information flow and data functional details than the previous level. Highest level is Context Diagram. Some important points are: 1 bubble (process) represents the entire system. Data arrows show input and output. Data Stores NOT shown. They are within the system.

Diagram above is an example of Context Level DFD

Customer

Website

Administrative

Update customer Info

Next Level is Level 0 DFD. Some important points are: Level 0 DFD must balance with the context diagram it describes. Input going into a process is different from outputs leaving the process. Data stores are first shown at this level.

Next level is Level 1 DFD. Some important points are:


CAP328

Level 1 DFD must balance with the Level 0 it describes. Input going into a process is different from outputs leaving the process. Continue to show data stores
Page 17

ENTREPRENEURSHIP PORTAL

Read content

Website
Show result

Customer

Save content

Practice

Work space

DFD level 2

Modify data

Administrative

Website
Delete content Update content

CAP328

Page 18

ENTREPRENEURSHIP PORTAL

Strengths
DFDs have diagrams that are easy to understand, check and change data. DFDs help tremendously in depicting information about how an organization operations. They give a very clear and simple look at the organization of the interfaces between an application and the people or other applications that use it.

Weaknesses
Modification to a data layout in DFDs may cause the entire layout to be changed. This is because the specific changed data will bring different data to units that it accesses. Therefore, evaluation of the possible of the effect of the modification must be considered first. The number of units in a DFD in a large application is high. Therefore, maintenance is harder, more costly and error prone. This is because the ability to access the data is passed explicitly from one component to the other. This is why changes are impractical to be made on DFDs especially in large system.

Tools Related to DFD


Data Flow Diagram Tool (DFDT) is one of Integrated Software Software Development System (ISDS) that enforces Software Engineering Principles. DFDT is set to be the second most important tool after Project Management Tool (PMT) in ISDS. DFDT contains processes, data flows, external entities and data store. In order to design a consistent DFD, there are some rules that need to be followed in DFDT. In Context Diagram, the process could be considered as the project itself. In Level 0 of DFD, the processes could be considered as the module(s) in the system. In Level 1 of DFD, the processes could be considered as the sub-module(s) of function(s) of the project or module. Level 2 or so on, similar to Level 1.

CAP328

Page 19

ENTREPRENEURSHIP PORTAL
System requirement

RAM HARDDISK KEYBOARD MOUSE COMPACT DISK DISPLAY TYPE SERIAL PORTS PARALLEL PORTS CACHE MEMORY BASE MEMORY EXTENDED MEMORY Operating System Database

: 1GB : 20GB : 108 : LOGITECH : 750 MB : EGA/VGA : 2F8/3F8 : 32 (if need) : 1MB : 3MB : 31744 MB : Window 7, Win-XP, Linux, Sql, Php.

CAP328

Page 20

ENTREPRENEURSHIP PORTAL
SCREEN SHOTS Login Screen

<!DOCTYPE html> <html lang="en"> <head> <?php //Start session session_start(); //Unset the variables stored in session unset($_SESSION['SESS_MEMBER_ID']); unset($_SESSION['SESS_FIRST_NAME']); unset($_SESSION['SESS_LAST_NAME']); ?> <meta charset="utf-8">

CAP328

Page 21

ENTREPRENEURSHIP PORTAL
<title>"EnterpenureshipPoral: Login</title> <link rel='stylesheet' href='css/master.css'> </head> <body bgcolor="#00CCFF"> <div id="pageContainer"> <!-- Tabs --> <ul id="tabs" class="clearfix"> <li class="inactiveTab" id="signUpTab"><span class="activeTabArrow"><!-- --></span> </li> </ul> <!-- Sign In Tab Content --> <div id="signIn" class="toggleTab"> <?php if( isset($_SESSION['ERRMSG_ARR']) &&is_array($_SESSION['ERRMSG_ARR']) && count($_SESSION['ERRMSG_ARR']) >0 ) { echo '<ul class="err">'; foreach($_SESSION['ERRMSG_ARR'] as $msg) { echo '<li>',$msg,'</li>'; } echo '</ul>'; unset($_SESSION['ERRMSG_ARR']); } ?> <form action="login_exec.php" name=loginform method="POST" class="cleanForm"> <fieldset>

CAP328

Page 22

ENTREPRENEURSHIP PORTAL

<p> <label for="login-username">Your Username:</label> <input type="text" id="login-username" name="username" value="" autofocus required /> </p> <p> <label for="login-password">Your Password:</label> <input type="password" id="login-password" name="password" value="" required /> </p> <input name="" type="submit" value="login" /> </fieldset> </form> </div><!-- end signIn --> </form> <!-- Sidebar --> </div><!-- end signUp --> </div><!-- end pageContainer --> <!-- Include the JS files --> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js"></script> <scriptsrc="js/h5f.js"></script> <scriptsrc="js/functions.js"></script> </body> </html>

CAP328

Page 23

ENTREPRENEURSHIP PORTAL Home

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <?php require_once('auth.php'); ?> <title>Enterpenureship Portal:Home</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="asubtlebeige.css" /> <style type="text/css"> <!-body { background-color: #000000; } --> </style></head>
CAP328 Page 24

ENTREPRENEURSHIP PORTAL
<body> <div id="page"> <div id="header"> <div class="title">Enterpenureship Portal</div> </div> <div id="bar"> <div class="menuLink"><a href="index.php">Home</a></div> <div class="menuLink"><a href="reg.php">Register New</a></div> <div class="menuLink"><a href="search.php">Search</a></div> <div class="menuLink"><a href="logout.php">Logout</a></div> </div> <div id="pageContent"> <div class="articleTitle">Welcome</div> <div class="articleContent"> <img src=" <?php echo $_SESSION['SESS_ProPIC']; ?> "/> <?php echo "<h3>". $_SESSION['SESS_FIRST_NAME'] ."&nbsp;" . $_SESSION['SESS_LAST_NAME']."</h3>"; ?> <?php echo "<p> ". $_SESSION['SESS_CONTACT']."</p>"; ?>

<div class="rightLinks"> </div> </div> </div> <div id="footer"><a href="http://www.aszx.net">web development</a> by Mohit Sinha And Deepak Rawat</div> </body> </html>
CAP328 Page 25

ENTREPRENEURSHIP PORTAL

Registration Form

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>:Enterpenureship Portal: Home</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="asubtlebeige.css" /> <style type="text/css"> <!-body { background-color: #000000; } --> </style> <script type='text/javascript'>
CAP328 Page 26

ENTREPRENEURSHIP PORTAL
function onlyalphabate(element, AlertMessage){ var regexp = /^[a-zA-Z]+$/; if(element.value.match(regexp)) { return true; }else{ alert(AlertMessage); element.focus(); return false; } } </script> <script> function allnumeric(inputtxt) { var numbers = /^[0-9]+$/; if(inputtxt.value.match(numbers)) { document.form1.text1.focus(); return true; } else { alert('Please input numeric characters only'); document.form1.text1.focus(); return false; }
CAP328 Page 27

ENTREPRENEURSHIP PORTAL
} </script> </head> <?php require_once('auth.php'); ?> <body> <div id="page"> <div id="header"> <div class="title">EnterPenureship Portal</div> </div> <div id="bar"> <div class="menuLink"><a href="home.php">Home</a></div> <div class="menuLink"><a href="reg.php">Register New </a></div> <div class="menuLink"><a href="confirm.php">Confirm</a></div> <div class="menuLink"><a href="search.php">Search</a></div> <div class="menuLink"><a href="logout.php">Logout</a></div> </div> <div id="pageContent"> <div class="articleContent"> <p>&nbsp;</p> <p>WELCOME <?php echo "<h3>". $_SESSION['SESS_FIRST_NAME'] ."&nbsp;" . $_SESSION['SESS_LAST_NAME']."</h3>"; ?> </p> <h2> Enter The Details Of New Vendor </h2>
CAP328 Page 28

ENTREPRENEURSHIP PORTAL
<form method="post" action="temp.php" name=temp> <table width="200" border="0"> <tr> <td>Name</td> <td><input type=text name=v_name id=v_name onchange="onlyalphabate(document.getElementById('v_name'), 'Please Enter letters only.')" value='' /></td> </tr> <tr> <td>Address</td> <td><textarea rows="4" cols="50" name=v_add id=v_add ></textarea></td> </tr> <tr> <td>Type Of Enterpenure </td> <td><select name=v_type> <option value="Book Stall">Book Stall</option> <option value="Fast Food">Fast Food</option> <option value="Ice Cream">Ice-Cream Parlour</option> <option value="Recharge Shop">Recharge Shop</option> <option value="Laptop Stall">Laptop Stall</option> <option value="Cafe">Cafe</option> <option value="Bakery">Bakery</option> <option value="Confectionary">Confectionery</option> <option value="Departmental">Departmental</option> <option value="Gifts">Gifts</option> </select></td> </tr> <tr><td>Shop Name</td>
CAP328 Page 29

ENTREPRENEURSHIP PORTAL
<td><input type=text name=spname id=spname onchange="onlyalphabate(document.getElementById('spname'), 'Please Enter letters only.')" value=''/></td> </tr> <tr><td>Space Required</td> <td><input type=text name=space onchange="allnumeric(document.temp.space)" /><sub>In Sq Fts</sub></td> </tr> <tr> <td>Location</td> <td><select name=v_loc> <option value="LIT">LIT</option> <option value="LIM">LIM</option> <option value="BH2">BH 2</option> <option value="Block 20">Block 20 </option> <option value="Block 27">Block 27</option> <option value="Block 29">Block 29</option> <option value="Block 57">Block 57</option> <option value="BH1">BH 1</option> </select> </td> </tr> <tr> <td></td> <td><input type=submit value=submit name=submit /></td> </tr> </table> </div>
CAP328 Page 30

ENTREPRENEURSHIP PORTAL
</div> </div> <div id="footer"><a>web development by Mohit Sinha and Deepak Rawat</a></div> </body> </html>

CAP328

Page 31

ENTREPRENEURSHIP PORTAL
Confirmation Page

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>:Enterpenureship Portal: Home</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="asubtlebeige.css" /> <style type="text/css"> <!-body { background-color: #000000; } --> </style> <script type='text/javascript'> function onlyalphabate(element, AlertMessage){ var regexp = /^[a-zA-Z]+$/;
CAP328 Page 32

ENTREPRENEURSHIP PORTAL
if(element.value.match(regexp)) { return true; }else{ alert(AlertMessage); element.focus(); return false; } } </script> </head> <?php require_once('auth.php'); require_once('connection.php'); ?> <body> <div id="page"> <div id="header"> <div class="title">EnterPenureship Portal</div> </div> <div id="bar"> <div class="menuLink"><a href="home.php">Home</a></div> <div class="menuLink"><a href="reg.php">Register New </a></div> <div class="menuLink"><a href="confirm.php">Confirm</a></div> <div class="menuLink"><a href="search.php">Search</a></div> <div class="menuLink"><a href="logout.php">Logout</a></div> </div>
CAP328 Page 33

ENTREPRENEURSHIP PORTAL
<div id="pageContent"> <div class="articleContent"> <p>&nbsp;</p> <p>WELCOME <?php echo "<h3>". $_SESSION['SESS_FIRST_NAME'] ."&nbsp;" . $_SESSION['SESS_LAST_NAME']."</h3>"; ?> <table border=0> <form action=cnf.php method=post> <tr><td>Enter The Name To Confirm Vendor</td> <td><input type=text name=c_name /></td></tr> <tr> <td></td> <td><input type=submit name=submit /></td></tr> </form> </table> </div> </div> </div> </body> </html>

CAP328

Page 34

ENTREPRENEURSHIP PORTAL
Search

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>:Enterpenureship Portal: Home</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="asubtlebeige.css" /> <style type="text/css"> <!-body { background-color: #000000; } --> </style> <script type='text/javascript'> function onlyalphabate(element, AlertMessage){ var regexp = /^[a-zA-Z]+$/;
CAP328 Page 35

ENTREPRENEURSHIP PORTAL
if(element.value.match(regexp)) { return true; }else{ alert(AlertMessage); element.focus(); return false; } } </script> </head> <?php require_once('auth.php'); ?> <body> <div id="page"> <div id="header"> <div class="title">EnterPenureship Portal</div> </div> <div id="bar"> <div class="menuLink"><a href="home.php">Home</a></div> <div class="menuLink"><a href="reg.php">Register New </a></div> <div class="menuLink"><a href="search.php">Search</a></div> <div class="menuLink"><a href="logout.php">Logout</a></div> </div> <div id="pageContent"> <div class="articleContent">
CAP328 Page 36

ENTREPRENEURSHIP PORTAL
<p>&nbsp;</p> <p>WELCOME <?php echo "<h3>". $_SESSION['SESS_FIRST_NAME'] ."&nbsp;" . $_SESSION['SESS_LAST_NAME']."</h3>"; ?> </p> <h2> Search Vendor </h2> <form action="look.php" method=post name=search> <table border=0 > <tr> <td>Enter Vendor Name</td> <td><input type=text name=search id=search onchange="onlyalphabate(document.getElementById('search'), 'Please Enter letters only.')" value='' /></td> </tr> <tr><td> </td><td><input type=submit name=submit /></td></tr></table> </form> </div> </div> </div> </body> </html>

CAP328

Page 37

ENTREPRENEURSHIP PORTAL

Checking confirmation/details of Vendors

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>:Enterpenureship Portal: Home</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="asubtlebeige.css" /> <style type="text/css"> <!-body { background-color: #000000; } --> </style> <script type='text/javascript'>
CAP328 Page 38

ENTREPRENEURSHIP PORTAL
function onlyalphabate(element, AlertMessage){ var regexp = /^[a-zA-Z]+$/; if(element.value.match(regexp)) { return true; }else{ alert(AlertMessage); element.focus(); return false; } } </script> </head> <?php require_once('auth.php'); ?> <body> <div id="page"> <div id="header"> <div class="title">EnterPenureship Portal</div> </div> <div id="bar"> <div class="menuLink"><a href="home.php">Home</a></div> <div class="menuLink"><a href="reg.php">Register New </a></div> <div class="menuLink"><a href="confirm.php">Confirm</a></div> <div class="menuLink"><a href="search.php">Search</a></div> <div class="menuLink"><a href="logout.php">Logout</a></div>
CAP328 Page 39

ENTREPRENEURSHIP PORTAL
</div> <div id="pageContent"> <div class="articleContent"> <p>&nbsp;</p> <p>WELCOME <?php echo "<h3>". $_SESSION['SESS_FIRST_NAME'] ."&nbsp;" . $_SESSION['SESS_LAST_NAME']."</h3>"; ?> <?php $username = $_POST['search']; echo "<table border=1 cellpadding=2 cellspacing=5> <tr> <th>Name</th> <th>Address</th> <th>Type</th> <th>Shop Name</th> <th>Space<sub>In Sq Feet</sub></th> <th>Location</th> </tr>"; $con=mysqli_connect("localhost","root","","login"); $result = mysqli_query($con,"SELECT * FROM v_temp where v_name='$username'"); while($row = mysqli_fetch_array($result)) { echo "<td>" . $row['v_name'] . "</td>"; echo "<td>" . $row['v_add'] . "</td>"; echo "<td>" . $row['v_type'] . "</td>"; echo "<td>" . $row['v_spname'] . "</td>";
CAP328 Page 40

ENTREPRENEURSHIP PORTAL
echo "<td>" . $row['area'] . "</td>"; echo "<td>" . $row['v_loc'] . "</td>"; echo "<td>" . $row['rent'] . "</td>"; echo "<td>" . $row['idtype'] . "</td>"; echo "<td>" . $row['iddetail'] . "</td>"; echo "</tr>"; } echo "</table>"; mysqli_close($con); ?> </p> </div> </div> </div> </body> </html>

CAP328

Page 41

ENTREPRENEURSHIP PORTAL
Looking for the vendors

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>:Enterpenureship Portal: Home</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="asubtlebeige.css" /> <style type="text/css"> <!-body { background-color: #000000; } --> </style> <script type='text/javascript'> function onlyalphabate(element, AlertMessage){
CAP328 Page 42

ENTREPRENEURSHIP PORTAL
varregexp = /^[a-zA-Z]+$/; if(element.value.match(regexp)) { return true; }else{ alert(AlertMessage); element.focus(); return false; } } </script> </head> <?php require_once('auth.php'); ?> <body> <div id="page"> <div id="header"> <div class="title">EnterPenureship Portal</div> </div> <div id="bar"> <div class="menuLink"><a href="home.php">Home</a></div> <div class="menuLink"><a href="reg.php">Register New </a></div> <div class="menuLink"><a href="confirm.php">Confirm</a></div> <div class="menuLink"><a href="search.php">Search</a></div> <div class="menuLink"><a href="logout.php">Logout</a></div> </div>
CAP328 Page 43

ENTREPRENEURSHIP PORTAL
<div id="pageContent"> <div class="articleContent"> <p>&nbsp;</p> <p>WELCOME <?php echo "<h3>". $_SESSION['SESS_FIRST_NAME'] ."&nbsp;" . $_SESSION['SESS_LAST_NAME']."</h3>"; ?> <?php $username = $_POST['search']; echo "<table border=1 cellpadding=2 cellspacing=5> <tr> <th>Name</th> <th>Address</th> <th>Type</th> <th>Shop Name</th> <th>Space<sub>In Sq Feet</sub></th> <th>Location</th> <th>Rent</th> <th>ID Type</th> <th>ID Detail</th> </tr>"; $con=mysqli_connect("localhost","root","","login"); $result = mysqli_query($con,"SELECT * FROM v_temp where v_name='$username'"); while($row = mysqli_fetch_array($result)) { echo "<td>" . $row['v_name'] . "</td>"; echo "<td>" . $row['v_add'] . "</td>";
CAP328 Page 44

ENTREPRENEURSHIP PORTAL
echo "<td>" . $row['v_type'] . "</td>"; echo "<td>" . $row['v_spname'] . "</td>"; echo "<td>" . $row['area'] . "</td>"; echo "<td>" . $row['v_loc'] . "</td>"; echo "<td>" . $row['rent'] . "</td>"; echo "<td>" . $row['idtype'] . "</td>"; echo "<td>" . $row['iddetail'] . "</td>"; echo "</tr>"; } echo "</table>"; mysqli_close($con); ?> </p> </div> </div> </div> </body> </html>

CAP328

Page 45

ENTREPRENEURSHIP PORTAL
Admin Panel

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <?php require_once('auth.php'); ?> <title>Enterpenureship Portal:Home</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="asubtlebeige.css" /> <style type="text/css"> <!-body { background-color: #000000;
CAP328 Page 46

ENTREPRENEURSHIP PORTAL
} --> </style></head> <body> <div id="page"> <div id="header"> <div class="title">Enterpenureship Portal</div> </div> <div id="bar"> <div class="menuLink"><a href="admin.php">Home</a></div> <div class="menuLink"><a href="reguser.php">Register New</a></div> <div class="menuLink"><a href="searchuser.php">Search</a></div> <div class="menuLink"><a href="logout.php">Logout</a></div> </div> <div id="pageContent"> <div class="articleTitle">Welcome</div> <div class="articleContent"> <img src=" <?php echo $_SESSION['SESS_ProPIC']; ?> "/> <?php echo "<h3>". $_SESSION['SESS_FIRST_NAME'] ."&nbsp;" . $_SESSION['SESS_LAST_NAME']."</h3>"; ?> <?php echo "<p> ". $_SESSION['SESS_CONTACT']."</p>"; ?>

<?php echo "<table border=0 cellpadding=2 cellspacing=5> <tr> <th>UserType</th> <th>Username</th>


CAP328 Page 47

ENTREPRENEURSHIP PORTAL
<th>FirstName</th> <th>LastName</th> <th>Address</th> <th>Contact</th> <th>Gender</th> <th>Remove</th> </tr> <form action=remove.php method=post>"; $con=mysqli_connect("localhost","root","","login"); $result = mysqli_query($con,"SELECT * FROM member "); while($row = mysqli_fetch_array($result)) { echo "<td>" . $row['type'] . "</td>"; echo "<td>" . $row['username'] . "</td>"; echo "<td>" . $row['fname'] . "</td>"; echo "<td>" . $row['lname'] . "</td>"; echo "<td>" . $row['address'] . "</td>"; echo "<td>" . $row['contact'] . "</td>"; echo "<td>" . $row['gender'] . "</td>"; echo "<td><input style=inline type=radio name=ids[] value='".$row['mem_id']."' /></td>"; echo "</tr>"; } echo " <tr><td><center><input type=submit /></center></td></tr></table>"; mysqli_close($con); ?>
CAP328 Page 48

name=submit value=submit

ENTREPRENEURSHIP PORTAL
<div class="rightLinks"> </div> </div> </div> <div id="footer"><a href="http://www.aszx.net">web development</a> by Mohit Sinha And Deepak Rawat</div> </body> </html>

CAP328

Page 49

ENTREPRENEURSHIP PORTAL

Logout

<?php session_start(); session_destroy(); include("index.php"); ?>

CAP328

Page 50

ENTREPRENEURSHIP PORTAL

Testing
T.C ID PRE-CONDITION T.C DESCRIPTION T.C DATA EXPECTED ACTUAL RESU LT

USERNAME

Check the functionality of username field

Will accept onlycharactres of any size.

Ok

Pass

amar.kr@hotmail.com

PASSWORD

Check the functionality of password field

avi.cheema@yahoo.co.i n

Will accept only charactres of any size

Ok

Pass

NAME

Check the functionality of Name field

Will accept only characters.

Ok

Pass

Simar.jeet@gmail.com

ADDRESS

Check the functionality of address field

We will accept characters & numeric value

Ok

Pass

sinhamohit@gmail.com
Check the functionality of space required field

SPACE REQUIRED

Will accept only numeric value.

Ok

Pass

ramsingh@gmail.com Prakhar.bhar@yahoo.c om
Will accept only characters name are required.

SEARCH

Check the functionality of search option

Ok

Pass

CAP328

Page 51

ENTREPRENEURSHIP PORTAL

Pert Chart Login(Module) Task 1 5 Days 10/Feb./2013 14/Feb./2013

(Home Page) Task 2 8 Days

15/Feb./2013 22/Feb./2013

Registration Form Task 3 7 Days 23/Feb./2013 1/March/2013

Confirmation Page Task 4 12 Days 02/Mar./2013 13/March/2013

Search Task 5 12 Days

14/March/2013 25/March/2013

Looking Vendor & Logout Confirmation Detail Task 6 26/March/2013 10 Days 04/April/2013 Admin Panel Task 8 15/April/2013 07 Days 21/April/2013 Task 7 5/April/2013 11 Days 15/April/2013

Finish Task 9 21/April/2013 5 Days 25/April/2013

CAP328

Page 52

ENTREPRENEURSHIP PORTAL

Modules: Username based Login system Registration of new Vendor Searching Admin Panel User management User Creation/Searching

CAP328

Page 53

ENTREPRENEURSHIP PORTAL

Future scope of the project


Concept of Entrepreneurship It has assumed super importance for accelerating economic growth both in developed and developing universities. It promotes capital formation and creates wealth in university. It will help in managing the different vendors in the university and manage their rent accordingly which will replace the current manual system and making the whole system online. The portal will not only be used to manage the vendors but portal can also be used to manage the clients of the system which makes the system as a multiuser system. The easy management of vendors will increase the total capital of the university. Further this project can be used to manage the vendors of the whole university according to their location in the university and their type. The different vendors can be searched just with a click. The information on the system is completely secure as it follows the login system and is secured with SQL-Injection

CAP328

Page 54

ENTREPRENEURSHIP PORTAL

REFFERNCES: www.w3schools.com/sql/default.asp www.w3schools.com/php/ www.w3schools.com/html www.w3schools.com/css www.net.tutplus.com www.php.net/manual/en/tutorial.php www.Phpacademy.org (tools) www.adobe.com/dreamweaver (tools)

CAP328

Page 55

ENTREPRENEURSHIP PORTAL

Discipline: ________________

PROJECT TOPIC APPROVAL PERFORMA GROUP NO.______________ COURSE CODE:-____________

SR.NO.

NAME OF STUDENT

REGISTRATION NO.

BATCH

SESSION

PARENT SECTION

CURRENT SECTION

ROLL NO.

1 2 3 4 5 Details of Supervisor: Designation: Name.... U.ID.. Qualification: .. Research Experience: .

PROPOSED TOPICS 1. 2. 3. Signature of Supervisor *Guide should finally encircle one topic out of three proposed topics and put up for approval before Project Approval Committee (PAC) *Original copy of this format after PAC approval will be retained by the student and must be attached in the Project/Dissertation synopsis and final report. *One copy to be submitted to Supervisor. APPROVAL OF PACCHAIRPERSON: Signature:

CAP328

Page 56

You might also like