Você está na página 1de 121

Online Astro

Software Design Specification

Date of Submission : 12th November 2014

Submitted by:
Meghana Aggarwal
08724302012
3rd Sem (Evening)

Software Design Specification

ABSTRACT
This project is on ASTROLOGY having 3 users Admin, Customer, and Guest.
Admin can modify the details of the customers account, modify the prediction details
Customer can edit their profile information, view basic details, love compatibility, daily,
monthly, yearly predictions, death predictions, birth stone, know the sign according to the
Indian horoscope of his own or any other by his sign, view basic details, love
compatibility, daily, monthly, yearly predictions, birth stone, know the sign, know about
feng shui & year of horse according to the Chinese Astrology of his own or any other by
his sign, view basic details according to the number. Also can get the lucky number, get
the fortune number by entering the details, and view the basic details and predictions by
tarot card reading.
Guest can view basic details, love compatibility, daily, monthly, yearly predictions, death
predictions, birth stone, know the sign according to the Indian horoscope of his own or
any other by his sign, view basic details, love compatibility, daily, monthly, yearly
predictions, birth stone, know the sign, know about feng shui & year of horse according
to the Chinese Astrology of his own or any other by his sign, view basic details according
to the number. Also can get the lucky number, get the fortune number by entering the
details, and view the basic details and predictions by tarot card reading.

Software Design Specification

TABLE OF CONTENT

TOPICS

PAGE
NO.

Acknowledgement

Certificate

Page 3 of 121

Software Design Specification

Chapter 1:SYNOPSIS
1.1 Introduction

1.2 Objectives

10

1.3
1.4
1.5
1.6
1.7

11

Scheduling of activities
Conclusion
Achievement till date
Remaining work
Solution of problem

Chapter 2: SRS

12
13

14

2.
1 INTRODUCTION
2.1.1

PURPOSE

2.1.2

DOCUMENT CONVENTIONS

15

2.1.3

INTENDED AUDIENCE AND READING SUGGESTIONS

15

2.1.4

PROJECT SCOPE

15

2.1.5

REFERENCES

16
16

2.2

OVERALL DESCRIPTION

2.2.1

PRODUCT PERSPECTIVE

2.2.2

PRODUCT FEATURES

2.2.3

USER CLASSES AND CHARACTERISTICS

2.2.4

OPERATING ENVIRONMENT

2.2.5

DESIGN AND IMPLEMENTATION CONSTRAINTS

2.2.6

USER DOCUMENTATION

2.2.7

ASSUMPTIONS AND DEPENDENCIES

2.3
2.3.1

SYSTEM FEATURES
VIEWING PROPERTIES

16

17

Software Design Specification

Chapter3: SDS
3.
1.

22
REVISION HISTORY.....................................................................................................
To

3.2. APPROVED BY................................................................................................................


109
3.3. INTRODUCTION.............................................................................................................
3.1 DOCUMENT OUTLINE........................................................................................................
3.2 DOCUMENT DESCRIPTION.................................................................................................
3.2.1 Introduction...............................................................................................................
3.2.2 System Overview.......................................................................................................
3.4. DESIGN CONSIDERATIONS........................................................................................
4.1 ASSUMPTIONS AND DEPENDENCIES..................................................................................
4.2 GENERAL CONSTRAINTS...................................................................................................
4.3 GOALS AND GUIDELINES..................................................................................................
4.5 DEVELOPMENT METHODS................................................................................................
3.5. ARCHITECTURAL STRATEGIES...............................................................................
3.6. SYSTEM ARCHITECTURE.........................................................................................
6.1 SUBSYSTEM ARCHITECTURE...........................................................................................
3.7. POLICIES AND TACTICS............................................................................................
3.8. DETAILED SYSTEM DESIGN....................................................................................
3.8.1 CLASSIFICATION...........................................................................................................
3.8.2 DEFINITION..................................................................................................................
3.8.3 RESPONSIBILITIES........................................................................................................
3.8.4 CONSTRAINTS..............................................................................................................
3.8.5 COMPOSITION..............................................................................................................
3.8.6 DATABASE DESIGN......................................................................................................
3.8.7 TABLE SCHEMAS..........................................................................................................
3.8.8 CLASS DIAGRAMS AND CLASSES................................................................................
3.8.9 USES/INTERACTIONS....................................................................................................
3.8.10 RESOURCES................................................................................................................
3.8.11 PROCESSING...............................................................................................................
3.8.12 INTERFACE/EXPORTS..................................................................................................
Page 5 of 121

Software Design Specification

Chapter 4:

117

4.1. GLOSSARY...................................................................................................................
4.2 . Bibliography

121

Software Design Specification

1. Revision History

Version

Name

1.0

Reason For Changes

Date

Initial Revision

2. Approved By
Approvals should be obtained from faculty/ HOD

Name
Bill Currie

Page 7 of 121

Signature

Department
BP-IT-Development

Date

Software Design Specification

Software Design Specification

1.1 INTRODUCTION
This project provide the user to see the basic details & different predictions like, basic details,
compatibility test, daily, yearly, monthly predictions etc, according to the Indian, Chinese
Astrology, Numerology, Tarot Reading . Also the user can manage the account details & the
admin can modify different details.

1.2 TITLE OF PROJECT


I have given tittle to my project as ASTROLOGY because it shows various predictions and
various solutions to the customer according to the various types of astrology.

1.3 OBJECTIVES

There are many objectives behind the idea of this website:


Provide the user to know about him and predictions about himself by knowing the
predictions.
Provide them proper predictions so that they can manage their day accordingly
Providing the user predictions based on different criteria according to different astrology

Page 9 of 121

Software Design Specification

1.4 SCHEDULE OF ACTIVITIES

SNO.

ACTIVITY

DATE SCHEDULED

1.

Research on the project

Aug 1, 2014 Aug 15, 2014

2.

Analyzing and gathering of the data

Aug 15, 2014-Aug 20, 2014

3.

Synopsis

Aug 25, 2014- Aug 29, 2014

4.

Designing of modules

Aug 25, 2014- Sept 5, 2014

5.

Database creation and connectivity

Sept 5, 2014-Sept 10, 2014

6.

Preparation of SRS

Sept 10, 2014-Sept 19, 2014

7.

Testing

Sept 19, 2014-Sept 25, 2014

8.

Report

Sept 25, 2014-Oct 10, 2014

1.5CONCLUSION
I have included the Abstract, Introduction , Revision History, Objectives, Schedule of
activities, Conclusion, Achievement till date, Remaining works
From the above things my project has been approved by my guide .

Software Design Specification

1.6 ACHEIVEMENT TIL DATE


SNO.

ACTIVITY

DATE SCHEDULED

1.

Research on the project

Aug 1, 2014 Aug 15, 2014

2.

Analyzing and gathering of the data

Aug 15, 2014-Aug 20, 2014

3.

Synopsis

Aug 25, 2014- Aug 29, 2014

4.

Started designing of modules

Aug 25, 2014

1.7 REMAINING WORKS


SNO.

ACTIVITY

DATE

4.

Designing of modules

Aug 25, 2014- Sept 5, 2014

5.

Database creation and connectivity

Sept 5, 2014-Sept 10, 2014

6.

Preparation of SRS

Sept 10, 2014-Sept 19, 2014

7.

Testing

Sept 19, 2014-Sept 25, 2014

8.

Report

Sept 25, 2014-Oct 10, 2014

Page 11 of 121

Software Design Specification

1.8 ENTITY-RELATIONSHIP DIAGRAM

Software Design Specification

Page 13 of 121

Software Design Specification

2.1 Introduction
2.1.1 Purpose
The software described in this document is the Online Astro website (Version 1.0) and
associated support pages. This document seeks to provide the Software Requirements
Specifications for the website. The purpose of this document is to record the requirements for
the design and development of Online Astro Website. The document reflects the current
requirements of the project as understood by the project team. This document presents an
initial description of the various functionalities and services provided by the software. The
document will also serve the basis for acceptance testing by the user.
The scope of the website is not only limited to future predictions and encouraging personal,
compatibility like predictions too.

2.1.2 Document Conventions


There are no standard document requirements for this document.

2.1.3 Intended Audience and Reading Suggestions


Primary readers of this document are the web designer contributing to and testing of the
Online Astro website. Secondary reader is my guide. The remaining sections of this SRS
describe the functional requirements for online astro website.
2.1.4 Project Scope
The scope of the website is to provide a high user friendly set of web pages that are easy to
navigate and at the same time provides sufficient and depth prediction about user.

Three potential groups of viewers exist:


1. User who have already logged in interested in viewing predictions about him.
2. Guest who have not logged in but want to see the predictions.
3. Admin who can modify predictions and view details of different user.
The goal of website is to give the users different predictions for them so that they can
improve their futures.
Maintaining a user friendly site that is deemed of highest importance in order to hold user
attention and guide the viewer to information that will lead to a decision for future.

Benefits for using the site should include:

Personal information about the user defining different characteristics.


Future predictions of user for their better futures.
Love compatibility, Career predictions etc for different user accordingly.

Software Design Specification

This site does not restrict to one astrology type and give different types of predictions
through different ways of astrology.

2.1.5 References

http://www.trustedtarot.com
http://www.psychic-revelation.com/reference/q_t/tarot/tarot_cards/
http://www.horoscope.com
http://www.google.co.in

2..2 Overall Description


2.2.1 Product Perspective
Online Astro is a self-contained product. It has no earlier versions. This is version 1.0 and
further 2.0 can be made by adding the modules of kundli generation, shopping or incorporate
ideas learned from version 1.

Website is aimed toward users who have their interest in astrology predictions and want to
work accordingly.

Website should be user-friendly, quick to learn for the above purpose.

2.2.2 Product Features


Major features of the website include the following pages/subsections:

Horoscope
o Basic Features and characteristics
o Positive and negative qualities
o Birthstone
o Daily Predictions
o Love compatibility

Chinese Astrology
o Basic Features and characteristics
o Positive and negative qualities
o Birthstone
o Love compatibility
o Daily Predictions
o Information about horse year and Feng Shui

Numerology
o Basic traits
o Positive and negative qualities
o Compatible numbers
o Know your lucky number
o Daily Predictions

Page 15 of 121

Software Design Specification

Tarot Reading
o Basic predictions

Testimonials
o Information about persons whom we are thankful to for this website

About Us
o It specifies the aim of website
o It specifies the qualities and uniqueness of website, including the details and
pros that why one should opt this website and not any other

2.2.3 User Classes and Characteristics


This project is on ASTROLOGY having 3 users Admin, Customer, and Guest.

Admin can modify the details of the customers account, modify the prediction details

Customer can edit their profile information, view basic details, love compatibility, daily,
monthly, yearly predictions, death predictions, birth stone, know the sign according to the
Indian horoscope of his own or any other by his sign, view basic details, love compatibility,
daily, monthly, yearly predictions, birth stone, know the sign, know about feng shui & year of
horse according to the Chinese Astrology of his own or any other by his sign, view basic
details according to the number. Also can get the lucky number, get the fortune number by
entering the details, and view the basic details and predictions by tarot card reading.

Guest can view basic details, love compatibility, daily, monthly, yearly predictions, death
predictions, birth stone, know the sign according to the Indian horoscope of his own or any
other by his sign, view basic details, love compatibility, daily, monthly, yearly predictions,
birth stone, know the sign, know about feng shui & year of horse according to the Chinese
Astrology of his own or any other by his sign, view basic details according to the number.
Also can get the lucky number, get the fortune number by entering the details, and view the
basic details and predictions by tarot card reading.

2.2.4 Operating Environment


Development Requirements :
Software Requirements:

OS : Window XP Professional, 7 or higher


Visual Studio 2010 or higher
SQL Server 2008

Software Design Specification

Hardware Requirements:

Processor
RAM
Cache Memory
Hard disk

Intel Pentium IV
2GB
1MB
250 GB

Deployment Requirements :
Software Requirements:

OS : Window XP Professional, 7 or higher


Web browser(IE, Mozilla , etc.)
Hardware Requirements:

Processor
RAM
Cache Memory
Hard disk
Modem

Intel Pentium IV
2GB
1MB
250 GB

2.2.5 Design and Implementation Constraints


This program is created using Asp.net with C# programming language and uses the Qt4
libraries for the main modules. So a minimum PC having at least 64mb of RAM and CPU
over 400MHz is required to run the program with good speed. Also the program uses at least
15 megabytes of hard disk space to store the program libraries. An installer is used to unpack
them all in an install wizard.
For language support only English language packs can be enabled within the program.
For the connection stream Tcp-Ip is used as its the common gateway for internet
applications.
The program is provided AS IT IS with ABSOLUTELY NO WARRANTY OF ANY KIND as
noted in the official project website.
User Documentation
Here are the official links of the project where you can retrieve more information about it and
download the latest version:
Page 17 of 121

Software Design Specification

http://localhost.com
2.2.6 Assumptions and Dependencies
For creating the windows forms and setting up the core program Trolltech Qt framework and
classes was used that offers a complete set of tools for developing cross platform projects and
a
language editor for additional translations. For better understanding the know-what to do
rather than
the know-how to do it we assume that the reader is not interested for knowing how to create
and
design windows forms and how the program is coded at that time.

2.3 System Features


The following are the major features provided by the system.

2.3.1 HOME::REQ1
2.3.1.1 Description and Priority
This allows a user to navigate to the different astrology to proceed further or login or
could see about the website, its testimonials and contact details.
Priority level = Low
2.3.1.2 Stimulus/Response Sequences
The user clicks login link to go to the login page.
The user clicks to about us, testimonials or contact us button to go to the
particular page.
The user clicks to services button to go to services provided by the website.

2.3.2 USER REGISTRATION::REQ2


2.3.2.1 Description and Priority
This allows a user to be a member of the website and enables him to see predictions
particularly for himself. This is an essential part of the system of high priority as it
adds new customer to the buyers of website.

Software Design Specification

Priority level = High


2.3.2.2 Stimulus/Response Sequences
The user selects the sign up link to get the registration form and after
following the instruction fills in the required information to create his/her
profile.
Client side validation will be done for checking provided information.
The user will be asked for a login and password
After client side validation for uniqueness an activation link will be sent by
mail.
On activation the user is now registered to the website.
2.3.2.3 Functional Requirements
Includes REQ1
Specializes:REQ1
Connected By: REQ3
2.3.3 LOGIN::REQ3
2.3.3.1 Description and Priority
This allows a user to login to his account.
Priority level = Low
2.3.3.2 Stimulus/Response Sequences
The user enters the id and password.
The guest is admitted as a user and can see the personalized predictions.
2.3.3.3 Functional Requirements
Includes REQ1
Specializes:REQ1, REQ2
Connected By : REQ4, REQ5, REQ6, REQ7, REQ8, REQ9, REQ10, REQ11,
REQ12, REQ13, REQ14, REQ15, REQ16, REQ17, REQ18
2.3.4 HOROSCOPE::REQ4
2.3.4.1 Description and Priority
This allows a user to see his predictions according to the Indian astrology. It also
allows the user to see for love compatibility and predictions for other Indian astrology
signs too.
Priority level = Low
3.4.2
Page 19 of 121

Stimulus/Response Sequences

Software Design Specification

The user selects the horoscope link and click for the type of details he wants.
Then the user selects the prediction like love compatibility, daily prediction
etc.
Then he either can click the personal button for personal intro or can click any
sign for particular info.
2.3.4.3 Functional Requirements
Includes REQ1, REQ3
Connects:REQ4, REQ5, REQ6, REQ7, REQ8, REQ9, REQ10, REQ15,
REQ16
Connected by:REQ1, REQ3
2.3.5 LOVE COMPATIBILITY::REQ5
2.3.5.1 Description and Priority
This allows a user to see his compatibility with other signs of horoscope.
Priority level = Low
2.3.5.2 Stimulus/Response Sequences
The user either selects his sign or logs in to proceed.
The user selects the sign of the partner to get the prediction.
2.3.5.3 Functional Requirements
Extends:REQ4
Connected by:REQ4
Connects:REQ3
2.3.6 CAREER PREDICTION::REQ6
2.3.6.1 Description and Priority
This allows a user to see his career prediction.
Priority level = Low
2.3.6.2 Stimulus/Response Sequences
The user either selects his sign or logs in to proceed.
The user can see predictions related to his career.
2.3.6.3 Functional Requirements
Extends:REQ4

Software Design Specification

Connected by:REQ4
Connects:REQ3
2.3.7 DEATH PREDICTION::REQ7
2.3.7.1 Description and Priority
This allows a user to see his predicted date and time of death.
Priority level = Low
2.3.7.2 Stimulus/Response Sequences
The user either fills the several details or logs in.
The user gets the predicted date of his death.
2.3.7.3 Functional Requirements
Extends:REQ4
Connected by:REQ4
Connects:REQ3
2.3.8 DAILY PREDICTION::REQ8
2.3.8.1 Description and Priority
This allows a user to see his prediction of the day according to his horoscope.
Priority level = Low
2.3.8.2 Stimulus/Response Sequences
The user either selects his sign or logs in to proceed.
The user gets the daily prediction.
2.3.8.3 Functional Requirements
Extends:REQ4
Connected by:REQ4
Connects:REQ3
2.3.9 MONTHLY PREDICTION::REQ9
2.3.9.1 Description and Priority
This allows a user to see his prediction of the month according to his sign of
horoscope.
Priority level = Low

Page 21 of 121

Software Design Specification

2.3.9.2 Stimulus/Response Sequences


The user either selects his sign or logs in to proceed.
The user gets the monthly prediction.
2.3.9.3 Functional Requirements
Extends:REQ4
Connected by:REQ4
Connects:REQ3
2.3.10 CHINESE ASTROLOGY::REQ10
2.3.10.1 Description and Priority
This allows a user to see his predictions according to the Chinese astrology. It also
allows the user to see for love compatibility and predictions for other Chinese
astrology signs too.
Priority level = Low
2.3.10.2 Stimulus/Response Sequences
The user selects the horoscope link and click for the type of details he wants.
Then the user selects the prediction like love compatibility, daily prediction
etc.
Then he either can click the personal button for personal intro or can click any
sign for particular info.
2.3.10.3 Functional Requirements
Includes REQ3
Connects:REQ1, REQ3, REQ4, REQ12, REQ13, REQ14, REQ15, REQ16
Connected by:REQ1
2.3.11 LOVE COMPATIBILITY::REQ11
2.3.11.1 Description and Priority
This allows a user to see his compatibility with other Chinese astrology sign.
Priority level = Low
2.3.11.2 Stimulus/Response Sequences
The user either selects his sign or logs in to proceed.
The user selects the sign of the partner to get the prediction.
2.3.11.3 Functional Requirements

Software Design Specification

Includes REQ1
Extends:REQ10
Connected by:REQ10
2.3.12 DAILY PREDICTION::REQ12
2.3.12.1 Description and Priority
This allows a user to see his prediction of the day according to his Chinese Astrology
sign.
Priority level = Low
2.3.12.2 Stimulus/Response Sequences
The user either selects his sign or logs in to proceed.
The user gets the daily prediction.
2.3.12.3 Functional Requirements
Includes REQ1
Extends:REQ10
Connected by:REQ10
2.3.13 MONTHLY PREDICTION::REQ13
2.3.13.1 Description and Priority
This allows a user to see his prediction of the month according to his sign of Chinese
astrology.
Priority level = Low
2.3.13.2 Stimulus/Response Sequences
The user either selects his sign or logs in to proceed.
The user gets the monthly prediction.
2.3.13.3 Functional Requirements
Extends:REQ10
Connected by:REQ10
Connects: REQ3
2.3.14 YEARLY PREDICTION::REQ14
2.3.14.1 Description and Priority
This allows a user to see his prediction of the month according to his sign of Chinese
astrology.
Priority level = Low
Page 23 of 121

Software Design Specification

2.3.14.2 Stimulus/Response Sequences


