Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 96

PROJECT REPORT

on
MATRIMONIAL SITE

CLASS: TE DIV- 1
DEPARTMENT OF COMPUTER ENGINEERING

SUBMITTED BY:
PRANALI KELAPURE (34)

SAYALI MAHAJAN (43)

APARNA KULJARNI (38)

SKNCOE Page 1
Table of Contents

Table of contents ………………………………………………………………2

1) Introduction ……………….……………………………………………….4

1.1) Purpose ..……………………………………………………………….4

1.2) Scope ………………………………….………………………….……4

1.3) References ………………………….…………………………….……5

2) Overall Description .………………….……………………………………5

2.1) Product Perspective ……………….…………………………………..5

2.2) Functional Requirements ………….…………………………………..5

Login Use Case for all Users

2.2.1)Use Case:Login ………….……………………………………6

2.2.2)Use Case: Registration ……………..………………………..7

2.2.3)Use Case: Viewing Match-List …………..…………………..8

2.2.4)Use Case: Renew Registration ……………………….……..9

2.2.5)Use Case: Assign password and user id ………….……….10

2.2.6)Use Case: Create Report ……………………………...….10

2.2.7) Use Case: View Report ……………………………….….11

2.3) User Interface Specification ……………………………….…….11

2.4) Non-Functional Requirements ……………………………….……12

2.5) Assumptions and Dependencies ……………………………….……...13

3) Requirement Specifications ………………………………..……..13

3.1) File Format (Tables) ……………………………………….…….13

SKNCOE Page 2
1. Introduction

The internet has a lot of online dating and matrimonial sites from which you can expect
to find a prospective bride or groom for yourself. Most of these sites are genuine and charge a
little from you in turn for the services they provide you with. Further, most of these sites have a
huge collection of profiles from both the sexes. So you will not have trouble in finding your soul
mate from among these profiles. Matrimonial sites require you to submit a profile for yourself. In
order to get your match online you need to make a profile and post it on the site.

1.1 Purpose
Earlier it was mostly the parents, grandparents, relatives, advisors or the local
matrimonial channels that use to search for the right match for their children. But, the search
therefore was within and limited to their areas such as religion, caste, community, location, etc.
Even if the matrimonial advertisement is given in the newspaper, the voice is still restricted to
the territory where that newspaper is circulated. Thus many problems are faced by a customer
including the time needed , due to distance factor and also the customer had to go to the local
matrimonial offices and then would also have to wait in queue.

This was very much overcomed by the online matrimonial system. The online
matrimonial site provides a platform for connecting people from worldwide. These sites provide
choices in all areas and one gets an unlimited access to different types of profiles from different
religions, cities, states and countries, Creating an online matrimonial profile plays an important
role in carving relationships and is now one of the most trustworthy sources of matrimony.

1.2 Scope

The matrimonial website is basically a platform where people can register themselves by
creating a profile and easily find their life partners. This site contains huge database of users,
through which the match lists will be provided to individual users , that means , you can select

SKNCOE Page 3
from the wide variety of matrimonial profiles and not just the people you know. You can literally
shortlist the suitable matches based on education, religion, caste, salary, location, hobbies,
personality and even looks. Similarly you can post your profile and let others contact you in the
same way. You can even include or exclude people with special circumstances like people with
disabilities, divorce or widow. As there are millions of profiles online, the biggest advantage of
finding a match online is undoubtedly "The Choice". For this, the database will be handled with
the help of various operations like insertion, deletion, modification etc.

1.3 References :

2. OVERALL DESCRIPTION:

2.1 Product perspective :


The online matrimonial system has three active actors for one cooperating system. The
Administrator, operator and user can access the portal through the Internet. Any mutual
communication between the actors and the system is through email. The Administrator accesses
the entire system directly. User can become a member by online registration. He can create,
delete or modify his profile and also access other information in the database upto some extent
that is only upto 10 profiles from the database. Operator can also insert, delete and modify
database and will be able to access partial database only. Administrator will have access to entire
database.

2.2 Functional Requirements :


The functional requirements include secure registration, login and profile management
facilities for the Site Users. Users can browse and find their matches through the website. The
Administrator has to approve the operator before he can send the secure information of another
member. The Administrator also has the right to delete any account of registered member. The
Operator will be able to provide status update and renew the account of account holders. The
Database is maintained for all the operations for all the user accounts and is updated constantly

SKNCOE Page 4
according to the changes made.

Use cases:

2.2.1 Login :
Diagram :

Login

Admin/Operator /
User

Use Case Name Login

Trigger The Reader assesses the Online Matrimonial Website

Priority Essential

Precondition The user must be a registered member.

Basic Path 1. User chooses the option for login from the home page.
2. When login window is displayed he should enter the valid user name
and password.
3. Access his account.
Alternative path N/A

Post condition Valid User.

Exception 1. Wrong password: user will have to re-enter the password.


2. Wrong username: user will have to re-enter the username.
3. Wrong password and username: user will have to re-enter the
password and username.

SKNCOE Page 5
2.2.2 Registration :
Diagram :

Registration

User

Use Case Name Registration

Trigger The Reader assesses the Online Matrimonial Website

Priority High

Precondition The Website home page should be displayed

Basic Path 1. A form for Registration is displayed.


2. User should enter the valid data in specified areas.
3. Confirms registration.
4. The system displays the message of confirmation and user receives a
mail.
5. The user can access his account or return to home page.
Alternative path The registration form can be filled from operators end also which will help
the user to create the account on the Website.

Post condition The user will get a confirmation mail and become a permanent member.

Exception 1. Incomplete information: user will have to fill all mandatory fields
specified.

SKNCOE Page 6
2.2.3 Viewing match-list:
Diagram :

Viewing match list

User

Use Case Name Viewing match-list.

Trigger The user has logged in successfully.

Priority Essential

Precondition The user must be a registered member and has given priorities for the
search.

Basic Path 1. User chooses the option for viewing the match-list.
2. Priority for assembling the list is selected for example education.
2. Accordingly the match-list of members having specified education is
displayed.
3. User will choose a match from the list.
4. If interested, sends request to operator for further details.
Alternative path N/A

Post condition He will either search for another match or if interested, he will get
information requested.
Exception If the registration is not renewed.

SKNCOE Page 7
2.2.4 Renew Registration:
Diagram:

Renew Registration

User

Use case name Renew Registration


Priority Essential
Precondition User must be logged in.
Basic path 1. User checks his status.
2. He chooses to renew the registration.
3. User then selects the mode of payment.
4. Provide card details and PIN no.
5. Make payment.
6. The balance status gets updated.
Alternative N/A
path
Post condition Successful renewal. Pop up message box showing successful renewal .

Exception path Report invalid card details: User reenters card details.

2.2.5 Assign password and user id :

SKNCOE Page 8
Diagram:

Assign password and user id

Operator

Use case name Assign password and user id

Priority Essential
Precondition 1. Operator must be logged in.
2. User has sent a request for registration.
Basic path 1. Operator views the Request
2. Operator sends email regarding the password and id.
Alternative N/A
path
Post condition Successful Registration
Exception path N/A

2.2.6 Create report :


Diagram:

Use case name Create report


Priority Intermediate
Precondition Operator should be logged in. Create report
Basic path 1.Operator clicks on button for creating the reports.
2.Operator selects domain for creating reports.
3. List of all reports from database gets created.
Operator
Alternative N/A
path
Post condition Operator sends report to Administrator.
Exception path N/A

2.2.7 View report:

SKNCOE Page 9
Diagram:

View report

Admin

Use case name View report


Priority Intermediate
Precondition Administrator should be logged in.
Basic path 1. Admin chooses to view the reports.
2. List of all reports from database gets displayed according to the date.
Alternative N/A
path
Post condition Admin views report.
Exception path N/A

2.3 User Interface Specification:

Every user interface- whether it is designed for a WebApp or a traditional software


application- should exhibit the following characteristics:

 Easy to use.
 Easy to navigate.
 Intuitive.

