Escolar Documentos
Profissional Documentos
Cultura Documentos
Submitted by:
Meghana Aggarwal
08724302012
3rd Sem (Evening)
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.
TABLE OF CONTENT
TOPICS
PAGE
NO.
Acknowledgement
Certificate
Page 3 of 121
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
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
2.2.4
OPERATING ENVIRONMENT
2.2.5
2.2.6
USER DOCUMENTATION
2.2.7
2.3
2.3.1
SYSTEM FEATURES
VIEWING PROPERTIES
16
17
Chapter3: SDS
3.
1.
22
REVISION HISTORY.....................................................................................................
To
Chapter 4:
117
4.1. GLOSSARY...................................................................................................................
4.2 . Bibliography
121
1. Revision History
Version
Name
1.0
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
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.3 OBJECTIVES
Page 9 of 121
SNO.
ACTIVITY
DATE SCHEDULED
1.
2.
3.
Synopsis
4.
Designing of modules
5.
6.
Preparation of SRS
7.
Testing
8.
Report
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 .
ACTIVITY
DATE SCHEDULED
1.
2.
3.
Synopsis
4.
ACTIVITY
DATE
4.
Designing of modules
5.
6.
Preparation of SRS
7.
Testing
8.
Report
Page 11 of 121
Page 13 of 121
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.
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
Website is aimed toward users who have their interest in astrology predictions and want to
work accordingly.
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
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
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.
Hardware Requirements:
Processor
RAM
Cache Memory
Hard disk
Intel Pentium IV
2GB
1MB
250 GB
Deployment Requirements :
Software Requirements:
Processor
RAM
Cache Memory
Hard disk
Modem
Intel Pentium IV
2GB
1MB
250 GB
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.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.
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.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
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
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
Specializes:REQ1
Connected by:REQ1
Connects : REQ1, REQ3, REQ4, REQ10, REQ15
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
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
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
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
Page 33 of 121
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
Page 35 of 121
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.
Page 37 of 121
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.
Page 39 of 121
Requirements
Specification
Desig
n
Implementati
on
Testing
and
Integratio
Operation
and
Maintenance
Page 41 of 121
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.
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
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.
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
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
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
Level 0 :Guest
Give
Details
Get Details
OWNER
ADMIN
ONLINE ASTRO
Give
Predictions
Level 1:-
Get
Predictions
Give
Details
Get
Predictions
Page 49 of 121
Level 2:2.1.1 :
2.1.2 :
2.2.1 :
2.2.2 :
2.2.3 :
Page 51 of 121
2.3.1 :
2.3.2 :
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
3.8.5 Composition
A description of the use and meaning of the subcomponents that are a part of this component.
TABLE 1. LOGIN
COLUMN NAME
DATA TYPE
DESCRIPTION
UerID
Nvarchar
50
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
COLUMN NAME
DATA TYPE
LENGTH KEY
CONSTRAINT
S
DESCRIPTION
userId
Nvarchar
50
firstName
Nvarchar
100
lastName
Nvarchar
50
bdate
Nvarchar
50
bmonth
Nvarchar
50
byear
Nvarchar
50
gender
Nvarchar
10
contact
Nvarchar
50
Nvarchar
50
secQues
Nvarchar
100
secAns
Nvarchar
50
horoscopeSign
Nvarchar
50
chineseSign
Nvarchar
50
Page 55 of 121
Primary Key
COLUMN NAME
DATA TYPE
LENGTH KEY
CONSTRAINT
S
DESCRIPTION
adminId
Nvarchar
50
firstName
Nvarchar
100
lastName
Nvarchar
50
Contact
Nvarchar
50
Nvarchar
50
Gender
Nvarchar
50
Dob
Nvarchar
10
department
Nvarchar
50
Primary Key
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
yinYin
nvarchar
2000
TABLE 5. HOROSCOPE
COLUMN
NAME
DATA
TYPE
LENGT
H
Hsign
nvarchar
40
Horoscope sign
Element
nvarchar
1000
Planet
nvarchar
1000
Symbol
nvarchar
1000
Stone
nvarchar
1000
lifePersuit
nvarchar
1000
Vibration
nvarchar
1000
secretDesire
nvarchar
1000
physicalTraits
nvarchar
1000
bodyPart
nvarchar
1000
Duality
nvarchar
1000
Modality
nvarchar
1000
keywords
nvarchar
1000
Color
nvarchar
1000
House
nvarchar
1000
Strength
nvarchar
2000
weakness
nvarchar
2000
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
Woman
nvarchar
-1
Page 57 of 121
KEY
CONSTRAIN
TS
DESCRIPTION
Man
nvarchar
-1
dailyPrediction
nvarchar
-1
monthlyPredicti
on
yearPrediction
nvarchar
-1
nvarchar
-1
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
TABLE 6. Chinese
COLUMN
NAME
DATA
TYPE
LENGT
H
KEY
DESCRIPTION
CONSTRAINT
S
Csign
nvarchar
20
Chinese sign
prediction
nvarchar
-1
Strength
nvarchar
-1
weakness
nvarchar
-1
Earthy
nvarchar
100
sign
wuXing
nvarchar
100
yinYang
nvarchar
100
directions
nvarchar
100
Color
nvarchar
200
avoidColor
nvarchar
200
Number
nvarchar
100
avoidNumber
nvarchar
100
Flower
nvarchar
1000
compSigns
nvarchar
1000
Compatible signs
avoidSigns
nvarchar
1000
Avoidable signs
Celebs
nvarchar
-1
fotune2014
nvarchar
-1
career2014
nvarchar
-1
wealth2014
nvarchar
-1
relation2014
nvarchar
-1
health2014
nvarchar
-1
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
Ngtv
nvarchar
-1
Negitivity
General
nvarchar
-1
General
Tarot
nvarchar
-1
Astro
nvarchar
-1
Rune
nvarchar
-1
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
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
luckyNums
nvarchar
-1
luckyNumber resemblance of
number
Flora
nvarchar
-1
resemblance
resemblance
resemblance
of
of
of
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
Work
nvarchar
max
Love
nvarchar
Max
Finance
nvarchar
max
Health
nvarchar
Max
sprituality
nvarchar
Max
Meaning
nvarchar
Max
Past
nvarchar
Max
Present
nvarchar
Max
Page 61 of 121
KEY
DESCRIPTION
CONSTRAINT
S
Future
nvarchar
max
yes__no
nvarchar
max
Yes/no interpretation
date_tmng_astro
nvarchar
max
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.
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
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
{
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 /> 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"> About
Us </a>
<br /><br />
<a href="frmAboutUs.aspx" target="frame1"
class="btnStyl"> Testimonials </a>
Page 65 of 121
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
</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
</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;
}
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
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
{
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
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*/
}
</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">
Password:
<br />
<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 />
    