The user either selects his sign or logs in to proceed.
The user gets the monthly prediction.
2.3.14.3 Functional Requirements
Extends:REQ10
Connected by:REQ10
Connects : REQ3
2.3.15 NUMEROLOGY::REQ15
2.3.15.1 Description and Priority
This allows a user to see his predictions according to the Numerology. It also allows
the user to see predictions for other numbers too.
Priority level = Low
2.3.15.2 Stimulus/Response Sequences
The user selects the Numerology link and click for the type of details he
wants.
Then he either can click the personal button for personal intro or can click any
sign for particular info.
The user can also know lucky number by entering the date of birth.
2.3.15.3 Functional Requirements
Specializes:REQ1
Connected by:REQ1
Connects : REQ1, REQ3, REQ4, REQ10, REQ16
2.3.16 TAROT READING::REQ16
2.3.16.1 Description and Priority
This allows a user to see his predictions according to the randomly generated tarot
cards.
2.3.16.2 Stimulus/Response Sequences
The user selects the Tarot card link.
Then the user clicks on the blank cards to generate a combination.
Accordingly it gives the prediction for the user.
2.3.16.3 Functional Requirements

Software Design Specification

Specializes:REQ1
Connected by:REQ1
Connects : REQ1, REQ3, REQ4, REQ10, REQ15

2.4 External Interface Requirements


2.4.1 HOME
User Interfaces
Web browser
Hardware Interfaces
Monitor : to see the interface
Modem : to connect internet
MOUSE : to click the button
Ram : to load page
Software Interfaces
.NET Framework .NET is a framework that covers all the layers of
software development from the operating system up. It provides the
richest level of integration among presentation technologies,
component technologies and data technologies. The entire architecture
has been created to make it as easy to develop Internet applications, as
it is to develop for the desktop environment. (All REQs)
ASP.NET ASP.NET is the language used to build classes, retrieve and
manipulate data, and handle events. (All REQs)
Front Page and Microsoft Visual Interdev - are the key tools for
supporting site development.
Communications Interfaces
Client on internet will be using HTTP/HTTPS protocols
Client on intranet will be using TCP/IP protocol

2.4.2 USER REGISTRATION


User Interfaces
Web browser
Hardware Interfaces
Monitor : to see the interface
Keyboard : to enter values
Modem : to connect internet
MOUSE : to click the button
Ram : to load page
Software Interfaces
Page 25 of 121

Software Design Specification

Window s 2007 Server Windows 2007 server provides the core


security, TCP/IP functionality and other fundamental requirement for a
web operating system.
Internet Information Server (IIS) Internet Information Server
supports the core web server functionality.
.NET Framework It provides the richest level of integration among
presentation technologies, component technologies and data
technologies.
ASP.NET ASP.NET is the language used to build classes, retrieve and
manipulate data, and handle events.
Front Page and Microsoft Visual Interdev - are the key tools for
supporting site development.
SQL Server 2008 - SQL server 2008 is used to store and manipulate database.
Communications Interfaces
Client on internet will be using HTTP/HTTPS protocols
Client on intranet will be using TCP/IP protocol

2.4.3 LOGIN
User Interfaces
Web browser
Hardware Interfaces
Monitor : to see the interface
Keyboard : to enter values
Modem : to connect internet
MOUSE : to click the button
Ram : to load page
Software Interfaces
Internet Information Server (IIS) Internet Information Server
supports the core web server functionality.
.NET Framework It provides the richest level of integration among
presentation technologies, component technologies and data
technologies.
ASP.NET ASP.NET is the language used to build classes, retrieve and
manipulate data, and handle events.
Front Page and Microsoft Visual Interdev - are the key tools for
supporting site development.
SQL Server 2008 - SQL server 2008 is used to store and manipulate database.
Communications Interfaces
Client on internet will be using HTTP/HTTPS protocols

Software Design Specification

Client on intranet will be using TCP/IP protocol


2.4.4 HOROSCOPE
User Interfaces
Web browser
Hardware Interfaces
Monitor : to see the interface
Modem : to connect internet
MOUSE : to click the button, link etc.
Ram : to load page
Software Interfaces
.NET Framework It provides the richest level of integration among
presentation technologies, component technologies and data
technologies.
ASP.NET ASP.NET is the language used to build classes, retrieve and
manipulate data, and handle events.
Front Page and Microsoft Visual Interdev - are the key tools for
supporting site development.
Communications Interfaces
Client on internet will be using HTTP/HTTPS protocols
Client on intranet will be using TCP/IP protocol
2.4.5 LOVE COMPATIBILITY
User Interfaces
Web browser
Hardware Interfaces
Monitor : to see the interface
Modem : to connect internet
Mouse : to click the button
Ram : to load page
Software Interfaces
Window s 2007 Server Windows 2007 server provides the core
security, TCP/IP functionality and other fundamental requirement for a
web operating system.
Internet Information Server (IIS) Internet Information Server
supports the core web server functionality.
.NET Framework It provides the richest level of integration among
presentation technologies, component technologies and data
technologies.
Page 27 of 121

Software Design Specification

ASP.NET ASP.NET is the language used to build classes, retrieve and


manipulate data, and handle events.
Front Page and Microsoft Visual Interdev - are the key tools for
supporting site development.
SQL Server 2008 - SQL server 2008 is used to store and manipulate database.
Communications Interfaces
Client on internet will be using HTTP/HTTPS protocols
Client on intranet will be using TCP/IP protocol
2.4.6 CAREER PREDICTION
User Interfaces
Web browser
Hardware Interfaces
Monitor : to see the interface
Modem : to connect internet
MOUSE : to click the button
Ram : to load page
Software Interfaces
Window s 2007 Server Windows 2007 server provides the core
security, TCP/IP functionality and other fundamental requirement for a
web operating system.
Internet Information Server (IIS) Internet Information Server
supports the core web server functionality.
.NET Framework It provides the richest level of integration among
presentation technologies, component technologies and data
technologies.
ASP.NET ASP.NET is the language used to build classes, retrieve and
manipulate data, and handle events.
Front Page and Microsoft Visual Interdev - are the key tools for
supporting site development.
SQL Server 2008 - SQL server 2008 is used to store and manipulate database.
Communications Interfaces
Client on internet will be using HTTP/HTTPS protocols
Client on intranet will be using TCP/IP protocol
2.4.7 DEATH PREDICTION
User Interfaces
Web browser

Software Design Specification

Hardware Interfaces
Monitor : to see the interface
Modem : to connect internet
MOUSE : to click the button
Ram : to load page
Software Interfaces
Window s 2007 Server Windows 2007 server provides the core
security, TCP/IP functionality and other fundamental requirement for a
web operating system.
Internet Information Server (IIS) Internet Information Server
supports the core web server functionality.
.NET Framework It provides the richest level of integration among
presentation technologies, component technologies and data
technologies.
ASP.NET ASP.NET is the language used to build classes, retrieve and
manipulate data, and handle events.
Front Page and Microsoft Visual Interdev - are the key tools for
supporting site development.
SQL Server 2008 - SQL server 2008 is used to store and manipulate database.
Communications Interfaces
Client on internet will be using HTTP/HTTPS protocols
Client on intranet will be using TCP/IP protocol
2.4.8 DAILY PREDICTION
User Interfaces

Hardware Interfaces
Monitor : to see the interface
Modem : to connect internet
MOUSE : to click the button
Ram : to load page
Software Interfaces
Window s 2007 Server Windows 2007 server provides the core
security, TCP/IP functionality and other fundamental requirement for a
web operating system.
Internet Information Server (IIS) Internet Information Server
supports the core web server functionality.
.NET Framework It provides the richest level of integration among
presentation technologies, component technologies and data
technologies.
ASP.NET ASP.NET is the language used to build classes, retrieve and
manipulate data, and handle events.
Page 29 of 121

Software Design Specification

Front Page and Microsoft Visual Interdev - are the key tools for
supporting site development.
SQL Server 2008 - SQL server 2008 is used to store and manipulate database.
Communications Interfaces
Client on internet will be using HTTP/HTTPS protocols
Client on intranet will be using TCP/IP protocol
2.4.9 MONTHLY PREDICTION
User Interfaces
Web browser
Hardware Interfaces
Monitor : to see the interface
Modem : to connect internet
MOUSE : to click the button
Ram : to load page
Software Interfaces
Window s 2007 Server Windows 2007 server provides the core
security, TCP/IP functionality and other fundamental requirement for a
web operating system.
Internet Information Server (IIS) Internet Information Server
supports the core web server functionality.
.NET Framework It provides the richest level of integration among
presentation technologies, component technologies and data
technologies.
ASP.NET ASP.NET is the language used to build classes, retrieve and
manipulate data, and handle events.
Front Page and Microsoft Visual Interdev - are the key tools for
supporting site development.
SQL Server 2008 - SQL server 2008 is used to store and manipulate database.
Communications Interfaces
Client on internet will be using HTTP/HTTPS protocols
Client on intranet will be using TCP/IP protocol
2.4.10 CHINESE
User Interfaces
Web browser
Hardware Interfaces

Software Design Specification

Monitor : to see the interface


Modem : to connect internet
MOUSE : to click the button
Ram : to load page
Software Interfaces
Window s 2007 Server Windows 2007 server provides the core
security, TCP/IP functionality and other fundamental requirement for a
web operating system.
Internet Information Server (IIS) Internet Information Server
supports the core web server functionality.
.NET Framework It provides the richest level of integration among
presentation technologies, component technologies and data
technologies.
ASP.NET ASP.NET is the language used to build classes, retrieve and
manipulate data, and handle events.
Front Page and Microsoft Visual Interdev - are the key tools for
supporting site development.
SQL Server 2008 - SQL server 2008 is used to store and manipulate database.
Communications Interfaces
Client on internet will be using HTTP/HTTPS protocols
Client on intranet will be using TCP/IP protocol
2.4.11 LOVE COMPATIBILTY
User Interfaces
Web browser
Hardware Interfaces
Monitor : to see the interface
Modem : to connect internet
MOUSE : to click the button
Ram : to load page
Software Interfaces
Window s 2007 Server Windows 2007 server provides the core
security, TCP/IP functionality and other fundamental requirement for a
web operating system.
Internet Information Server (IIS) Internet Information Server
supports the core web server functionality.
.NET Framework It provides the richest level of integration among
presentation technologies, component technologies and data
technologies.
ASP.NET ASP.NET is the language used to build classes, retrieve and
manipulate data, and handle events.
Page 31 of 121

Software Design Specification

Front Page and Microsoft Visual Interdev - are the key tools for
supporting site development.
SQL Server 2008 - SQL server 2008 is used to store and manipulate database.
Communications Interfaces
Client on internet will be using HTTP/HTTPS protocols
Client on intranet will be using TCP/IP protocol
2.4.11 DAILY PREDICTION
User Interfaces
Web browser
Hardware Interfaces
Monitor : to see the interface
Modem : to connect internet
MOUSE : to click the button
Ram : to load page
Software Interfaces
Window s 2007 Server Windows 2007 server provides the core
security, TCP/IP functionality and other fundamental requirement for a
web operating system.
Internet Information Server (IIS) Internet Information Server
supports the core web server functionality.
.NET Framework It provides the richest level of integration among
presentation technologies, component technologies and data
technologies.
ASP.NET ASP.NET is the language used to build classes, retrieve and
manipulate data, and handle events.
Front Page and Microsoft Visual Interdev - are the key tools for
supporting site development.
SQL Server 2008 - SQL server 2008 is used to store and manipulate database.
Communications Interfaces
Client on internet will be using HTTP/HTTPS protocols
Client on intranet will be using TCP/IP protocol
2.4.12 MONTHLY PREDICTION
User Interfaces
Web browser
Hardware Interfaces

Software Design Specification

Monitor : to see the interface


Modem : to connect internet
MOUSE : to click the button
Ram : to load page
Software Interfaces
Window s 2007 Server Windows 2007 server provides the core
security, TCP/IP functionality and other fundamental requirement for a
web operating system.
Internet Information Server (IIS) Internet Information Server
supports the core web server functionality.
.NET Framework It provides the richest level of integration among
presentation technologies, component technologies and data
technologies.
ASP.NET ASP.NET is the language used to build classes, retrieve and
manipulate data, and handle events.
Front Page and Microsoft Visual Interdev - are the key tools for
supporting site development.
SQL Server 2008 - SQL server 2008 is used to store and manipulate database.
Communications Interfaces
Client on internet will be using HTTP/HTTPS protocols
Client on intranet will be using TCP/IP protocol
2.4.14 YEARLY PREDICTION
User Interfaces
Web browser
Hardware Interfaces
Monitor : to see the interface
Modem : to connect internet
MOUSE : to click the button
Ram : to load page
Software Interfaces
Window s 2007 Server Windows 2007 server provides the core
security, TCP/IP functionality and other fundamental requirement for a
web operating system.
Internet Information Server (IIS) Internet Information Server
supports the core web server functionality.
.NET Framework It provides the richest level of integration among
presentation technologies, component technologies and data
technologies.
ASP.NET ASP.NET is the language used to build classes, retrieve and
manipulate data, and handle events.

Page 33 of 121

Software Design Specification

Front Page and Microsoft Visual Interdev - are the key tools for
supporting site development.
SQL Server 2008 - SQL server 2008 is used to store and manipulate database.
Communications Interfaces
Client on internet will be using HTTP/HTTPS protocols
Client on intranet will be using TCP/IP protocol
2.4.15 NUMEROLOGY
User Interfaces
Web browser
Hardware Interfaces
Monitor : to see the interface
Modem : to connect internet
MOUSE : to click the button
Ram : to load page
Software Interfaces
Window s 2007 Server Windows 2007 server provides the core
security, TCP/IP functionality and other fundamental requirement for a
web operating system.
Internet Information Server (IIS) Internet Information Server
supports the core web server functionality.
.NET Framework It provides the richest level of integration among
presentation technologies, component technologies and data
technologies.
ASP.NET ASP.NET is the language used to build classes, retrieve and
manipulate data, and handle events.
Front Page and Microsoft Visual Interdev - are the key tools for
supporting site development.
SQL Server 2008 - SQL server 2008 is used to store and manipulate database.
Communications Interfaces
Client on internet will be using HTTP/HTTPS protocols
Client on intranet will be using TCP/IP protocol
2.4.16 TAROT READING
User Interfaces
Web browser
Hardware Interfaces

Software Design Specification

Monitor : to see the interface


Modem : to connect internet
MOUSE : to click the button
Ram : to load page
Software Interfaces
Internet Information Server (IIS) Internet Information Server
supports the core web server functionality.
.NET Framework It provides the richest level of integration among
presentation technologies, component technologies and data
technologies.
ASP.NET ASP.NET is the language used to build classes, retrieve and
manipulate data, and handle events.
Front Page and Microsoft Visual Interdev - are the key tools for
supporting site development.
SQL Server 2008 - SQL server 2008 is used to store and manipulate database.
Communications Interfaces
Client on internet will be using HTTP/HTTPS protocols
Client on intranet will be using TCP/IP protocol

2.5 Other Nonfunctional Requirements


Here we specify some nonfunctional constraints that the program satisfies in order to be more
concrete and stable.

2.5.1 Performance Requirements


The application must allow for scheduled maintenance times where server will be
interrupted
The application must keep a backup record of predictions, user, and notifications for
users.
The application must have an intuitive interface designed for the general public
User must be able to access the website from any reputable Internet Browsers (i.e.
Chrome, Firefox, and Opera).

2.5.2 Safety Requirements


Consistency: checking the fact that all clients must be attachable to one server, so there
would
be appropriate control of the test statistics and information.
Also in case of a potential loss of connection between the client and the server the clients test
progress so far is lost. When the client finishes its test (by pressing the finish button) then its

Page 35 of 121

Software Design Specification

progress is sent to the server and be logged. In case of a potential server breakdown only the
so far
finished tests are saved to the log file.

2.5.3 Security Requirements


This program uses object oriented mechanisms to protect its data passed using methods
Also there is no currently a security schema of this program. Thus the log files that are being
created
are readable using a simple text reader.

2.5.4 Software Quality Attributes


PRACTABILITY
The system must be stable and can be operated by the people with average
intelligence.
EFFICIENCY
This involves accuracy, timeliness and comprehensiveness of the system output.
COST
It is desirable to aim for a system with a minimum cost subject to the condition that it
must satisfy all requirements.
FLEXIBILITY
The system should be modified depending on the changing needs of the user. Such
modification should not entail extensive reconstructing or recreation.

Software Design Specification

Page 37 of 121

Software Design Specification

3.1 . Introduction
The following is an attempt to put together a complete, yet reasonably flexible template for
the specification of software designs. Wherever possible, I have tried to provide guidelines
(instead of prescribing requirements) for the contents of various sections and subsections of
the document. Some may prefer to require more detailed subsections of a particular section,
choosing one or more of the subsection topics from the list of guidelines provided. In this
sense, this document is really a template for a template.
It is my desire that a completed software design specification meet the following criteria:
It should be able to adequately serve as training material for new project members,
imparting to them enough information and understanding about the project
implementation, so that they are able to understand what is being said in design
meetings, and won't feel as if they are drowning when they are first asked to create or
modify source code.
It should serve as "objective evidence" that the designers and/or implementers are
following through on their commitment to implement the functionality described in the
requirements specification.
It needs to be as detailed as possible, while at the same time not imposing too much of a
burden on the designers and/or implementers that it becomes overly difficult to create or
maintain.

Software Design Specification

3.1.1 Document Outline


This document will cover all the necessary details related to the designing specifications of
the software.

3.2 Document Description


Here is the description of the contents (by section and subsection) of the proposed software
for software design specifications:
3.2.1 Introduction
The software Online Astro provides the different types of predictions to all the users
depending upon their details. It gives the predictions for Chinese, western astrology,
numerology, tarot card reading etc.
This project gives the predictions to the users according to the details entered.
The user can take different precaution for a better future and know what to do in
different aspects. Also can see the basic predictions and their capabilities of which they
are not known and can improve themselves.
This document is used by software designer and reviewed by the customer.
Main modules are :
o Login Form
o Registration form
o Western Astrology
o Chinese astrology
o Numerology
o Tarot Card Reading

3.2.2 System Overview


The software Online Astro provides the different types of predictions to all the users
depending upon their details. It gives the predictions for Chinese, western astrology,
numerology, tarot card reading etc. It also includes basic love compatibility checking along
with the death prediction, simple theories of different aspects etc.

3.4. Design Considerations


This section describes many of the issues which need to be addressed or resolved before
attempting to devise a complete design solution.
3.4.1 Assumptions and Dependencies
The predictions are general. The user can see their prediction at any time by just entering
the details.

Page 39 of 121

Software Design Specification

3.4.2 General Constraints


SQL Server 2008 used as DBMS because it support wide range of user access at same
time.SQL Server has designed to help provide the highest level of security for
enterprise data through features such as database encryption, more secure default
settings, password policy enforcement, granular permissions control, and an enhanced
security model
Visual studio used as frontend using c# which is Microsofts brand new language,
designed for its brand new platform, the DOT NET framework. C# is a very elegantly
designed language, which encourages good programming practice in regard to OOPS
programming. C# is descended directly from the powerful but complex C++ language,
and inherits most of the power without the complexity. C# is a platform independent
language that supports transparent web browser.

3.4.3 Goals and Guidelines


The website efficiently reduces man work and provides easy, quick and global access to the
various details and predictions.
Also the man have not to go to the astrologer to get the details and is easy to access.
The user must have the following characteristics. :
User details : His details like name date of birth etc.

3.4.4 Development Methods


The establishment and use of sound engineering principles in order to obtain
economically developed software that is reliable and works efficiently on real machines is
called software engineering.
Software engineering is the discipline whose aim is:
1. Production of quality software
2. Software that is delivered on time
3. Cost within the budget
4. Satisfies all requirements
Software process is the way in which we produce the software. Apart from hiring smart,
knowledgeable engineers and buying the latest development tools, effective software
development process is also needed, so that engineers can systematically use the best
technical and managerial practices to successfully complete their projects.
A software life cycle is the series of identifiable stages that a software product undergoes
during its lifetime. A software lifecycle model is a descriptive and diagrammatic
representation of the software life cycle. A life cycle model represents all the activities
required to make a software product transit through its lifecycle phases. It also captures the
order in which these activities are to be taken.

Software Design Specification

LIFE CYCLE MODELS