SKNCOE Page 10
 Efficient.
 Functional.

Our Online Matrimonial Website application follows all these principle of effective user
interface design. Users quickly see the options on the portal, grasp how to use the site and
proceed accordingly. It does not concern the user with the inner workings of the system.

The user interface will be a web page, which gives user an environment and facility of
registering and finding an appropriate match from the database. The web page will provide
recharge facility according to balance status. All pages of the system are following a consistent
theme and clear structure. In order to reduce the amount of text input from user the site will use
check boxes and drop down menu.

2.4 Non-Functional Requirement:

 Availability:

The system should be available 24 X 7, meaning the user can access it using a web
browser, only restricted by the down time of the server on which the system runs.

 Reliability:

The reliability of the overall program depends on the reliability of the separate
components. The main pillar of reliability of this system is the backup of the database
which is continuously maintained and updated to reflect the most recent changes.

 Security:

Passwords will be saved in the database in order to ensure the user's privacy.
Certain functions will be assigned to certain modules only.

 Portability:

SKNCOE Page 11
The end-user part is fully portable and any system using any web browser should be able
to use the features of the application, including any hardware platform that is available or
will be available in the future.
2.5 Assumptions and Dependencies:

 Administrator has an already existing account with pre specified password.


 The payment gateways for online recharge exist and are valid.
 Roles and Tasks are pre-defined.
 The user should have prerequisite knowledge of internet and computer.

3. Design
3.1 Database Design:
To incorporate the Database Design 6 tables will be formed which will store all the attributes
depending on their usage. The tables are:

1) Login table :

login
ATTRIBUTES DATA TYPE DESCRIPTION
USERNAME STRING PRIMARY KEY
PASSWORD STRING
STATUS NUMBER

2) Personal Information Table

person_info
ATTRIBUTES DATA TYPE DESCRIPTION
UNAME STRING : VARCHAR2 PRIMARY KEY
FNAME STRING : VARCHAR2
MNAME STRING : VARCHAR2
LNAME STRING : VARCHAR2
AGE NUMBER
SEX STRING : VARCHAR2
HT NUMBER
WT NUMBER

SKNCOE Page 12
COMPX STRING : VARCHAR2
DOB STRING : VARCHAR2
POB STRING : VARCHAR2
EDU STRING : VARCHAR2
MAR_ST STRING : VARCHAR2
HOB STRING : VARCHAR2
REG STRING : VARCHAR2

3) Professional information table

prof_info
ATTRIBUTES DATATYPE DESCRIPTION
JOB_DES STRING : VARCHAR2
COMP STRING : VARCHAR2
ANN_IN NUMBER
UNAME STRING : VARCHAR2

4) family information table

Fam_info
ATTRIBUTES DATATYPE DESCRIPTION
FNAME STRING : VARCHAR2
FQUAL STRING : VARCHAR2
FJOB STRING : VARCHAR2
MNAME STRING : VARCHAR2
MQUAL STRING : VARCHAR2
MJOB STRING : VARCHAR2
SIB NUMBER
FAM_STR STRING : VARCHAR2
MEM NUMBER
UNAME STRING : VARCHAR2

5) Horoscope table

Horo
ATTRIBUTES DATATYPE DESCRIPTION
UNAME STRING : VARCHAR2
RASHI STRING : VARCHAR2
GOTRA STRING : VARCHAR2
NAD STRING : VARCHAR2
KUL STRING : VARCHAR2
CASTE STRING : VARCHAR2
MANGAL STRING : VARCHAR2

SKNCOE Page 13
6) Contact information table:

Contact
ATTRIBUTES DATATYPE DESCRIPTION
CURR_ADD STRING : VARCHAR2
PER_ADD STRING : VARCHAR2
PH_NO STRING : VARCHAR2
MOB_NO STRING : VARCHAR2
E_ID STRING : VARCHAR2
UNAME STRING : VARCHAR2

3.2) UML Diagrams:

Use Case Diagram

SKNCOE Page 14
Class Diagram

SKNCOE Page 15
State Diagram

COMPONENT DIAGRAM

SKNCOE Page 16
4) Coding and Testing
4.1) Front End and Back End

Front End : HTML


ASP
Adobe Dreamweaver CS5

Back End: Sql 8+ Database Server

4.2) Coding:

Home.asp

<html>

<style type="text/css">

#apDiv1 {

position:absolute;

left:500px;

top:300px;

width:800px;

height:497px;

z-index:1;

</style>

SKNCOE Page 17
<body background="wb1.jpg">

<div>

<center>

</center>

</div>

<!--img src="c:/Inetpub/wwwroot/SDTL1/imgad.gif"-->

<div id="apDiv1" align="right"><table width="400" border="0" bgcolor="">

<tr>

<td height="50">&nbsp;<a href="adlogin.asp"><font size="5"


color="black"><center><b>ADMINISTRATOR</b></center></font></a></td>

</tr>

<tr>

<td height="50">&nbsp;<a href="person_info.asp"><font size="5"


color="black"><center><b>REGISTRATION</b></center></font></a></td>

</tr>

<tr>

<td height="50">&nbsp;<a href="login.asp"><font size="5"


color="black"><center><b>LOGIN</b></center></font></a></td>

</tr>

<tr>

<td height="50">&nbsp;<a href="oplogin.asp"><font size="5"


color="black"><center><b>OPERATOR</b></center></font></a></td>

</tr>

</table>

</div>

SKNCOE Page 18
<div>

<center>

<img src="c:/Inetpub/wwwroot/SDTL1/header.jpg" width="100%" height="200">

<h1 style="color:white;">JeevanSathi.Com</h1>

</center>

<center>

</center>

<center>

</div>

</center>

</body>

</html>

Login.asp

<html>

<body background="wb.jpg">

<div>

<center>

<img src="c:/Inetpub/wwwroot/SDTL1/header.jpg" width="100%" height="200">

<h1 style="color:white;">JeevanSathi.Com</h1>

</center>

</div>

SKNCOE Page 19
<h1><center><b>LOGIN PAGE</b></center></h1>

<form method="post" action="vallidateUser.asp">

<center><table style="border-collapse: collapse">

<tr>

<td><b>USERNAME : </b><br><br></td>

<td><input type="text" name="uname"><br><br></td>

</tr>

<tr>

<td><b>PASSWORD : </b><br><br></td>

<td><input type="password" name="pwd"><br><br></td>

</tr>

</table></center>

<center><input type="submit" value="LOGIN"></center>

</form>

</body>

</html>

ValidateUser.asp

<%

Dim Con 'Holds the Database Connection Object

Dim Query

SKNCOE Page 20
Dim rs

Dim rs1

Dim uname1

uname1=TRIM(Request.Form("uname"))

'Create an ADO connection object

Set Con = Server.CreateObject("ADODB.Connection")

Con.Open "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist Security Info=False"

set rs = Server.CreateObject ("ADODB.Recordset")

rs.open "SELECT * FROM login", Con

set rs1 = Server.CreateObject ("ADODB.Recordset")

rs.MoveFirst

Do until rs.EOF

if (Request.Form ("uname")=rs(0) and Request.Form ("pwd")=rs(1)) then

mysql1="insert into uname values('"&uname1&"')"

Con.Execute mysql1

Response.Redirect "stcheck.asp"

end if

rs.MoveNext

loop

Response.Write ("<h1>Invalid user id or password!</h1>")

%>

<html>

SKNCOE Page 21
<body>

<a href="login.asp">TRY AGAIN</a>

</body>

</html>

Usehome.asp

<html>

<body background="wb.jpg">

<div>

<center>

<img src="c:/Inetpub/wwwroot/SDTL1/header.jpg" width="100%" height="200">

<h1 style="color:white;">JeevanSathi.Com</h1>

</center>

</div>

<form method="post" action="vwmat.asp">

<center><b>Enter education for search priority: </b><input type="text" name="search"><br><br>

<input type="submit" value="View Matchlist">

</center>

</form>

<form method="post" action="Request.asp">