<asp:ImageButton ID="imbtnLogin" runat="server"
ImageUrl="~/Images/login-button.gif" onclick="imbtnLogin_Click"
/><br />
<br /><br />
<a href="" style="background-color:Gray">Forgot your password..?</a>
<br /><br />
</asp:Panel>
<br /><br /><br />
</td>
</tr>
<tr>
<td colspan="3" align="center">
Copyrights Reserved
</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;
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%" />
</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" />
<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
</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>
</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 />
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
<%--<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"/>
<asp:ImageButton ID="imbtnReset" runat="server"
ImageUrl="~/Images/resetButton.jpg" Width="100px" Height="50px"
onclick="imbtnReset_Click" CausesValidation="False"/>
</asp:Panel>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<br /><br />
Copyrights Reserved
</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>
</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
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)
{
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
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 */
#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
}
#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
{
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
#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;
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
{
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
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
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,-?
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
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">
<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
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>
<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
<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>
</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>
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
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
{
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
accordionMenu.css
/* Accordion Menu powered by www.menucool.com */
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;
}
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
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) } } }
10. Output
Home Page
Login Page
Registration Page
Page 117 of 121
Services Page
Chinese Page
Numerology
11. Glossary
ABBREVATION
TERM DEFINITION
QA
Quality assurance
SCMP
SDD
SQAP
SRS
TBD
To be decided
TBN
To be named
XHTML
HTML
CSS
HTTPS
CAPTCHA
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/