There are various life cycle models to improve the software processes.
WATERFALL MODEL
PROTOTYPE MODEL
ITERATIVE ENHANCEMENT MODEL
EVOLUTIONARY MODEL
SPIRAL MODEL
In the project, Waterfall model is followed.
Analysi
s

Requirements
Specification

Desig
n

Implementati
on

Testing
and
Integratio

Operation
and
Maintenance

Page 41 of 121

Software Design Specification

Feasibility Study
Requirement Analysis and Specification
Design
Implementation and Unit Testing
Integration and System Testing
Maintenance

WATERFALL MODEL
This model contains 6 phases:
Feasibility study
The feasibility study activity involves the analysis of the problem and collection of
the relevant information relating to the product. The main aim of the feasibility study
is to determine whether it would be financially and technically feasible to develop the
product.
Requirement analysis and specification
The goal of this phase is to understand the exact requirements of the customer and to
document them properly. (SRS)
Design
The goal of this phase is to transform the requirement specification to a structure that
is suitable for implementation in some programming language.
Implementation and unit testing
During this phase the design is implemented. Initially small modules are tested in
isolation from rest of the software product.
Integration and system testing
In this all the modules are integrated and then tested altogether.
Operation and maintenance
Release of software inaugurates the operation and life cycle phase of the operation.

Software Design Specification

3.5. Architectural Strategies


3.5.1 Module design
The system design shows how Software will be structured to satisfy the requirements
identified during the analysis phase. The design process is a translation of requirements into a
description of the software structure, software components, interfaces and data necessary for
the implementation phase. The design phase provides a complete blueprint for the
implementation activity.
System analysis begins by identifying the reports and the other outputs the system will
produce. Then the specific on each are pin pointed. Usually, designers sketch the form or
display as they expect it to appear when the system is complete. This may be done, on a paper
or computer display, using one of the automated tools available. The system design also
describes the data to be the input, calculated or stored. Individual data items and calculation
procedures are written in detail. The procedures tell how to process the data and produce the
output. The proposed system contains the following main module processes: The user, property dealer, property & employee registration and login: This process has different faces when its come to registration for user, property, property
dealer & employee. Registration is needed for the user and dealer to list their property and get
the information about the property required. This registration is being done by the user and
dealer directly from the website. After the registration process a unique login id will be given
to the user and dealer. Employee registration is login dependent which will be done either by
another employee or directly by the administrator.

Registration
A guest can register to become a user an easily access his predictions more fastly. A
validation process automatically checks all the constraint regarding registration whenever a
change at client side occurs to update the server side.

Login
Login table is maintained for users and administration.

As the system is candidate dependent so proper user id and password based candidate
system is necessary to accomplish the fact. Whatever and however the system is to
maintain the candidate status and specific user enabled services as well as to track the
candidates surfing for security and privacy reason.
Based on the login and the access rights granted by the administrator he is linked to
the appropriate page. If the user is not registered on the site, he is linked to the
Registration page.
A login status and log is maintained to find who and from where login-ed for which
purpose and also to find the number of time a user logins.

Page 43 of 121

Software Design Specification

Astrology
It shows all the varities of prediction done through western way of astrology like basic
predictions, love match etc.
Chinese astrology
The Chinese predictions are shown in this module like the compatibility, basic predictions,
strengths and weaknesses etc.
Numerology
Different predictions according to the number of the user is shown along with the lucky
number and all the other predictions one can get.
Tarot Card Reading
Gets different prediction and many answers through random generation of the tarot card.

3.5.2Testing Method
System testing is done to find discrepancies between the system and its original objective,
current specifications and system documentation. For each project, testing is done at every
stage. Testing need is where errors remaining from all the previous phase must be detected.
Hence testing performs a very critical role for quality assurance and for ensuring the
reliability of software. During testing, the program to be tested is executed with a set of test
cases and is evaluated to determine if the program performs as expected.

Software Design Specification

Unit testing

Module
testing

Sub-system
testing

System
testing

Final
Testing

Some of the commonly used terms associated with testing are explained briefly in following
lines:
a.
Error=Error refers to the difference between actual output of software and the
correct output. In this interpretation, error is essentially a measure of the difference
between the actual and the ideal.
b.
Fault=Fault is a condition that causes a system to perform a required function.
A fault is the basic reason for software malfunction and is synonymous with the
commonly used term bug.
c.
FailureFailure is inability of a system to perform a required function according
to its specifications. A software failure occurs if the behavior of the software is different
from specified behavior.

6. System Architecture
About System Architecture
Examination system was helpful to separate teaching and testing. It promoted teacher to make
the lesson planning and teach into class carefully it was also an important means of
evaluating the teaching effect otherwise its stimulated student to conscientiously study and
attend a lecture , to do their homework independently therefore the Online examination
system could improve teaching level by providing better technical support the online
examination system also provide online testing capability for student students could log in the

Page 45 of 121

Software Design Specification

system any time , test themselves , understand their learning level ,adjust their learning
progress.
DATA FLOW DIAGRAM
A DFD also known as bubble chart , has the purpose of clarifying system requirements and
identifying major transformations. It shows the flow of data through a system. It is a
graphical tool because it presents a picture. The DFD may be partitioned into levels that
represent increasing information flow and functional detail. Four simple notations are used to
complete a DFD. These notations are given below:-

DATA FLOW
The data flow is used to describe the movement of information from one part of the system to
another part. Flows represent data in motion. It is a pipe line through which information
flows. Data flow is represented by an arrow.
DATA FLOW

PROCESS
A circle or bubble represents a process that transforms incoming data to outgoing data.
Process shows a part of the system that transforms inputs to outputs.
PROCESS

EXTERNAL ENTITY
A square defines a source or destination of system data. External entities represent any entity
that supplies or receives information from the system but is not a part of the system.
EXTERNAL ENTITY
ENTITY

Software Design Specification

DATA STORE
The data store represents a logical file. A logical file can represent either a data store symbol
which can represent either a data structure or physical file on disk. The data store is used to
collect data at rest or a temporary repository of data. It is represented by open rectangle.

DATA STORE

OUTPUT
The output symbol is used when a hard copy is produced and the user of the copies cannot be
clearly specified or there are several users of the output.
OUTPUT

Page 47 of 121

Software Design Specification

Level 0 :Guest
Give
Details
Get Details

OWNER

ADMIN

ONLINE ASTRO

Give
Predictions

Level 1:-

Get
Predictions
Give
Details

Get
Predictions

Software Design Specification

Page 49 of 121

Software Design Specification

Level 2:2.1.1 :

2.1.2 :

Software Design Specification

2.2.1 :

2.2.2 :

2.2.3 :

Page 51 of 121

Software Design Specification

2.3.1 :

2.3.2 :

Software Design Specification

3.8. Detailed System Design


The application will have a user friendly and menu based interface. It will have a login screen
for entering user-name, password will be provided. Access to different screens will be
based upon the user. There is a screen for displaying information regarding entries to
be made by admin and broker. There is a screen for displaying information regarding
filling of property details by in broker. There is a screen for displaying information
regarding all types of property. There is a screen for displaying the information while
deleting or adding property. There is a screen for displaying property details when
they are view and purchase property . There is a screen for selling property to buyer .

3.8.1 Classification
Web browser was used as client asp.net as the business logic tier to achieve its function, and
database as the data layer:
1. Client
Client was web browser which implemented the systems display logic. The
function was to send request to web server through the web browser by user
(buyer and dealer). While web server returns the requested html pages or html
pages dynamically generated to the client, which were showing the web
browser.
2. Business logic tier
It was achieved mainly by asp.net. It responded to the client request and
achieved the business logic with the web server.
3. Data tier
It was realised with database system, use to store the business data such as
property information and control data such as user data SQL server was used
to achieve the data tier.

3.8.2 Definition
The specific purpose and semantic meaning of the component. This may need to refer
back to the requirements specification.

3.8.3 Responsibilities
The primary responsibilities and/or behavior of this component. What does this component
accomplish? What roles does it play? What kinds of services does it provide to its clients?
For some components, this may need to refer back to the requirements specification.

3.8.4 Constraints
Any relevant assumptions, limitations, or constraints for this component. This should include
constraints on timing, storage, or component state, and might include rules for interacting
Page 53 of 121

Software Design Specification

with this component (encompassing preconditions, post conditions, invariants, other


constraints on input or output values and local or global values, data formats and data access,
synchronization, exceptions, etc.)

3.8.5 Composition
A description of the use and meaning of the subcomponents that are a part of this component.

3.8.6 Database Design


The database design specifies how the date of the software is going to be stored.

3.8.7 Table schemas


The complete (compliable) set of CREATE TABLE statements (and other SQL statements)
that declare the database schema, including integrity constraints, domain specifications,
assertions, and access privileges -- documented in a template with the intended use of each
table and column.

Different tables used

TABLE 1. LOGIN

COLUMN NAME

DATA TYPE

LENGTH KEY CONSTRAINTS

DESCRIPTION

UerID

Nvarchar

50

This field is used


as the key against
all the tables,
therefore should
be Unique.

Pass

nvarchar

20

The
password
specified by the
user
during
registration.

UserType

Nvarchar

20

This
specifies
type of user i.e.,
Admin or user

Primary Key

Software Design Specification

TABLE 2. USER REGISTRATION

COLUMN NAME

DATA TYPE

LENGTH KEY
CONSTRAINT
S

DESCRIPTION

userId

Nvarchar

50

This field is used as the


key against all the tables,
and therefore Unique.

firstName

Nvarchar

100

Stores firve st name of the


user

lastName

Nvarchar

50

Stores last name of the


user

bdate

Nvarchar

50

Birth date of the user

bmonth

Nvarchar

50

Month of birth of the user

byear

Nvarchar

50

Year of birth of the user

gender

Nvarchar

10

Gender of the user

contact

Nvarchar

50

Contact details of the user

email

Nvarchar

50

Email address of the user

secQues

Nvarchar

100

Security question by the


user

secAns

Nvarchar

50

Security answer given by


the user

horoscopeSign

Nvarchar

50

Horoscope sign of the user

chineseSign

Nvarchar

50

Chinese sign of the user

Page 55 of 121

Primary Key

Software Design Specification

TABLE 3. ADMIN DETAILS

COLUMN NAME

DATA TYPE

LENGTH KEY
CONSTRAINT
S

DESCRIPTION

adminId

Nvarchar

50

This field is used as the


key against all the tables,
and therefore Unique.

firstName

Nvarchar

100

Stores first name of the


user

lastName

Nvarchar

50

Stores last name of the


user

Contact

Nvarchar

50

Birth date of the user

Email

Nvarchar

50

Month of birth of the user

Gender

Nvarchar

50

Year of birth of the user

Dob

Nvarchar

10

Gender of the user

department

Nvarchar

50

Contact details of the user

Primary Key

TABLE 4. ASTRO COMPATIBILITY


COLUMN
NAME

DATA
TYPE

LENGT
H

KEY
DESCRIPTION
CONSTRAINT
S

Color

nvarchar

40

Color

Keyword

nvarchar

40

Keyword

quickInterpret

nvarchar

1000

Prediction in short

Detail

nvarchar

2000

Detailed prediction

yinYang

nvarchar

2000

Yin and yang

yinYin

nvarchar

2000

Yin and yin

Software Design Specification

TABLE 5. HOROSCOPE
COLUMN
NAME

DATA
TYPE

LENGT
H

Hsign

nvarchar

40

Horoscope sign

Element

nvarchar

1000

Element of the sign

Planet

nvarchar

1000

Planet of the sign

Symbol

nvarchar

1000

Symbol of the sign

Stone

nvarchar

1000

Stone of the sign

lifePersuit

nvarchar

1000

Life persuit of the sign

Vibration

nvarchar

1000

Vibration of the sign

secretDesire

nvarchar

1000

Secret desire of the sign

physicalTraits

nvarchar

1000

Physical traits of the sign

bodyPart

nvarchar

1000

Main body parts

Duality

nvarchar

1000

Duality of the sign

Modality

nvarchar

1000

Modality of the sign

keywords

nvarchar

1000

Keywords of the sign

Color

nvarchar

1000

Color of the sign

House

nvarchar

1000

House of the sign

Strength

nvarchar

2000

Strength of the sign

weakness

nvarchar

2000

Weakness of the sign

independence

nvarchar

-1

friendship

nvarchar

-1

Business

nvarchar

-1

Independence prediction of
the sign
Friendship prediction of the
sign
Business prediction of the sign

temperament

nvarchar

-1

deepInside

nvarchar

-1

Nutshell

nvarchar

-1

Temperament prediction of the


sign
Deep inside prediction of the
sign
Nutshell prediction of the sign

Woman

nvarchar

-1

Woman prediction of the sign

Page 57 of 121

KEY
CONSTRAIN
TS

DESCRIPTION

Software Design Specification

Man

nvarchar

-1

Man prediction of the sign

dailyPrediction

nvarchar

-1

Daily prediction of the sign

monthlyPredicti
on
yearPrediction

nvarchar

-1

nvarchar

-1

Monthtly prediction of the


sign
Yearly prediction of the sign

Aries

nvarchar

40

Taurus

nvarchar

40

Gemini

nvarchar

40

Cancer

nvarchar

40

Leo

nvarchar

40

Virgo

nvarchar

40

Libra

nvarchar

40

Scorpio

nvarchar

40

Sagitarius

nvarchar

40

Capricorn

nvarchar

40

Aquarius

nvarchar

40

Pisces

nvarchar

40

Compatibility
aries
Compatibility
Taurus
Compatibility
Gemini
Compatibility
cancer
Compatibility
leo
Compatibility
virgo
Compatibility
libra
Compatibility
scorpio
Compatibility
sagitarius
Compatibility
Capricorn
Compatibility
aquarius
Compatibility
pisces

of the sign with


of the sign with
of the sign with
of the sign with
of the sign with
of the sign with
of the sign with
of the sign with
of the sign with
of the sign with
of the sign with
of the sign with

TABLE 6. Chinese
COLUMN
NAME

DATA
TYPE

LENGT
H

KEY
DESCRIPTION
CONSTRAINT
S

Csign

nvarchar

20

Chinese sign

prediction

nvarchar

-1

General prediction of the sign

Strength

nvarchar

-1

Strength prediction of the sign

weakness

nvarchar

-1

Earthy

nvarchar

100

Weakness prediction of the


sign
Earthy sign prediction of the

Software Design Specification

sign
wuXing

nvarchar

100

wuXing prediction of the sign

yinYang

nvarchar

100

yinYang prediction of the sign

directions

nvarchar

100

Directions prediction of the


sign

Color

nvarchar

200

Color prediction of the sign

avoidColor

nvarchar

200

Color that should be avoided

Number

nvarchar

100

Number prediction of the sign

avoidNumber

nvarchar

100

Number that shoud be avoided

Flower

nvarchar

1000

Flower prediction of the sign

compSigns

nvarchar

1000

Compatible signs

avoidSigns

nvarchar

1000

Avoidable signs

Celebs

nvarchar

-1

Ceebraties having same sign

fotune2014

nvarchar

-1

fotune2014 prediction of the


sign

career2014

nvarchar

-1

career2014 prediction of the


sign

wealth2014

nvarchar

-1

wealth2014 prediction of the


sign

relation2014

nvarchar

-1

relation2014 prediction of the


sign

health2014

nvarchar

-1

health2014 prediction of the


sign

TABLE 7. NUMEROLOGY
COLUMN
NAME

DATA
TYPE

LENGT
H

Number

int

Number

Prediction

nvarchar

-1

General prediction

Keywords

nvarchar

-1

Keywords

Pstv

nvarchar

-1

Positivity

Page 59 of 121

KEY
CONSTRAIN
TS

DESCRIPTION

Software Design Specification

Ngtv

nvarchar

-1

Negitivity

General

nvarchar

-1

General

Tarot

nvarchar

-1

Tarot card resemblance of


number

Astro

nvarchar

-1

Western sign resemblance of


number

Rune

nvarchar

-1

Rune resemblance of number

iChing

nvarchar

-1

iChing
number

treeOfLife

nvarchar

-1

treeOfLife resemblance of
number

hebremLetter

nvarchar

-1

hebremLetter resemblance of
number

Shamanism

nvarchar

-1

Shamanism resemblance of
number

Element

nvarchar

-1

Element
number

resemblance

of

Alchemy

nvarchar

-1

Alchemy
number

resemblance

of

Aura

nvarchar

-1

Aura resemblance of number

Color

nvarchar

-1

Color
number

Gemstone

nvarchar

-1

Gemstone
number

Crystals

nvarchar

-1

Crystals
number

resemblance

of

Fmonth

nvarchar

-1

Fmonth
number

resemblance

of

fweekDay

nvarchar

-1

Week Day resemblance of


number

luckyNums

nvarchar

-1

luckyNumber resemblance of
number

Flora

nvarchar

-1

Flora resemblance of number

resemblance

resemblance
resemblance

of

of
of

Software Design Specification

friendNums

nvarchar

-1

Friend Numbers

enemyNums

nvarchar

-1

Enemy Numbers

Metal

nvarchar

-1

Metal
number

bodyChem

nvarchar

-1

bodyChem resemblance of
number

Karmic

nvarchar

-1

Karmic
number

bestProf

nvarchar

-1

Best profession

compBusinessNu
ms

nvarchar

-1

Compatible
Numbers

Business

compMarriageNu
ms

nvarchar

-1

Compatible
Numbers

Marriage

compRomanceNu
ms

nvarchar

-1

Compatible
Numbers

Romance

resemblance

resemblance

of

of

TABLE 8. TAROT
COLUMN
NAME

DATA
TYPE

LENGT
H

Card1

nvarchar

50

Card1

Card2

nvarchar

50

Card2

Intro

nvarchar

100

Introduction to them

General

nvarchar

max

General prediction of the


cards

Work

nvarchar

max

Work related prediction

Love

nvarchar

Max

Love related prediction

Finance

nvarchar

max

Finance related prediction

Health

nvarchar

Max

Health related prediction

sprituality

nvarchar

Max

Spirituality related prediction

Meaning

nvarchar

Max

Meaning related prediction

Past

nvarchar

Max

Past related prediction

Present

nvarchar

Max

Present related prediction

Page 61 of 121

KEY
DESCRIPTION
CONSTRAINT
S

Software Design Specification

Future

nvarchar

max

Future related prediction

yes__no

nvarchar

max

Yes/no interpretation

date_tmng_astro

nvarchar

max

Date time according to astro

Tables data:
The tables have to be populated by you and your client. Each table must contain an
appropriate number of data. The contents of the tables have to be provided (in an organized
way.)
Graphical User Interface
Provide, in an organized way, the pictures of all the forms in the graphical user
interface with a reference to the functional requirement it implements. You may use
html to present the graphical user interfaces.
For each form in the graphical user interface, provide:
o The names of the controls and fields on that form,
o The names of the events, methods, or procedures that cause that form to be
displayed, and
o The names of the events, methods, or procedures triggered by each control.

3.8.8 Class Diagrams and Classes


Provide a class diagram and an inheritance tree/diagram.
Each method has to be defined1:
1. Method Name
2. Parameters, each documented with its intended use
3. Return Value, suitably documented
4. Informal description of what the procedure does
5. Data structure and tables it accesses
6. Pre-conditions: Assumptions the method can make about the state of the global data
structures and database when it starts

Software Design Specification

7. Validity Checks, Errors, and other Anomalous Situations: Validity checks the method
must make about the state of the global data structures, the database, and its
parameters, including the actions that must be taken when such a check fails.
8. Post-conditions: The changes the method is supposed to make to the global data
structures and database.
9. Called by: The methods or events that call it
10. Calls: The methods it calls and any events it causes.

3.8.9 Uses/Interactions
A description of this components collaborations with other components. What other
components is this entity used by? What other components does this entity use (this would
include any side-effects this entity might have on other parts of the system)? This concerns
the method of interaction as well as the interaction itself. Object-oriented designs should
include a description of any known or anticipated subclasses, superclasses, and metaclasses.