<center><b>Enter Name of member to view further details: </b> <input type="text"


name="rqst"><br><br>

SKNCOE Page 22
<input type="submit" value="Send Request">

</center>

</form>

<form method="post" action="vwstatus.asp">

<center>

<input type="submit" value="View Status">

</center>

</form>

<form method="post" action="renew.asp">

<center>

<input type="submit" value="Renew Registration">

</center>

</form>

<form method="post" action="logoff.asp">

<center>

<input type="submit" value="LOG OFF">

</center>

</form>

</body>

</html>

SKNCOE Page 23
Person_info.asp

<html>

<style type="text/css">

.BL {

color: #000;

.gr {

color: #008000;

</style>

<body background="wb.jpg">

<div>

<center>

<img src="c:/Inetpub/wwwroot/SDTL1/header.jpg" width="100%" height="200">

<h1 style="color:white;">JeevanSathi.Com</h1>

</center>

</div>

<script>

function check()

if (Save.uname.value.length=="")

alert ("Enter Username");

SKNCOE Page 24
return false;

if (Save.fname.value.length=="")

alert ("Enter First Name");

return false;

if (Save.mname.value.length=="")

alert ("Enter Middle Name");

return false;

if (Save.lname.value.length=="")

alert ("Enter Last Name");

return false;

if (Save.age.value.length=="")

alert ("Enter Age");

return false;

if (Save.sex.value.length=="")

alert ("Enter Sex");

SKNCOE Page 25
return false;

if (Save.ht.value.length=="")

alert ("Enter Height");

return false;

if (Save.wt.value.length=="")

alert ("Enter Weight");

return false;

if (Save.mar_st.value.length=="")

alert ("Enter Marital Status");

return false;

if (Save.edu.value.length=="")

alert ("Enter Education ");

return false;

if (Save.comx.value.length=="")

alert ("Enter Complexion ");

SKNCOE Page 26
return false;

if (Save.reg.value.length=="")

alert ("Enter Religion");

return false;

if (Save.hob.value.length=="")

alert ("Enter Hobbies");

return false;

if (Save.dob.value.length=="")

alert ("Enter Date of birth");

return false;

if (Save.pob.value.length=="")

alert ("Enter Place of birth");

return false;

else

SKNCOE Page 27
return true;

</script>

<form name="Save" method=post action="prof_info.asp" >

<b>

<p align="center">&nbsp;</p>

<p align="center"><b><font color="#FF0000" size="10" face="arial" class="gr"><b>PERSONAL


INFORMATION</b></font></b></p>

<p align="center"><br>

</p>

<div align="center">

<center>

<table width="881" style="border-collapse: collapse; color: #000; font-weight: bold; font-family: 'Times
New Roman', Times, serif;" bordercolor="#111111" cellpadding="0" cellspacing="0">

<tr>

<td width="150" height="46">&nbsp;</td>

<td width="150" class="BL"><font size="2" face="Arial, Helvetica, sans-serif" color="white">


Username</font> </td>

<td width="190">

<input type="text" name="uname" size="20" id="uname"></td>

</tr>

SKNCOE Page 28
<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><b><font size="2" face="Arial, Helvetica, sans-serif" color="white">First


Name </b> </font></td>

<td width="190">

<p>

<input type="text" name="fname" size="20">

</p></td>

</tr>

<tr>

<td height="40">&nbsp;</td>

<td class="BL"><font size="2" face="Arial, Helvetica, sans-serif" color="white">Middle


Name></font></td>

<td><input type="text" name="mname" size="20" id="mname"></td>

</tr>

<tr>

<td width="150" height="41">&nbsp;</td>

<td width="150" class="BL"><font size="2" face="Arial, Helvetica, sans-serif" color="white"><b>Last


Name </b> </font></td>

<td width="190">

<input type="text" name="lname" size="20"></td>

</tr>

<tr>

<td width="150" height="53">&nbsp;</td>

SKNCOE Page 29
<td width="150" class="BL"><b><font size="2" face="Arial, Helvetica, sans-serif"
color="white">Age</font></b></td>

<td width="190"><input type="number" name="age" size="20" id="age"></td>

</tr>

<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><b><font size="2" face="Arial, Helvetica, sans-serif"


color="white">Sex</font></b></td>

<td width="190">

<input type="text" name="sex" size="20" id="sex"></td>

</tr>

<tr>

<td height="35">&nbsp;</td>

<td class="BL"><font size="2" face="Arial, Helvetica, sans-serif"


color="white">Complexion</font></td>

<td><p>

<input type="text" name="comx" size="20" id="comx">

</p></td>

</tr>

<tr>

<td height="40">&nbsp;</td>

<td class="BL"><font size="2" face="Arial, Helvetica, sans-serif" color="white">Date of


birth</font></td>

<td><input type="text" name="dob" size="20" id="dob"></td>

</tr>

SKNCOE Page 30
<tr>

<td height="40">&nbsp;</td>

<td class="BL"><font size="2" face="Arial, Helvetica, sans-serif" color="white">Place of


birth</font></td>

<td><input type="text" name="pob" size="20" id="pob"></td>

</tr>

<tr>

<td height="40">&nbsp;</td>

<td class="BL"><font size="2" face="Arial, Helvetica, sans-serif" color="white">Height</font></td>

<td><input type="number" name="ht" size="20" id="ht"></td>

</tr>

<tr>

<td height="44">&nbsp;</td>

<td class="BL"><font size="2" face="Arial, Helvetica, sans-serif" color="white">Weight</font></td>

<td><input type="number" name="wt" size="20" id="wt"></td>

</tr>

<tr>

<td height="39">&nbsp;</td>

<td class="BL"><font size="2" face="Arial, Helvetica, sans-serif" color="white">Religion</font></td>

<td><input type="text" name="reg" size="20" id="reg"></td>

</tr>

<tr>

<td height="33">&nbsp;</td>

<td class="BL"><font size="2" face="Arial, Helvetica, sans-serif" color="white">Marital


Status</font></td>

<td><input type="text" name="mar_st" size="20" id="mar_st"></td>

SKNCOE Page 31
</tr>

<tr>

<td height="29">&nbsp;</td>

<td class="BL"><font size="2" face="Arial, Helvetica, sans-serif" color="white">Education</font></td>

<td><input type="text" name="edu" size="20" id="edu"></td>

</tr>

<tr>

<td height="32">&nbsp;</td>

<td class="BL"><font size="2" face="Arial, Helvetica, sans-serif" color="white">Hobbies</font></td>

<td><input type="text" name="hob" size="20" id="hob"></td>

</tr>

</table></center>

</div>

<center>

<p>

<input type=button value="Save Data" onClick = "return check()">

</p>

<p>

<input name="Submit" type="submit" value=" Next ">

</p>

</center>

<br>

SKNCOE Page 32
<FONT face="Arial, Helvetica, sans-serif" size=2>

</body>

</html>

Prof_info.asp

<%

Dim uname

Dim fname

Dim mname

Dim lname

Dim age

Dim sex

Dim compx

Dim ht

Dim wt

Dim dob

Dim pob

Dim reg

Dim mar_st

Dim hob

Dim edu

uname=TRIM(Request.Form("uname"))

fname=TRIM(Request.Form("fname"))

SKNCOE Page 33
mname=TRIM(Request.Form("mname"))

lname=TRIM(Request.Form("lname"))

age=TRIM(Request.Form("age"))

sex=TRIM(Request.Form("sex"))

compx=TRIM(Request.Form("comx"))

ht=TRIM(Request.Form("ht"))

wt=TRIM(Request.Form("wt"))

reg=TRIM(Request.Form("reg"))

mar_st=TRIM(Request.Form("mar_st"))

edu=TRIM(Request.Form("edu"))

hob=TRIM(Request.Form("hob"))

dob=TRIM(Request.Form("dob"))

pob=TRIM(Request.Form("pob"))

%>

<%

Dim Con

Dim Query

Dim rs

Set Con=Server.CreateObject("ADODB.Connection")

Con.Open "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist Security Info=False"

Set rs = Server.CreateObject("ADODB.Recordset")

SKNCOE Page 34
mysql="Insert into person_info
values('"&fname&"','"&mname&"','"&lname&"','"&age&"','"&sex&"','"&ht&"','"&wt&"','"&compx&"','"
&dob&"','"&pob&"','"&reg&"','"&mar_st&"','"&edu&"','"&hob&"','"&uname&"')"

Con.Execute mysql

mysql1="insert into uname values('"&uname&"')"

Con.Execute mysql1

%>

<html>

<style type="text/css">

.BL {

color: #000;

.gr {

color: #008000;

</style>

<body background="wb.jpg">

<div>

<center>

<img src="c:/Inetpub/wwwroot/SDTL1/header.jpg" width="100%" height="200">

<h1 style="color:white;">JeevanSathi.Com</h1>

</center>

</div>

SKNCOE Page 35
<script>

function check()

if (Save.job_des.value.length=="")

alert ("Enter Job Description");

return false;

if (Save.com.value.length=="")

alert ("Enter Company");

return false;

if (Save.ann_in.value.length=="")

alert ("Enter Annual Income");

return false;

else

return true;

SKNCOE Page 36
</script>

<form name="Save" method=post action="fam_info.asp" >

<p align="center">&nbsp;</p>

<p align="center"><b><font color="#FF0000" size="6" face="arial" class="gr">PROFESSIONAL


INFORMATION</font></b></p>

<p align="center"><br>

</p>

<div align="center">

<center>

<table width="881" style="border-collapse: collapse; color: #000; font-weight: bold; font-family: 'Times
New Roman', Times, serif;" bordercolor="#111111" cellpadding="0" cellspacing="0">

<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><b><font size="2" face="Arial, Helvetica, sans-serif"><b> Job Description


</b> </font></td>

<td width="190">

<p>

<input type="text" name="job_des" size="20">

</p></td>

</tr>

<tr>

<td width="150" height="42">&nbsp;</td>

SKNCOE Page 37
<td width="150" class="BL"><FONT face="Arial, Helvetica, sans-serif" size=2><b>Company Name </b>
</font></td>

<td width="190">

<input type="text" name="com" size="20"></td>

</tr>

<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><b><font size="2" face="Arial, Helvetica, sans-serif">Annual


Income</font></b></td>

<td width="190"><input type="number" name="ann_in" size="20" ></td>

</tr>

</table></center>

</div>

<center>

<p>

<input type=button value="Save Data" onClick = "return check()">

</p>

<p>

<input name="Submit" type="submit" value=" Next ">

</p>

</center>

<br>

<FONT face="Arial, Helvetica, sans-serif" size=2>

SKNCOE Page 38
<br><br><br>

<a href="person_info.asp">BACK</a>

</body>

</html>

Fam_info.asp

<%

Dim uname1

Dim job_des

Dim com

Dim ann_in

job_des=TRIM(Request.Form("job_des"))

com=TRIM(Request.Form("com"))

ann_in=TRIM(Request.Form("ann_in"))

%>

<%

Dim Con

Dim Query

Dim rs

Set Con=Server.CreateObject("ADODB.Connection")

Con.Open "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist Security Info=False"

SKNCOE Page 39
Set rs = Server.CreateObject("ADODB.Recordset")

rs.Open "Select * from uname",Con

rs.MoveFirst

uname1=rs(0)

mysql="Insert into prof_info values('"&job_des&"','"&com&"','"&ann_in&"','"&uname1&"')"

Con.Execute mysql

%>

<html>

<style type="text/css">

.BL {

color: #000;

.gr {

color: #008000;

</style>

<body background="wb.jpg">

<div>

<center>

<img src="c:/Inetpub/wwwroot/SDTL1/header.jpg" width="100%" height="200">

<h1 style="color:white;">JeevanSathi.Com</h1>

</center>

</div>

SKNCOE Page 40
<script>

function check()

if (Save.fname.value.length=="")

alert ("Enter Fathers Name");

return false;

if (Save.mname.value.length=="")

alert ("Enter Mothers Name");

return false;

if (Save.fqual.value.length=="")

alert ("Enter Fathers Qualification");

return false;

if (Save.mqual.value.length=="")

alert ("Enter Mothers Qualification");

return false;

SKNCOE Page 41
if (Save.sib.value.length=="")

alert ("Enter No. of siblings");

return false;

if (Save.mem.value.length=="")

alert ("Enter No. of members");

return false;

if (Save.fam_str.value.length=="")

alert ("Enter Family strcture");

return false;

else

return true;

</script>

SKNCOE Page 42
<form name="Save" method=post action="kundali.asp" >

<p align="center">&nbsp;</p>

<p align="center"><b><font color="#FF0000" size="6" face="arial" class="gr">FAMILY


INFORMATION</font></b></p>

<p align="center"><br>

</p>

<div align="center">

<center>

<table width="881" style="border-collapse: collapse; color: #000; font-weight: bold; font-family: 'Times
New Roman', Times, serif;" bordercolor="#111111" cellpadding="0" cellspacing="0">

<tr>

<td width="150" height="42">&nbsp;</td>

<td><center> Father's Information</center></td>

<td width="150" height="42">&nbsp;</td>

</tr>

<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><b><b>Name </b> </font></td>

<td width="190">

<p>

<input type="text" name="fname" size="20">

</p></td>

</tr>

SKNCOE Page 43
<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><FONT face="Arial, Helvetica, sans-serif" size=2><b>Qualification </b>


</font></td>

<td width="190">

<input type="text" name="fqual" size="20"></td>

</tr>

<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><b><font size="2" face="Arial, Helvetica, sans-


serif"><b>Job</b></font></td>

<td width="190"><input type="text" name="fjob" size="20" ></td>

</tr>

<tr>

<td width="150" height="42">&nbsp;</td>

<td><center>Mothers Information</center></td>

<td width="150" height="42">&nbsp;</td>

</tr>

<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><b><font size="2" face="Arial, Helvetica, sans-serif"><b>Name </b>


</font></td>

<td width="190">

SKNCOE Page 44
<p>

<input type="text" name="mname" size="20">

</p></td>

</tr>

<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><font size="2" face="Arial, Helvetica, sans-serif"


color="white"><b>Qualification </b> </font></td>

<td width="190">

<input type="text" name="mqual" size="20"></td>

</tr>

<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><b><font size="2" face="Arial, Helvetica, sans-serif"


color="white"><b>Job</b></font></td>

<td width="190"><input type="text" name="mjob" size="20" ></td>

</tr>

<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><b><font size="2" face="Arial, Helvetica, sans-serif" color="white"><b>No.


of Siblings</b></font></td>

<td width="190"><input type="number" name="sib" size="20" ></td>

</tr>

SKNCOE Page 45
<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><b><font size="2" face="Arial, Helvetica, sans-serif"


color="white"><b>Family Structure</b></font></td>

<td width="190"><input type="text" name="fam_str" size="20" ></td>

</tr>

<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><b><font size="2" face="Arial, Helvetica, sans-serif" color="white"><b>No.


of Members</b></font></td>

<td width="190"><input type="number" name="mem" size="20" ></td>

</tr>

</table></center>

</div>

<center>

<p>

<input type=button value="Save Data" onClick = "return check()">

</p>

<p>

<input name="Submit" type="submit" value=" Next ">

</p>

</center>

SKNCOE Page 46
<br>

<FONT face="Arial, Helvetica, sans-serif" size=2>

<br><br><br>

<a href="prof_info.asp">BACK</a>

</body>

</html>

Kundali.asp

<%

Dim uname1

Dim fname

Dim fjob

Dim fqual

Dim mname

Dim mjob

Dim mqual

Dim mem

Dim sib

Dim fam_str

fname=TRIM(Request.Form("fname"))

fjob=TRIM(Request.Form("fjob"))

SKNCOE Page 47
fqual=TRIM(Request.Form("fqual"))

mname=TRIM(Request.Form("mname"))

mjob=TRIM(Request.Form("mjob"))

mqual=TRIM(Request.Form("mqual"))

mem=TRIM(Request.Form("mem"))

sib=TRIM(Request.Form("sib"))

fam_str=TRIM(Request.Form("fam_str"))

%>

<%

Dim Con

Dim Query

Dim rs

Set Con=Server.CreateObject("ADODB.Connection")

Con.Open "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist Security Info=False"

Set rs = Server.CreateObject("ADODB.Recordset")

rs.Open "Select * from uname",Con

rs.MoveFirst

uname1=rs(0)

mysql="Insert into fam_info


values('"&fname&"','"&fqual&"','"&fjob&"','"&mname&"','"&mqual&"','"&mjob&"','"&sib&"','"&fam_str
&"','"&mem&"','"&uname1&"')"

Con.Execute mysql

%>

SKNCOE Page 48
<html>

<style type="text/css">

.BL {

color: #000;

.gr {

color: #008000;

</style>

<body background="wb.jpg">

<div>

<center>

<img src="c:/Inetpub/wwwroot/SDTL1/header.jpg" width="100%" height="200">

<h1 style="color:white;">JeevanSathi.Com</h1>

</center>

</div>

<script>

function check()

if (Save.rashi.value.length=="")

SKNCOE Page 49
alert ("Enter Rashi");

return false;

if (Save.caste.value.length=="")

alert ("Enter caste");

return false;

else

return true;

</script>

<form name="Save" method=post action="contact.asp" >

<p align="center">&nbsp;</p>

<p align="center"><b><font color="#FF0000" size="6" face="arial" class="gr">FAMILY


INFORMATION</font></b></p>

<p align="center"><br>

</p>

<div align="center">

<center>

SKNCOE Page 50
<table width="881" style="border-collapse: collapse; color: #000; font-weight: bold; font-family: 'Times
New Roman', Times, serif;" bordercolor="#111111" cellpadding="0" cellspacing="0">

<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><b><font size="2" face="Arial, Helvetica, sans-serif"><b>Rashi </b>


</font></td>

<td width="190">

<p>

<input type="text" name="rashi" size="20">

</p></td>

</tr>

<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><FONT face="Arial, Helvetica, sans-serif" size=2><b>Gotra </b>


</font></td>

<td width="190">

<input type="text" name="gotra" size="20"></td>

</tr>

<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><b><font size="2" face="Arial, Helvetica, sans-


serif"><b>Nad</b></font></td>

SKNCOE Page 51
<td width="190"><input type="text" name="nad" size="20" ></td>

</tr>

<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><b><font size="2" face="Arial, Helvetica, sans-serif"><b>kul </b>


</font></td>

<td width="190">

<p>

<input type="text" name="kul" size="20">

</p></td>

</tr>

<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><FONT face="Arial, Helvetica, sans-serif" size=2><b>Caste </b>


</font></td>

<td width="190">

<input type="text" name="caste" size="20"></td>

</tr>

<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><b><font size="2" face="Arial, Helvetica, sans-


serif"><b>Mangal</b></font></td>

SKNCOE Page 52
<td width="190"><input type="text" name="mangal" size="20" ></td>

</tr>

</table></center>

</div>

<center>

<p>

<input type=button value="Save Data" onClick = "return check()">

</p>

<p>

<input name="Submit" type="submit" value=" Next ">

</p>

</center>

<br>

<FONT face="Arial, Helvetica, sans-serif" size=2>

<br><br><br>

<a href="fam_info.asp">BACK</a>

</body>

</html>

Contact.asp

<%

SKNCOE Page 53
Dim uname1

Dim rashi

Dim gotra

Dim kul

Dim nad

Dim caste

Dim mangal

rashi=TRIM(Request.Form("rashi"))

gotra=TRIM(Request.Form("gotra"))

kul=TRIM(Request.Form("kul"))

nad=TRIM(Request.Form("nad"))

caste=TRIM(Request.Form("caste"))

mangal=TRIM(Request.Form("mangal"))

%>

<%

Dim Con

Dim Query

Dim rs

Set Con=Server.CreateObject("ADODB.Connection")

Con.Open "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist Security Info=False"

Set rs = Server.CreateObject("ADODB.Recordset")

SKNCOE Page 54
rs.Open "Select * from uname",Con

rs.MoveFirst

uname1=rs(0)

mysql="Insert into horo


values('"&uname1&"','"&rashi&"','"&gotra&"','"&nad&"','"&kul&"','"&caste&"','"&mangal&"')"

Con.Execute mysql

%>

<html>

<style type="text/css">

.BL {

color: #000;

.gr {

color: #008000;

</style>

<body background="wb.jpg">

<div>

<center>

<img src="c:/Inetpub/wwwroot/SDTL1/header.jpg" width="100%" height="200">

<h1 style="color:white;">JeevanSathi.Com</h1>

</center>

</div>

SKNCOE Page 55
<script>

function check()

if (Save.cad.value.length=="")

alert ("Enter Current Address");

return false;

if (Save.pad.value.length=="")

alert ("Enter Permanent Address");

return false;

if (Save.phn.value.length=="")

alert ("Enter Phone Number");

return false;

if (Save.eid.value.length=="")

alert ("Enter Email ID");

return false;

else

SKNCOE Page 56
return true;

</script>

<form name="Save" method=post action="confirm.asp" >

<p align="center">&nbsp;</p>

<p align="center"><b><font color="#FF0000" size="6" face="arial" class="gr">CONTACT


INFORMATION</font></b></p>

<p align="center"><br>

</p>

<div align="center">

<center>

<table width="881" style="border-collapse: collapse; color: #000; font-weight: bold; font-family: 'Times
New Roman', Times, serif;" bordercolor="#111111" cellpadding="0" cellspacing="0">

<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><b><font size="2" face="Arial, Helvetica, sans-serif"><b>Current Address


</b> </font></td>

<td width="190">

<p>

<input type="text" name="cad" size="20">

SKNCOE Page 57
</p></td>

</tr>

<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><FONT face="Arial, Helvetica, sans-serif" size=2><b>Permanent Address


</b> </font></td>

<td width="190">

<input type="text" name="pad" size="20"></td>

</tr>

<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><b><font size="2" face="Arial, Helvetica, sans-serif"><b>Phone


Number</b></font></td>

<td width="190"><input type="text" name="phn" size="20" ></td>

</tr>

<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><b><font size="2" face="Arial, Helvetica, sans-serif"><b>Mobile Number


</b> </font></td>

<td width="190">

<p>

<input type="text" name="mno" size="20">

SKNCOE Page 58
</p></td>

</tr>

<tr>

<td width="150" height="42">&nbsp;</td>

<td width="150" class="BL"><FONT face="Arial, Helvetica, sans-serif" size=2><b>Email ID </b>


</font></td>

<td width="190">

<input type="text" name="eid" size="20"></td>

</tr>

</table></center>

</div>

<center>

<p>

<input type=button value="Save Data" onClick = "return check()">

</p>

<p>

<input name="Submit" type="submit" value=" Next ">

</p>

</center>

<br>

<FONT face="Arial, Helvetica, sans-serif" size=2>

SKNCOE Page 59
<br><br><br>

<a href="kundali.asp">BACK</a>

</body>

</html>

Confirm.asp

<%

Dim uname1

Dim cad

Dim pad

Dim phn

Dim mno

Dim eid

cad=TRIM(Request.Form("cad"))

pad=TRIM(Request.Form("pad"))

phn=TRIM(Request.Form("phn"))

mno=TRIM(Request.Form("mno"))

eid=TRIM(Request.Form("eid"))

%>

<%

SKNCOE Page 60
Dim Con

Dim Query

Dim rs

Set Con=Server.CreateObject("ADODB.Connection")

Con.Open "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist Security Info=False"

Set rs = Server.CreateObject("ADODB.Recordset")

rs.Open "Select * from uname",Con

rs.MoveFirst

uname1=rs(0)

mysql="Insert into contact values('"&cad&"','"&pad&"','"&phn&"','"&mno&"','"&eid&"','"&uname1&"')"

Con.Execute mysql

mysql1= "delete from uname"

Con.Execute mysql1

%>

<html>

<body background="wb1.jpg">

<div>

<center>

<img src="c:/Inetpub/wwwroot/SDTL1/header.jpg" width="100%" height="200">

<h1 style="color:white;">JeevanSathi.Com</h1>

</center>

</div>

<form action="home.asp">

SKNCOE Page 61
<h1><center><b>WELCOME!</b></center></h1>

<center><input type="submit" value="Go to HOME PAGE"></center>

</form>

</body>

</html>

Vwmat.asp

<html>

<body background="wb.jpg">

<div>

<center>

<img src="c:/Inetpub/wwwroot/SDTL1/header.jpg" width="100%" height="200">

<h1 style="color:white;">JeevanSathi.Com</h1>

</center>

</div>

<%

Dim uname1

Dim Con

Dim rs

Dim rs1

Dim rs2

Dim pri

Dim sex1

SKNCOE Page 62
Dim sex2

sex2="sex"

pri=TRIM(Request.Form("search"))

Set Con=Server.CreateObject("ADODB.Connection")

Con.Open "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist Security Info=False"

Set rs=Server.CreateObject("ADODB.Recordset")

Set rs1=Server.CreateObject("ADODB.Recordset")

Set rs2=Server.CreateObject("ADODB.Recordset")

rs.Open "Select * from uname",Con

rs.MoveFirst

uname1=rs(0)

rs1.Open "select * from person_info",Con

rs1.MoveFirst

while NOT rs1.EOF

if(uname1=rs1(14)) Then

sex1=rs1(4)

end if

rs1.MoveNext

wend

rs1.MoveFirst

SKNCOE Page 63
%>

<center><table border=1>

<tr>

<td> <b> First Name </b> </td>

<td> <b> Middle Name </b> </td>

<td> <b> Last Name </b> </td>

<td> <b> Qualification </b> </td>

<td> <b> Age </b> </td>

<td> <b> City </b> </td>

<td> <b> Username </b> </td>

</tr>

<%

while NOT rs1.EOF

if (pri=rs1(12) and sex1<>rs1(4)) Then

%>

<tr>

<td> <%=rs1("fname")%> </td>

SKNCOE Page 64
<td> <%=rs1("mname")%> </td>

<td> <%=rs1("lname")%> </td>

<td> <%=rs1("edu")%> </td>

<td> <%=rs1("age")%> </td>

<td> <%=rs1("pob")%> </td>

<td> <%=rs1("uname")%> </td>

</tr>

<% end if

rs1.MoveNext

Wend

%>

</table>

<br><br><br>

<a href="userHome.asp">BACK</a>

</body>

</html>

Request.asp

SKNCOE Page 65
<html>

<body bgcolor="brown">

<div>

<center>

<img src="c:/Inetpub/wwwroot/SDTL1/header.jpg" width="100%" height="200">

<h1 style="color:white;">JeevanSathi.Com</h1>

</center>

</div>

<%

Dim uname1

Dim uname2

Dim Con

Dim rs

Dim rs1

Dim rs2

Dim rs3

Dim rs4

Dim rs5

SKNCOE Page 66
uname1=TRIM(Request.Form("rqst"))

Set Con=Server.CreateObject("ADODB.Connection")

Con.Open "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist Security Info=False"

Set rs=Server.CreateObject("ADODB.Recordset")

Set rs1=Server.CreateObject("ADODB.Recordset")

Set rs2=Server.CreateObject("ADODB.Recordset")

Set rs3=Server.CreateObject("ADODB.Recordset")

Set rs4=Server.CreateObject("ADODB.Recordset")

Set rs5=Server.CreateObject("ADODB.Recordset")

Set rs6=Server.CreateObject("ADODB.Recordset")

rs1.Open "select * from person_info",Con

rs1.MoveFirst

%>

<center>

<b>

<font size="2" face="Arial, Helvetica, sans-serif" color="white">

<form id="form1" name="form1" method="post" action="">

<table width="964" height="453" border="1">

<tr>

<td width="464"><table width="463" height="372" border="0">

SKNCOE Page 67
<%

while NOT rs1.EOF

if(rs1(14)=uname1) Then

%>

<tr>

<td><font size="2" face="Arial, Helvetica, sans-serif" color="white"><b>PERSONAL


INFORMATION</b></td>

<td>&nbsp;</td>

</tr>

<tr>

<td width="219">First Name</font></td>

<td width="225"><%=rs1("fname")%>&nbsp;</td>

</tr>

<tr>

<td>Middle Name</td>

<td><%=rs1("mname")%>&nbsp;</td>

</tr>

<tr>

<td>Last Name</td>

<td><%=rs1("lname")%>&nbsp;</td>

</tr>

<tr>

<td>Age</td>

<td><%=rs1("age")%>&nbsp;</td>

</tr>

SKNCOE Page 68
<tr>

<td>Sex</td>

<td><%=rs1("sex")%>&nbsp;</td>

</tr>

<tr>

<td>Height</td>

<td><%=rs1("ht")%>&nbsp;</td>

</tr>

<tr>

<td>Weight</td>

<td><%=rs1("wt")%>&nbsp;</td>

</tr>

<tr>

<td>Complexion</td>

<td><%=rs1("comx")%>&nbsp;</td>

</tr>

<tr>

<td>Date of Birth</td>

<td><%=rs1("dob")%>&nbsp;</td>

</tr>

<tr>

<td>Place of Birth</td>

<td><%=rs1("pob")%>&nbsp;</td>

</tr>

<tr>

SKNCOE Page 69
<td>Religion</td>

<td><%=rs1("reg")%>&nbsp;</td>

</tr>

<tr>

<td>Education</td>

<td><%=rs1("edu")%>&nbsp;</td>

</tr>

<tr>

<td>Marital Status</td>

<td><%=rs1("mar_st")%>&nbsp;</td>

</tr>

<tr>

<td>Hobbies</td>

<td><%=rs1("hob")%>&nbsp;</td>

</tr>

<%

end if

rs1.MoveNext

wend

%>

</table></td>

<td width="484">

<%

SKNCOE Page 70
rs2.Open("select * from fam_info"),Con

rs2.MoveFirst

while NOT rs2.EOF

if (rs2(9)=uname1) Then

%>

<table width="480" border="0">

<tr>

<td width="231" height="46"><font size="2" face="Arial, Helvetica, sans-serif"


color="white"><b>FAMILY INFORMATION</b></td>

<td width="233">&nbsp;</td>

</tr>

<tr>

<td height="33">Father's Name</td>

<td><%=rs2("fname")%>&nbsp;</td>

</tr>

<tr>

<td height="33">Father's Qualification</td>

<td><%=rs2("fqual")%>&nbsp;</td>

</tr>

<tr>

<td height="31">Father's Job</td>

<td><%=rs2("fjob")%>&nbsp;</td>

</tr>

<tr>

<td height="36">Mother's Name</td>

SKNCOE Page 71
<td><%=rs2("mname")%>&nbsp;</td>

</tr>

<tr>

<td height="37">Mother's Qualification</td>

<td><%=rs2("mqual")%>&nbsp;</td>

</tr>

<tr>

<td height="33">Mother's Job</td>

<td><%=rs2("mjob")%>&nbsp;</td>

</tr>

<tr>

<td height="32">Sibblings</td>

<td><%=rs2("sib")%>&nbsp;</td>

</tr>

<tr>

<td height="32">No of Members</td>

<td><%=rs2("mem")%>&nbsp;</td>

</tr>

<tr>

<td height="38">Family Structure</td>

<td><%=rs2("fam_str")%>&nbsp;</td>

</tr>

</table>

SKNCOE Page 72
<%

end if

rs2.MoveNext

wend

%>

</td>

</tr>

<tr>

<td height="37">&nbsp;</td>

<td>&nbsp;</td>

</tr>

<tr>

<td>

<%

rs3.Open("select * from horo"),Con

rs3.MoveFirst

while NOT rs3.EOF

if (rs3(0)=uname1) Then

%>

<table width="461" border="0">

<tr>

SKNCOE Page 73
<td width="220" height="39"><font size="2" face="Arial, Helvetica, sans-serif"
color="white"><b>KUNDALI</b></td>

<td width="225">&nbsp;</td>

</tr>

<tr>

<td height="31">Rashi</td>

<td><%=rs3("rashi")%>&nbsp;</td>

</tr>

<tr>

<td height="30">Gotra</td>

<td><%=rs3("gotra")%>&nbsp;</td>

</tr>

<tr>

<td height="30">Kul</td>

<td><%=rs3("kul")%>&nbsp;</td>

</tr>

<tr>

<td height="29">Nad</td>

<td><%=rs3("nad")%>&nbsp;</td>

</tr>

<tr>

<td height="33">Caste</td>

<td><%=rs3("caste")%>&nbsp;</td>

</tr>

<tr>

<td>Mangal</td>

SKNCOE Page 74
<td><%=rs3("mangal")%>&nbsp;</td>

</tr>

</table>

<%

end if

rs3.MoveNext

wend

%>

</td>

<td>

<%

rs4.Open("select * from prof_info"),Con

rs4.MoveFirst

while NOT rs4.EOF

if (rs4(3)=uname1) Then

%>

<table width="486" height="236" border="0">

<tr>

SKNCOE Page 75
<td width="236"><font size="2" face="Arial, Helvetica, sans-serif" color="white"><b>OTHER
INFORMATION</b></td>

<td width="234">&nbsp;</td>

</tr>

<tr>

<td>Job Description</td>

<td><%=rs4("job_des")%>&nbsp;</td>

</tr>

<tr>

<td>Company/Bussiness Name</td>

<td><%=rs4("comp")%>&nbsp;</td>

</tr>

<tr>

<td>Annual Income</td>

<td><%=rs4("ann_in")%>&nbsp;</td>

</tr>

</table>

<%

end if

rs4.MoveNext

wend

rs5.Open("select * from contact"),Con

rs5.MoveFirst

while NOT rs5.EOF

SKNCOE Page 76
if (rs5(5)=uname1) Then

%>

<table width="486" height="236" border="0">

<tr>

<td>Current Address</td>

<td><%=rs5("curr_add")%>&nbsp;</td>

</tr>

<tr>

<td>Permanent Address</td>

<td><%=rs5("per_add")%>&nbsp;</td>

</tr>

<tr>

<td>Phone Number</td>

<td><%=rs5("ph_no")%>&nbsp;</td>

</tr>

<tr>

<td>Mobile Number</td>

<td><%=rs5("mob_no")%>&nbsp;</td>

</tr>

<tr>

<td>E-mail ID</td>

<td><%=rs5("e_id")%>&nbsp;</td>

</tr>

SKNCOE Page 77
</table>

<%

end if

rs5.MoveNext

wend

%>

</td>

</tr>

</table>

</form>

</center>

</font>

</b>

<br><br><br>

<a href="userHome.asp">BACK</a>

</body>

</html>

<%

rs.Open "select * from uname",Con

rs.MoveFirst

uname2=rs(0)

SKNCOE Page 78
rs6.Open "UPDATE login SET status = status- 1 WHERE username = '" & uname2 & "'",Con

%>

Report.asp

<html>

<body background="wb.jpg">

<div>

<center>

<img src="c:/Inetpub/wwwroot/SDTL1/header.jpg" width="100%" height="200">

<h1 style="color:white;">JeevanSathi.Com</h1>

</center>

</div>

<%

Dim uname1

Dim Con

Dim rs

Dim rs2

Dim rs3

Set Con=Server.CreateObject("ADODB.Connection")

Con.Open "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist Security Info=False"

Set rs=Server.CreateObject("ADODB.Recordset")

Set rs2=Server.CreateObject("ADODB.Recordset")

SKNCOE Page 79
Set rs3=Server.CreateObject("ADODB.Recordset")

rs.Open "Select * from login",Con

rs.MoveFirst

rs3.Open "select * from person_info",Con

rs3.MoveFirst

rs2.Open "Select * from contact",Con

rs2.MoveFirst

%>

<center><table border=1">

<tr>

<td> <b> First Name </b> </td>

<td> <b> Middle Name </b> </td>

<td> <b> Last Name </b> </td>

<td> <b> Qualification </b> </td>

<td> <b> Age </b> </td>

<td> <b> Current Address </b> </td>

<td> <b> Permanent Address </b> </td>

<td> <b> Phone Number </b> </td>

<td> <b> Mobile Number </b> </td>

<td> <b> E-mail ID </b> </td>

SKNCOE Page 80
<td> <b> Status </b> </td>

</tr>

<%

while NOT rs.EOF

uname1=rs(0)

%>

<tr>

<%

rs3.MoveFirst

while NOT rs3.EOF

if(uname1=rs3(14)) Then

%>

<td> <%=rs3("fname")%> </td>

<td> <%=rs3("mname")%> </td>

<td> <%=rs3("lname")%> </td>

<td> <%=rs3("edu")%> </td>

<td> <%=rs3("age")%> </td>

<%

end if

rs3.MoveNext

SKNCOE Page 81
wend

%>

<%

rs2.MoveFirst

while NOT rs2.EOF

if(uname1=rs2(5)) Then

%>

<td> <%=rs2("curr_add")%> </td>

<td> <%=rs2("per_add")%> </td>

<td> <%=rs2("ph_no")%> </td>

<td> <%=rs2("mob_no")%> </td>

<td> <%=rs2("e_id")%> </td>

<td> <%=rs("status")%> </td>

</tr>

<%

end if

rs2.MoveNext

wend

rs.MoveNext

Wend

%>

</table>

SKNCOE Page 82
<br><br><br>

<a href="adHome.asp">BACK</a>

</body>

</html>

Delete.asp

<html>

<body background="wb.jpg">

<div>

<center>

<img src="c:/Inetpub/wwwroot/SDTL1/header.jpg" width="100%" height="200">

<h1 style="color:white;">JeevanSathi.Com</h1>

</center>

</div>

<%

Dim uname1

uname1=TRIM(Request.Form("memb"))

Dim rs

Dim rs1

SKNCOE Page 83
Dim rs2

Dim rs3

Dim rs4

Dim rs5

Dim Con

Set Con=Server.CreateObject("ADODB.Connection")

Con.Open "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist Security Info=False"

Set rs=Server.CreateObject("ADODB.Recordset")

Set rs1=Server.CreateObject("ADODB.Recordset")

Set rs2=Server.CreateObject("ADODB.Recordset")

Set rs3=Server.CreateObject("ADODB.Recordset")

Set rs4=Server.CreateObject("ADODB.Recordset")

Set rs5=Server.CreateObject("ADODB.Recordset")

rs.Open "delete from login where username='" & uname1 & "'",Con

rs1.Open "delete from person_info where uname='" & uname1 & "'",Con

rs2.Open "delete from prof_info where uname='" & uname1 & "'",Con

rs3.Open "delete from fam_info where uname='" & uname1 & "'",Con

rs4.Open "delete from horo where uname='" & uname1 & "'",Con

rs5.Open "delete from contact where uname='" & uname1 & "'",Con

%>

SKNCOE Page 84
<h2> The member has been deleted successfully! </h2>

<br><br><br>

<a href="opHome.asp">BACK</a>

</body>

</html>

Strcheck.asp

<html>

<body>

<%

Dim Con

Dim rs

Dim rs1

Dim uname

Dim st

st=11

Set Con=Server.CreateObject("ADODB.Connection")

Con.Open "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist Security Info=False"

Set rs = Server.CreateObject("ADODB.Recordset")

SKNCOE Page 85
Set rs1 = Server.CreateObject("ADODB.Recordset")

rs1.Open "select * from uname",Con

rs1.MoveFirst

uname=rs1(0)

rs.Open "Select * from login",Con

rs.MoveFirst

while NOT rs.EOF

if(uname=rs(0)) Then

st=rs(2)

end if

rs.MoveNext

wend

if(st="0") Then

%>

<h1><b>Your registration has been expired</b></h1>

<form action="renew1.asp">

<input type="submit" value="Renew now">

</form>

SKNCOE Page 86
<%

else

Response.Redirect "userHome.asp"

end if

%>

<a href="home.asp">BACK</a>>

</body>

</html>

Vwstatus.asp

<html>

<body background="wb1.jpg">

<div>

<center>

<img src="c:/Inetpub/wwwroot/SDTL1/header.jpg" width="100%" height="200">

<h1 style="color:white;">JeevanSathi.Com</h1>

</center>

</div>

<%

Dim uname1

Dim rs

Dim rs1

SKNCOE Page 87
Dim st

Dim Con

Set Con=Server.CreateObject("ADODB.Connection")

Con.Open "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist Security Info=False"

Set rs=Server.CreateObject("ADODB.Recordset")

Set rs1=Server.CreateObject("ADODB.Recordset")

rs.Open "select * from uname",Con

rs.MoveFirst

uname1=rs(0)

rs1.Open "select * from login",Con

rs1.MoveFirst

while NOT rs1.EOF

if (rs1(0)=uname1) Then

st=rs1(2)

end if

rs1.MoveNext

wend

%>

<br><br><br>

<h1><center>Your current status is: <%= st%></center></h1>

<br><br><br>

<a href="userHome.asp"><font color="white">BACK</a>

SKNCOE Page 88
</body>

</html>

Renew.asp

<html>

<body background="wb1.jpg">

<div>

<center>

<img src="c:/Inetpub/wwwroot/SDTL1/header.jpg" width="100%" height="200">

<h1 style="color:white;">JeevanSathi.Com</h1>

</center>

</div>

<%

Dim uname1

Dim rs

Dim rs1

Dim rs2

Dim st

Dim Con

Set Con=Server.CreateObject("ADODB.Connection")

Con.Open "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist Security Info=False"

Set rs=Server.CreateObject("ADODB.Recordset")

Set rs1=Server.CreateObject("ADODB.Recordset")

SKNCOE Page 89
Set rs2=Server.CreateObject("ADODB.Recordset")

rs.Open "select * from uname",Con

rs.MoveFirst

uname1=rs(0)

rs1.Open "select * from login",Con

rs1.MoveFirst

while NOT rs1.EOF

if (rs1(0)=uname1) Then

rs2.Open "UPDATE login SET status = 10 WHERE username = '" & uname1 & "'",Con

end if

rs1.MoveNext

wend

%>

<br><br><br>

<h1><center>Your status has been renewed successfully!<%= st%></center></h1>

<br><br><br>

<a href="userHome.asp"><font color="white">BACK</a>

</body>

</html>

Logoff.asp

SKNCOE Page 90
<%

Dim rs

Dim Con

Set Con=Server.CreateObject("ADODB.Connection")

Con.Open "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist Security Info=False"

Set rs=Server.CreateObject("ADODB.Recordset")

rs.Open "delete from uname",Con

Response.Redirect "home.asp"

%>

4.3) Testing:

1: USER LOGIN

Purpose Test that users can log in with the proper username and
password.
Pre-Requisites User is not already logged in.
User exists and membership is not expired.
Test Data username = {valid, invalid, empty}
password = {valid, invalid, empty}
Steps 1. Visit Login Page.
2. Enter username.
3. Enter password
4. click Login
5. see Home Page

Expected Result The home page of user should appear.


Actual Result 1. The home page of user appears
2. If username is invalid then an error screen appears.
3. If password is invalid then error page appears.
4. If both username and password are invalid then error
page appears.

SKNCOE Page 91
5. If the membership has been expired then information
page is displayed.

2. USER REGISTRATION TEST CASE

Purpose Test that user can register properly.


Pre-Requisites Seeker is not already registered on the site.
A new user opens the registration page.

Test Data username = {user, empty}


password = {valid, empty}
emailed= {valid, empty}
card no = {valid}
card pin = {valid}
Steps 1. Visit Registration Page.
2. Provide username.
3. Provide password
4. Provide email id
5. click Submit
6. Open Home Page again.
7. Enter the user name and password
8. Click login
9. Verify welcome message is correct username.

Expected Result The userx logs in to the site and the home page opens.

The registration database should get updated.


Actual Result 1. The userx logs in to the site and the home page opens.
2. If user has not provided all the details then an error
screen appears prompting him to do so.
3. If already a user with specified user name exists then
an alert appears prompting to change the user name

TC-03: PROVIDER REGISTRATION TEST CASE

Purpose Test that service provider can register with desired username
and password.

SKNCOE Page 92
Pre-Requisites Service provider is not already registered on the site.
A new service provider userx opens the registration page
Service provider userx selects the provider type of
registration.
Test Data username = {userx, empty}
password = {valid, empty}
email id= {valid, empty}

Steps 1. Visit Registration Page.


2. Provide username.
3. Provide password
4. Provide email id
5. Click Submit
6. Open Home Page again.
7. Enter the user name and password
8. Click login
9. Verify welcome message is correct username.

Expected Result The service provider logs in to the site and the home
page opens.

The database should get updated.


Actual Result 1 The userx logs in to the site and the home page opens.
2 If user has not provided all the details then an error
screen appears prompting him to do so.
3 If already a user with specified user name exists then
an alert appears prompting to change the user name

TC-04: RECHARGE TRANSACTION TEST CASE

Purpose Test that recharge transaction performed by seeker is valid.


Pre-Requisites Seeker userx is already logged in with account type =
“seeker”
Seeker userx opens the transaction page
Test Data Cardno ={valid,invalid,empty}
Card pin={valid,invalid,empty}

SKNCOE Page 93
Steps 1 Seeker logs in
2 Provide card no
3 Provide card pin
4 Provide mobile no
5 click Submit
6 A new page specifying a successful recharge appears.

Expected Result A success page appears specifying a successful


recharge.

The database for transaction gets updated.


Actual Result 1 The recharge transaction is successful and the
database is updated.
2 If either or both the card no and card pin are invalid
then an error screen appears.

TC-05: REQUEST FOR NEW AD TEST CASE

Purpose Test that request for new ad performed by provider is valid.


Pre-Requisites Seeker userx is already logged in with account type =
“provider”
Seeker userx opens the transaction page.
Test Data Ad description ={non-empty, empty}
AD text={non-empty, empty}
Steps 1 Provider clicks on the request ad button.
2 Provider provides the description of the ad
3 Provider fill the Ad text.
4 Provider clicks on the submit button.

Expected Result The request is sent to the Admin for approval.


Actual Result 1 The request is sent to the Admin for approval.
2 If either the text or description of the ad is not filled
then the error page appears specifying the same.

SKNCOE Page 94
5) Conclusion
Availability of services and ease of use are the key points which have been
implemented. The low cost development will further increase the effectiveness. Since the
software has been developed using jsp and html which increases the reliability of data
exchange.

All the site pages have been designed to be intuitive and easy to use predicting what to do
further. An additional functionality for displaying the ads of service provider online is given in
which the service provider can login to his home page and request to display a new ad.

The ad will be displayed on the approval of the administrator. The registration functionality of
the site also maintains the support for using the services of the site by the new users. All the
transactions are simple to perform and easy to do.

In the end it doesn’t matter whether the recharge is carried out or login is done or a new
registration every functionality has been designed for use at ease by all the users.

6) References
 Object Oriented Modeling and Design by J Rambaugh

 Object Oriented Analysis and Design by Grady Booch

 Software Engineering by Roger Pressman

 Online model reference from www.freecharge.in, www.rechargeitnow.com .

 UML 2.0 in a Nutshell by Dan Pilone

SKNCOE Page 95
SKNCOE Page 96

You might also like