3.8.10 Resources
A description of any and all resources that are managed, affected, or needed by this entity.
Resources are entities external to the design such as memory, processors, printers, databases,
or a software library. This should include a discussion of any possible race conditions and/or
deadlock situations, and how they might be resolved.
3.8.11 Processing
A description of precisely how this component goes about performing the duties necessary to
fulfill its responsibilities. This should encompass a description of any algorithms used;
changes of state; relevant time or space complexity; concurrency; methods of creation,
initialization, and cleanup; and handling of exceptional conditions.

3.8.12 Interface/Exports
The set of services (resources, data, types, constants, subroutines, and exceptions) that are
provided by this component. The precise definition or declaration of each such element
should be present, along with comments or annotations describing the meanings of values,
parameters, etc. .... For each service element described, include (or provide a reference) in its
discussion a description of its important software component attributes (Classification,
Definition, Responsibilities, Constraints, Composition, Uses, Resources, Processing, and
Interface).
Much of the information that appears in this section is not necessarily expected to be kept
separate from the source code. In fact, much of the information can be gleaned from the
source itself (especially if it is adequately commented). This section should not copy or
reproduce information that can be easily obtained from reading the source code (this would
be an unwanted and unnecessary duplication of effort and would be very difficult to keep upto-date). It is recommended that most of this information be contained in the source (with
appropriate comments for each component, subsystem, module, and subroutine). Hence, it is
expected that this section will largely consist of references to or excerpts of annotated
diagrams and source code. Any referenced diagrams or source code excerpts should be
provided at any design reviews.

Page 63 of 121

Software Design Specification

3.8.13 Detailed Subsystem Design


Provide a detailed description of this software component (or a reference to such a
description). Complex diagrams showing the details of component structure, behavior, or
information/control flow may be included in the subsection devoted to that particular
component (although, unless they are very large or complex, some of these diagrams might
be more appropriately included in the System Architecture section. The description should
cover any applicable software component attributes (some of which may be adequately
described solely by a source code declaration or excerpt).

3.9. Source Code Details


SLOC: Source Lines of Code. Use the free software sloc to calculate the SLOC
S.No
1.

Filename

SLOC

frmHome.aspx

2.
3.

frmHome.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="frmHome.aspx.cs"
Inherits="frmHome" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style type="text/css">
body
{
background: url('Images/bg6.jpg') no-repeat top;
background-size : 100% 800px;
}
.tds
{
background: url('Images/bgPannel.png') no-repeat top;
background-size : 100% 100%;
}
.btnStyl
{

Software Design Specification

background-color:Black;
border-style:Inset;
border-color:Navy;
font-weight:bold;
font-style:italic;
font-family:Kristen ITC;
font-size:10pt;
color:Olive;
height:30px;
width:100px;
}
.btnStyl1
{
background-color:Black;
border-style:Inset;
border-color:Navy;
font-weight:bold;
font-style:italic;
font-family:Kristen ITC;
font-size:10pt;
color:Olive;
height:30px;
width:100px;
margin:0px;
}
</style>
<script type="text/javascript">
function opage() {
document.getElementById("frame1").src = "frmAboutUs.aspx";
}
</script>
</head>
<body>
<form id="form1" runat="server">
<table style="width:100%; height:100%">
<tr >
<td style="font-family:Castellar; font-size:70px; color:White; width:80%"
align="center">
<br />&nbsp;&nbsp;&nbsp;&nbsp;ASTROLOGY
</td>
<td align="right" class="tds" style="font:10px; width:20%" >
<br />
<asp:LinkButton ID="lbtnLogin" runat="server" Text="Login"
CssClass="btnStyl1" onclick="lbtnLogin_Click"></asp:LinkButton>
<br /><br />
<a href="frmAboutUs.aspx" target="frame1" class="btnStyl">&nbsp;About
Us&nbsp;</a>
<br /><br />
<a href="frmAboutUs.aspx" target="frame1"
class="btnStyl">&nbsp;Testimonials&nbsp;</a>
Page 65 of 121

Software Design Specification

<br /><br />


<asp:LinkButton ID="lbtnServices" runat="server" Text="Services"
CssClass="btnStyl" onclick="lbtnServices_Click"></asp:LinkButton>
<br /><br />
<a href="frmAboutUs.aspx" target="frame1" class="btnStyl">&nbsp;Contact
Us&nbsp;</a>
<br /><br />
</td>
</tr>
<tr>
<td colspan="2" style="height:100%">
<iframe name="frame1" frameborder="0" align="left" scrolling="auto"
height="450px"
width="100%"></iframe>
</td>
</tr>
</table>
</form>
</body>
</html>
frmHome.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
public partial class frmHome : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void lbtnServices_Click(object sender, EventArgs e)
{
Response.Redirect("frmServices.aspx");
}
protected void lbtnLogin_Click(object sender, EventArgs e)
{
Response.Redirect("frmSignIn.aspx");
}
}

Software Design Specification

MastrePage.master
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs"
Inherits="MasterPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<link href="ddmenu1/ddmenu.css" rel="stylesheet" type="text/css" />
<script src="ddmenu1/ddmenu.js" type="text/javascript"></script>
<style type="text/css">
body
{
background: url('Images/bgpg1.png') no-repeat top;
background-size : cover;
}
</style>
<script type="text/javascript">
function panShow() {
document.getElementById("Panel1").setAttribute("Visible", "true");
}
</script>
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
<form id="form1" runat="server">
<div>
<table style="width: 100%">
<tr style="background-color:Black">
<td style="color:White" colspan="2">
<asp:Label ID="lblName" runat="server" Text="WELCOME" ForeColor="White"
Font-Bold="true" Font-Italic="true" Font-Size="10"></asp:Label>
<br /><br />
</td>
<td>
<asp:LinkButton ID="lbtnSignOut" runat="server"
onclick="lbtnSignOut_Click">Sign Out</asp:LinkButton>
</td>
</tr>
<tr>
<td>
</td>
Page 67 of 121

Software Design Specification

<td align="center" style="font-family: 'curlz MT'; font-size: 50pt; color:White; "


width="80%">
Astrology
</td>
<td align="right">
<asp:ImageButton ID="imbtnLogin" runat="server"
ImageUrl="~/Images/login-button-md.png" Width="70px" Height="50px"
onclick="imbtnLogin_Click" />
</td>
</tr>
<tr>
<td rowspan="3" style="width:inherit; top:0%">
<asp:Image ID="Image1" runat="server" Height="200px"
ImageUrl="~/images/0011.gif" Width="180px" />
<br />
<asp:ImageButton ID="btnLove" runat="server" Height="52px"
ImageUrl="~/images/btnLoveMatch.png" Width="183px"
OnClientClick="onpage()" onclick="btnLove_Click" />
<br />
<asp:ImageButton ID="btnCareer" runat="server" Height="52px"
ImageUrl="~/images/btnCareer.png" Width="183px" />
<br />
<asp:ImageButton ID="btnDeath" runat="server" Height="52px"
ImageUrl="~/images/btnDeath.png" Width="183px" />
<br />
<asp:ImageButton ID="btnDaily" runat="server" Height="52px"
ImageUrl="~/images/btnDaily.png" Width="183px" />
<br />
<asp:ImageButton ID="btnMonthly" runat="server" Height="52px"
ImageUrl="~/images/btnMonthly.png" Width="183px" />
<br />
</td>
</tr>
<tr>
<%--<td style="height:50%; background-image:url('Images/bgMenu.png');
background-size:cover">--%>
<td style="background-color:Olive; height:20px">
<div id="ddmenu">
<ul>
<li>
<a href="frmHome.aspx">HOME</a>
</li>
<li>HOROSCOPE
<div>
<div class="column">
<b><u>Know about yourself</u></b>

Software Design Specification

<a href="frmZodiacSigns.aspx?btn=basic" target="frame1"


onclick="panShow()">Basics</a>
<a href="frmZodiacSigns.aspx?btn=sw" target="frame1">Srength and
Weakness</a>
<a href="frmZodiacSigns.aspx?btn=bs" target="frame1">Get your stone</a>
<%--</div>
<div class="column">
<b><u>Your Different aspects</u></b>--%>
<a href="frmZodiacSigns.aspx?btn=diffaspcts" target="frame1">Different
Aspects</a>
<%--<a href="frmZodiacSigns.aspx?btn=frnshp"
target="frame1">Friendship</a>
<a href="frmZodiacSigns.aspx?btn=busns" target="frame1">Business</a>
<a href="frmZodiacSigns.aspx?btn=tmprmnt"
target="frame1">Temperment</a>
<a href="frmZodiacSigns.aspx?btn=deep" target="frame1">Deep Inside</a>
<a href="frmZodiacSigns.aspx?btn=nutshell" target="frame1">Nutshell</a>
<a href="frmZodiacSigns.aspx?btn=woman" target="frame1">Woman</a>
<a href="frmZodiacSigns.aspx?btn=man" target="frame1">Man</a> --%>
</div>
<div class="column" style="width:200px;text-align:center;">
<img src="Images/img1.jpg" alt="" style="width:200px; height:175px;" />
</div>
</div>
</li>
<li><a href="frmChinese.aspx">CHINEESE</a>
</li>
<li>
<a href="frmNumerology.aspx">NUMEROLOGY</a>
</li>
<li>TAROT READING
<div>
<div class="column">
<b><u>Know about yourself</u></b>
<a href="frmTarot.aspx" target="frame1">Introduction</a>
<a href="frmTarot.aspx" target="frame1">General</a>
<a href="frmTarot.aspx" target="frame1">Work</a>
<a href="frmTarot.aspx" target="frame1">Love</a>
<a href="frmTarot.aspx" target="frame1">Finances</a>
<a href="frmTarot.aspx" target="frame1">Health</a>
<a href="frmTarot.aspx" target="frame1">Sprituality</a>
<a href="frmTarot.aspx" target="frame1">Past</a>
<a href="frmTarot.aspx" target="frame1">Present</a>
<a href="frmTarot.aspx" target="frame1">Future</a>
<a href="frmTarot.aspx" target="frame1">Yes/No Key Interpretation</a>
</div>
Page 69 of 121

Software Design Specification

</div>
</li>
</ul>
</div>
</td>
</tr>
<tr>
<td style="margin:0%" align="left" colspan="2">
<asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
<tr>
<td style="color:White" align="center" colspan="2">
Copyrights Reserved
&nbsp;
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
MasterPage.master.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
public partial class MasterPage : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
if (Global.Retfname == "")
{
imbtnLogin.Visible = true;
lblName.Text = "Welcome";
lbtnSignOut.Visible = false;
}

Software Design Specification

else
{
imbtnLogin.Visible = false;
lblName.Text = "Welcome " + Global.Retfname;
lbtnSignOut.Visible = true;
}
}
protected void imbtnLogin_Click(object sender, ImageClickEventArgs e)
{
Response.Redirect("frmSignIn.aspx");
}
protected void btnLove_Click(object sender, ImageClickEventArgs e)
{
Response.Redirect("frmHoroLoveMatch.aspx");
}
protected void lbtnSignOut_Click(object sender, EventArgs e)
{
Global.RetUserId = "";
Global.Retfname = "";
imbtnLogin.Visible = true;
}
}
Ddmenu.css

/* main menu
----------------------------*/
#ddmenu
{
display:block;
font-family:Arial;
text-align:center; /* Specify the alignment of the whole UL if UL is not width:100%;*/
letter-spacing:normal;
}
/*workable with bootstrap*/
#ddmenu, #ddmenu div {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing:content-box;
}
#ddmenu ul
{
/*text-align:right;*/ /* Here you can further customize the alignment of its LIs */
width:90%;
margin:0;
Page 71 of 121

Software Design Specification

padding:0;
font-size:0;
background:#FFFFCC;
/*border:1px solid #FFFFCC;
border-bottom:none;*/
display:inline;
list-style:none;
position:relative;
z-index:999999990;
visibility:hidden;
border-radius:4px;
}
#ddmenu li
{
margin:0;
padding:0;
font-size:11px;
display:inline-block;
position:relative;
color:#000000;
}
#ddmenu a
{
color:#000000;
padding:0 22px;
line-height:30px;
font-weight:normal;
text-decoration:none;
display:inline-block;
outline:0;
position:relative;
white-space:nowrap;
}
/* links without sub-menu */
#ddmenu li.over a
{
background-color:#DDDDDD;
color:#000000;
}
/* links with sub-menu */
#ddmenu a.arrow

Software Design Specification

{
background-image:url(arrow1.gif);
background-repeat:no-repeat;
background-position:right center;
border-left:1px solid transparent;
border-right:1px solid transparent;
}
#ddmenu li.over a.arrow
{
background-color:#FFFFFF;
color:#003366;
border-left:1px solid #DDDDDD;
border-right:1px solid #DDDDDD;
/*text-decoration:underline;*/
}
#ddmenu li > div
{
padding:0;
margin:0;
display:none;
}
/* sub-menu layout
----------------------------*/
#ddmenu div.drop
{
position:absolute;
text-align:left;
border:1px solid #DDDDDD;
background:#FFFFFF;
padding:20px;
color:#000000;
line-height:30px;
font-size:13px;
font-family:Arial;
font-weight:bold;
border-radius:0 0 6px 6px;
}
/* sub-menu offset
----------------------------*/
#ddmenu div.drop
{
left:0px;/*Use this property to change offset of the sub-menu*/
}
#ddmenu div.dropToLeft
{
Page 73 of 121

Software Design Specification

left:auto; right:0px;
}
#ddmenu div.dropToLeft2
{
left:auto; right:-120px;
}
/* links in sub menu
----------------------------*/
#ddmenu div.drop a
{
line-height:20px;
font-size:12px;
font-family:Arial;
font-weight:normal;
color:#003399;
text-decoration:none;
display:block;
text-align:left;
position:static;
background:none;
background-image:none;
padding:0 0;
}
#ddmenu div.drop a:hover
{
text-decoration:underline;
color:#0099FF;
}
/* blocks within the sub-menu
----------------------------*/
#ddmenu div.drop div
{
background:none;
}
#ddmenu div.column
{
width:auto;
float:left; /*align each column in one row*/
padding:0 10px; /*padding of each column*/
}

Software Design Specification

#ddmenu div.column div


{
padding:0px 10px; /*sub-div within div.column. 10px for indent.*/
}
#ddmenuLink {display:none;}
frmServices.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true" CodeFile="frmServices.aspx.cs" Inherits="frmServices" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script type="text/javascript">
function iframeLoaded() {
var iFrameID = document.getElementById('Iframe1');
if (iFrameID) {
// here you can make the height, I delete it first, then I make it again
iFrameID.height = "";
iFrameID.height = iFrameID.contentWindow.document.body.scrollHeight + 20 +
"px";
}
}
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<iframe id="Iframe1" name="frame1" onload="iframeLoaded()" frameborder="0"
align="middle" scrolling="auto" width="100%" style="top:-500% "></iframe>
</asp:Content>
frmSignin.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="frmSignIn.aspx.cs"
Inherits="frm" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"
TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
protected void Timer1_Tick(object sender, EventArgs e)
{
lblDateTime.Text = DateTime.Now.ToString();
}
Page 75 of 121

Software Design Specification

</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<link href="StyleSheet.css" rel="stylesheet" type="text/css" />
<link href="JsImageSlider1/js-image-slider.css" rel="stylesheet" type="text/css" />
<script src="JsImageSlider1/js-image-slider.js" type="text/javascript"></script>
<link href="JsImageSlider1/generic.css" rel="stylesheet" type="text/css" />
<style type="text/css">
body
{
background: url('Images/bg5.jpg') no-repeat fixed center;
background-size: cover;
color:White;
}
.Im
{
width:20px;
height:20px;
}
</style>
</head>
<body>
<script type="text/javascript">
function pageLoad() {
$find('behavior')._onSubmit = function () {
};
}
</script>
<form id="form1" runat="server">
<div>
<table width="100%">
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>
<tr>
<td style="width:20%">
<img alt="" src="Images/Login.jpg" height="30%" width="100%" />
<br /><br />
</td>
<td style="width:40%" align="center">

Software Design Specification

<asp:UpdatePanel ID="UpdatePanel1" runat="server">


<Triggers>
<asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" />
</Triggers>
<ContentTemplate>
<asp:Timer ID="Timer1" runat="server" Interval="1000"
OnTick="Timer1_Tick">
</asp:Timer>
<br /><br />
<asp:Label ID="lblDateTime" runat="server" Text="Label"></asp:Label>
</ContentTemplate>
</asp:UpdatePanel>
<br />
<asp:Button ID="btnHome" runat="server" Text="Go Back to home"
onclick="btnHome_Click" />
</td>
<td align="center" style="font-family:Kristen ITC; font-weight:bold; font-size:10;
width:40%">
If not signed in..
<asp:ImageButton ID="imbtnRegister" runat="server"
ImageUrl="~/Images/RegisterButton.gif" Height="30%" Width="30%"
onclick="imbtnRegister_Click" /> for free.
</td>
</tr>
<tr>
<td colspan="2">
<div id="sliderFrame">
<div id="slider">
<img class="Im" src="JsImageSlider1/imagesSlider1.jpg" alt="Welcome to Astrology
world"/>
<img class="Im" src="JsImageSlider1/imagesSlider2.jpg" alt="" />
<img class="Im" src="JsImageSlider1/imagesSlider3.jpg" alt="Gives you the way" />
<img class="Im" src="JsImageSlider1/imagesSlider4.jpg" alt="Help you all
arround" />
<img class="Im" src="JsImageSlider1/imagesSlider5.jpg" alt="" />
</div>
</div>
</td>
<td>
<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:Panel ID="Panel1" runat="server" Font-Bold="true" Font-Size="Large"
BorderWidth="2" Width="300px">
<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
User Name :
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:TextBox ID="txtUserName" placeholder="Username"
runat="server"></asp:TextBox>
<br /><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Page 77 of 121

Software Design Specification

Password:
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:TextBox ID="txtPassword" TextMode="Password"
runat="server"></asp:TextBox>
<asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender2"
runat="server" TargetControlID="txtPassword" WatermarkText="*******"
WatermarkCssClass="water" BehaviorID="behavior" Enabled="True">
</asp:TextBoxWatermarkExtender>
<br /><br /><br /><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp&nbsp&nbsp&nbsp
<asp:ImageButton ID="imbtnLogin" runat="server"
ImageUrl="~/Images/login-button.gif" onclick="imbtnLogin_Click"
/><br />
<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;
<a href="" style="background-color:Gray">Forgot your password..?</a>
<br /><br />
</asp:Panel>
<br /><br /><br />
&nbsp;
</td>
</tr>
<tr>
<td colspan="3" align="center">
Copyrights Reserved
&nbsp;
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
frmSignIn.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;

Software Design Specification

public partial class frm : System.Web.UI.Page


{
string constr =
ConfigurationManager.ConnectionStrings["astroConnectionString"].ConnectionString;
protected void Page_Load(object sender, EventArgs e)
{
}
protected void imbtnRegister_Click(object sender, ImageClickEventArgs e)
{
Response.Redirect("frmRegister.aspx");
}
protected void imbtnLogin_Click(object sender, ImageClickEventArgs e)
{
if (txtUserName.Text == "")
{
ScriptManager.RegisterStartupScript(this, typeof(string), "Error",
"alert('Enter Username!');", true);
}
else if (txtPassword.Text == "")
{
ScriptManager.RegisterStartupScript(this, typeof(string), "Error",
"alert('Enter Password!');", true);
}
else
{
// ScriptManager.RegisterStartupScript(this, typeof(string), "Error",
//"alert('Logged In!');", true);
// txtUserName.Text = "";
// txtPassword.Text = "";
string paswd = "";
SqlConnection con = new SqlConnection(constr);
con.Open();
SqlCommand cmd = new SqlCommand("select pass, userType from LoginDet where
userId = '" + txtUserName.Text + "'", con);
SqlDataReader dr = cmd.ExecuteReader();
if (dr.HasRows)
{
while (dr.Read())
{
paswd = dr.GetString(0);
}
}
con.Close();
con.Open();
if (paswd == txtPassword.Text)
{
Global.RetUserId = txtUserName.Text;
SqlCommand cmd1 = new SqlCommand("select firstName from UserDet where
userId = '" + txtUserName.Text + "'", con);
Page 79 of 121

Software Design Specification

SqlDataReader dr1 = cmd1.ExecuteReader();


while (dr1.Read())
{
Global.Retfname = dr1.GetString(0);
}
Response.Redirect("frmServices.aspx");
}
con.Close();
}
}
protected void Timer1_Tick(object sender, EventArgs e)
{
lblDateTime.Text = DateTime.Now.ToString();
}
protected void btnHome_Click(object sender, EventArgs e)
{
Response.Redirect("frmHome.aspx");
}
}
frmRegister.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="frmRegister.aspx.cs"
Inherits="frmRegister" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"
TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
<link href="JsImageSlider1/js-image-slider.css" rel="stylesheet" type="text/css" />
<script src="JsImageSlider1/js-image-slider.js" type="text/javascript"></script>
<link href="JsImageSlider1/generic.css" rel="stylesheet" type="text/css" />
<link href="StyleSheet.css" rel="stylesheet" type="text/css" />
<style type="text/css">
body
{
background: url('Images/bg4.jpg') no-repeat center;
background-size: cover;
color:White;
}
.Im
{

Software Design Specification

width:90%;
height:50%;
top:0;
}
.CustomValidatorCalloutStyle div,
.CustomValidatorCalloutStyle td {
border:solid 1px blue;
background-color: #ADD8E6;
}
</style>
</head>
<body style="color:White; font-weight:bold">
<form id="form1" runat="server">
<asp:ToolkitScriptManager ID="ToolkitScriptManager1"
runat="server"></asp:ToolkitScriptManager>
<div>
<table style="width: 100%">
<tr>
<td>
<img alt="" src="Images/signup1.gif" height="20%" width="60%" />
&nbsp;
</td>
<td>
If already have an account..
<asp:ImageButton ID="imbtnSignIn" runat="server"
ImageUrl="~/Images/Login.jpg"
Height="20%" Width="30%" onclick="imbtnSignIn_Click"
CausesValidation="False" />
&nbsp;<br />
<asp:Button ID="btnHome" runat="server" Text="Go Back to home"
onclick="btnHome_Click" CausesValidation="False" />
</td>
</tr>
<tr>
<td colspan="2" style="font-family:Charlemagne Std; font-size:50px">
<center><b><u>CREATE YOUR ACCOUNT</u></b></center>
</td>
</tr>
<tr>
<td style="width:60%" align="center">
<p style="font-family:Bookman Old Style; font-size:20px; color:White">One
account is all you need </p>
<br />
<asp:Image ID="Image1" runat="server" Width="90%" Height="50%"
BackColor="White" />
<asp:SlideShowExtender ID="SlideShowExtender1" runat="server"
AutoPlay="True"
TargetControlID="Image1" SlideShowServicePath="Slideshow.asmx"
SlideShowServiceMethod="GetSlides" SlideShowAnimationType="FadeInOut"
Loop="True" PlayInterval="4500">
Page 81 of 121

Software Design Specification

</asp:SlideShowExtender>
<br /><br />
<p style="font-family:Bookman Old Style; font-size:20px; color:White">A
single username and password gets you into everything in Astro. </p>
&nbsp;
</td>
<td style="background-color:Navy">
<br /><br />
<asp:Panel ID="Panel1" runat="server" CssClass="PanlMarg">
Name:<br />
<asp:TextBox ID="txtFirstName" placeholder="First Name" runat="server"
Width="100px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ErrorMessage="FirstName" Display="Dynamic"
ControlToValidate="txtFirstName" ForeColor="Red"
SetFocusOnError="True" ValidationGroup="gp1">*</asp:RequiredFieldValidator>
<asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender1"
runat="server" TargetControlID="RequiredFieldValidator1"
CssClass="CustomValidatorCalloutStyle">
</asp:ValidatorCalloutExtender>
<asp:TextBox ID="txtLastName" placeholder="Last Name" runat="server"
Width="100px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
ErrorMessage="Last Name" Display="Dynamic"
ControlToValidate="txtLastName" ForeColor="Red"
SetFocusOnError="True" ValidationGroup="gp1">*</asp:RequiredFieldValidator>
<asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender2"
runat="server" TargetControlID="RequiredFieldValidator3"
CssClass="CustomValidatorCalloutStyle" PopupPosition="Left">
</asp:ValidatorCalloutExtender>
<br /><br />Choose your Username:<br />
<asp:TextBox ID="txtUsername" placeholder="Username"
runat="server"></asp:TextBox>
<asp:Label ID="lblUsernameAvlbl" runat="server"></asp:Label>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ErrorMessage="Username" Display="Dynamic"
ControlToValidate="txtUsername" ForeColor="Red"
SetFocusOnError="True" ValidationGroup="gp1">*</asp:RequiredFieldValidator>
<asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender3"
runat="server" TargetControlID="RequiredFieldValidator2"
CssClass="CustomValidatorCalloutStyle" PopupPosition="Left">
</asp:ValidatorCalloutExtender>
<br /><br />Create a password :<br />

Software Design Specification

<asp:TextBox ID="txtPassword" runat="server" TextMode="Password"


MaxLength="12"></asp:TextBox>
<asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender5"
runat="server" TargetControlID="txtPassword" WatermarkCssClass="water"
WatermarkText="*****"></asp:TextBoxWatermarkExtender>
<asp:PasswordStrength ID="PasswordStrength1" runat="server"
TargetControlID="txtPassword" PreferredPasswordLength="10"
TextStrengthDescriptions="Very Poor;Weak;Average;Strong;Excellent"
CalculationWeightings="50;15;15;20"
TextCssClass="pass"></asp:PasswordStrength>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server"
ErrorMessage="Password" Display="Dynamic"
ControlToValidate="txtPassword" ForeColor="Red"
SetFocusOnError="True" ValidationGroup="gp1">*</asp:RequiredFieldValidator>
<asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender4"
runat="server" TargetControlID="RequiredFieldValidator4"
CssClass="CustomValidatorCalloutStyle" PopupPosition="Left">
</asp:ValidatorCalloutExtender>
<br /><br />Confirm password<br />
<asp:TextBox ID="txtCPassword" runat="server"
TextMode="Password"></asp:TextBox>
<asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender6"
runat="server" TargetControlID="txtCPassword" WatermarkCssClass="water"
WatermarkText="*****"></asp:TextBoxWatermarkExtender>
<asp:CompareValidator ID="CompareValidator1" runat="server"
ErrorMessage="Same as password" ControlToCompare="txtPassword"
ControlToValidate="txtCPassword"
ValidationGroup="gp1"></asp:CompareValidator>
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server"
ErrorMessage="Confirm Password" Display="Dynamic"
ControlToValidate="txtCPassword" ForeColor="Red"
SetFocusOnError="True" ValidationGroup="gp1">*</asp:RequiredFieldValidator>
<asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender5"
runat="server" TargetControlID="RequiredFieldValidator5"
CssClass="CustomValidatorCalloutStyle" PopupPosition="Left">
</asp:ValidatorCalloutExtender>
<br /><br />Date of birth :<br />
<asp:Panel ID="pnlDate" runat="server">
<asp:DropDownList ID="ddlDate" runat="server" DataMember="1; 2"
onselectedindexchanged="ddlDate_SelectedIndexChanged">
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server"
ErrorMessage="Date" Display="Dynamic"
ControlToValidate="ddlDate" ForeColor="Red" SetFocusOnError="True"
ValidationGroup="gp1">*</asp:RequiredFieldValidator>
<asp:DropDownList ID="ddlMonth" runat="server" DataMember="1; 2">
</asp:DropDownList>
Page 83 of 121

Software Design Specification

<asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server"


ErrorMessage="Month" Display="Dynamic"
ControlToValidate="ddlMonth" ForeColor="Red" SetFocusOnError="True"
ValidationGroup="gp1" InitialValue="-Month-">*</asp:RequiredFieldValidator>
<asp:DropDownList ID="ddlYear" runat="server" DataMember="1; 2">
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server"
ErrorMessage="Year" Display="Dynamic"
ControlToValidate="ddlYear" ForeColor="Red" SetFocusOnError="True"
ValidationGroup="gp1" InitialValue="-YYYY-">*</asp:RequiredFieldValidator>
</asp:Panel>
<br /><br />Gender :<br />
<asp:RadioButton ID="rdbMale" runat="server" GroupName="grpGender"
Text="Male"
Checked="True" />
<asp:RadioButton ID="rdbFemale" runat="server" GroupName="grpGender"
Text="Female" />
<br /><br />Mobile :<br />
<asp:TextBox ID="txtMobCode" runat="server" Enabled="False" Text="+91"
Width="30px"></asp:TextBox>
<asp:TextBox ID="txtMobile" placeholder="10 digit number"
runat="server"></asp:TextBox>
<asp:RegularExpressionValidator id="RegularExpressionValidator1"
ControlToValidate="txtMobile"
ValidationExpression="\d+"
Display="Static"
EnableClientScript="true"
ErrorMessage="Please enter numbers only"
runat="server" ValidationGroup="gp1" />
<asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server"
ErrorMessage="Mobile no." Display="Dynamic"
ControlToValidate="txtMobile" ForeColor="Red" SetFocusOnError="True"
ValidationGroup="gp1">*</asp:RequiredFieldValidator>
<asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender6"
runat="server" TargetControlID="RequiredFieldValidator10"
CssClass="CustomValidatorCalloutStyle" PopupPosition="Left">
</asp:ValidatorCalloutExtender>
<br /><br />Your current email address<br />
<asp:TextBox ID="txtCurrentMail" placeholder="--xyz@abc.com--"
runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server"
ErrorMessage="Current Mail" Display="Dynamic"

Software Design Specification

ControlToValidate="txtCurrentMail" ForeColor="Red"
SetFocusOnError="True" ValidationGroup="gp1">*</asp:RequiredFieldValidator>
<asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender7"
runat="server" TargetControlID="RequiredFieldValidator11"
CssClass="CustomValidatorCalloutStyle" PopupPosition="Left">
</asp:ValidatorCalloutExtender>
<br /><br />Prove you're not a robot<br />
<asp:Panel ID="Panel2" runat="server" BackColor="Wheat"
CssClass="PanlMarg1" Width="210px" ForeColor="Black">
<asp:Image ID="imgCaptcha" runat="server"
ImageUrl="~/Images/CAPTCHA-002.png" Width="200px" Height="80px" />
<br />Type the text:<br />
<asp:TextBox ID="txtCaptcha" runat="server"></asp:TextBox>
<br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator12"
runat="server"
ErrorMessage="Captcha text" Display="Dynamic"
ControlToValidate="txtCaptcha" ForeColor="Red"
SetFocusOnError="True" ValidationGroup="gp1">*</asp:RequiredFieldValidator>
<asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender8"
runat="server" TargetControlID="RequiredFieldValidator12"
CssClass="CustomValidatorCalloutStyle" PopupPosition="Left">
</asp:ValidatorCalloutExtender>
</asp:Panel>
<br /><br />Security Question :<br />
<asp:DropDownList ID="ddlSecurityQues" runat="server"
onselectedindexchanged="ddlSecurityQues_SelectedIndexChanged"
AutoPostBack="true">
<asp:ListItem>Select one of the following</asp:ListItem>
<asp:ListItem>What was your fist pet's name ?</asp:ListItem>
<asp:ListItem>Where were you born ?</asp:ListItem>
<asp:ListItem>What is your pet name ?</asp:ListItem>
<asp:ListItem>Other Ques</asp:ListItem>
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server"
ErrorMessage="Security Ques" Display="Dynamic" InitialValue="Select
one of the following"
ControlToValidate="ddlSecurityQues" ForeColor="Red"
SetFocusOnError="True" ValidationGroup="gp1">*</asp:RequiredFieldValidator>
<asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender9"
runat="server" TargetControlID="RequiredFieldValidator13"
CssClass="CustomValidatorCalloutStyle" PopupPosition="Left">
</asp:ValidatorCalloutExtender>
<br /><br />
<asp:TextBox ID="txtSecurityQues" runat="server" Visible="False"
Width="200px">abc</asp:TextBox>
Page 85 of 121

Software Design Specification

<%--<asp:RequiredFieldValidator ID="RequiredFieldValidator14"
runat="server"
ErrorMessage="Security Ques of your choice" Display="Dynamic"
ControlToValidate="txtSecurityQues" ForeColor="Red"
SetFocusOnError="True" InitialValue="What is the time ?">*</asp:RequiredFieldValidator>
<asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender10"
runat="server" TargetControlID="RequiredFieldValidator14"
CssClass="CustomValidatorCalloutStyle" PopupPosition="Left">
</asp:ValidatorCalloutExtender> --%>
<br /><br />Enter the answer :<br />
<asp:TextBox ID="txtAnswer" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server"
ErrorMessage="Answer" Display="Dynamic"
ControlToValidate="txtAnswer" ForeColor="Red"
SetFocusOnError="True" ValidationGroup="gp1">*</asp:RequiredFieldValidator>
<asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender11"
runat="server" TargetControlID="RequiredFieldValidator15"
CssClass="CustomValidatorCalloutStyle" PopupPosition="Left">
</asp:ValidatorCalloutExtender>
<br /><br /><br />
<asp:ImageButton ID="imbtnRegister" runat="server"
ImageUrl="~/Images/register.png" Width="100px" Height="50px"
onclick="imbtnRegister_Click" ValidationGroup="gp1"/>
&nbsp;&nbsp;&nbsp;&nbsp;
<asp:ImageButton ID="imbtnReset" runat="server"
ImageUrl="~/Images/resetButton.jpg" Width="100px" Height="50px"
onclick="imbtnReset_Click" CausesValidation="False"/>
</asp:Panel>
&nbsp;
</td>
</tr>
<tr>
<td colspan="2" align="center">
<br /><br />
Copyrights Reserved
&nbsp;
</td>
</tr>
</table>
<asp:ValidationSummary ID="ValidationSummary1" runat="server"
ShowMessageBox="True" ShowSummary="False"
HeaderText="You must enter a value in the following fields:"
ValidationGroup="gp1" />
</div>

Software Design Specification

</form>
</body>
</html>
frmRegister.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Windows.Forms;
using System.Drawing;
public partial class frmRegister : System.Web.UI.Page
{
string constr =
ConfigurationManager.ConnectionStrings["astroConnectionString"].ConnectionString;
string asign, chSign;
int number;
protected void Page_Load(object sender, EventArgs e)
{
ddlDate.Items.Add("--DD--");
for (int i = 1; i <= 31; i++)
{
ddlDate.Items.Add(i.ToString());
}
ddlMonth.Items.Add("-Month-");
ddlMonth.Items.Add("January");
ddlMonth.Items.Add("February");
ddlMonth.Items.Add("March");
ddlMonth.Items.Add("April");
ddlMonth.Items.Add("May");
ddlMonth.Items.Add("June");
ddlMonth.Items.Add("July");
ddlMonth.Items.Add("August");
ddlMonth.Items.Add("September");
ddlMonth.Items.Add("October");
ddlMonth.Items.Add("November");
ddlMonth.Items.Add("December");
ddlYear.Items.Add("-YYYY-");
for (int i = 1990; i < 2015; i++)
{
ddlYear.Items.Add(i.ToString());
}
}
protected void ddlSecurityQues_SelectedIndexChanged(object sender, EventArgs e)
{
if (ddlSecurityQues.Text == "Other Ques")
{
Page 87 of 121

Software Design Specification

txtSecurityQues.Visible = true;
}
else
{
txtSecurityQues.Text = "abc";
txtSecurityQues.Visible = false;
}
}
public void allSigns()
{
int date = Convert.ToInt32(ddlDate.Text);
string month = ddlMonth.Text;
int year = Convert.ToInt32(ddlYear.Text);
// astrology :
asign = Global.astroSign(date, month, year);
//chinese :
chSign = Global.chineseSign(year);
//number :
int mnth = DateTime.ParseExact(month, "MMMM",
System.Globalization.CultureInfo.InvariantCulture).Month;
number = Global.numeroNumber(date, mnth, year);
}
public int regValidate()
{
int valdt = 1;
if (txtSecurityQues.Text == "")
{
MessageBox.Show("Give an alternative ques..!");
valdt = 0;
}
if (txtCaptcha.Text != "eating fish")
{
MessageBox.Show("Captcha didnt match!");
valdt = 0;
}
SqlConnection conn = new SqlConnection(constr);
conn.Open();
SqlCommand cmd = new SqlCommand("select * from userDet where userId=@Name",
conn);
cmd.Parameters.AddWithValue("@Name", txtUsername.Text);
SqlDataReader dr = cmd.ExecuteReader();
if (dr.HasRows)

Software Design Specification

{
lblUsernameAvlbl.Text = "Username not available";
lblUsernameAvlbl.ForeColor = Color.Red;
valdt = 0;
}
conn.Close();
return valdt;
}
protected void imbtnRegister_Click(object sender, ImageClickEventArgs e)
{
if (regValidate() == 1)
{
SqlConnection con = new SqlConnection();
con.ConnectionString = constr;
con.Open();
SqlCommand cmd1 = new SqlCommand("insert into LoginDet values
(@userId,@pass,@type) ",con);
cmd1.Parameters.AddWithValue("@userId", txtUsername.Text);
cmd1.Parameters.AddWithValue("@pass", txtPassword.Text);
cmd1.Parameters.AddWithValue("@type", "User");
cmd1.ExecuteNonQuery();
SqlCommand cmd = new SqlCommand("insert into userDet(userId ,firstName
,lastName ,bdate ,bmonth ,byear ,gender ,contact ,email ,secQues ,secAns ,horoscopeSign
,chineseSign ,numeroNumber) values (@userId ,@firstName ,@lastName ,@bdate
,@bmonth ,@byear ,@gender ,@contact ,@email ,@secQues ,@secAns
,@horoscopeSign ,@chineseSign ,@numeroNumber) ", con);
cmd.Parameters.AddWithValue("@userId", txtUsername.Text);
cmd.Parameters.AddWithValue("@firstName", txtFirstName.Text);
cmd.Parameters.AddWithValue("@lastName", txtLastName.Text);
cmd.Parameters.AddWithValue("@bdate", ddlDate.SelectedValue);
cmd.Parameters.AddWithValue("@bmonth", ddlMonth.SelectedValue);
cmd.Parameters.AddWithValue("@byear", ddlYear.SelectedValue);
if (rdbMale.Checked == true)
cmd.Parameters.AddWithValue("@gender", "Male");
else
cmd.Parameters.AddWithValue("@gender", "Female");
cmd.Parameters.AddWithValue("@contact", txtMobCode.Text + txtMobile.Text);
cmd.Parameters.AddWithValue("@email", txtCurrentMail.Text);
if (ddlSecurityQues.SelectedItem.Value == "Other Ques")
cmd.Parameters.AddWithValue("@secQues", txtSecurityQues.Text);
else
cmd.Parameters.AddWithValue("@secQues", ddlSecurityQues.SelectedValue);
cmd.Parameters.AddWithValue("@secAns", txtAnswer.Text);
allSigns();
cmd.Parameters.AddWithValue("@horoscopeSign",asign);
cmd.Parameters.AddWithValue("@chineseSign",chSign);
cmd.Parameters.AddWithValue("@numeroNumber", number);
cmd.ExecuteNonQuery();
Page 89 of 121

Software Design Specification

con.Close();
Global.RetUserId = txtUsername.Text;
Global.Retfname = txtFirstName.Text;
//MessageBox.Show("Congrats! You are registered as a user!");
Response.Write(@"<script language='javascript'>alert('this is
messagebox .');</script>");
Response.Redirect("frmServices.aspx");
}
}
protected void btnHome_Click(object sender, EventArgs e)
{
Response.Redirect("frmHome.aspx");
}
protected void imbtnSignIn_Click(object sender, ImageClickEventArgs e)
{
Response.Redirect("frmSignIn.aspx");
}
protected void ddlDate_SelectedIndexChanged(object sender, EventArgs e)
{
if (ddlDate.SelectedIndex == 0)
{
RequiredFieldValidator6.Validate();
}
}
protected void imbtnReset_Click(object sender, ImageClickEventArgs e)
{
txtFirstName.Text = "";
txtLastName.Text = "";
txtUsername.Text = "";
txtPassword.Text = "";
txtCPassword.Text = "";
ddlDate.SelectedIndex = 0;
ddlMonth.SelectedIndex = 0;
ddlYear.SelectedIndex = 0;
txtMobile.Text = "";
txtCurrentMail.Text = "";
txtCaptcha.Text = "";
ddlSecurityQues.SelectedIndex = 0;
txtSecurityQues.Text = "";
txtAnswer.Text = "";
}
}
Js-image-slider.css
/* http://www.menucool.com */

Software Design Specification

#sliderFrame
{
position:relative;
width:600px;
margin:0 auto; /*center-aligned*/
}
#slider, #slider div.sliderInner {
width:500px;height:306px;/* Must be the same size as the slider images */
}
#slider {
background:#fff url(loading.gif) no-repeat 50% 50%;
position:relative;
margin:0 auto; /*center-aligned*/
transform: translate3d(0,0,0);
box-shadow: 0px 1px 5px #999999;
}
/* image wrapper */
#slider a.imgLink, #slider div.video {
z-index:2;
position:absolute;
top:0px;left:0px;border:0;padding:0;margin:0;
width:100%;height:100%;
}
#slider .video {
background:transparent url(video.png) no-repeat 50% 50%;
}
/* Caption styles */
#slider div.mc-caption-bg, #slider div.mc-caption-bg2 {
position:absolute;
width:100%;
height:auto;
padding:10px 0;/* 10px will increase the height.*/
left:0px; /*if the caption needs to be aligned from right, specify by right instead of
left. i.e. right:20px;*/
bottom:0px;/*if the caption needs to be aligned from top, specify by top instead of
bottom. i.e. top:150px;*/
z-index:3;
overflow:hidden;
font-size: 0;
}
#slider div.mc-caption-bg
{
/* NOTE: Its opacity is to be set through the sliderOptions.captionOpacity setting in the jsimage-slider.js file.*/
background:Black;/* or any other colors such as White, or: background:none; */
Page 91 of 121

Software Design Specification

}
#slider div.mc-caption-bg2 {
background:none;
}
#slider div.mc-caption {
font: bold 14px/20px Arial;
color:#EEE;
z-index:4;
text-align:center;
background:none;
}
#slider div.mc-caption a {
color:#FB0;
}
#slider div.mc-caption a:hover {
color:#DA0;
}
/* ------ built-in navigation bullets wrapper ------*/
/* Note: check themes\2\js-image-slider.css to see how to hide nav bullets */
#slider div.navBulletsWrapper {
top:320px;/* Its position is relative to the #slider */
text-align:center;
background:none;
position:relative;
z-index:5;
}
/* each bullet */
#slider div.navBulletsWrapper div
{
width:11px; height:11px;
font-size:0;color:White;/*hide the index number in the bullet element*/
background:transparent url(bullet.png) no-repeat 0 0;
display:inline-block; *display:inline; zoom:1;
overflow:hidden;cursor:pointer;
margin:0 6px;/* set distance between each bullet*/
}
#slider div.navBulletsWrapper div.active {background-position:0 -11px;}
/* --------- Others ------- */
#slider div.loading
{

Software Design Specification

width:100%; height:100%;
background:transparent url(loading.gif) no-repeat 50% 50%;
filter: alpha(opacity=60);
opacity:0.6;
position:absolute;
left:0;
top:0;
z-index:9;
}
#slider img, #slider>b, #slider a>b {
position:absolute; border:none; display:none; width:20px; height:50px;
}
#slider div.sliderInner {
overflow:hidden;
-webkit-transform: rotate(0.000001deg);/* fixed the Chrome not crop border-radius
bug*/
position:absolute; top:0; left:0;
}
#slider>a, #slider video, #slider audio {display:none;}
Js-image-slider.js
var sliderOptions=
{
sliderId: "slider",
startSlide: 0,
effect: "series1",
effectRandom: false,
pauseTime: 2600,
transitionTime: 500,
slices: 12,
boxes: 8,
hoverPause: 1,
autoAdvance: true,
captionOpacity: 0.3,
captionEffect: "fade",
thumbnailsWrapperId: "thumbs",
m: false,
license: "b6t80"
};
var imageSlider=new mcImgSlider(sliderOptions);
zoomSlider.css
/* http://www.menucool.com */
Page 93 of 121

Software Design Specification

#wrapper
{
position:relative;width:840px;margin:0 auto;
}
#zoom-slider {
width:800px;height:200px;/* Make it smaller than your images for zooming effect */
border:10px solid black;
background:#CCC url(loading.gif) no-repeat 50% 50%;
overflow:hidden;
position:relative;
margin:0 auto;/*make the image slider center-aligned */
border-radius:6px 6px 0 0;
}
#zoom-slider img {
position:absolute;
display:none;
top:0px;
z-index:1;
-ms-interpolation-mode: bicubic;
image-rendering: optimizeQuality;
}
/* Caption styles */
div.zs-caption-bg, div.zs-caption-bg2 {
position:absolute;
left:120px;/*if the caption needs to be aligned from right, specify by right instead of
left. i.e. right:20px;*/
bottom:10px;/*if the caption needs to be aligned from top, specify by top instead of
bottom. i.e. top:350px;*/
width:360px;
height:auto;
padding:10px;
z-index:6;
overflow:hidden;
font-size:0;
}
div.zs-caption-bg {
background:transparent;
/*Caption background color. Can be defined as semitransparent through the javascript slideshowOptions setting.*/
border:none;/*border-radius: 5px;border:1px solid #CCCCCC;*/
}
div.zs-caption {
font:normal 15px/16px Arial;
color:#CCC;

Software Design Specification

z-index:7;
text-align:left;/* When captionEffect was set to rotate through javascript, and setting
"text-align:left" will create a fly-in effect, and setting "text-align:center" will get the rotate
effect. */
overflow:hidden;
}
div.zs-caption a {
color:#09F;
}
/* navigation bullets wrapper */
div.navBulletsWrapper {
display:none;
}
/*-----------navigation buttons----------------*/
a.navPrev, a.navPlay, a.navPause, a.navNext
{
width:17px; height:17px;
background:transparent url(navbuttons.gif);
display:inline-block;
margin:10px 0;
cursor:pointer;
}
a.navPause {background-position:0 0;}
a.navPlay {background-position:0 -17px;}
a.navNext {background-position:0 -34px;}
a.navPrev {background-position:0 -51px;}
a.navPause:hover {background-position:17px 0;}
a.navPlay:hover {background-position:17px -17px;}
a.navNext:hover {background-position:17px -34px;}
a.navPrev:hover {background-position:17px -51px;}
a.navPrev, a.navPlay, a.navPause, a.navNext
{
user-select: none;
}
/*thumbnails*/
#thumbs {width:840px;}
#thumbs span {background:Black;display:inline-block;margin-right:3px;font-size:0;}
#thumbs img {border:1px solid #999; cursor:pointer;}
/* --------- Others ------- */
#zoom-slider img
Page 95 of 121

Software Design Specification

{
transform: translate3d(0,0,0);
-ms-transform:translate3d(0,0,0);
-moz-transform:translate3d(0,0,0);
-o-transform:translate3d(0,0,0);
-webkit-transform: translate3d(0,0,0);
}
zoomSlider.js
var zoomSliderOptions=
{
sliderId:"zoom-slider",
slideInterval: 5000,
autoAdvance:true,
captionOpacity: 0.5,
captionEffect:"rotate",
thumbnailsWrapperId:"thumbs",
thumbEffect: 0.5,
license: "mylicense"
};
var zoomSlider=new ZoomSlider(zoomSliderOptions);
/* Zoom Slider v2014.1.6. Copyright(C) www.menucool.com. All rights reserved. */
function ZoomSlider(n){for(var h="className",pb=function(a,b){if(a[h]=="")a[h]=b;else
a[h]+=" "+b},e="length",O=function(d){var a=d.childNodes,c=[];if(a)for(var
b=0,f=a[e];b<f;b++)a[b].nodeType==1&&c.push(a[b]);return c},ob=function(){var
c=50,a=navigator.userAgent,b;if((b=a.indexOf("MSIE "))!=1)c=parseInt(a.substring(b+5,a.indexOf(".",b)));else if(a.indexOf("Opera")!=-1)c=88;return
c},o=ob(),a="style",w=function(b,c){if(b)
{b.o=c;if(o<9)b[a].filter="alpha(opacity="+c*100+")";else
b[a].opacity=c}},qb=function(a,c,b){if(a.addEventListener)a.addEventListener(c,b,false);else
a.attachEvent&&a.attachEvent("on"+c,b)},W="height",z="width",t="visibility",y="display",
J="offsetWidth",D="appendChild",G="innerHTML",jb=document,V=function(a){return
jb.getElementById(a)},L=function(b){var a=document.createElement("div");a[h]=b;return
a},Q=window.requestAnimationFrame,R=window.cancelAnimationFrame,U=["webkit","ms"
,"o","moz"],P=0;P<U[e]&&!Q;++P){Q=window[U[P]
+"RequestAnimationFrame"];R=window[U[P]+"CancelAnimationFrame"]}var N=!!
window.requestAnimationFrame,f=[];f.a=function(){var a=f[e];while(a--){if(f[a]&&f[a].i)
{if(N)R(f[a].i);else clearInterval(f[a].i);f[a].i=null}f[a]=null}f[e]=0};function d(b)
{this.b(b);var a=this;this.c=function()
{if(N)a.i=Q(a.c);a.l()};this.d=[];this.e=0;this.f=0;this.g=null;f[f[e]]=this}d.prototype={b:func
tion(a){this.a=this.o({b:20,c:1e3,d:function(){},e:d.tx.s},a)},h:function(a,b)
{this.e=Math.max(0,Math.min(1,b));this.f=Math.max(0,Math.min(1,a));this.g=(new
Date).getTime();if(!this.i)if(N)this.c();else
this.i=window.setInterval(this.c,this.a.b)},j:function(a){this.d[this.d[e]]=a;return

Software Design Specification

this},k:function(){for(var b=this.a.e(this.f),a=0;a<this.d[e];a+
+)if(this.d[a].B)this.d[a].B(b);else this.d[a](b)},l:function(){var b=(new Date).getTime(),c=bthis.g;this.g=b;var a=c/this.a.c*(this.f<this.e?1:-1);if(Math.abs(a)>=Math.abs(this.fthis.e))this.f=this.e;else
this.f+=a;try{this.k()}finally{this.e==this.f&&this.m()}},m:function(){if(this.i)
{if(N)R(this.i);else window.clearInterval(this.i);this.i=null;this.a.d.call(this)}},n:function()
{this.h(0,1)},o:function(c,b){b=b||{};var a,d={};for(a in c)d[a]=b[a]!==undefined?
b[a]:c[a];return d}};d.p=function(a,c,e,b){(new d(b)).j(new eb(a,c,e)).n()};d.q=function(a)
{return function(b){return Math.pow(b,a*2)}};d.r=function(a){return function(b){return 1Math.pow(1-b,a*2)}};d.tx={s:function(a){return-Math.cos(a*Math.PI)/2+.5},t:function(a)
{return a},u:d.q(1.5),v:d.r(1.5)};function Z(c,b,d,e,a)
{this.el=c;if(b=="opacity"&&o<9&&window.ActiveXObject)this.w="filter";else
this.w=b;this.x=parseFloat(d);this.y=parseFloat(e);this.z=this.y>this.x?1:-1;this.A=a!=null?
a:"px"}Z.prototype={B:function(e){if(this.w=="ie"||this.w=="mb"){B+=this.z*s;if(B==l||
l<M){if(l<M){s-=.5;if(!
s)s=.5;Y=0;f.a();c.c&&i.m(0)}return}else{if(l==Math.round(B))return;l=Math.round(B);if(th
is.w=="ie")this.el[a][z]=l+"px";else this.el.getContext("2d").drawImage(b.c[b.a],T?kl:0,0,l,Math.round(l*A/k));return}}var d=this.C(e);if(this.el[a][this.w]!=d)this.el[a]
[this.w]=d},C:function(a){a=this.x+(this.y-this.x)*a;return
this.w=="filter"?"alpha(opacity="+Math.round(a*100)+")":this.w=="opacity"?
a:Math.round(a)+this.A}};function eb(g,m,n){this.d=[];var
a,i,c;c=this.D(m,g);i=this.D(n,g);var a,b,f,o,k,l;for(a in c){var
h=String(c[a]),j=String(i[a]);k=parseFloat(h);l=parseFloat(j);f=this.F.exec(h);var
d=this.F.exec(j);if(f[1]!=null)b=f[1];else if(d[1]!=null)b=d[1];else b=d;this.d[this.d[e]]=new
Z(g,a,k,l,b)}}eb.prototype={D:function(f){for(var d={},c=f.split(";"),b=0;b<c[e];b++){var
a=this.E.exec(c[b]);if(a)d[a[1]]=a[2]}return d},B:function(b){for(var a=0;a<this.d[e];a+
+)this.d[a].B(b)},E:/^\s*([a-zA-Z\-]+)\s*:\s*(\S(.+\S)?)\s*$/,F:/^-?\d+(?:\.\d+)?(%|[a-zA-Z]
{2})?$/};var l=-1,B=1,T=0,I=1,Y=1,c,p,q,v,j,m,S,F,H,C,E,x,hb,u,r,k,M,A,K,ib,s,ab,i=null,bb=function()
{c={b:n.slideInterval,O0:n.license,c:n.autoAdvance,d:n.captionEffect=="none"?
0:n.captionEffect=="fade"?
1:2,f:n.captionOpacity,g:n.thumbnailsWrapperId,e:n.thumbEffect,v:"thumbs",Ob:function()
{typeof beforeSlideChange!
=="undefined"&&beforeSlideChange(arguments)}}},sb=["$1$2$3","$1$2$3","$1$24","$1$2
3","$1$22"],g,X=0;function mb(){var
d;if(c.g)d=V(c.g);if(d)g=d.getElementsByTagName("img");if(g&&c.e){if(X)return;X=1;var
a=g[e];while(a--){g[a].o=1;g[a].src0=g[a].src;g[a].i=a;g[a].onmouseover=function()
{fb(this,1)};g[a].onmouseout=function(){b.a!=this.i&&fb(this,-1)};if(!
g[a].onclick)g[a].onclick=function(){i.t(this.i)}}db(0)}}function db(b){if(g&&c.e){var
a=g[e];while(a--)kb(g[a],a==b?1:-1)}}function kb(a,b){if(b==1&&a.o<1)
{w(a,a.o+.05);setTimeout(function(){kb(a,1)},20)}else b==-1&&a.o!
=c.e&&w(a,c.e)}function fb(b,a){w(b,a==1?1:c.e)}function nb(b){var
a=[],c=b[e];while(c--)a.push(String.fromCharCode(b[c]));return a.join("")}var b={a:0,b:"",c:
[],d:[],e:0},lb=function(a){p=a;this.b()},gb=function(c,d){try{var
e=c.getContext("2d");e.drawImage(d,0,0,c[z],c[W]);c[a]
[y]="none";d.parentNode.insertBefore(c,d);b.d.push(c)}catch(f)
{if(f.name=="NS_ERROR_NOT_AVAILABLE")setTimeout(function(){gb(c,d)},0);else
throw f;}},rb=[/(?:.*\.)?(\w)([\w\-])[^.]*(\w)\.[^.]+$/,/.*([\w\-])\.(\w)(\w)\.[^.]+$/,/^(?:.*\.)?
(\w)(\w)\.[^.]+$/,/.*([\w\-])([\w\-])\.com\.[^.]+$/,/^(\w)[^.]*(\w)
$/];lb.prototype={c:function(a){if(r[a].nodeName=="IMG")var b=r[a];else
Page 97 of 121

Software Design Specification

b=r[a].getElementsByTagName("img")[0];return b},d:function(d){d[a]
[y]="block";k=d[J];A=d.offsetHeight;var
b=p[J]/k,e=p.offsetHeight/A;if(b<e)b=e;if(b>1)b=1;K=Math.floor(k*(1b)/2);ib=Math.floor(A*(1-b)/2);M=k-K;ab=Math.round(K/5);d[a]
[y]="none";s=Math.ceil(40*K/c.b)/2},f:function(e){var d=this.c(e);b.c.push(d);if(o<9||
o==88)b.d.push(d);else{var
c=document.createElement("canvas");c[z]=k;c[W]=A;c[a].position="absolute";c[a].zIndex=1
;gb(c,d)}},b:function(){r=O(p);b.e=r[e];this.d(this.c(0));for(var a=0,c=r[e];a<c;a++)
{r[a].nodeName=="A"&&pb(r[a],"imgLink");this.f(a)}b.a=b.e-1;b.b=b.d[b.a];this.i();var
d=this.q();if(b.e)x=setTimeout(function(){d.m(0)},4)},g:function()
{u=L("div");u[h]="navBulletsWrapper";for(var d=[],a=0;a<b.e;a++)d.push("<div
rel='"+a+"'></div>");u[G]=d.join("");for(var c=O(u),a=0;a<c[e];a++){if(a==b.a)c[a]
[h]="active";c[a].onclick=function(){if(this[h]=="active")return
0;clearTimeout(x);x=null;f.a();b.a=this.getAttribute("rel")-1;i.m(9)}}p.parentNode[D]
(u)},h:function(){var c=O(u),a=c[e];while(a--)if(a==b.a)c[a][h]="active";else c[a]
[h]=""},jiaMi:function(a,d){var c=function(b){var a=b.charCodeAt(0).toString();return
a.substring(a[e]-1)},b=d.replace(rb[a-2],sb[a-2]).split("");return"b"+a+b[1]+c(b[0])
+c(b[2])},i:function(){q=L("div");q[h]="zs-caption";v=L("div");v[h]="zscaption";j=L("div");j[h]="zs-caption-bg";w(j,0);j[D](v);m=L("div");m[h]="zs-captionbg2";m[D](q);w(m,0);m[a][t]=j[a][t]=v[a][t]="hidden";p.parentNode[D](j);p.parentNode[D]
(m);S=[j.offsetLeft,j.offsetTop,q[J]];q[a][z]=v[a][z]=q[J]+"px";this.j()},j:function()
{if(c.d==2){var
b="width:0px;marginLeft:"+Math.round(S[2]/2)+"px",a="width:"+S[2]+"px;marginLeft:0px"
;F=C="opacity:0;"+b;H="opacity:1;"+a;E="opacity:"+c.f+";"+a}else if(c.d==1)
{F=C="opacity:0";H="opacity:1";E="opacity:"+c.f}else{F=H="opacity:1";E=C="opacity:"+
c.f}},k:function(){var a=b.c[b.a].getAttribute("alt");if(a&&a.substr(0,1)=="#"){var
c=V(a.substring(1));a=c?c[G]:""}return a||""},p2:function(a){return a.replace(/(?:.*\.)?(\w)
([\w\-])?[^.]*(\w)\.[^.]*$/,"$1$3$2")},l:function(b){var
e=Math.floor(Math.random()*4);if(e>0)I=-I;T=Math.floor(Math.random()*2);l=B=I==1?
M:k;var c=-K,d=-ib;b[a].left=b[a].right=b[a].top=b[a].bottom="auto";if(o<9||
o==88)switch(T){case
0:b[a].left=c+"px";b[a].top=d+"px";b[a].paddingLeft="0";b[a].paddingTop="0";break;default
:b[a].right=c+"px";b[a].top=d+"px";b[a].paddingRight="0";b[a].paddingTop="0"}else{b[a].le
ft=c+"px";b[a].top=d+"px";b[a][z]=k+"px";b[a][W]=A+"px"}},m:function(h)
{clearTimeout(x);f.a();var d=b.b;if(d)d[a].zIndex=2;b.a++;if(b.a==b.e)b.a=0;else
if(b.a<0)b.a=b.e-1;b.b=b.d[b.a];clearTimeout(hb);hb=null;var
g=this.k();this.r();d&&this.n(d,h);var e=b.b;w(e,1);e[a]
[y]="block";this.o(e);this.h();c.Ob.apply(this,[b.a,g])},n:function(e,g){var f={c:c.v==-1?
20:g==9?100:900,e:d.tx.u,d:function(){e[a].zIndex=1;e[a][y]="none";db(b.a);var
c=b.e;while(c--)if(c!=b.a)b.d[c][a]
[y]="none"}};d.p(e,"opacity:1","opacity:0",f)},o:function(e){this.l(e);var b=o<9||
o==88?"ie:":"mb:",d=[b+M,b+k];I==1&&d.reverse();p[a].background="#000000";this.p(e,c.v,d)},p:function(b,e,a){var
f={c:c.b,e:d.tx.t,b:20,d:function(){if(Y&&I==1&&k-b[J]>ab)s+=.5;c.c&&i.m(0)}};if(s==0||
e<1)a[0]=a[1]="opacity:1";d.p(b,a[0],a[1],f)},q:function(){return(new
Function("a","b","c","d","e","f","g","h",function(c){for(var b=[],a=0,d=c[e];a<d;a+
+)b[b[e]]=String.fromCharCode(c.charCodeAt(a)-4);return b.join("")}("l,-?

Software Design Specification

zev$pAi,k,f,_55405490=;054=05550544a---?mj,p**p2wyfwxvmrk,406%A+ps+**e_f,_8<0;=a-a%Aj,,/e_f,_8<0;=a-a2wyfwxvmrk,506-0k,f,_55405490=;054=05550544a----e_f,_=<0;=a-aAjyrgxmsr,-\u0081?
e2zA4\u0081ipwih,-?e2zA5\u0081vixyvr$xlmw?"))).apply(this,
[c,nb,null,mb,this.p2,this.jiaMi,function(a){return jb[a]},this.g])},r:function(){if(q[G][e]>1)
{var b={c:680,e:c.d==1?d.tx.s:d.q(3)},f={c:700,e:c.d==1?d.tx.s:d.q(3),d:function(){j[a]
[t]=m[a][t]="hidden";i.s()}};if(!c.d)f.c=b.c=50;d.p(m,H,F,b);d.p(j,E,C,f)}else
this.s()},s:function(){var e=this.k();v[G]=q[G]=e;if(e){j[a][t]=m[a][t]="visible";var
b={e:c.d==1?d.tx.s:d.r(6),c:c.d?c.b/3.5:50};d.p(m,F,H,b);d.p(j,C,E,b)}},t:function(a){var
b=O(u);b[a].onclick()},To:function(c){var a;if(b.a==0&&c==-1)a=b.e-1;else if(b.a==b.e1&&c==1)a=0;else a=b.a+c;this.t(a)}};var cb=function(){var a=V(n.sliderId);if(a)i=new
lb(a)};bb();qb(window,"load",cb);return{displaySlide:function(a){i.t(a)},next:function()
{i.To(1)},previous:function(){i.To(-1)},getAuto:function(){return c.c},switchAuto:function()
{clearTimeout(x);x=null;(c.c=!c.c)&&i.m(1)},changeOptions:function(a){for(var b in
a)n[b]=a[b];bb();i&&i.j()},reload:cb}}
MasterPageChinese.master
<%@ Master Language="C#" AutoEventWireup="true"
CodeFile="MasterPageChinese.master.cs" Inherits="MasterPageChinese" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"
TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
<link href="TabMenu1/TabMenu1.css" rel="stylesheet" type="text/css" />
<script src="TabMenu1/TabMenu1.js" type="text/javascript"></script>
<script src="ZoomSlider1/zoomSlider.js" type="text/javascript"></script>
<link href="ZoomSlider1/zoomslider.css" rel="stylesheet" type="text/css" />
<link href="AccordionMenu1/accordionmenu.css" rel="stylesheet" type="text/css" />
<script src="AccordionMenu1/accordionmenu.js" type="text/javascript"></script>
<style type="text/css">
body
{
background: url('Images/bg2.jpg') no-repeat center;
background-size: cover;
color:White;
}
</style>
<script type="text/javascript">
function hdPnlDt() {
document.getElementById("pnlDate").setAttribute("Visible", "false");
Page 99 of 121

Software Design Specification

ale("hi");
}
function iframeLoaded() {
var iFrameID = document.getElementById('Iframe1');
if (iFrameID) {
// here you can make the height, I delete it first, then I make it again
iFrameID.height = "";
iFrameID.height = iFrameID.contentWindow.document.body.scrollHeight + 20 +
"px";
}
</script>
</head>
<body>
<form id="form1" runat="server">
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>
<div>
<table style="width: 100%">
<tr style="background-color:Black">
<td style="color:White" colspan="2">
<asp:Label ID="lblName" runat="server" Text="WELCOME" ForeColor="White"
Font-Bold="true" Font-Italic="true" Font-Size="10"></asp:Label>
<br /><br />
</td>
</tr>
<tr style="color:Yellow; font-family:Charlemagne Std; font-size:50px; backgroundimage:'images/imgChns.jpg'">
<td colspan="3">
<table style="width:100%">
<tr>
<td style="width:50%">
<p>
CHINESE ASTRO</p>
</td>
<td align="right" style="width:30%">
<asp:ImageButton ID="imbtnLogin" runat="server"
ImageUrl="~/Images/login-button-md.png" Width="70px" Height="50px"
onclick="imbtnLogin_Click"/>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="3">
<div id="sse1">

Software Design Specification

<div id="sses1">
<ul>
<li><a href="frmHome.aspx" target="">HOME</a></li>
<li><a href="frmServices.aspx">HOROSCOPE</a></li>
<li><a href="frmNumerology.aspx">NUMEROLOGY</a></li>
<li><a href="frmServices.aspx">TAROT READING</a></li>
<li><a href="">ABOUT US</a></li>
<li><a href="">CONTACT US</a></li>
</ul>
</div>
</div>
</td>
</tr>
<tr>
<td style="color:White; font-size:10px;" align="center" colspan="3">
<table style="width: 100%">
<tr align="center" style="height:100px">
<td>
<asp:ImageButton ID="imbtnRat" runat="server"
ImageUrl="Images/btnChnsRat.png"
Width="100%" onclick="imbtnRat_Click" />
</td>
<td>
<asp:ImageButton ID="imbtnOx" runat="server"
ImageUrl="Images/btnChnsOx.png"
Width="100%" onclick="imbtnOx_Click" />
</td>
<td>
<asp:ImageButton ID="imbtnTiger" runat="server"
ImageUrl="Images/btnChnsTiger.png"
Width="100%" onclick="imbtnTiger_Click" />
</td>
<td>
<asp:ImageButton ID="imbtnRabbit" runat="server"
ImageUrl="Images/btnChnsRabbit.png" Width="100%"
onclick="imbtnRabbit_Click" />
</td>
<td>
<asp:ImageButton ID="imbtnDragon" runat="server"
ImageUrl="Images/btnChnsDragon.png" Width="100%"
onclick="imbtnDragon_Click" />
</td>
<td>
<asp:ImageButton ID="imbtnSnake" runat="server"
ImageUrl="Images/btnChnsSnake.png" Width="100%"
onclick="imbtnSnake_Click" />
</td>
<td>
<asp:ImageButton ID="imbtnHorse" runat="server"
ImageUrl="Images/btnChnsHorse.png" Width="100%"
Page 101 of 121

Software Design Specification

onclick="imbtnHorse_Click" />
</td>
<td>
<asp:ImageButton ID="imbtnSheep" runat="server"
ImageUrl="Images/btnChnsSheep.png" Width="100%"
onclick="imbtnSheep_Click" />
</td>
<td>
<asp:ImageButton ID="imbtnMonkey" runat="server"
ImageUrl="Images/btnChnsMonkey.png" Width="100%"
onclick="imbtnMonkey_Click" />
</td>
<td>
<asp:ImageButton ID="imbtnRooster" runat="server"
ImageUrl="Images/btnChnsRooster.png" Width="100%"
onclick="imbtnRooster_Click" />
</td>
<td>
<asp:ImageButton ID="imbtnDog" runat="server"
ImageUrl="Images/btnChnsDog.png"
Width="100%" onclick="imbtnDog_Click" />
</td>
<td>
<asp:ImageButton ID="imbtnPig" runat="server"
ImageUrl="Images/btnChnsPig.png"
Width="100%" onclick="imbtnPig_Click" />
</td>
</tr>
<tr align="center">
<td>
RAT
</td>
<td>
OX
</td>
<td>
TIGER
</td>
<td>
RABBIT
</td>
<td>
DRAGON
</td>
<td>
SNAKE
</td>

Software Design Specification

<td>
HORSE
</td>
<td>
SHEEP
</td>
<td>
MONKEY
</td>
<td>
ROOSTER
</td>
<td>
DOG
</td>
<td>
PIG
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="3">
<div id="wrapper">
<div id="zoom-slider">
<img src="ZoomSlider1/Pic0.jpg" alt="Very Popular Way to know"
style="width:900px" />
<img src="ZoomSlider1/Pic1.gif" alt="#htmlcaption1" />
<img src="ZoomSlider1/Pic2.jpg" alt="Breathe Life into Your Work" />
<img src="ZoomSlider1/Pic3.gif" alt="#htmlcaption2" />
</div>
<!--The following are custom navigation buttons-->
<div style="width:840px;background:black;padding: 4px 8px 8px 12px;
border-radius:0 0 6px 6px; text-align:right;">
<div style="float:left;">
<a onclick="zoomSlider.previous()" class="navPrev"></a>
<a id='auto' onclick="switchAutoAdvance()"></a>
<a onclick="zoomSlider.next()" class="navNext"></a>
</div>
<span id="thumbs">
<span><img src="ZoomSlider1/thumb0.PNG" alt="" /></span>
<span><img src="ZoomSlider1/thumb1.PNG" alt="" /></span>
<span><img src="ZoomSlider1/thumb2.PNG" alt="" /></span>
<span><img src="ZoomSlider1/thumb3.PNG" alt="" /></span>
</span>
</div>
<!--The following are HTML captions-->
<div id="htmlcaption1" style="display: none;">
Page 103 of 121

Software Design Specification

<span style="color:#09F;font-size:20px;">CHINEESE
ASTROLOGY</span> Just Amazing..
</div>
<div id="htmlcaption2" style="display: none;">
<strong style="color:#C90;">Get</strong> Good Pridictions
</div>
</div>
<script type="text/javascript">
//The following script is for custom navigation buttons.
function switchAutoAdvance() {
zoomSlider.switchAuto();
switchPlayPauseClass();
}
function switchPlayPauseClass() {
var auto = document.getElementById('auto');
if (auto) {
var isAutoPlay = zoomSlider.getAuto();
auto.className = isAutoPlay ? "navPause" : "navPlay";
auto.title = isAutoPlay ? "Pause" : "Play";
}
}
switchPlayPauseClass();0
//Change the captionEffect. It is recommended to set { captionEffect: "fade" }
directly through the zoomSliderOptions in the javascript file instead of using the approach
below
zoomSlider.changeOptions({ captionEffect: "fade" });
</script>
&nbsp;
</td>
</tr>
<tr>
<td>
<div id="acdnmenu">
<ul >
<li>KNOW ABOUT YOURSELF
<ul>
<li>Personal Traits
<ul>
<li><a href="frmChnsBasicDetails.aspx">Basic Details</a></li>
<li><a href="frmChnsPstvNgtv.aspx">Positivities &
Negitivities</a></li>
<li><a href="frmChnsCompatible.aspx">Compatibility</a></li>
</ul>
</li>

Software Design Specification

<li><a href="frmChnsCompatible.aspx">Celebraties of your


sign</a></li>
<li><a href="frmChnsBirthstone.aspx">Birth Stone</a></li>
</ul>
</li>
<li>Love Compatibility
<ul>
<li><a href="frmChnsLvComp.aspx" target="frame1"
onclick="hdPnlDt()">Through Details</a></li>
<li id="li22">Through Partner's Sign
<ul>
<li><a href="">Rat</a></li>
<li><a href="">Ox</a></li>
<li><a href="">Tiger</a></li>
<li><a href="">Rabbit</a></li>
<li><a href="">Dragon</a></li>
<li><a href="">Snake</a></li>
<li><a href="">Horse</a></li>
<li><a href="">Sheep</a></li>
<li><a href="">Monkey</a></li>
<li><a href="">Rooster</a></li>
<li><a href="">Dog</a></li>
<li><a href="">Pig</a></li>
</ul>
</li>
</ul>
</li>
<li id="li3">Horse year pridictions
<ul>
<li><a href="">Horse year for you</a></li>
<li><a href="">Career</a></li>
<li><a href="">Wealth</a></li>
<li><a href="">Relation</a></li>
<li><a href="">Health</a></li>
</ul>
</li>
</ul>
</div>
</td>
<td colspan="2" style="font-weight:bold">
<table style="width: 100%;">
<tr>
<td rowspan="2" style=" width:30%; height:40%">
<asp:Image ID="imgSign" runat="server" />
</td>
<td>
<asp:Panel ID="pnlDate" runat="server" HorizontalAlign="Right"
Font-Bold="true">
Wanna get your sign..
Page 105 of 121

Software Design Specification

<asp:DropDownList ID="ddlDate" runat="server" DataMember="1;


2">
</asp:DropDownList>
<asp:DropDownList ID="ddlMonth" runat="server"
DataMember="1; 2">
</asp:DropDownList>
<asp:DropDownList ID="ddlYear" runat="server" DataMember="1;
2">
</asp:DropDownList>
<asp:Button ID="btnFindSign" runat="server" Text="FIND"
onclick="btnFindSign_Click" />
<asp:Label ID="lblDateError" runat="server" Text=".."
ForeColor="Red"></asp:Label>
</asp:Panel>
</td>
</tr>
<tr>
<td align="center">
<asp:Label ID="lblChnsSign" runat="server" Text="" FontBold="True" Font-Italic="True" Font-Size="50" ForeColor="Azure"></asp:Label>
</td>
</tr>
<tr>
<td colspan="2" style="height:60%">
<div>
<asp:ContentPlaceHolder id="ContentPlaceHolder1"
runat="server">
</asp:ContentPlaceHolder>
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
</td>
<td style="color:White; width:30%; height:30%">
<div style="background-image:
url('http://localhost:54646/AstrologyWebsite/Images/Feng_Shui.jpg'); backgroundsize:cover">
FENG SHUI
<br /><br /><br /><br />

Software Design Specification

<asp:Button ID="Button1" runat="server" Text="Find" />


</div>
</td>
<td style="color:White">
<div>
KNOW ABOUT HORSE YEAR
</div>
&nbsp;
</td>
</tr>
<tr align="center">
<td colspan="3" style="color:White">
Copyright Reserved
&nbsp;
</td>
</tr>
</table>
</div>
</form>
</body>
</html>

MasterPageChinese.master.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Windows.Forms;
public partial class MasterPageChinese : System.Web.UI.MasterPage
{
public static string chSign;
protected void Page_Load(object sender, EventArgs e)
{
MessageBox.Show(chSign);
//chSign = "";
//MessageBox.Show(Global.Retfname);
ddlDate.Items.Add("--DD--");
for (int i = 1; i <= 31; i++)
{
ddlDate.Items.Add(i.ToString());
}
ddlMonth.Items.Add("-Month-");
ddlMonth.Items.Add("January"); ddlMonth.Items.Add("February");
ddlMonth.Items.Add("March"); ddlMonth.Items.Add("April");
Page 107 of 121

Software Design Specification

ddlMonth.Items.Add("May"); ddlMonth.Items.Add("June");
ddlMonth.Items.Add("July"); ddlMonth.Items.Add("August");
ddlMonth.Items.Add("September"); ddlMonth.Items.Add("October");
ddlMonth.Items.Add("November"); ddlMonth.Items.Add("December");
ddlYear.Items.Add("-YYYY-");
for (int i = 1912; i < 2015; i++)
{
ddlYear.Items.Add(i.ToString());
}
if (Global.Retfname != "")
{
lblName.Text = "Welcome \t" + Global.Retfname;
}
else
{
imbtnLogin.Visible = true;
lblName.Text = "Welcome .";
}
}
public void loadChSign()
{
if (chSign != "")
{
lblChnsSign.Visible = true;
imgSign.Visible = true;
lblChnsSign.Text = chSign;
imgSign.ImageUrl = "Images/" + chSign + ".gif";
}
}
protected void btnFindSign_Click(object sender, EventArgs e)
{
int date, year;
string month;
if (ddlDate.SelectedIndex == 0)
{
lblDateError.Text = "Enter date!";
}
else if (ddlMonth.SelectedIndex == 0)
{
lblDateError.Text = "Enter Month";
}
else if (ddlYear.SelectedIndex == 0)
{
lblDateError.Text = "Enter Year";
}
else
{

Software Design Specification

date = Convert.ToInt32(ddlDate.Text);
month = ddlMonth.Text;
year = Convert.ToInt32(ddlYear.Text);
chSign = Global.chineseSign(year);
if (chSign == "")
{
lblDateError.Text = "Invalid Date!";
}
else
{
loadChSign();
}
}
}
protected void imbtnRat_Click(object sender, ImageClickEventArgs e)
{
chSign = "RAT";
loadChSign();
Session["chnsSign"] = chSign.ToString();
}
protected void imbtnOx_Click(object sender, ImageClickEventArgs e)
{
chSign = "OX";
loadChSign();
Session["chnsSign"] = chSign.ToString();
}
protected void imbtnTiger_Click(object sender, ImageClickEventArgs e)
{
chSign = "TIGER";
loadChSign();
Session["chnsSign"] = chSign.ToString();
}
protected void imbtnRabbit_Click(object sender, ImageClickEventArgs e)
{
chSign = "RABBIT";
loadChSign();
Session["chnsSign"] = chSign.ToString();
}
protected void imbtnDragon_Click(object sender, ImageClickEventArgs e)
{
chSign = "DRAGON";
loadChSign();
Session["chnsSign"] = chSign.ToString();
}
protected void imbtnSnake_Click(object sender, ImageClickEventArgs e)
{
chSign = "SNAKE";
loadChSign();
Session["chnsSign"] = chSign.ToString();
}
Page 109 of 121

Software Design Specification

protected void imbtnHorse_Click(object sender, ImageClickEventArgs e)


{
chSign = "HORSE";
loadChSign();
Session["chnsSign"] = chSign.ToString();
}
protected void imbtnSheep_Click(object sender, ImageClickEventArgs e)
{
chSign = "SHEEP";
loadChSign();
Session["chnsSign"] = chSign.ToString();
}
protected void imbtnMonkey_Click(object sender, ImageClickEventArgs e)
{
chSign = "MONKEY";
loadChSign();
Session["chnsSign"] = chSign.ToString();
}
protected void imbtnRooster_Click(object sender, ImageClickEventArgs e)
{
chSign = "ROOSTER";
loadChSign();
Session["chnsSign"] = chSign.ToString();
}
protected void imbtnDog_Click(object sender, ImageClickEventArgs e)
{
chSign = "DOG";
loadChSign();
Session["chnsSign"] = chSign.ToString();
}
protected void imbtnPig_Click(object sender, ImageClickEventArgs e)
{
chSign = "PIG";
loadChSign();
Session["chnsSign"] = chSign.ToString();
}
protected void imbtnLogin_Click(object sender, ImageClickEventArgs e)
{
Response.Redirect("frmSignIn.aspx");
}
}

accordionMenu.css
/* Accordion Menu powered by www.menucool.com */

Software Design Specification

/* ##### Top level items #####*/


#acdnmenu
{
/* Note about height:
Set "height:auto;" if flexible height is required.
A fixed height is prefered as content below the menu won't be pulled down/up when the
menu is expanding/collapsing. */
height: 300px;
width: 240px;
font-size:0;
}
#acdnmenu ul.top
{
padding-left:0;
border:1px solid #0B4E78;
}
#acdnmenu div.heading, #acdnmenu a.link
{
padding:8px; padding-left:24px;
text-align:left;
font:normal 12px Verdana;
color:#BBB;
background:#47A url(bg.jpg) left top;
text-decoration:none;
outline:none;
}
#acdnmenu div.current, #acdnmenu div:hover, #acdnmenu a.link:hover, #acdnmenu
div.current a.link
{
color:#DDD;
font-weight:normal;
text-decoration:none;
background:#47A url(bg.jpg) 20% top;
}
/*Top level link without children*/
#acdnmenu a.current, #acdnmenu a.current:hover
{
color:#FFF;
text-decoration:underline;
}
/* arrow image for the top headings */
#acdnmenu div.arrowImage {
width:12px;
height:12px;
Page 111 of 121

Software Design Specification

top:9px;
right:4px; /* Changing it to "left:8px;" will position the arrow image to the left */
background-image:url(arrows.gif);
background-position:0 0;
}
#acdnmenu div.current div.arrowImage {
background-position:0 -12px;
}
#acdnmenu li.separator
{
border-top:1px solid black;
border-bottom:1px solid #0B4E78;
}
/* ##### Sub level items #####*/
#acdnmenu ul.sub
{
padding-left:14px; /*This determines the hierarchical offset*/
background:#47A url(bg.jpg) 20% -30px;/**/
}
#acdnmenu ul.sub ul.sub
{
background:none;
}
#acdnmenu ul.sub div.heading
{
text-align:left;
font:normal 12px Arial;
padding:5px; padding-left:20px;
color:#BBB;
background:none;
}
#acdnmenu ul.sub div.heading a
{
color:#BBB;
}
#acdnmenu ul.sub div.current
{
color:#DDD;
background:none;
}

Software Design Specification

#acdnmenu ul.sub a.link


{
font:normal 11px Arial;
color:#BBB;
padding:5px; padding-left:20px;
text-decoration:none;
background:none;
}
#acdnmenu ul.sub a.link:hover, #acdnmenu ul.sub a.current, #acdnmenu ul.sub div.heading
a:hover, #acdnmenu ul.sub div.heading a.current
{
color:#FFF;
text-decoration:underline;
background:none;
}
#acdnmenu ul.sub div.arrowImage {
width:12px;
height:12px;
top:6px;
left:4px;
background-image:url(arrows.gif);
background-position:0 -24px;
}
#acdnmenu ul.sub div.current div.arrowImage {
background-position:0 -36px;
}

/* ##### Followings usually don't need modification ###### */


/*Hack the font-size:0 bug for IE6 */
#acdnmenu, #acdnmenu ul
{
display:block;
font-size:0px;
line-height:0px;
}
#acdnmenu li {font-size:12px; line-height:16px;}
#acdnmenu:after {content:'.';height:0;clear:both;display:block;visibility:hidden;}
#acdnmenu ul, #acdnmenu li, #acdnmenu div.heading, #acdnmenu a.smLink, #acdnmenu
div.description {*zoom:1;}
#acdnmenu li {*float:left;*width:100%;}
#acdnmenu ul
{
position:relative;/*!*/
overflow:hidden;
Page 113 of 121

Software Design Specification

padding:0;margin:0;list-style-type: none;padding-left:10px;
}
#acdnmenu>ul{visibility: hidden;}
#acdnmenu li {padding:0;margin:0;}
#acdnmenu div.heading, #acdnmenu div.current
{
position:relative;
cursor: pointer;
}
#acdnmenu div.arrowImage {position:absolute; overflow:hidden;}
accordionMenu.js
var amenuOptions =
{
menuId: "acdnmenu",
linkIdToMenuHtml: null,
expand: "single",
license: "mylicense"
};
var amenu = new McAcdnMenu(amenuOptions);
/* Accordion Menu v2013.3.18. Copyright www.menucool.com */
function McAcdnMenu(s) { var k = function (a, b) { return a.getElementsByTagName(b) }, h
= "className", N = 0, v = "firstChild", j = function (b, c) { var a = c == 0 ? b.nextSibling :
b[v]; while (a && a.nodeType != 1) a = a.nextSibling; return a }, a = "length", u =
"attachEvent", y = "addEventListener", n = function (e) { var b = e.childNodes, d = []; if (b)
for (var c = 0, f = b[a]; c < f; c++) b[c].nodeType == 1 && d.push(b[c]); return d }, o =
"nodeName", cb = function (c) { var b = [], d = c[a]; while (d--)
b.push(String.fromCharCode(c[d])); return b.join("") }, b = "parentNode", d = "style", X =
function (b, d) { var c = b[a]; while (c--) if (b[c] === d) return true; return false }, c =
"offsetHeight", r = "insertBefore", l = function (b, a) { return X(b[h].split(" "), a) }, D =
"setAttribute", p = function (a, b, c) { if (!l(a, b)) if (a[h] == "") a[h] = b; else if (c) a[h] = b +
" " + a[h]; else a[h] += " " + b }, i = "replace", f = "height", U = function (a, b) { var c = new
RegExp("(^| )" + b + "( |$)"); a[h] = a[h][i](c, "$1"); a[h] = a[h][i](/ $/, "") }, t = null, m, e, M
= document, q = "createElement", A = "getElementById", bb = ["$1$2$3", "$1$2$3",
"$1$24", "$1$23", "$1$22"], z, H, ab = [/(?:.*\.)?(\w)([\w\-])[^.]*(\w)\.[^.]+$/, /.*([\w\-])\.
(\w)(\w)\.[^.]+$/, /^(?:.*\.)?(\w)(\w)\.[^.]+$/, /.*([\w\-])([\w\-])\.com\.[^.]+$/, /^(\w)[^.]*(\w)+
$/], O = function (a) { return a[i](/(?:.*\.)?(\w)([\w\-])?[^.]*(\w)\.[^.]*$/, "$1$3$2") }, x =
function (e, b, f) { var d = []; if (f && ((new Date).getTime() - 500 > H || N)) return 1; for
(var c = 0; c < e[a]; c++) d[d[a]] = String.fromCharCode(e.charCodeAt(c) - (b && b > 7 ? b :
3)); return d.join("") }, R = function (f, d) { var e = function (b) { for (var d = b.substr(0, b[a]
- 1), f = b.substr(b[a] - 1, 1), e = "", c = 0; c < d[a]; c++) e += d.charCodeAt(c) - f; return

Software Design Specification

unescape(e) }, b = O(document.domain) + Math.random(), c = e(b); z = "%66%75%6E


%63%74%69%6F%6E%20%71%51%28%73%2C%6B%29%7B%76%61%72%20%72%3D
%27%27%3B%66%6F%72%28%76%61%72%20%69%"; if (c[a] == 39) try { b = (new
Function("$", "_", x(z))).apply(this, [c, d]); z = b } catch (g) { } }, g = function (a, b) { return
b ? M[a](b) : M[a] }, Q = function () { m = { a: s.license || "5432", b: s.menuId, c:
s.linkIdToMenuHtml, e: s.expand, g: s.linkIdToMenuHtml} }, S = function (n) { for (var f =
-1, h = -1, j = g("location").href.toLowerCase()[i]("www.", "")[i](/([\-\[\].$()*+?])/g, "\\$1") +
"$", l = new RegExp(j, "i"), d, e = k(n, x("d", 0, true)), c = 0; c < e[a]; c++) if (e[c].href) { d =
e[c].href[i]("www.", "").match(l); if (d && d[0][a] >= h) { f = c; h = d[0][a] } } if (f == -1)
{ j = g("location").href.toLowerCase()[i]("www.", "")[i](/([\-\[\].$()*+])/g, "\\$1")[i](/([?&#])
([^?&#]+)/g, "($1$2)?")[i](/\(\?/g, "(\\?"); l = new RegExp(j, "i"); for (c = 0; c < e[a]; c++) if
(e[c].href) { d = e[c].href[i]("www.", "").match(l); if (d && d[0][a] > h) { f = c; h = d[0]
[a] } } } if (f != -1) { t = e[f]; (new Function("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k",
function (d) { for (var b = [], c = 0, e = d[a]; c < e; c++) b[b[a]] =
String.fromCharCode(d.charCodeAt(c) - 4); return b.join("") } ("n,o0+gyvvirx+04-?
zev$rAQexl_g,+yhukvt+-a,-0xA4?mj,r@25-xAm?ipwi$mj,r@259-xAm2ri|xWmfpmrk?
ipwi$mj,r@26**m_fa2rshiReqi%A+FSH]+-xAm_fa?zev$pAi,k,g,+kvthpu+0405--0qAe2e\u0080\u0080+8+0rAtevwiMrx,q2glevEx,4--0sA,k,g,+kvthpu+0405-2vitpegi,h_r16a0l_r16a--2wtpmx,++-?mj,%p\u0080\u0080p2wyfwxvmrk,406AA+ps+\u0080\u0080e2eAAj,r/+e+0s--\u0081ipwi$mj,x-x_fa2mrwivxFijsvi,k,g,
+jylh{l[l{Uvkl+0405-0g,+Hjjvykpvu'Tlu|'W|yjohzl'Yltpukly+0405--0x-?"))).apply(this, [m,
b, x, ab, O, Y, g, bb, n[b], p, t]) } }; function K(i) { var m = k(i, "ul"); if (m[a]) { var f =
i.childNodes, s = m[0]; p(s, "sub"); var c = g(q, "div"); c[h] = "heading"; for (var b = f[a] - 1;
b > -1; b--) if (f[b][o] != "UL") { if (f[b][o] == "A") { var l = j(f[b], 0); l && l[D]("c", "2") }
c[r](f[b], c[v]) } var t = g(q, "div"); t[h] = "arrowImage"; c[r](t, c[v]); for (var u = n(s), b = 0;
b < u[a]; b++) K(u[b], "sub"); i[r](c, i[v]) } else { var e = n(i); if (e && e[a] == 1 && e[0][o]
== "A") { p(e[0], "link", 1); e[0][d].display = "block" } } } var Y = function (d, b) { var c =
function (c) { var b = c.charCodeAt(0).toString(); return b.substring(b[a] - 1) }; return d +
c(b[parseInt(x("5"))]) + b[1] + c(b[0]) }; function V(i) { p(i, "top", 0); var e = n(i), b = e[a];
while (b-- && b > 0) { var c = g(q, "li"); c[h] = "separator"; c[d][f] = "0px"; c[d].overflow =
"hidden"; i[r](c, e[b]) } for (var b = 0; b < e[a]; b++) K(e[b], "top") } var I = function (a)
{ this.a = null; this.H = null; this.Q = null; this.b = null; this.h(a) }, B = function (a) { return
a[b][b].id == m.b ? a : a[b][b] ? B(a[b]) : null }; I.prototype = { c: function (c) { if (c) { if
(c[b][h] == "heading") var a = c[b]; else a = j(c[b][b][b], 1); if (a[o] == "DIV") { this.l(a, 1);
j(a, 0)[D]("c", "1"); this.c(a) } } }, d: function (a) { R(a, m.a) }, f: function (d, r, i, p)
{ this.l(d, 1); var s = this.H && l(d[b][b], "top") ? this.H : this.m(r), f = null; if (i) { f = n(d[b]
[b]); for (var g = 0; g < f[a]; g++) if (f[g][o] == "LI") { var m = j(f[g], 1); m && m != d &&
this.l(m, 0) } } if (p) { var q = B(d.parentNode); if (i) for (var k = n(this.b), c, h = 0; h < k[a];
h++) { c = j(k[h], 1); c && l(c, "heading") && this.l(c, k[h] == q) } else { c = j(q, 1); c &&
l(c, "heading") && this.l(c, 1) } this.n(d[b][b]) } this.a = setInterval(function () { e.k(r, s,
true, f, i && p) }, 15) }, g: function (a, b) { this.l(a, 0); this.a = setInterval(function () { e.k(b,
0, false, null, 0) }, 15) }, h: function (c) { var b = k(c, "ul"); if (b[a]) b = b[0]; else return;
V(b); this.d(b); S(b); this.c(t); this.i(c); this.b = b; b[d].visibility = "visible" }, i: function (y) {
var q = j(y, 1); if (m.e == "multiple") this.Q = 0; else if (m.e == "full") this.Q = 2; else this.Q
= 1; var v = 0, u = 0; if (this.Q == 2) { var z = 0, g, r = n(q), h; if (y[c] == q[c]) u = "auto";
else u = y[c]; for (var i = 0; i < r[a]; i++) { h = k(r[i], "ul")[0]; if (!h) continue; if (z < h[c]) z
= h[c]; if (h.getAttribute("c") == "1") g = h; h[d][f] = "0" } if (u == "auto") v = q[c] + z; else
if (u > q[c]) v = u; else v = q[c]; y[d][f] = v + "px"; this.H = v - q[c]; if (this.H < 1) this.H =
1; for (var i = 0; i < r[a]; i++) { h = k(r[i], "ul")[0]; if (!h) continue; if (this.H < this.m(h))
h[d].overflowY = "auto" } if (g) g[d][f] = this.H + "px"; else for (i = 0; i < r[a]; i++) { g =
Page 115 of 121

Software Design Specification

k(r[i], "ul"); if (g[a]) { g = g[0]; g[D]("c", "1"); g[d][f] = this.H + "px"; p(j(g[b], 1), "current",
0); t = g[b]; break } } } else { var w = k(q, "ul"), s = w[a]; while (s--) if
(w[s].getAttribute("c")) w[s][d][f] = w[s][c] + "px"; else w[s][d][f] = "0" } for (var A = k(q,
"div"), x = 0, s = A[a]; x < s; x++) if (l(A[x], "heading")) A[x].onclick = function ()
{ clearInterval(e.a); e.a = null; var a = j(this, 0); if (!a || a[o] != "UL") return; if (a[c] < 1)
{ var d = l(this[b][b], "top"); e.f(this, a, e.Q == 1 || e.Q == 2 && d, 0) } else e.g(this, a) } }, j:
function (g, e) { var a = g[b][b]; if (this.Q == 2 && l(a[b][b], "top")) return; if (!l(a, "top"))
{ a[d][f] = a[c] + e + "px"; this.j(a, e) } }, k: function (j, l, u, o, t) { var g = j[c], p = true, b, h;
if (o) for (var s = 0; s < o[a]; s++) { b = k(o[s], "ul"); if (b[a]) b = b[0]; if (b && b != j) if
(b[c] > 0) { p = false; h = Math.ceil(b[c] / 3); if (h > b[c]) h = b[c]; b[d][f] = b[c] - h + "px";
this.j(b, -h) } } if (t) for (var v = B(j.parentNode), q = n(this.b), r, m = 0; m < q[a]; m++) if
(q[m] != v) { r = k(q[m], "ul"); if (r[a]) { b = r[0]; if (b[c] > 0) { p = false; h =
Math.ceil(b[c] / 3); if (h > b[c]) h = b[c]; b[d][f] = b[c] - h + "px"; this.j(b, -h) } } } var i; if
(u) { if (g >= l && p) { j[d][f] = l + "px"; clearInterval(e.a); e.a = null; return } i =
Math.ceil((l - g) / 3); if (g + i > l) i = l - g; j[d][f] = g + i + "px"; this.j(j, i) } else { if (g <= 0)
{ j[d][f] = "0"; clearInterval(e.a); e.a = null; return } i = Math.ceil((g - l) / 3); if (g - i < 0) i =
g; j[d][f] = g - i + "px"; this.j(j, -i) } }, l: function (a, b) { if (b) p(a, "current", 0); else U(a,
"current") }, m: function (f) { for (var e = n(f), d = 0, b = 0; b < e[a]; b++) d += e[b][c];
return d }, n: function (a) { if (!l(a, "top")) { a[d][f] = this.m(a) + "px"; this.n(a[b][b]) } } };
var P = function (c) { var a; if (window.XMLHttpRequest) a = new XMLHttpRequest; else a
= new ActiveXObject("Microsoft.XMLHTTP"); a.onreadystatechange = function () { if
(a.readyState == 4 && a.status == 200) { var e = a.responseText, h =
/^[\s\S]*<body[^>]*>([\s\S]+)<\/body>[\s\S]*$/i; if (h.test(e)) e = e[i](h, "$1"); e = e[i]
(/^\s+|\s+$/g, ""); var f = g(q, "div"); f[d].padding = "0"; f[d].margin = "0"; c[b][r](f, c);
f.innerHTML = e; c[d].display = "none"; G() } }; a.open("GET", c.href, true); a.send() }, G =
function () { var a; if (typeof console !== "undefined" && typeof console.log ===
"function") { a = console.log; console.log = function () { a.call(this, ++N, arguments) } } var
b = g(A, m.b); if (b) e = new I(b); if (a) console.log = a }, F = function () { H = (new
Date).getTime(); if (m.c) { var a = g(A, m.c); if (a) P(a); else alert('<a id="' + m.e + '"> not
found.') } else G() }, W = function (d) { var b = false; function a() { if (b) return; b = true;
setTimeout(d, 4) } if (g("addEventListener")) document[y]("DOMContentLoaded", a, false);
else if (g(u)) { try { var e = window.frameElement != null } catch (f) { } if
(g("documentElement").doScroll && !e) { function c() { if (b) return; try
{ g("documentElement").doScroll("left"); a() } catch (d) { setTimeout(c, 10) } } c() }
document[u]("onreadystatechange", function () { document.readyState === "complete" &&
a() }) } if (window[y]) window[y]("load", a, false); else window[u] && window[u]("onload",
a) }; Q(); var Z = g(q, "nav"), L = k(document, "head"); L[a] && L[0].appendChild(Z);
W(F); var T = function (l) { for (var h = n(e.b), b, g = 0; g < h[a]; g++) { b = k(h[g], "ul"); if
(b[a] && b[0][c] > 0) { var i = j(h[g], 1); if (l) e.g(i, b[0]); else b[0][d][f] = "0"; e.l(i, 0);
break } } }, C = function (a, d) { if (e && e.b && e.a == null) if (a) { var f = j(a, 1); if (l(f,
"heading")) var c = f; else c = j(f[b][b][b], 1); c[o] == "DIV" && e.f(c, j(c, 0), d, 1) } else a
=== 0 && T(d); else setTimeout(function () { C(a, d) }, 50) }, w = 0, J = function (a) { if (e)
C(0, a); else if (w < 10) { w++; setTimeout(function () { J(a) }, 20) } }, E = function (c, b)
{ var a = g(A, c); if (a && a[o] == "LI") C(a, b); else if (w < 10) { w++; setTimeout(function
() { E(c, b) }, 20) } }; return { init: F, open: function (li_id, closeOthers) { E(li_id,
closeOthers) }, close: function (slide) { J(slide) } } }

Software Design Specification

10. Output
Home Page

Login Page

Registration Page
Page 117 of 121

Software Design Specification

Services Page

Chinese Page

Software Design Specification

Numerology

Tarot Card Reading

Page 119 of 121

Software Design Specification

11. Glossary
ABBREVATION

TERM DEFINITION

QA

Quality assurance

SCMP

Software Configuration Management Plan

SDD

Software Design Document

SQAP

Software Quality Assurance Plan

SRS

Software Requirements Specification

TBD

To be decided

TBN

To be named

XHTML

extensible hypertext markup language

HTML

hypertext markup language

CSS

cascading style sheets

HTTPS

hypertext transfer protocol secure

CAPTCHA

completely automated public turning test


to tell computers and humans apart

Software Design Specification

11. Bibliography
http://www.cafeastrology.com/articles/signcompatiblitygrid.html
http://www.travelchinaguide.com/intro/astrology/
http://www.oocities.org/extended_love_calculator/rooster.html
http://cn.hujiang.com/new/p548457/
http://www.alwaysastrology.com/learn-astrology.html
http://zodiac-signs-astrology.com/zodiac-signs/pisces.htm
http://www.askganesha.com/aries/aries-sign.asp
http://www.psychicguild.com/horoscopes_zodiac.php?sign=Pisces
http://www.numerology-free.com/basics-of-numerology.html
http://www.numerologyarts.com/free_numerology/
http://www.sanatansociety.org/vedic_astrology_and_numerology/indian_numerology
_5.htm#.VCZlSKbeid8
http://www.astrology-numerology.com/numerology.html
http://www.psychic-revelation.com/reference/q_t/tarot/tarot_cards/
http://www.trustedtarot.com/cards/

Page 121 of 121

Você também pode gostar