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

For

Yellow Page
Under the guidance of: - Shri Nishad Ahemad

Submitted By

Name: -Pawan Kumar Tripathi


Programme Code: -BCA
Roll No: -0700918087
INTRODUCTION

Yellow Pages are online versions of traditional printed business directories


produced by telephone companies around the world. Typical functionalities of online
yellow pages include the alphabetical listings of businesses and search functionality
of the business database by name, business or location. Since Electronic Yellow
Pages are not limited by space considerations, they often contain far more
comprehensive business information such as vicinity maps, company profiles,
product information, and more.

An advantage of Electronic Yellow Pages is that they can be updated in real time;
therefore, listed businesses are not constrained by once-a-year publishing of the
printed version which leads to greater accuracy of the listings since contact
information may change at any time.

Before the popularity of the internet, business telephone numbers in the United
Kingdom could be searched by accessing a remote computer terminal by modem.
This dialup service was discontinued (as was a similar system called Phonebase for
published residential phone numbers) in the 1990s, being superseded a web-based
search interface.Behind the starting of Yellow Pages, there is a very holy thought
that Yellow Pages will be one-stop resources box for the sellers and exporters,
looking for the yellow pages listing or buyers are looking for the sellers at the same
time.

Yellow Pages is a free yellow pages directory where buyers & sellers meets all to
gather under a single roof and get benefits of these yellow pages free listings at
Pages.
Yellow Pages is an old name on the web and is very popular among the internet
visitors. Buyers are invited to search for the shops and services or anything they
want to search in India. Yellow Pages offers free yellow pages listings for the
sellers, distributors, manufacturers, and other service providers. We have a vision to
see all buyers & sellers here and enjoy the free Yellow Pages listings.
OVERVIEW
The Application is a working demonstration of how to use blueprints principles in a
real application design. This document is a guide to the design and the
implementation of the application Enterprise Application with web technology.
Each release of the application maintains consistent design features such as
separating logic and presentation, using web components, and so on. High-level
design features, this document goes deeper into the implementation details of the
current application release.
This document is provided as a resource so that it may be continually extended
and updated. This document begins with a description of the separate applications
that the sample application comprises, describes the modular structure of the
Yellow Pages application, and provides as in depth description of several pieces of
the modules.

OBJECTIVE
Main objective for the creation of this project is to develop a web site for serch
engine . Display location of shops with their descriptions to the visitors; show the
details of the shops from the web site.
Today Internet is widely used in the World for Business, Education, Shopping,
Entertainment and much more.
More commonly, our site is associated with the searching and uploading their
information via computer networks today that makes up the Information
superhighway. After some years we may not think any business that is not related
to the Internet. Today very large part of the business is done through the Internet.
Here I am creating a web site that provides facility to search, select and upload
their business information online and also give detail about business that are
registered in my site.
PROJECT CATEGORY
Yellow Pages is an “RDBMS Web based project”
It Uses SQL SERVER 2005 as a RDBMS package for managing database online
it also uses OOP features of C# programming language with ASP.NET, with
technology of .NET FRAMEWORK
PROBLEM DEFINITION
There was many problems in existing newspaper classified like to search the detail
of shops from classified add It was time taking and boring. It will make life easy to
search and display location of shops with their descriptions to the visitors; show
the details of the shops from the web site.

Goals that are successfully achieved-


• It will make life easy to search and display location of shops
• To get better information about shops and business.
• see all buyers & sellers here and enjoy the free Yellow Pages listings.
• To provide a better solution of selecting and searching shops anywhere and anytime.

ANALYSIS
The analysis audience of this document includes the customer, the staff of our
coaching. All significant requirements related to the functionality, performance and
other factors are covered by this document. Before requirements can be analyses
modeled and specific they are gathered trough a questionnaires process. Context
free question were asked to the management people
TOOLS AND ENVIRONMENT NEEDED

SOFTWARE

1- Microsoft Visual Studio 2008(.NET Framework 3.5)


2- C# with ASP.NET
3- Macromedia Flash.
4- Microsoft SQL Sever 2005 Enterprise Edition
5- JAVA script
6- HTML &XML

HARDWARE

1- Monitor.
2- Celeron 2.5GHz , 512 MB RAM
3- Keyboard
4- 4 GB(free space) Hard Disk
DFD,S
&
E-R DIGRAM
DFD

The Data flow Diagram shows the flow of data. It is generally made of symbols given
below:

• A square shows the Entity.


• A Circle shows the Process
• An open Ended Rectangle shows the data store.
• An arrow shows the data flow.
• The DFD can be up to several levels. The 0 level DFD states the flow of data in the
system as seen from the outward in each module.
• The first level DFD show more detail, about the single process of the 0 level DFD
• The second level DFD can show even more details and so on.
0 LEVEL DFD

User

YELLOW
PAGES

Admin
FIGURE 1
DFD’S

Update Task & Do Modifications


ADMIN
ADMIN Supply Info

Yellow
USER
ADD BUISINESS
Pages USER
Register Business

Search The Request

FIGURE 2 : USER AND ADMINISTRATOR


DFD’S

Sugges
tion User Master

Username & Password


User Type Customer User
USER Login rights
Interface

Admin

Create Admin
New Interface
Login

User Detail

LOGIN MODULE DFD OF Yellow Pages


User Master

FIGURE 3 : LOGIN MODULE DFD OF Yellow Pages


DFD’S

BUSINESS
DATA BASE
SEARCH
TABLE

BUSINESS
USER REGISTER

REGISTRATO
N

USER
DATABASE

FIGURE 4 : User searching and registration.


ER-Diagram Belong
to
State Belong
to

S_Nam
S_Id
e
Country
R_Id R_Name

Ct_Name Ct_Id

C_Name
Role C_Id Belong
to
City

U_Id Phone

Hav
e

User Do
User Registration
Email
user Service
id id

DOB
compan Password
y name Age
User ha
Busines s

Give
Suggetion messege

Business
type id id Service master

Date
Type Sugge.
Type id name Service id
Servic Servic
id e e Sugge. name
id
name
Business type
master

Com
Com_Id Date
name
Number of Modules

• Login Module.
• User Module.
• Administrator Module
• Searching Module.

Login Module

• When any one opens the website Login Control will appear in the First Page.

• Login Control will check the user type and redirect the user in business registration
page.

• There will be also an option for recovering forgotten password for the user.

User Module

• In the user module user can add, update, delete their profile as well as business
profile.

• He can also change his detail after login.


Administrator Module

• After successfully login as an administrator user will be redirected to the admin


page. There he will have option for doing modification in the following sections : -
user profile section, country Section, State Section, Reports, Admin Detail
Modification.

• Admin can add, delete, modify various data of various sections..

Searching Module

• User can search information without making registration or login .

• User can search information using business type.

• User can search information using service type.

• User can search information using business type and service type.

• User can search information using business type and service type state.

• User can search information using business type and service type state and city.

User Suggestion Module

• User can send suggestion to admin.


• Use as a feedback also.
DATA STRUCTURE

TABLE1 : SERVICE MASTER TABLE

Field Data Type Description


ServiceId int Proimerykey
ServiceName Varchar Name of the srervice

TABLE 2 : BUSINESS TYPE MASTER TABLE

Field Data Type Description


BusinessTypeId int Proimerykey
ServiceId int Id of the service
BusinessType Varchar Type of business
TABLE 3 : LOGIN MASTER TABLE

Field Data Type Description


UserId Varchar Proimerykey
Password Varchar Password of user
Role bit Role of user

TABLE 4 : USER MASTER TABLE

Field Data Type Description


UserId Varchar Id of the user
UserName Varchar User name of user
Sex char Sex of user
StateId int Id of the state
CityId int Id of city
Address Varchar Address of user
Contact1 Varchar Phone number1
Contact2 Varchar Phone number2
UpdateDate datetime Date of modification
TABLE 5 : USER BUSINESS TABLE

Field Data Type Description


BusinessId int Primerykey
UserId Varchar Id of user
CompanyName Varchar Name of company
StateId int Id of state
CityId int Id of city
Address Varchar Company Address
Contactpersion Varchar Persion for contact
Designation Varchar Designation
UpdateDate Datetime Modification date
ServiceId int Id of the services
BusinessTypeId int Id of the business id
Website Varchar Website link

TABLE 6 : COUNTRY MASTER TABLE

Field Name Data Type Description


C_id int Id of Country
C_Name varchar Name of Country

TABLE 7 : STATE MASTER TABLE

Field Name Data Type Description


S_id int Id of State
S_Name varchar Name of State
C_id int Id of Coutry

TABLE 8 : CITY MASTER TABLE

Field Name Data Type Description


Ct_id int Id of City
Ct_Name varchar Name of City
S_id int Id of State

TABLE 9 : SUGGESTION TABLE

Field Name Data Type Description


Suggestion id int Id of Suggestion
Suggestion date Datetime Date of Suggestion
Suggestion text varchar Text of Suggestion

PROCESS LOGIC

• LOGIN MODULE
• Put Username and Password.
• Creates new business.
• Recover Forgotten Password.

• USER MODULE
• Add/Edit/Remove Business profile
• Edit user profile

• ADMINISTRATOR MODULE

• Add/delete/modify user profile.


• Add/delete/modify role.
• Add/delete/modify country / state /city.
• Edit/add admin detail.
• Update Delivered order.
• Update/remove offered Discount.
• Preview and Get printout reports on various

• User Searching Module


• Search business, institution, organization as their desire information

• User Suggestion Module


• User can send suggestion to admin.

• Reference Site :
• www.delhi-delhi.com
• www.sulekha.com

METHODOLOGY

 A project management methodology addresses the principles, practices

and procedures for performing project management. Project management is a

critical value adding process that improves the probability of project success.
Our Project Methodology

• Concept - Definition of site concept meeting analysis

requirements

• Analysis - reviews of client’s current and future needs.

• Development - Making of design layout and visual aspects

• Production - Programming and graphic design creation

• Implementation - Installation and testing on customer’s server

• Maintenance and support - Post-delivery changes in contents

and functionality
Screen Layout

Login Page
Main Page
Search By City Page
Registration Page
Administrator Page
Edit User Page
Edit Business Page
Admin Profile Page
Edit Profile Page
User Important Contact Page
Change Password Page
Add New Business Page
Coding
Code for Admin.aspx
<%@ Page Language="C#" MasterPageFile="~/admin/AdminMasterPage.master"
AutoEventWireup="true" CodeFile="Admin.aspx.cs" Inherits="admin_Admin"
Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


<link href="../stylesheet/layout.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.style6
{
font-family: Verdana;
font-size: x-large;
font-weight: bold;
color: #006600;
width: 61%;
}
.style7
{
width: 61%;
}
</style>
</asp:Content>

<asp:Content ID="Content2" runat="server"


contentplaceholderid="ContentPlaceHolder1">
<table width="100%">
<tr>
<td align="left" class="style6">
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td width="75%" valign="top">

<br />
</td>
<td valign="top" align="center">
<asp:Panel ID="Panel3" runat="server"
BorderColor="#990000"
BorderStyle="Groove" BorderWidth="1px">
<span class="Apple-style-span"

style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-
variant: normal; font-weight: normal; letter-spacing: normal; line-height:
22px; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-
spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-
in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; font-size: medium; ">
<span class="Apple-style-span"
style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif;
font-size: 12px; line-height: 16px; ">
<h3 class="componentHead"
style="margin-top: 0px; margin-
right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-
right: 0px; padding-bottom: 5px; padding-left: 0px; line-height: 1.4em; font-
size: 1.2em; color: rgb(44, 133, 0); font: normal normal normal 1.6em/normal
tahoma; letter-spacing: 0.05em; ">
Help Center</h3>
<p

style="margin: 0px; padding-top:


0px; padding-right: 0px; padding-bottom: 10px; padding-left: 0px; line-height:
1.4em; font-size: 1.2em; height: 163px; width: 185px;">
In case of any doubts, refer to
our<span
class="Apple-converted-space">&nbsp;</span><a
href="../Help.aspx"
style="outline-style: none; outline-width: initial; outline-color:
initial; text-decoration: none; cursor: pointer; color: rgb(1, 135, 239); font-
size: 1em; "
target="help">help</a><span
class="Apple-converted-space">&nbsp;</span>section. If you still need
some
clarification or help, feel free to call us on 022 -<span
class="Apple-converted-space">&nbsp;</span><strong
class="big" style="font-size: 1.2em; ">4348 4545</strong><span
class="Apple-converted-space">&nbsp;</span>or send us email
on<span class="Apple-style-span"
style="border-collapse:
separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
normal; font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 22px; orphans: 2; text-align: auto; text-indent: 0px; text-
transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-
border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-
text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-
stroke-width: 0px; font-size: medium; "><span
class="Apple-style-span"
style="color: rgb(51, 51, 51);
font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px;
"><span
class="Apple-style-span"
style="border-collapse:
separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
normal; font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 22px; orphans: 2; text-align: auto; text-indent: 0px; text-
transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-
border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-
text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-
stroke-width: 0px; font-size: medium; "><span
class="Apple-style-span"
style="color: rgb(51, 51, 51);
font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px;
"><strong
class="big" style="font-size:
1.2em; ">pawanrock90@Gmail.com</strong></span></span></span></span></p>
</span></span>
</span></span></span></span>
</asp:Panel>
<br />
</td>
</tr>
<tr>
<td class="style7">
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
</table>

</asp:Content>

Code for Admin.aspx.cs


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

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


{
protected void Page_Load(object sender, EventArgs e)
{
if (Session["Uid"] == null)
{
Response.Redirect("~/login.aspx");
}

}
}

Code for AdminMaster.master


<%@ Master Language="C#" AutoEventWireup="true"
CodeFile="AdminMasterPage.master.cs" Inherits="admin_AdminMasterPage" %>

<%@ Register src="../webusercontrols/AdminHeader.ascx" tagname="AdminHeader"


tagprefix="uc1" %>

<!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>Untitled Page</title>
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
<style type="text/css">
.style6
{
color: #000000;
}
.style7
{
height: 40px;
}
.style8
{
height: 40px;
font-weight: bold;
font-size: x-large;
}
</style>
</head>
<body background="../images/bg.jpg">
<form id="admin" runat="server">

<center>
<table width="75%" border='0' cellspacing='0' style="background-
color:White">
<tr>
<td colspan="2">
<uc1:AdminHeader ID="AdminHeader1" runat="server" />
</td>
</tr>
<tr>
<td style="font-family: Verdana" align="center" valign="middle"
width="70%"
bgcolor="Green" class="style8">
ADMINISTATOR PAGE</td>

<td style="font-family: Verdana" align="center" valign="middle"


bgcolor="Green" width=40% class="style7">

<span

style="font-family: arial, helvetica, clean, sans-serif;


font-size: 13px; line-height: 16px; text-align: left; ">
<h1 style="color: #CC3300">
<span >&nbsp;</span><span class="style6">Yellow
Pages</span></h1>
</span></td>
</tr>
<tr>

<td bgcolor="#333333" width="100%" colspan="2" >


<asp:LinkButton ID="LinkButton8" runat="server" Font-Bold="False"
Font-Names="Cambria" Font-Size="Large" Font-Underline="False"
ForeColor="White"
onclick="LinkButton7_Click">Home</asp:LinkButton>
&nbsp; ||
<asp:LinkButton ID="LinkButton5" runat="server" Font-
Names="Cambria"
Font-Size="Large" Font-Underline="False" ForeColor="White"
onclick="LinkButton5_Click">Edit Uesr</asp:LinkButton>
&nbsp;||
<asp:LinkButton ID="LinkButton1" runat="server" Font-Bold="False"
Font-Names="Cambria" Font-Size="Large" Font-Underline="False"
ForeColor="White" onclick="LinkButton1_Click">Edit
Business</asp:LinkButton>
&nbsp;|<b>| </b>
<asp:LinkButton ID="LinkButton7" runat="server" Font-Bold="False"
Font-Names="Cambria" Font-Size="Large" Font-Underline="False"
ForeColor="White"
onclick="LinkButton7_Click">Profile</asp:LinkButton>
</td>

</tr>
<tr>
<td colspan="2" width="100%">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1"
runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>

</table>

<table width="75%" style="background-color:White">


<tr>
<td width="17%" align="center">

<asp:HyperLink ID="HyperLink2" runat="server" Font-Bold="True"


Font-Names="Cambria" Font-Size="X-Large" bgcolor="#93C03F"
ForeColor="#3333FF" style="font-size: large"
NavigateUrl="~/admin/EditBusiness.aspx">Show
Business</asp:HyperLink>

</td>
<td width="60%">
<a href="../businessregisteration.aspx">
<asp:Image ID="Image1" runat="server"
ImageUrl="~/images/claim_business.gif" />
</a>
</td>
<td align="center">

<asp:ImageButton ID="ImageButton1" runat="server" Height="62px"


ImageUrl="~/images/112_Running Free button.gif" Width="205px" />

</td>
</tr>

</table>
<br />
<table width="75%" >

<tr>
<td align="center" colspan="3">
<span class="Apple-style-span"
style="border-collapse: separate; color: rgb(0, 0, 0); font-
family: 'Times New Roman'; font-style: normal; font-variant: normal; font-
weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-
align: auto; text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-
border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size:
medium; ">
<span class="Apple-style-span"
style="font-family: arial, helvetica, clean, sans-serif; font-
size: 11px; line-height: 13px; text-align: center; ">
© 2010 Copyright INFOINDIA.com, All Rights Reserved.<span
class="Apple-converted-space">&nbsp;</span><a
href="../Help.aspx"
style="cursor: pointer; color: rgb(8, 84, 166); text-
decoration: none !important; ">help</a><span class="Apple-converted-
space">&nbsp;</span>|<span
class="Apple-converted-space">&nbsp;</span><a
href="../AboutUs.aspx"
style="cursor: pointer; color: rgb(33, 74, 117); text-
decoration: underline !important; ">About Us</a></span></span></td>
</tr>
</table>

</center>
</form>
</body>
</html>

Code for AdminMaster.master.cs


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;

public partial class admin_AdminMasterPage : System.Web.UI.MasterPage


{
protected void Page_Load(object sender, EventArgs e)
{

}
protected void LinkButton5_Click(object sender, EventArgs e)
{
Response.Redirect("EditUser.aspx");
}
protected void LinkButton1_Click(object sender, EventArgs e)
{
Response.Redirect("EditBusiness.aspx");
}
protected void LinkButton2_Click(object sender, EventArgs e)
{
Response.Redirect("cityhelp.aspx");
}

protected void LinkButton7_Click(object sender, EventArgs e)


{
Response.Redirect("AdminProfile.aspx");
}
}

Code for AdminProfile.aspx


<%@ Page Language="C#" MasterPageFile="~/admin/AdminProfile.master"
AutoEventWireup="true" CodeFile="AdminProfile.aspx.cs"
Inherits="admin_AdminProfile" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"


Runat="Server">
<link href="../stylesheet/tdheight.css" rel="stylesheet" type="text/css" />
<table width="100%">

<tr>
<td align="center" rowspan="7" valign="top" bgcolor="#D6AD72"
style="width: 23%">
<asp:Image ID="Image1" runat="server" Height="139px" Width="84%"
ImageUrl="~/images/3pic1.jpg" />
<br />
<br />
<br />
</td>
<td width="20%" align="right" class="td">
Name :</td>
<td width="30%" class="td">
<asp:Label ID="lblName" runat="server" Text="Label"></asp:Label>
</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td width="20%" align="right" class="td">
User Id :</td>
<td class="td" >
<asp:Label ID="lblId" runat="server" Text="Label"></asp:Label>
</td>
<td >
&nbsp;</td>
</tr>
<tr>
<td width="20%" align="right" class="td">
State :</td>
<td style="height: 21px" class="td">
<asp:Label ID="lblState" runat="server" Text="Label"></asp:Label>
</td>
<td >
&nbsp;</td>
</tr>
<tr>
<td width="20%" align="right" class="td">
City :</td>
<td class="td">
<asp:Label ID="lblCity" runat="server" Text="Label"></asp:Label>
</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td width="20%" align="right" class="td">
Mobile No :</td>
<td class="td">
<asp:Label ID="lblmob" runat="server" Text="Label"></asp:Label>
</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td width="20%" align="right">
&nbsp;</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td width="20%" align="right" style="height: 14px">
</td>
<td style="height: 14px">
</td>
<td style="height: 14px">
</td>
</tr>
</table>
</asp:Content>

Code for AdminProfile.aspx.cs


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

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


{
string uid;
string city;
string state;
protected void Page_Load(object sender, EventArgs e)
{

if (Session["Uid"] != null)
{
uid = Session["Uid"].ToString();
string sql = "select Name, CityId, StateId, Contact, Photo from
UserMasterTbl where UID= '" + uid + "'";
string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
SqlCommand cmd = new SqlCommand(sql, con);
con.Open();
SqlDataReader dr = cmd.ExecuteReader();
if (dr.Read())
{
lblName.Text = dr["Name"].ToString();
lblId.Text = uid;
state = dr["StateId"].ToString();
city = dr["CityId"].ToString();
lblmob.Text = dr["Contact"].ToString();
Image1.ImageUrl = "~/Upload/" + dr["Photo"].ToString();

string sql1 = "select CT_Name from CityMasterTbl where CT_ID='" +


city + "'";
SqlConnection con1 = new SqlConnection(constr);
SqlCommand cmd1 = new SqlCommand(sql1, con1);
con1.Open();
object i = cmd1.ExecuteScalar();
lblCity.Text = i.ToString();

string sql2 = "select S_Name from StateMasterTbl where S_Id= '" +


state + "'";
SqlConnection con2 = new SqlConnection(constr);
SqlCommand cmd2 = new SqlCommand(sql2, con2);
con2.Open();
object j = cmd2.ExecuteScalar();
lblState.Text = j.ToString();
}
else
{
Response.Redirect("~/login.aspx");
}
}
}
Code for EditBusiness.aspx
<%@ Page Language="C#" MasterPageFile="~/admin/AdminMasterPage.master"
AutoEventWireup="true" CodeFile="EditBusiness.aspx.cs"
Inherits="admin_EditBusiness" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


<style type="text/css">
.style6
{
font-size: x-large;
font-weight: bold;
font-family: Verdana;
color: #006600;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table width="100%">
<tr>
<td width="100%" align="left" class="style6">
Manage User&#39;s Business</td>
</tr>
<tr>
<td width="100%" valign="top">

<asp:GridView ID="GridView1" runat="server"


AutoGenerateColumns="False"
CellPadding="4" DataSourceID="SqlDataSource2"
ForeColor="#333333"
GridLines="None" Width="100%" AllowPaging="True"
AllowSorting="True">
<FooterStyle BackColor="#1C5E55" Font-Bold="True"
ForeColor="White" />
<RowStyle BackColor="#E3EAEB" />
<Columns>
<asp:BoundField DataField="Serial_No"
HeaderText="Serial_No"
InsertVisible="False" ReadOnly="True"
SortExpression="Serial_No" />
<asp:BoundField DataField="BusinessName"
HeaderText="BusinessName"
SortExpression="BusinessName" />
<asp:BoundField DataField="ContactPerson"
HeaderText="ContactPerson"
SortExpression="ContactPerson" />
<asp:BoundField DataField="Designation"
HeaderText="Designation"
SortExpression="Designation" />
<asp:BoundField DataField="City" HeaderText="City"
SortExpression="City" />
<asp:BoundField DataField="Address"
HeaderText="Address"
SortExpression="Address" />
<asp:BoundField DataField="Description"
HeaderText="Description"
SortExpression="Description" />
<asp:BoundField DataField="Mob" HeaderText="Mob"
SortExpression="Mob" />
<asp:CommandField HeaderText="Delete"
ShowDeleteButton="True" />
<asp:CommandField HeaderText="Edit"
ShowEditButton="True" />
</Columns>
<PagerStyle BackColor="#666666" ForeColor="White"
HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True"
ForeColor="#333333" />
<HeaderStyle BackColor="#1C5E55" Font-Bold="True"
ForeColor="White" />
<EditRowStyle BackColor="#7C6F57" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<asp:SqlDataSource
ID="SqlDataSource2" runat="server"
ConflictDetection="CompareAllVa
lues"
ConnectionString="<%$
ConnectionStrings:YellowPagesConnectionString %>"
DeleteCommand="DELETE FROM
[UserBusinessTbl] WHERE [Serial No] = @original_Serial_No AND [BusinessName] =
@original_BusinessName AND [ContactPerson] = @original_ContactPerson AND
[Designation] = @original_Designation AND [City] = @original_City AND [Address]
= @original_Address AND [Description] = @original_Description AND [Mob] =
@original_Mob"
InsertCommand="INSERT INTO
[UserBusinessTbl] ([BusinessName], [ContactPerson], [Designation], [City],
[Address], [Description], [Mob]) VALUES (@BusinessName, @ContactPerson,
@Designation, @City, @Address, @Description, @Mob)"
OldValuesParameterFormatString=
"original_{0}"
SelectCommand="SELECT [Serial
No] AS Serial_No, [BusinessName], [ContactPerson], [Designation], [City],
[Address], [Description], [Mob] FROM [UserBusinessTbl]"

UpdateCommand="UPDATE [UserBusinessTbl] SET [BusinessName]


= @BusinessName, [ContactPerson] = @ContactPerson, [Designation] =
@Designation, [City] = @City, [Address] = @Address, [Description] =
@Description, [Mob] = @Mob WHERE [Serial No] = @original_Serial_No AND
[BusinessName] = @original_BusinessName AND [ContactPerson] =
@original_ContactPerson AND [Designation] = @original_Designation AND [City] =
@original_City AND [Address] = @original_Address AND [Description] =
@original_Description AND [Mob] = @original_Mob">
<DeleteParameters>
<asp:Parameter
Name="original_Serial_No" Type="Int32" />
<asp:Parameter
Name="original_BusinessName" Type="String" />
<asp:Parameter
Name="original_ContactPerson" Type="String" />
<asp:Parameter
Name="original_Designation" Type="String" />
<asp:Parameter
Name="original_City" Type="String" />
<asp:Parameter
Name="original_Address" Type="String" />
<asp:Parameter
Name="original_Description" Type="String" />
<asp:Parameter
Name="original_Mob" Type="String" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter
Name="BusinessName" Type="String" />
<asp:Parameter
Name="ContactPerson" Type="String" />
<asp:Parameter
Name="Designation" Type="String" />
<asp:Parameter Name="City"
Type="String" />
<asp:Parameter
Name="Address" Type="String" />
<asp:Parameter
Name="Description" Type="String" />
<asp:Parameter Name="Mob"
Type="String" />
<asp:Parameter
Name="original_Serial_No" Type="Int32" />
<asp:Parameter
Name="original_BusinessName" Type="String" />
<asp:Parameter
Name="original_ContactPerson" Type="String" />
<asp:Parameter
Name="original_Designation" Type="String" />
<asp:Parameter
Name="original_City" Type="String" />
<asp:Parameter
Name="original_Address" Type="String" />
<asp:Parameter
Name="original_Description" Type="String" />
<asp:Parameter
Name="original_Mob" Type="String" />
</UpdateParameters>
<InsertParameters>
<asp:Parameter
Name="BusinessName" Type="String" />
<asp:Parameter
Name="ContactPerson" Type="String" />
<asp:Parameter
Name="Designation" Type="String" />
<asp:Parameter Name="City"
Type="String" />
<asp:Parameter
Name="Address" Type="String" />
<asp:Parameter
Name="Description" Type="String" />
<asp:Parameter Name="Mob"
Type="String" />
</InsertParameters>
</asp:SqlDataSource>
</td>
</tr>
</table>
</asp:Content>

Code for Edit Business.aspx.cs


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

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


{
protected void Page_Load(object sender, EventArgs e)
{
if(Session["Uid"]==null)
{
Response.Redirect("~/login.aspx");
}
}
protected void Button2_Click(object sender, EventArgs e)
{

}
}

Code For Edit User.aspx


<%@ Page Language="C#" MasterPageFile="~/admin/AdminMasterPage.master"
AutoEventWireup="true" CodeFile="EditUser.aspx.cs" Inherits="admin_EditUser"
Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


<style type="text/css">
.style6
{
width: 100%;
}
.style7
{
font-size: x-large;
font-weight: bold;
font-family: Verdana;
color: #006600;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table width="100%">
<tr>
<td width="75%" align="left" class="style7">
Manage Registerd&nbsp; Users</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td width="75%">
<asp:GridView ID="GridView1" runat="server"
Width="100%" BackColor="LightGoldenrodYellow"
BorderColor="Tan" BorderWidth="1px" CellPadding="2" ForeColor="Black"
GridLines="None"
>
<FooterStyle BackColor="Tan" />
<RowStyle HorizontalAlign="Center" />
<Columns>
<asp:BoundField />
<asp:TemplateField HeaderText="Deletion">
<ItemTemplate>
<asp:LinkButton ID="Delete" runat="server"
CommandArgument='<%# Eval("UID") %>'
onclick="Delete_Click">Delete</asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField></asp:TemplateField>
</Columns>
<PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue"
HorizontalAlign="Center" />
<SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
<HeaderStyle BackColor="Tan" Font-Bold="True" />
<AlternatingRowStyle BackColor="PaleGoldenrod" />
</asp:GridView>
<br />

</td>
<td>

<table class="style6">
<tr>
<td>
User Id</td>
<td>
<asp:TextBox ID="txtuid" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>
Role</td>
<td>
<asp:TextBox ID="txtRole" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
<asp:Button ID="Button2" runat="server" BackColor="#333333"
Font-Names="Cambria" Font-Size="Medium" ForeColor="White"
onclick="Button2_Click" Text="Change Role" />
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
<asp:Label ID="lblmsg" runat="server"></asp:Label>
</td>
</tr>
</table>

</td>
</tr>
</table>
</asp:Content>

Code for EditUser.aspx.cs


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

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


{
protected void Page_Load(object sender, EventArgs e)
{
if (Session["Uid"] != null)
{
if (!Page.IsPostBack)
{
fillGrid();
}
}
else
{
Response.Redirect("~/login.aspx");
}
}
public void fillGrid()
{
DataSet ds = new DataSet();
string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
SqlDataAdapter adp = new SqlDataAdapter("select [UID],[Name],[Contact],
[Role] from [UserMasterTbl]", con);
adp.Fill(ds);
GridView1.DataSource = ds;
GridView1.DataBind();

protected void Button2_Click(object sender, EventArgs e)


{
string sql = "update UserMasterTbl set Role='" + txtRole.Text + "'
where UID='" + txtuid.Text + "'";
string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
SqlCommand cmd = new SqlCommand(sql, con);
con.Open();
int i = cmd.ExecuteNonQuery();
con.Close();
if (i > 0)
{
string sql1 = "update LoginMasterTbl set Role='" + txtRole.Text +
"' where UserId='" + txtuid.Text + "'";
SqlConnection con1 = new SqlConnection(constr);
SqlCommand cmd1 = new SqlCommand(sql1, con1);
con1.Open();
cmd1.ExecuteNonQuery();
con1.Close();

lblmsg.Text = "Ur Profile will Successfully Updated";


Response.Redirect("~/admin/EditUser.aspx");
}
else
{
lblmsg.Text = "Updation Failed";
}
}

protected void Delete_Click(object sender, EventArgs e)


{
LinkButton lbtn = (LinkButton)sender;
string UserId = lbtn.CommandArgument;
string sql = "Delete from UserMasterTbl where UID='" + UserId + "' and
Role=1";
string sql1 = "Delete from LoginMasterTbl where UserId='" + UserId + "'
and Role=1";
string sql2 = "Delete from ImportantContactTbl where UID='" + UserId +
"'";
string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
SqlCommand cmd = new SqlCommand(sql, con);
SqlCommand cmd1 = new SqlCommand(sql1, con);
SqlCommand cmd2 = new SqlCommand(sql2, con);
con.Open();
cmd.ExecuteNonQuery();
cmd1.ExecuteNonQuery();
cmd2.ExecuteNonQuery();
Response.Redirect("~/admin/EditUser.aspx");
}
}

Code For Business Registration.aspx


<%@ Page Language="C#" EnableEventValidation="false" AutoEventWireup="true"
CodeFile="businessregisteration.aspx.cs" Inherits="businessregisteration" %>

<%@ Register src="webusercontrols/header.ascx" tagname="header" tagprefix="uc3"


%>
<%@ Register src="webusercontrols/header2.ascx" tagname="header2"
tagprefix="uc4" %>

<!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">
<style type="text/css">
.style1
{
width: 100%;
}
.style3
{
font-size: xx-large;
font-family: Cambria;
}
.style4
{
height: 26px;
}
</style>

<link href="stylesheet/tdsmall.css" rel="stylesheet" type="text/css" />

<link href="stylesheet/tdheight.css" rel="stylesheet" type="text/css" />

<body background="images/bg.jpg">
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<head runat="server">
<title>Business Registration</title>

<center>
<table width="80%">
<tr>
<td>
<uc3:header ID="header1" runat="server" />
</td>
</tr>
</table>
<table style="width:80%">
<tr>
<td>

<table align="center" border="0" cellpadding="0" cellspacing="0"


style="width: 100%; margin-top: 0px;">
<tr>
<td valign="top">
<img src="images/roundboxbt1.JPG"
style="height: 8px; width:100%; margin-left: 0px"
/><br />
<table style="background-color:White; width:100%">
<tr>
<td class="td" rowspan="2">
<table border="0" cellpadding="0"
cellspacing="0" class="td" width="100%">
<tr>
<td align="left"
background="images/yellow_29.jpg"
colspan="2">
<h3>
&nbsp;<span
class="style3">Add New Business</h3>
</span>
</td>
</tr>

<tr>
<td align="left" valign="top"
width="40%" colspan="2" class="tds">
&nbsp; Business Details&nbsp;
</td>
</tr>
</tr>
<tr>
<td align="right" valign="top"
width="40%">
<b>Service Type</b><br />
</td>
<td align="left" valign="top"
rowspan="2">
<asp:UpdatePanel
ID="UpdatePanel2" runat="server">
<ContentTemplate>
<table>
<tr>
<td class="td">
<asp:DropDownList
ID="ddlService" runat="server" Height="16px" Width="175px" ValidationGroup="a"
onselectedindexchanged="ddlService_SelectedIndexChanged" AutoPostBack="True">

</asp:DropDownList>
<asp:RequiredFieldValida
tor ID="RequiredFieldValidator6" runat="server"
ControlToValidate="d
dlService" ErrorMessage="plese select your service type"
ValidationGroup="a"
Display="None"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="td">
<asp:DropDownList
ID="ddlCatagory" runat="server" Height="16px"
ValidationGroup="a"
Width="174px" AutoPostBack="True">
</asp:DropDownList>
<asp:RequiredFieldValida
tor ID="RequiredFieldValidator8" runat="server"
ControlToValidate="d
dlCatagory" ErrorMessage="select your business catagory"
ValidationGroup="a"
Display="None"></asp:RequiredFieldValidator>
</td>
</tr>
</table>

</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>

<tr>
<td align="right" valign="top"
width="40%" class="style4">
<b>Category of Business<font
color="#ff0000">*</font></b>:</td>
</tr>

<tr>
<td align="right" valign="top"
width="40%">
Business<span>
Name</span> :</td>
<td align="left" valign="top"
class="td">
<asp:TextBox ID="txtBname"
runat="server" Width="170px" ValidationGroup="a"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator2" runat="server"
ControlToValidate="txtBname"
ErrorMessage="Plese enter your business name"
ValidationGroup="a"
Display="None"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right" valign="top"
width="40%">
Contact Person :</td>
<td align="left" valign="top"
class="td">
<asp:TextBox
ID="txtContactPerson" runat="server" Width="170px"
ValidationGroup="a"></asp:Te
xtBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator17" runat="server"
ControlToValidate="txtContac
tPerson" ErrorMessage="plese enter your designation"
ValidationGroup="a"
Display="None"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right" valign="top"
width="40%">
Designation :</td>
<td align="left" valign="top"
class="td">
<asp:TextBox ID="txtDesignation"
runat="server" ValidationGroup="a"
Width="172px"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator3" runat="server"
ControlToValidate="txtdesign
ation" ErrorMessage="plese enter your designation"
ValidationGroup="a"
Display="None"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right" valign="top"
width="40%">
State :</td>
<td align="left" rowspan="2"
valign="top">
<asp:UpdatePanel
ID="UpdatePanel1" runat="server">
<ContentTemplate>
<table
class="style1">
<tr>
<td
class="td">
<as
p:DropDownList ID="ddlState" runat="server" AutoPostBack="true"
Height="
16px" onselectedindexchanged="ddlState_SelectedIndexChanged1"
Width="1
31px" ValidationGroup="a">
</a
sp:DropDownList>
<as
p:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server"
ControlT
oValidate="ddlState" ErrorMessage="Select your state"

ValidationGroup="a" Display="None"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td
class="td">
<as
p:DropDownList ID="ddlCity" runat="server" Height="16px" ValidationGroup="a"
Width="1
28px">
</a
sp:DropDownList>
<as
p:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server"
ControlT
oValidate="ddlCity" ErrorMessage="select your city"

ValidationGroup="a" Display="None"></asp:RequiredFieldValidator>
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>
<tr>
<td align="right" valign="top"
width="40%">
City :</td>
</tr>
<tr>
<td align="right" valign="top"
width="40%">
Adress:</td>
<td align="left" valign="top"
class="td">
<asp:TextBox ID="txtAddress"
runat="server" TextMode="MultiLine"
ValidationGroup="a"
Height="22px" Width="173px"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator12" runat="server"
ControlToValidate="txtAddres
s" ErrorMessage="Plese enter your address"
ValidationGroup="a"
Display="None"></asp:RequiredFieldValidator>
</td>
</tr>

<tr>
<td align="right" valign="top"
width="40%">
<b>Web Site Address
(URL)</b></td>
<td align="left" valign="top"
class="td">
<asp:TextBox ID="txtwebsite"
runat="server" Width="171px" ValidationGroup="a"></asp:TextBox>
</td>

<tr>
<td align="right" valign="top"
width="40%">
<b>Your Company Profile</b>
<b><font color="#ff0000">*</font></b>:</td>
<td align="left" valign="top"
class="td">
<asp:TextBox
ID="txtcompanyprofile" runat="server" TextMode="MultiLine"
ValidationGroup="a"
Width="179px" Height="26px"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator9" runat="server"
ControlToValidate="txtcompan
yprofile"
ErrorMessage="Plese enter
your company profile" ValidationGroup="a"
Display="None"></asp:Require
dFieldValidator>
</td>
</tr>
<tr>
<td align="right" valign="top"
width="40%">
<b>Zip/Pin Code</b></td>
<td align="left" valign="top"
class="td">
<asp:TextBox ID="txtzipcode"
runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td align="right" valign="top"
width="40%">
<b>Phone</b></td>
<td align="left" valign="top"
class="td">
<asp:TextBox ID="txtstdcode"
runat="server" Width="50px" ValidationGroup="a"
MaxLength="4"></asp:TextBox>
<asp:TextBox ID="txtContact"
runat="server" ValidationGroup="a" MaxLength="7"
Width="126px"></asp:TextBox>
</td>
</tr>
<tr>
<td align="right" valign="top"
width="40%">
<b>Mobile </b>
</td>
<td align="left" valign="top"
class="td">
<asp:TextBox ID="txtContact2"
runat="server" Width="151px" MaxLength="10"
ValidationGroup="a"></asp:Te
xtBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator16" runat="server"
ControlToValidate="txtContac
t2" ErrorMessage="Plese enter your mobile no"
Display="None"
ValidationGroup="a"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right" valign="top"
width="40%">
<b>Fax</b></td>
<td align="left" valign="top"
class="td">
<asp:TextBox ID="txtcodestd"
runat="server" Width="49px"
ValidationGroup="a"></asp:Te
xtBox>
<asp:TextBox ID="txtContact3"
runat="server" ValidationGroup="a"></asp:TextBox>
</td>
</tr>
<tr>
<td align="right" valign="top">
&nbsp;</td>
<td align="left" valign="top"
class="td">
&nbsp;
&nbsp;
</td>
</tr>
<tr>
<td align="right" valign="top">
&nbsp;</td>
<td align="left" valign="top">
<span>
<asp:ValidationSummary
ID="ValidationSummary1" runat="server"
ShowMessageBox="True"
ShowSummary="False" ValidationGroup="a" />
</span>
</td>
</tr>
<tr>
<td align="right" valign="top">
</td>
<td align="left" valign="top">
<b>
<asp:Button ID="Button4"
runat="server" Height="24px" onclick="Button4_Click"
style="font-weight: 700;
font-family: Cambria; font-size: medium; background-color: #FF9900; margin-
left: 0px;"
Text="Register"
Width="118px" ValidationGroup="a" />
</b>
</td>
</tr>
<tr>
<td align="right" valign="top">
&nbsp;</td>
<td align="left" valign="top">
<asp:ValidationSummary
ID="ValidationSummary2" runat="server"
ShowMessageBox="True"
ShowSummary="False" ValidationGroup="a" />
</td>
</tr>
</table>
</td>
<td
valign="top" style="height:30%"
align="center">
<asp:Panel ID="Panel1" runat="server"
BorderColor="#990000"
BorderStyle="Groove" BorderWidth="1px">
<span style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-
variant: normal; font-weight: normal; letter-spacing: normal; line-height:
22px; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-
spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-
in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; font-size: medium; ">
<span style="color: rgb(51, 51, 51);
font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px;
">
<h3 class="componentHead"

style="margin-top: 0px; margin-


right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-
right: 0px; padding-bottom: 5px; padding-left: 0px; line-height: 1.4em; font-
size: 1.2em; color: rgb(44, 133, 0); font: normal normal normal 1.6em/normal
tahoma; letter-spacing: 0.05em; ">
Help Center</h3>
<p

style="margin: 0px; padding-top:


0px; padding-right: 0px; padding-bottom: 10px; padding-left: 0px; line-height:
1.4em; font-size: 1.2em; height: 163px; width: 185px;">
In case of any doubts, refer to
our<span
>&nbsp;</span><a
href="Help.aspx"
style="outline-style: none; outline-width: initial; outline-color:
initial; text-decoration: none; cursor: pointer; color: rgb(1, 135, 239); font-
size: 1em; "
target="help">help</a><span
>&nbsp;</span>section. If you still need some
clarification or help, feel free to call us on 0542 -<span
>&nbsp;</span><strong
class="big" style="font-size: 1.2em; ">2372 325</strong><span
>&nbsp;</span>or send us
email on<strong class="big"
style="font-size: 1.2em; "> pawanrock90@gmail.com</strong></p>
</span></span>
</asp:Panel>
</td>
</tr>
<tr>
<td valign="top">
&nbsp;</td>
</tr>
</table>
<img src="images/roundboxbt.jpg"
style="height: 11px; width: 100%; margin-left: 0px"
/>
</td>
</tr>
</table>

</center>

<table width="100%">
<tr>
<td align="center">
<span class="Apple-style-span"
style="border-collapse: separate; color: rgb(0, 0, 0); font-
family: 'Times New Roman'; font-style: normal; font-variant: normal; font-
weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-
align: auto; text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-
border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size:
medium; ">
<span class="Apple-style-span"
style="font-family: arial, helvetica, clean, sans-serif; font-
size: 11px; line-height: 13px; text-align: center; ">
© 2010 Copyright INFOINDIA.com, All Rights Reserved. © 2010
Copyright INFOINDIA.com, All Rights Reserved&nbsp;</span><a
href="Help.aspx"
style="cursor: pointer; color: rgb(8, 84, 166); text-
decoration: none !important; ">Help</a><span >&nbsp;</span>|<span
>&nbsp;</span><a
href="AboutUs.aspx"
style="cursor: pointer; color: rgb(33, 74, 117); text-
decoration: underline !important; ">About Us</a></span></td>
</tr>
</table>
</center>
</head>

</form>
</body>
</html>

Code For BusinessRegistration.aspx.cs


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

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


{
protected void Page_Load(object sender, EventArgs e)
{
if (Page.IsPostBack != true)
{
fillddlState();
fillddlservice();
}
}
public void fillddlState()
{
string txt = "";
string id = "";
string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.Connection = con;
cmd.CommandText = "select S_ID, S_Name from StateMasterTbl order by
S_Id";
SqlDataReader dr = cmd.ExecuteReader();
if (dr.HasRows)
{
while (dr.Read())
{
txt = dr["S_Name"].ToString();
id = dr["S_ID"].ToString();
ddlState.Items.Add(new ListItem(txt, id));
}
}

dr.Close();
con.Close();
}
public void fillddlservice()
{
string txt = "";
string id = "";
string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.Connection = con;
cmd.CommandText = "select ServiceId, ServiceName from ServiceMasterTbl
order by ServiceName";
SqlDataReader dr = cmd.ExecuteReader();
if (dr.HasRows)
{
while (dr.Read())
{
txt = dr["ServiceName"].ToString();
id = dr["ServiceId"].ToString();
ddlService.Items.Add(new ListItem(txt, id));
}
}

dr.Close();
con.Close();
}
protected void Button4_Click(object sender, EventArgs e)
{
String phone = txtstdcode.Text +"-"+ txtContact.Text;
String fax = txtcodestd.Text + " - " + txtContact3.Text;
string service =ddlService.SelectedItem.Value;

string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.Connection = con;
cmd.CommandText = "INSERT INTO [UserBusinessTbl]([ServiceID],
[BusinessTypeID],[BusinessName],[ContactPerson],[Designation],[State],[City],
[Address],[Description],[Website], [ZipCode],[Phone],[Mob],[Fax])
VALUES(convert(int,'" + service + "'), '" + ddlCatagory.SelectedValue + "','" +
txtBname.Text + "','" + txtContactPerson.Text + "','" + txtDesignation.Text +
"','" + ddlState.SelectedItem.Text + "','" + ddlCity.SelectedItem.Text + "','"
+ txtAddress.Text + "','"+txtcompanyprofile.Text+"','" + txtwebsite.Text +
"','" + txtzipcode.Text + "',convert(varchar,'" + phone + "'),'" +
txtContact2.Text + "', convert(varchar,'" + fax + "') )";
cmd.ExecuteNonQuery();
con.Close();
}

protected void ddlState_SelectedIndexChanged1(object sender, EventArgs e)


{
ddlCity.Items.Clear();
string txt = "";
string id = "";
string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.Connection = con;
cmd.CommandText = "select CT_ID, CT_Name from CityMasterTbl where
S_ID='" + ddlState.SelectedValue + "' Order by CT_ID";
SqlDataReader dr = cmd.ExecuteReader();
if (dr.HasRows)
{
while (dr.Read())
{
txt = dr["CT_Name"].ToString();
id = dr["CT_ID"].ToString();
ddlCity.Items.Add(new ListItem(txt, id));
}
}

dr.Close();
con.Close();
}
protected void ddlService_SelectedIndexChanged(object sender, EventArgs e)
{
ddlCatagory.Items.Clear();
string txt = "";
string id = "";
string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.Connection = con;
cmd.CommandText = "select BusinessTypeID, BusinessType from
BusinessTypeMasterTbl where ServiceId='" +ddlService.SelectedValue+ "'";
SqlDataReader dr = cmd.ExecuteReader();
if (dr.HasRows)
{
while (dr.Read())
{
txt = dr["BusinessType"].ToString();
id = dr["BusinessTypeId"].ToString();
ddlCatagory.Items.Add(new ListItem(txt, id));
}
}

dr.Close();
con.Close();
}
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs
e)
{

}
}

Code for ChangePassword.aspx


<%@ Page Language="C#" MasterPageFile="~/User.master" AutoEventWireup="true"
CodeFile="ChangePassword.aspx.cs" Inherits="ChangePassword" Title="Untitled
Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"


Runat="Server">
<table style="width: 100%">
<tr>
<td width="50%" align="right" class="td">
&nbsp;</td>
<td class="textBlock">
&nbsp;</td>
</tr>
<tr>
<td align="right">
New Password</td>
<td class="textarea">
<asp:TextBox ID="txtPwd" runat="server" Width="154px"
ValidationGroup="a"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator1"
runat="server" ControlToValidate="txtPwd"
ErrorMessage="RequiredFieldValidator"
ValidationGroup="a"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right">
Confirm Password</td>
<td>
<asp:TextBox ID="txtCpwd" runat="server" Width="154px"
ValidationGroup="a"></asp:TextBox>
<asp:CompareValidator ID="CompareValidator1" runat="server"
ControlToCompare="txtPwd" ControlToValidate="txtCpwd"
ErrorMessage="CompareValidator"
ValidationGroup="a"></asp:CompareValidator>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
<asp:Label ID="lblerror" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
<asp:Button ID="Button1" runat="server" Text="Save Change"
onclick="Button1_Click" ValidationGroup="a" />
</td>
</tr>
</table>
</asp:Content>

Code For ChangePassword.aspx.cs


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

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


{
string Userid;
protected void Page_Load(object sender, EventArgs e)
{
if (Session["Uid"] == null)
{
Response.Redirect("Login.aspx");
}
}
protected void Button1_Click(object sender, EventArgs e)
{
Userid = Session["Uid"].ToString();

string sql = "update LoginMasterTbl set Password='" + txtPwd.Text + "'


where UserId='" + Userid + "'";
string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
SqlCommand cmd = new SqlCommand(sql, con);
con.Open();
cmd.ExecuteNonQuery();
con.Close();
string sql1 = "update UserMasterTbl set Password='" + txtPwd.Text + "'
where UID='" + Userid + "'";
SqlConnection con1 = new SqlConnection(constr);
SqlCommand cmd1 = new SqlCommand(sql1, con1);
con1.Open();

int i1=cmd1.ExecuteNonQuery();
con1.Close();
if (i1 > 0)
{
lblerror.Text = "Ur Passward Will Changed Successfuly";
txtPwd.Text = "";
txtCpwd.Text = "";
}
else
{
lblerror.Text = "Failed";
}
}
}
Code For EditProfile.aspx
<%@ Page Language="C#" MasterPageFile="~/User.master" AutoEventWireup="true"
CodeFile="EditProfile.aspx.cs" Inherits="EditProfile" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"


Runat="Server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<table width="100%">
<tr>
<td align="center" width="25%" rowspan="9" valign="top"
bgcolor="#D6AD72">
<asp:Image ID="Image1" runat="server" Height="112px"
Width="66%" />

<br />
<span style="color: #CC3300; font-size: large; font-family:
Verdana"><b>Change
Image Here<br />
<br />
</b>
<asp:FileUpload ID="FUPhoto" runat="server" Width="202px" />
<br />
</span>

</td>
<td width="20%" align="right" >
Name :</td>
<td>
<asp:TextBox ID="txtName" runat="server" Height="20px"
Width="167px"
ValidationGroup="e"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1"
runat="server"
ControlToValidate="txtName"
ErrorMessage="RequiredFieldValidator"
ValidationGroup="e"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td width="20%" align="right">
User Id :</td>
<td class="testimonialTxt">
<asp:Label ID="lblUid" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td width="20%" align="right">
State :</td>
<td class="testimonialTxt" rowspan="2">
<asp:UpdatePanel ID="UpdatePanel1"
runat="server">
<ContentTemplate>
<table style="width: 100%">
<tr>
<td>
<asp:DropDownList
ID="ddlState" runat="server" Height="16px"
onselectedindexchan
ged="ddlState_SelectedIndexChanged" ValidationGroup="e"
Width="116px"
AutoPostBack="True">
</asp:DropDownList>
<asp:RequiredFieldValid
ator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="
ddlState" ErrorMessage="RequiredFieldValidator"
ToolTip="e"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:DropDownList
ID="ddlCity" runat="server" Height="16px" ValidationGroup="e"
Width="116px">
</asp:DropDownList>
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>
<tr>
<td width="20%" align="right">
City :</td>
</tr>
<tr>
<td width="20%" align="right">
Mobile No :</td>
<td>
<asp:TextBox ID="txtMob" runat="server" Height="20px"
Width="167px"
ValidationGroup="e"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4"
runat="server"
ControlToValidate="txtMob"
ErrorMessage="RequiredFieldValidator"
ValidationGroup="e"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td width="20%" align="right">
Email :&nbsp; </td>
<td>
<asp:TextBox ID="txtEmail" runat="server" Height="20px"
Width="167px"
ValidationGroup="e"></asp:TextBox>
</td>
</tr>
<tr>
<td width="20%" align="right">
&nbsp;</td>
<td>
<asp:Button ID="btnedit" runat="server" BackColor="Black" Font-
Names="Cambria"
Font-Size="Medium" ForeColor="White" Text="Save"
onclick="btnedit_Click"
ValidationGroup="e" />
<asp:Label ID="lblmsg" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td width="20%" align="right">
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
</table>
</asp:Content>

Code For EditProfile.aspx.cs


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.IO;

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


{
string uid;
protected void Page_Load(object sender, EventArgs e)
{
if (Session["uid"] == null)
{
Response.Redirect("login.aspx");
}
else
{
if (!Page.IsPostBack)
{
uid = Session["uid"].ToString();
lblUid.Text = uid;
fillddl();
}
}
}
public void fillddl()
{

string txt = "";


string id = "";
string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.Connection = con;
cmd.CommandText = "select S_ID, S_Name from StateMasterTbl order by
S_Name";
SqlDataReader dr = cmd.ExecuteReader();
if (dr.HasRows)
{
while (dr.Read())
{
txt = dr["S_Name"].ToString();
id = dr["S_ID"].ToString();
ddlState.Items.Add(new ListItem(txt, id));
}
}

dr.Close();
con.Close();
}
protected void btnedit_Click(object sender, EventArgs e)
{

string filename = "";


if (FUPhoto.PostedFile != null && FUPhoto.PostedFile.ContentLength > 0)
{
string dest = Server.MapPath("~/Upload");
filename = FUPhoto.PostedFile.FileName;
filename = Path.GetFileName(filename);
filename = Session["Uid"].ToString() + "_" + filename;
string ext = Path.GetExtension(filename);
if (ext.ToUpper() == ".GIF" || ext.ToUpper() == ".JPG")
{
string fullpath = Path.Combine(dest, filename);
FUPhoto.PostedFile.SaveAs(fullpath);
}
else
{
filename = "";
}

string sql = "update UserMasterTbl set Name='" + txtName.Text +


"',EmailID='" + txtEmail.Text + "',Photo='"+filename+"',Contact='" +
txtMob.Text + "',StateId='" + ddlState.SelectedValue +
"',CityId='"+ddlCity.SelectedValue+"' where UID='" +uid+ "'";
string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
SqlCommand cmd = new SqlCommand(sql, con);
con.Open();
int i = cmd.ExecuteNonQuery();
con.Close();
if (i > 0)
{
lblmsg.Text = "Ur Profile will Successfully Updated";

}
else
{
lblmsg.Text = "Updation Failed";
}
}

protected void ddlState_SelectedIndexChanged(object sender, EventArgs e)


{
ddlCity.Items.Clear();
string txt = "";
string id = "";
string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.Connection = con;
cmd.CommandText = "select CT_ID, CT_Name from CityMasterTbl where
S_ID='" + ddlState.SelectedValue + "' Order by CT_Name";
SqlDataReader dr = cmd.ExecuteReader();
if (dr.HasRows)
{
while (dr.Read())
{
txt = dr["CT_Name"].ToString();
id = dr["CT_ID"].ToString();
ddlCity.Items.Add(new ListItem(txt, id));
}
}

dr.Close();
con.Close();
}
}

Code For MyProfile.aspx


<%@ Page Language="C#" MasterPageFile="~/User.master" AutoEventWireup="true"
CodeFile="frmMyProfile.aspx.cs" Inherits="Default2" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"


Runat="Server">
<table width="100%">
<tr>
<td align="center" rowspan="7" valign="top" bgcolor="#D6AD72"
width="23%">
<asp:Image ID="Image1" runat="server" Height="122px" Width="125px"
/>
<br />
<br />
<br />
</td>
<td width="20%" align="right" >
Name :</td>
<td width="30%">
<asp:Label ID="lblName" runat="server" Text="Label"></asp:Label>
</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td width="20%" align="right">
User Id :</td>
<td class="testimonialTxt">
<asp:Label ID="lblId" runat="server" Text="Label"></asp:Label>
</td>
<td class="testimonialTxt">
&nbsp;</td>
</tr>
<tr>
<td width="20%" align="right" style="height: 21px">
State :</td>
<td style="height: 21px">
<asp:Label ID="lblState" runat="server" Text="Label"></asp:Label>
</td>
<td style="height: 21px">
</td>
</tr>
<tr>
<td width="20%" align="right">
City :</td>
<td>
<asp:Label ID="lblCity" runat="server" Text="Label"></asp:Label>
</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td width="20%" align="right">
Mobile No :</td>
<td>
<asp:Label ID="lblmob" runat="server" Text="Label"></asp:Label>
</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td width="20%" align="right">
&nbsp;</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td width="20%" align="right" style="height: 14px">
</td>
<td style="height: 14px">
</td>
<td style="height: 14px">
</td>
</tr>
</table>
</asp:Content>

Code For MyProfile.aspx.cs


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.IO;

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


{
string uid;
string city;
string state;
protected void Page_Load(object sender, EventArgs e)
{
if (Session["Uid"] != null)
{

uid = Session["Uid"].ToString();
string sql = "select Name, CityId, StateId, Contact, Photo from
UserMasterTbl where UID= '" + uid + "'";
string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
SqlCommand cmd = new SqlCommand(sql, con);
con.Open();
SqlDataReader dr = cmd.ExecuteReader();
if (dr.Read())
{
lblName.Text = dr["Name"].ToString();
lblId.Text = uid;
state = dr["StateId"].ToString();
city = dr["CityId"].ToString();
lblmob.Text = dr["Contact"].ToString();
Image1.ImageUrl = "~/Upload/" + dr["Photo"].ToString();
}
string sql1 = "select CT_Name from CityMasterTbl where CT_ID='" +
city + "'";
SqlConnection con1 = new SqlConnection(constr);
SqlCommand cmd1 = new SqlCommand(sql1, con1);
con1.Open();
object i = cmd1.ExecuteScalar();
lblCity.Text = i.ToString();
string sql2 = "select S_Name from StateMasterTbl where S_Id= '" +
state + "'";
SqlConnection con2 = new SqlConnection(constr);
SqlCommand cmd2 = new SqlCommand(sql2, con2);
con2.Open();
object j = cmd2.ExecuteScalar();
lblState.Text = j.ToString();
}
else
{
Response.Redirect("~/login.aspx");
}
}

Code for Registration.aspx


<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="FrmRegistration.aspx.cs" Inherits="Default2" %>

<%@ Register src="webusercontrols/header.ascx" tagname="header" tagprefix="uc1"


%>
<%@ Register src="webusercontrols/header2.ascx" tagname="header2"
tagprefix="uc2" %>

<!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>Untitled Page</title>

<style type="text/css">
.style10
{
width: 100%;
}
.style12
{
height: 23px;
}
</style>
<link href="stylesheet/tdheight.css" rel="stylesheet" type="text/css" />
</head>
<body background="images/bg.jpg" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0
MARGINHEIGHT=0>
<form id="form1" runat="server" enctype="multipart/form-data">
<asp:ScriptManager ID="ScriptManager2" runat="server">
</asp:ScriptManager>

<table align="center" border="0" cellpadding="0" cellspacing="0"


width="80%">
<tr>
<td valign="top">

<uc1:header ID="header1" runat="server" />


</td>
</tr>
</table>
<table align="center" border="0" cellpadding="0"
cellspacing="0" width="80%" style="background-color:White">
<%--<tr>
<td class="style5">
<uc2:header2 ID="header21" runat="server" />
</td>
</tr>--%>
<tr>
<td valign="top" style="width:100%">
<img src="images/roundboxbt1.jpg"
style="height: 10px; width:
100%; margin-left: 0px" /><table
bgcolor="White" cellspacing="0"
style= " border-right-style:
groove; border-left-style: groove; border-right-width: 1px; border-left-width:
1px; border-right-color: #CC0000; border-left-color: #CC0000; width:100%">
<tr bgcolor="White">
<td style="width:80%">

<table border="0"
cellpadding="2" cellspacing="0" width="100%">
<tr>
<td align="left"
background="images/yellow_29.jpg" colspan="3" class="style16">
<h1>
&nbsp;<span
>Registration</span><asp:ValidationSummary
ID="ValidationS
ummary1" runat="server"
ShowMessageBox="Tru
e" ShowSummary="False" ValidationGroup="a" Height="30px"
Width="161px" /
>
</td>
</tr>
<tr>
<td align="right"
valign="top" width="30%" class="td">
UserId :</td>
<td align="left"
valign="top" colspan="2" class="td">
<asp:TextBox
ID="txtid" runat="server" ValidationGroup="r" Width="60%"></asp:TextBox>
<asp:RequiredFieldV
alidator ID="RequiredFieldValidator1" runat="server"
ErrorMessage="p
lese enter emailid/userid" ControlToValidate="txtid"
Display="None"
ValidationGroup="a"></asp:RequiredFieldValidator>
<asp:Label
ID="lblmsg" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td align="right"
class="td" valign="top">
Password :</td>
<td align="left"
valign="top" colspan="2" class="td">
<asp:TextBox
ID="txtPwd" runat="server" TextMode="Password" ValidationGroup="a"
Width="211px"><
/asp:TextBox>
<asp:RequiredFieldV
alidator ID="RequiredFieldValidator2" runat="server"
ErrorMessage="p
lese enter password" ControlToValidate="txtcPwd"
Display="None"
ValidationGroup="a"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right"
valign="top" class="td">
Confirm
Password :</td>
<td align="left"
valign="top" class="td">
<asp:TextBox
ID="txtcPwd" runat="server" TextMode="Password"
ValidationGroup
="a" Width="211px"></asp:TextBox>
<asp:RequiredFieldV
alidator ID="RequiredFieldValidator3" runat="server"
ErrorMessage="R
equiredFieldValidator" ControlToValidate="txtcPwd"
Display="None"
ValidationGroup="a"></asp:RequiredFieldValidator>
</td>
<td align="left"
class="td" valign="bottom">
<asp:CompareValidat
or ID="CompareValidator1" runat="server"
ControlToCompar
e="txtPwd" ControlToValidate="txtcPwd" Display="None"
ErrorMessage="C
ompareValidator" ValidationGroup="a"></asp:CompareValidator>
</td>
</tr>
<tr>
<td align="right"
class="td" valign="top">
Name:</td>
<td align="left"
valign="top" colspan="2" class="td">
<asp:TextBox
ID="txtName" runat="server" ValidationGroup="a" Width="211px"></asp:TextBox>
<asp:RequiredFieldV
alidator ID="RequiredFieldValidator4" runat="server"
ErrorMessage="R
equiredFieldValidator" ControlToValidate="txtName"
Display="None"
ValidationGroup="a"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right"
class="td" valign="top">
EmailId</td>
<td align="left"
class="td" valign="top" colspan="2">
<asp:TextBox
ID="txtEmail" runat="server" ValidationGroup="a" Width="212px"></asp:TextBox>
</td>
</tr>
<tr>
<td align="right"
class="td" valign="top">
Gender:</td>
<td align="left"
class="style6" valign="top" colspan="2">
<table
class="style5">
<tr>
<td
class="style16">
<asp:RadioButtonLis
t ID="RBLgender" runat="server"
RepeatDirection
="Horizontal" ValidationGroup="a">
<asp:ListItem
Value="0">Male</asp:ListItem>
<asp:ListItem
Value="1">Female</asp:ListItem>
</asp:RadioButtonLi
st>
</td>
<td
class="td">
<asp:RequiredFieldV
alidator ID="RequiredFieldValidator5" runat="server"
ErrorMessage="P
lese select your Gender" ControlToValidate="RBLgender" Display="None"
Val
idationGroup="a"></asp:RequiredFieldValidator>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="right"
class="td" valign="top">
State:</td>
<td align="left"
class="td" valign="top" colspan="2" rowspan="2">

<ContentTemplat
e>
<asp:Update
Panel ID="UpdatePanel1" runat="server">
<Conten
tTemplate>
<as
p:DropDownList ID="ddlState" runat="server" AutoPostBack="true"

Height="16px" Width="141px" ValidationGroup="a"

onselectedindexchanged="ddlState_SelectedIndexChanged">

<asp:ListItem Value="0">---Select---</asp:ListItem>

<asp:ListItem></asp:ListItem>
</a
sp:DropDownList>
<as
p:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server"

ControlToValidate="ddlState" Display="None"

ErrorMessage="Plese select your state"


ValidationGroup="a"></asp:RequiredFieldValidator>
<br
/>
<br
/>
<as
p:DropDownList ID="ddlCity" runat="server" Height="16px" ValidationGroup="a"

Width="140px">

<asp:ListItem Value="0">---Select---</asp:ListItem>
</a
sp:DropDownList>
<as
p:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server"

ControlToValidate="ddlCity" Display="None"

ErrorMessage="Plese select your city"


ValidationGroup="a"></asp:RequiredFieldValidator>
<br
/>
</Conte
ntTemplate>
</asp:UpdatePan
el>
</ContentTempla
te>

</td>
</tr>
<tr>
<td align="right"
class="td" valign="top">
City:</td>
</tr>
<tr>
<td align="right"
class="td" valign="top">
Adress:</td>
<td align="left"
class="td" valign="top" colspan="2">
<asp:TextBox
ID="txtAdd" runat="server" TextMode="MultiLine"
ValidationGroup
="a" Height="25px" Width="177px"></asp:TextBox>
<asp:RequiredFieldV
alidator ID="RequiredFieldValidator8" runat="server"
ErrorMessage="P
lese enter your address " ControlToValidate="txtAdd"
Display="None"
ValidationGroup="a"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right"
class="td" valign="top">
Contact</td>
<td align="left"
class="td" valign="top" colspan="2">
<asp:TextBox
ID="txtcontact" runat="server" ValidationGroup="a" Width="181px"></asp:TextBox>
<asp:RequiredFieldV
alidator ID="RequiredFieldValidator9" runat="server"
ControlToValida
te="txtcontact" Display="None"
ErrorMessage="P
lese Enter Valid Mob no." ValidationGroup="a"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right"
class="style16" valign="top">
Photo&nbsp;&nbsp;
</td>
<td align="left"
class="style6" valign="top" colspan="2">

&nbsp;

&nbsp;
<asp:FileUpload
ID="FUPhoto" runat="server" Height="21px" Width="214px" />

</td>
</tr>
<tr>
<td align="right"
class="style16" valign="top">
&nbsp;</td>
<td align="left"
class="style6" valign="top" colspan="2">
&nbsp;</td>
</tr>
<tr>
<td align="right"
class="style16" valign="top">
</td>
<td align="left"
class="style16" valign="top" colspan="2">
<asp:Button
ID="Button2" runat="server" Text="Register" BackColor="#FF9900"
Height="24px"
style="font-weight: 700; font-family: Cambria; font-size: medium"
Width="94px"
onclick="Button2_Click" ValidationGroup="a" />
</td>
</tr>
<tr>
<td align="right"
class="style12" valign="top">
</td>
<td align="left"
class="style12" valign="top" colspan="2">
</td>
</tr>
<tr>
<td align="right"
class="style16" valign="top" colspan="3">
<img
src="images/claim_business.gif" style="width: 606px; height: 60px" /></td>
</tr>
</table>

</td>

</tr>
</table>
<img src="images/roundboxbt.jpg"
style="height: 10px; width:
100%; margin-left: 0px" />
</td>
</tr>
</table>
</td>
<td>
&nbsp;</td>
</tr>
</table>
<br />
&nbsp;

<table class="style10">
<tr>
<td align="center">
<span class="Apple-style-span"
style="border-collapse: separate; color: rgb(0, 0, 0); font-
family: 'Times New Roman'; font-style: normal; font-variant: normal; font-
weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-
align: auto; text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-
border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size:
medium; ">
<span class="Apple-style-span"
style="font-family: arial, helvetica, clean, sans-serif; font-
size: 11px; line-height: 13px; text-align: center; ">
© 2010 Copyright INFOINDIA.com, All Rights Reserved.<span
class="Apple-converted-space">&nbsp;</span><a
href="http://sulekha.com/COLLATERAL/tc.htm#privacy"
style="cursor: pointer; color: rgb(8, 84, 166); text-
decoration: none !important; ">Privacy
Policy</a><span class="Apple-converted-space">&nbsp;</span>|<span
class="Apple-converted-space">&nbsp;</span><a
href="http://sulekha.com/COLLATERAL/tc.htm"
style="cursor: pointer; color: rgb(33, 74, 117); text-
decoration: underline !important; ">Terms
&amp; Conditions</a></span></span></td>
</tr>
</table>

</form>
</body>
</html>

Code For Registration.aspx.cs


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.IO;

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


{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
fillddl();
}
}
public void fillddl()
{
string txt = "";
string id = "";
string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.Connection = con;
cmd.CommandText = "select S_ID, S_Name from StateMasterTbl order by
S_Name";
SqlDataReader dr = cmd.ExecuteReader();
if (dr.HasRows)
{
while (dr.Read())
{
txt = dr["S_Name"].ToString();
id = dr["S_ID"].ToString();
ddlState.Items.Add(new ListItem(txt, id));
}
}

dr.Close();
con.Close();
}

protected void Button2_Click(object sender, EventArgs e)


{
string filename = "";
if (FUPhoto.PostedFile != null && FUPhoto.PostedFile.ContentLength > 0)
{
string dest = Server.MapPath("~/Upload");
filename = FUPhoto.PostedFile.FileName;
filename = Path.GetFileName(filename);
filename = txtid.Text + "_" + filename;
string ext = Path.GetExtension(filename);
if (ext.ToUpper() == ".GIF" || ext.ToUpper() == ".JPG")
{
string fullpath = Path.Combine(dest, filename);
FUPhoto.PostedFile.SaveAs(fullpath);
}
else
{
filename = "";
}
}

string sql = "if not exists( SELECT [UID] FROM [UserMasterTbl] where
UID='" + txtid.Text+ "')"
+ "begin " + " "
+ "INSERT INTO [UserMasterTbl]([UID],[Password],[Name],
[EmailID],[Photo],[Gender],[StateId],[CityId],[Address], [Contact])" +
" " + "VALUES('" + txtid.Text + "','" + txtPwd.Text +
"','" + txtName.Text + "','" + txtEmail.Text + "','" + filename + "','" +
RBLgender.SelectedValue + "','" + ddlState.Text + "','" + ddlCity.Text + "','"
+ txtAdd.Text + "','" + txtcontact.Text + "'); end";
string sql1 = "insert into LoginMasterTbl ([UserId], [Password])
values('"+txtid.Text+"', '"+txtPwd.Text+"')";
string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
SqlCommand cmd = new SqlCommand(sql, con);
con.Open();
int i = cmd.ExecuteNonQuery();
con.Close();

if (i > 0)
{

SqlConnection con1 = new SqlConnection(constr);


SqlCommand cmd1 = new SqlCommand(sql1, con1);
con1.Open();
cmd1.ExecuteNonQuery();
con1.Close();
Session["Uid"] = txtid.Text;
Response.Redirect("FrmProfile.aspx");

}
else
{
lblmsg.Text = "UserId exists plz choose another userid";
}

protected void ddlState_SelectedIndexChanged(object sender, EventArgs e)


{
ddlCity.Items.Clear();
string txt = "";
string id = "";
string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.Connection = con;
cmd.CommandText = "select CT_ID, CT_Name from CityMasterTbl where
S_ID=" + ddlState.SelectedValue + " Order by CT_Name";
SqlDataReader dr = cmd.ExecuteReader();
if (dr.HasRows)
{
while (dr.Read())
{
txt = dr["CT_Name"].ToString();
id = dr["CT_ID"].ToString();
ddlCity.Items.Add(new ListItem(txt, id));
}
}
else
{
ddlState.Items.Add(new ListItem("--select--","0"));
}

dr.Close();
con.Close();

}
}

Code for Login.aspx


<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs"
Inherits="log" %>

<%@ Register src="webusercontrols/header.ascx" tagname="header" tagprefix="uc3"


%>

<!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>Untitled Page</title>
<style type="text/css">
.adroundmd{ width:775px; background:#FAF4DA; border-right:1px solid
#B30000; border-left:1px solid #B30000; padding:0px; float:right; margin:0px 0
0 0; }
.gborder {
border: 1px solid #525252;
}

.gborder {
border: 1px solid #999999;padding:5px;
}

H1 {
FONT-WEIGHT: bold; FONT-SIZE: 22px; COLOR: #464646; LINE-HEIGHT: 120%;
FONT-FAMILY: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif; TEXT-
DECORATION: none
}
H1 {
FONT-WEIGHT: bold
}
H1 {
FONT-SIZE: 138.5%; COLOR: #b30000
}
H1 {
FONT-WEIGHT: normal; FONT-SIZE: 100%
}
H1 {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
PADDING-TOP: 0px
}

.blueText
{
FONT-WEIGHT: bold; FONT-SIZE: 12px; COLOR: #000079; FONT-FAMILY: Verdana,
Arial, Helvetica, sans-serif; TEXT-DECORATION: none
}

.style2
{
margin: 0px;
padding: 0px;
}
.style4
{
font-size: 11px;
font-family: Tahoma, Arial, Helvetica, sans-serif;
margin: 0px;
padding: 0px;
}
.style5
{
width: 49%;
}
#Button1
{
height: 22px;
width: 69px;
}
.style9
{
font-family: Verdana;
font-weight: bold;
font-size: large;
}
#Button2
{
height: 22px;
width: 69px;
}
.style10
{
width: 100%;
}
.style14
{
font-family: Verdana;
font-weight: bold;
font-size: medium;
}
.style8
{
font-family: Cambria;
font-size: x-large;
font-weight: bold;
}
.style15
{
width: 182px;
height: 33px;
}
.style16
{
height: 33px;
}
.style17
{
width: 182px;
height: 35px;
}
.style18
{
height: 35px;
}
.style19
{
height: 29px;
}
.style22
{
height: 40px;
}
.style23
{
height: 36px;
}
.style25
{
font-family: Cambria;
}
.style26
{
font-size: medium;
}
.style27
{
font-family: Cambria;
font-size: medium;
}
.style28
{
font-size: 18px;
font-style: italic;
}
.style29
{
font-size: 18px;
font-style: italic;
font-family: Cambria;
}
</style>
<%--<script language="javascript" type="text/javascript">
// <!CDATA[

// ]]>
</script>--%>
<link href="stylesheet/layout.css" rel="stylesheet" type="text/css" />

</head>
<body background="images/bg.jpg">
<form id="form1" runat="server">
<code>
</code>
<table width="80%" align="center">
<tr>
<td align="center" >
<uc3:header ID="header2" runat="server" />
</td>
</tr>
</table>

<table align="center" border="0" cellpadding="0"


cellspacing="0"
style="width:80%">
<tr>
<td valign="top">
<img src="images/roundboxbt1.jpg"
style="height: 11px; width:
100%; margin-left: 0px" />
<table border="0" cellpadding="2"
cellspacing="3"

style="border-spacing: 0; width: 100%;


border-right-style: groove; border-left-style: groove; border-right-width: 1px;
border-left-width: 1px; border-right-color: #999999; border-left-color:
#999999;"
bgcolor="White">
<tr>
<td align="left" class="style4"
valign="top" width="50%" bgcolor="White">
<span class="Apple-style-span"
style="font-family: Arial;
font-size: 13px; text-align: left; ">
<span class="Apple-style-span"
style="border-collapse:
separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
normal; font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-
transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-
border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-
text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-
stroke-width: 0px; font-size: medium; ">
<h5 style="margin-top: 0px;
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px;
padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px;
font-weight: bold; color: rgb(179, 0, 0); ">
<br class="Apple-
interchange-newline" />
</span>
<span class="style25"

style="border-collapse:
separate; color: rgb(0, 0, 0); font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto;
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-
spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-
spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-
adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
<span class="style28">At
</span></span>
</span>
<span class="Apple-style-span"
style="font-size: 13px;
text-align: left; ">
<span class="style29"

style="border-collapse:
separate; color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-
transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-
border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-
text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-
stroke-width: 0px; ">
INFOINDIA</span></span><spa
n class="Apple-style-span"
style="font-family: Arial;
font-size: 13px; text-align: left; "><span class="style29"

style="border-collapse:
separate; color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-
transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-
border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-
text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-
stroke-width: 0px; ">
</span>
<span style="border-collapse:
separate; font-variant: normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-
space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing:
0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect:
none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "
class="style29">
Yellow Pages, you get the
best deals and offers from thousands of
advertisers from your
city.</h5>
</span>
<span class="style27"

style="border-collapse:
separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal;
letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto;
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-
spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-
spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-
adjust: auto; -webkit-text-stroke-width: 0px; ">
<ul>

<li>
Check out from the
comprehensive listing of business details under various
categories.</li>
</span>
</span>
<span class="style26"

style="border-collapse:
separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-
weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-
align: auto; text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-
border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<span class="Apple-style-
span"
style="text-align: left; ">
<li class="style25">Locate
the business of your choice with INFOINDIA Business Locator Map.</li>
</span>
</span>
<span class="Apple-style-span"
style="border-collapse:
separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
normal; font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-
transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-
border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-
text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-
stroke-width: 0px; font-size: medium; ">
<span class="style25"
style="text-align: left; ">
<li>Get numerous benefits
from
<span class="style26"

style="border-
collapse: separate; color: rgb(0, 0, 0); font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-
space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing:
0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect:
none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<span class="Apple-
style-span"
style="text-align: left;
">INFOINDIA
</span>
</span>
premium advertising
programs.</li>
</span>
</span>
<span class="Apple-style-span"
style="border-collapse:
separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-
weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-
align: auto; text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-
border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size:
medium; ">
<span class="Apple-style-
span"
style="text-align: left; ">
<li class="style25">You can
now easily access
<span class="style26"

style="border-
collapse: separate; color: rgb(0, 0, 0); font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-
space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing:
0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect:
none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<span class="Apple-
style-span"
style="text-align: left;
">INFOINDIA </span></span>Yellow Pages on Reliance and Vodafone mobiles.</li>
<li class="style25">Receive
instant response from thousands of advertisers and boost your business
opportunities.</li>
</ul>
</span>
</span>
</td>
<td align="left" class="style5"
valign="top">
<asp:Panel ID="Panel1"
runat="server" BorderColor="#990000">
<table class="style10"

style="border-left-
style: groove; border-bottom-style: groove; border-bottom-width: 2px; border-
left-width: 2px; border-bottom-color: #666666; border-left-color: #666666;">
<tr>
<td align="left"
background="images/yellow_29.jpg" colspan="2" height="30">
<h1>
&nbsp;<span
class="style8">Login</span></h1>
</td>
</tr>

<tr>
<td
class="style15">
<span
class="style14">EmailId/UserId</span>&nbsp;<b><span
class="style14">:&nbsp;</span></b></td>
<td
class="style16">
<b><span
class="style9">
<asp:TextBox
ID="txtUID" runat="server" ValidationGroup="a"></asp:TextBox>
&nbsp;</span><a
sp:RequiredFieldValidator ID="RequiredFieldValidator1"
runat="serv
er" ControlToValidate="txtuid" Display="None"
ErrorMessag
e="plese enter id" ValidationGroup="a"></asp:RequiredFieldValidator>
</b>
</td>
</tr>
<tr>
<td
class="style15">
<b><span
class="style9">&nbsp; </span><span class="style14">Password:&nbsp;</span><span
class="styl
e9">&nbsp;</span></b></td>
<td
class="style16">
<b><span
class="style9">
<asp:TextBox
ID="txtPwd" runat="server" TextMode="Password"
ValidationGroup="a"></asp:TextBox>
&nbsp;</span><a
sp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToVa
lidate="txtPwd" Display="None"
ErrorMessag
e="plese enter password" ValidationGroup="a"></asp:RequiredFieldValidator>
</b>
</td>
</tr>
<tr>
<td align="right"
class="style17">
<b><span
class="style9"><span class="Apple-style-span"
style="bord
er-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman';
font-style: normal; font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; font-size: medium;">
<span
class="Apple-style-span"
style="font
-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height:
16px; text-align: center;">
<input
ID="Checkbox1" type="checkbox" /></span></span></span></b></td>
<td
class="style18">
<b><span
class="style9"><span class="Apple-style-span"
style="bord
er-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman';
font-style: normal; font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; font-size: medium;">
<span
class="Apple-style-span"
style="font
-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height:
16px; text-align: center;">
Remember me on
this computer</span></span></span></b></td>
</tr>
<tr>
<td class="style19"
align="right">
<asp:Image
ID="Image1" runat="server" Height="31px"
ImageUrl="~
/images/th_borbo150.gif" Width="49px" />
</td>
<td
class="style19">
<b><span
class="style9">
<asp:Button
ID="Button3" runat="server" BackColor="#FF9900"
Height="25p
x" onclick="Button3_Click"
style="font
-weight: 700; font-family: Cambria; font-size: medium" Text="Login"
Width="52px
" ValidationGroup="a" />
<span
class="Appl
e-style-span"
style="font
-family: Arial; font-size: 13px; text-align: left; "><span
class="styl
e29"
style="bord
er-collapse: separate; font-variant: normal; letter-spacing: normal; line-
height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-
horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-
decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-
stroke-width: 0px; ">
&nbsp;&nbsp;&nb
sp;&nbsp;&nbsp;
<asp:Label
ID="Label1"
runat="server"></asp:Label>
</span></span><
/span></b></td>
</tr>
<tr>
<td align="center"
colspan="2">
<asp:Validation
Summary ID="ValidationSummary1" runat="server"
ShowMessage
Box="True" ShowSummary="False" ValidationGroup="a" />
</td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="Panel3"
runat="server">
<table class="style10"
style="border-bottom-
style: groove; border-left-style: groove; border-bottom-width: 2px; border-
left-width: 2px; border-bottom-color: #666666; border-left-color: #666666;">
<tr>
<td align="center"
class="style23">
<span
class="Apple-style-span"
style="bord
er-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman';
font-style: normal; font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; font-size: medium; ">
<span
class="Apple-style-span"
style="font
-family: arial, helvetica, clean, sans-serif; font-size: 15px; line-height:
17px; text-align: -webkit-center; ">
<b>Not yet a
INFOINDIA.com Member?</b></span></span></td>
</tr>
<tr>
<td align="center"
class="style22">
<b>
<asp:Button
ID="Button4
" runat="server" Height="24px" onclick="Button4_Click"
style="font
-weight: 700; font-family: Cambria; font-size: medium; background-color:
#FF9900; margin-left: 0px;"
Text="Regis
ter now!" Width="147px" ValidationGroup="b" />
</b></td>
</tr>
</table>
</asp:Panel>
</td>
</tr>
</table>
</div>
<img src="images/roundboxbt.jpg"
style="height: 10px; width:
100%; margin-left: 1px" /></td>
</tr>
</table>
</form>
<table class="style10">
<tr>
<td align="center">
<span class="Apple-style-span"
style="border-collapse: separate; color: rgb(0, 0, 0); font-
family: 'Times New Roman'; font-style: normal; font-variant: normal; font-
weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-
align: auto; text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-
border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size:
medium; ">
<span class="Apple-style-span"
style="font-family: arial, helvetica, clean, sans-serif; font-
size: 11px; line-height: 13px; text-align: center; ">
© 2010 Copyright INFOINDIA.com, All Rights Reserved.<span
class="Apple-converted-space">&nbsp;</span><a
href="http://sulekha.com/COLLATERAL/tc.htm#privacy"
style="cursor: pointer; color: rgb(8, 84, 166); text-
decoration: none !important; ">Privacy
Policy</a><span class="Apple-converted-space">&nbsp;</span>|<span
class="Apple-converted-space">&nbsp;</span><a
href="http://sulekha.com/COLLATERAL/tc.htm"
style="cursor: pointer; color: rgb(33, 74, 117); text-
decoration: underline !important; ">Terms
&amp; Conditions</a></span></span></td>
</tr>
</table>
</body>
</html>

Code For Login.aspx.cs


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
public partial class log : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
public int GetLogin()
{
int res = -1;
string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.Connection = con;
cmd.CommandText = "select role from LoginMasterTbl where UserId='" +
txtUID.Text + "' and Password='" + txtPwd.Text + "'";

object i = cmd.ExecuteScalar();
if (i != DBNull.Value)
{
res = Convert.ToInt16(i);
}

return res;
}

protected void Button3_Click(object sender, EventArgs e)


{
int res = GetLogin();
if (res >0)
{

Session["Uid"] = txtUID.Text;

switch (res)
{
case 1: FormsAuthentication.RedirectFromLoginPage(txtUID.Text,
false);
break;
case 2: Response.Redirect("admin/Admin.aspx");
break;
}
}
else
{
Label1.Text = "wrong UserId";
}

protected void Button4_Click(object sender, EventArgs e)


{
Response.Redirect("FrmRegistration.aspx");
}
}
Code for Main.aspx
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true" CodeFile="Main.aspx.cs" Inherits="Main" Title="Untitled
Page" %>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2"


Runat="Server">
<asp:GridView ID="GridView1" runat="server" Width="100%"
BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px"
CellPadding="2" ForeColor="Black" GridLines="None">
<FooterStyle BackColor="Tan" />
<RowStyle HorizontalAlign="Center" />
<Columns>
<asp:TemplateField>
</asp:TemplateField>
</Columns>
<PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue"
HorizontalAlign="Center" />
<SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
<HeaderStyle BackColor="Tan" Font-Bold="True" HorizontalAlign="Center"
/>
<AlternatingRowStyle BackColor="PaleGoldenrod" />
</asp:GridView>
</asp:Content>

Code for Main.aspx.cs


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

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


{
string city;
string cat;

protected void Page_Load(object sender, EventArgs e)


{

if (Session["CT"] != null && Session["catagory"] != null)


{
if (!Page.IsPostBack)
{
city = Session["CT"].ToString();
cat = Session["Catagory"].ToString();
fillGrid();
}
}

}
public void fillGrid()
{

DataSet ds = new DataSet();


string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
SqlDataAdapter adp = new SqlDataAdapter("select [Serial No],
[BusinessName],[ContactPerson],[Address],[Phone],[Mob] from [UserBusinessTbl]
where City='" + city + "' and BusinessName like '%" + cat + "%'", con);
adp.Fill(ds);
GridView1.DataSource = ds;
GridView1.DataBind();

protected void LinkButton1_Click(object sender, EventArgs e)


{
LinkButton lbtn = (LinkButton)sender;
string SNO = lbtn.CommandArgument;
Session["SN"] = SNO;
Response.Redirect("businessdetail.aspx");
}
}

Code for MainSearch.aspx


<%@ Page Language="C#" MasterPageFile="~/Master.master" AutoEventWireup="true"
CodeFile="mainsearch1.aspx.cs" Inherits="mainsearch1" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2"
Runat="Server">
<asp:GridView ID="GridView1" runat="server" Width="100%"
CellPadding="4" ForeColor="#333333" GridLines="None" AllowPaging="True"
AllowSorting="True" ShowFooter="True">
<FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
<RowStyle HorizontalAlign="Center" BackColor="#E3EAEB" />
<Columns>
<asp:TemplateField>
</asp:TemplateField>
</Columns>
<PagerStyle BackColor="#666666" ForeColor="White"
HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#C5BBAF" ForeColor="#333333" Font-
Bold="True" />
<HeaderStyle BackColor="#1C5E55" Font-Bold="True"
HorizontalAlign="Center"
ForeColor="White" />
<EditRowStyle BackColor="#7C6F57" />
<AlternatingRowStyle BackColor="PaleGoldenrod" />
</asp:GridView>

</asp:Content>

Code for MainSearch.aspx.cs


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

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


{
string city;
string cat;
string c;
protected void Page_Load(object sender, EventArgs e)
{

if (Session["CT"] == null || Session["catagory"] == null)


{

Response.Redirect("Mainsearch.aspx");
}
else
{

if (!Page.IsPostBack)
{
city = Session["CT"].ToString();
cat = Session["Catagory"].ToString();
fillGrid();
}
}
}
public void fillGrid()
{
DataSet ds = new DataSet();
string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
SqlDataAdapter adp = new SqlDataAdapter("select [Serial No],
[BusinessName],[ContactPerson],[Address],[Phone],[Mob] from [UserBusinessTbl]
where City='" + city + "' and BusinessName like '%" + cat + "%'", con);
adp.Fill(ds);
GridView1.DataSource = ds;
GridView1.DataBind();

}
protected void LinkButton1_Click(object sender, EventArgs e)
{
LinkButton lbtn = (LinkButton)sender;
string SNO = lbtn.CommandArgument;
Session["SN"] = SNO;
Response.Redirect("businessdetail.aspx");
}
}

Code for SearchByCT.aspx


<%@ Page Language="C#" MasterPageFile="~/Master.master" AutoEventWireup="true"
CodeFile="SearchbyCT.aspx.cs" Inherits="SearchbyCT" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2"
Runat="Server">
<asp:GridView ID="GridView1" runat="server" Width="100%" CellPadding="4"
ForeColor="#333333" GridLines="None">
<FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#E3EAEB" HorizontalAlign="Center" />
<Columns>
<asp:TemplateField>
</asp:TemplateField>
</Columns>
<PagerStyle BackColor="#666666" ForeColor="White"
HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True"
ForeColor="#333333" />
<HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#7C6F57" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</asp:Content>

Code for SearchByCT.aspx.cs


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

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


{
string City;
protected void Page_Load(object sender, EventArgs e)
{
if (Session["ICT"] != null)
{
if (!Page.IsPostBack)
{
City = Session["ICT"].ToString();
fillGrid();
}
}
else
{
Response.Redirect("MainSearch.aspx");
}

}
public void fillGrid()
{
DataSet ds = new DataSet();
string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
SqlDataAdapter adp = new SqlDataAdapter("select [Serial No],
[BusinessName],[ContactPerson],[Address],[Phone],[Mob] from [UserBusinessTbl]
where City='" + City + "'", con);
adp.Fill(ds);
GridView1.DataSource = ds;
GridView1.DataBind();

}
protected void LinkButton1_Click(object sender, EventArgs e)
{
LinkButton lbtn = (LinkButton)sender;
string SNO = lbtn.CommandArgument;
Session["SN"] = SNO;
Response.Redirect("businessdetail.aspx");
}
}

Code For UserImportantContact.aspx


<%@ Page Language="C#" MasterPageFile="~/User.master" AutoEventWireup="true"
CodeFile="UserImportantContacts.aspx.cs" Inherits="UserImportantContacts"
Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"


Runat="Server">
<table style="width: 100%">
<tr>
<td width="30%"
style="font-family: Cambria; color: #003399; font-size: x-
large">
Add New Contacts Here</td>
<td align="center"
style="color: #000099; font-size: x-large; font-family:
Verdana">
<b>Your Important Contacts</b></td>
</tr>
<tr>

<td width="30%" valign="top">


<table width="100%">
<tr>
<td>
Name</td>
<td>
<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1"
runat="server"
ControlToValidate="txtName" Display="None"
ErrorMessage="Plese enter your name"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
Contact</td>
<td>
<asp:TextBox ID="txtContact" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2"
runat="server"
ControlToValidate="txtContact" Display="None"
ErrorMessage="Plese enter
contact"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
Email</td>
<td>
<asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td align="center" colspan="2">
<asp:Button ID="btnSave" runat="server" BackColor="#FF9900"
Font-Names="Cambria" Font-Size="Medium" ForeColor="Maroon"
Text="Save"
onclick="Button1_Click" />
</td>
</tr>
</table>
</td>
<td width="70%" valign="top">
<asp:GridView ID="gvContact" runat="server" Width="100%"
ForeColor="#333333" GridLines="None" AllowPaging="True"
AllowSorting="True" EnableSortingAndPagingCallbacks="True"
PageSize="5">
<FooterStyle BackColor="#507CD1" Font-Bold="True"
ForeColor="White" />
<RowStyle BackColor="#EFF3FB" HorizontalAlign="Center" />
<PagerStyle BackColor="#999999" ForeColor="Black"
HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True"
ForeColor="#333333" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True"
ForeColor="White"
HorizontalAlign="Center" />
<EditRowStyle BackColor="#2461BF" />
<AlternatingRowStyle BackColor="#CCCCCC" />
</asp:GridView>
</td>
</tr>
<tr>
<td colspan="2">
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
</table>
</asp:Content>

Code For UserImportantContact.aspx


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

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


{
string uid;
protected void Page_Load(object sender, EventArgs e)
{
if (Session["uid"] == null)
{
Response.Redirect("login.aspx");
}
else
{
uid = Session["uid"].ToString();
if (!Page.IsPostBack)
{
fillGVContact();
}
}
}
protected void Button1_Click(object sender, EventArgs e)
{

string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.Connection = con;
cmd.CommandText = "INSERT INTO [ImportantContactTbl] ([uid], [Name],
[Contact], [Email]) Values('" + uid + "', '" + txtName.Text + "', '" +
txtContact.Text + "', '" + txtEmail.Text + "')";
cmd.ExecuteNonQuery();
con.Close();
fillGVContact();
}
public void fillGVContact()
{
DataSet ds=new DataSet();

string constr =
ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
SqlDataAdapter adp=new SqlDataAdapter("select [Name], [Contact],
[Email] from [ImportantContactTbl] where uid='"+uid+"'",con);
adp.Fill(ds);
gvContact.DataSource= ds;
gvContact.DataBind();

}
}

Code for Master.master


<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Master.master.cs"
Inherits="Maste" %>
<%@ Register src="webusercontrols/header.ascx" tagname="header" tagprefix="uc1"
%>
<%@ Register src="webusercontrols/header2.ascx" tagname="header2"
tagprefix="uc2" %>

<%@ Register src="webusercontrols/headerfrpfile.ascx" tagname="headerfrpfile"


tagprefix="uc3" %>

<%@ Register src="webusercontrols/Header3.ascx" tagname="Header3"


tagprefix="uc4" %>
<!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>Untitled Page</title>
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
<style type="text/css">
#Select1
{
width: 175px;
}
#Text1
{
width: 191px;
height: 23px;
}
#Text2
{
width: 187px;
height: 16px;
}
#Text3
{
width: 179px;
}
#Text4
{
height: 20px;
width: 318px;
}
#Text5
{
width: 190px;
height: 17px;
}
#Text6
{
width: 190px;
height: 17px;
}
#Text7
{
width: 195px;
height: 23px;
}
#Text8
{
width: 194px;
height: 23px;
}

#Button3
{
height: 51px;
width: 39px;
}
ul.helplines{padding-top:5px;}
ul,ol { list-style: none;}
.clearfix, .paginationBar {display: block;}
.clearfix,
.police { background-position:0px -494px; }
.helplinesIcons {background:url('http://www.askme.in/images/icons/essentials-
links-icons.png') no-repeat center top;
height:28px; width:28px; border:1px solid #eee;
}
.left { float:left; }
.helplinesLink { float:left; padding:7px 0 0 10px; font-weight:bold; font-
size:12px; width:140px;}
.fire { background-position:0px -416px; }
.ambulance { background-position:0px -71px; }
.bloodbanks { background-position:0px -147px; }
.airlines { background-position:0px -31px; }
.railways { background-position:0px -571px; }
.taxiservices { background-position:0px -686px; }
.electricitysupply { background-position:0px -342px; }
.watersupply { background-position:0px -762px; }
.style5
{
color: #800000;
font-weight: bold;
font-family: Verdana;
font-size: large;
}
</style>

<script language="javascript" type="text/javascript">


</script>
<link href="stylesheet/tdheight.css" rel="stylesheet" type="text/css" />
<link href="stylesheet/tdsmall.css" rel="stylesheet" type="text/css" />
</head>
<body background="images/bg.jpg" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0
MARGINHEIGHT=0>
<form id="form1" runat="server">

<table width="80%" align="center" cellspacing="0px" cellpadding="0px"


style="background-color:White" bgcolor="#FF9900">
<tr>
<td colspan="3">
<uc1:header ID="header1" runat="server" />
</td>
</tr>
<tr style="width:100%">
<td colspan="3" >
<uc2:header2 ID="header2" runat="server" />
</td>
</tr>
<tr>

<td style="font-family: Verdana" align="center" valign="middle"


colspan="3"
bgcolor="#F0CB75">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1"
runat="server">
<%--<br />
&nbsp;<b>
<span class="style4">City</span></b>&nbsp;<asp:DropDownList
ID="ddlCity" runat="server"
Height="16px" Width="150px">
</asp:DropDownList>
&nbsp;&nbsp;<span
class="style4">Catagory</span><asp:TextBox ID="TextBox3"
runat="server" Height="23px" Width="187px"></asp:TextBox>
&nbsp;<asp:Button ID="Searchbutton"
runat="server" Text="Search"
onclick="Searchbutton_Click" />
<br />
<br />--%>
</asp:ContentPlaceHolder>
<uc4:Header3 ID="Header3" runat="server" />
</td>
</tr>
<tr bgcolor="White" style="height:5px">
<td style="font-family: Verdana" align="center" valign="middle"
width="30%"
bgcolor="Green">
&nbsp;</td>
<td style="font-family: Verdana" align="center" valign="middle"
bgcolor="Green" rowspan="2" width="25%">

&nbsp;</td>
<td style="font-family: Verdana" align="center" valign="middle"
bgcolor="Green" rowspan="2">

<span

style="font-family: arial, helvetica, clean, sans-serif;


font-size: 13px; line-height: 16px; text-align: left; ">
<h1 style="color: #CC3300">
&nbsp;</h1>
</span></td>
</tr>

<tr bgcolor="White" style="height:5px">


<td align="center" valign="middle" width="20%"
bgcolor="Green" class="style5">
Local Search</td>
</tr>

</table>
<table width="80%" align="center" cellspacing="0px" style="height:329px">

<tr>
<td "rowspan="2" valign="top" style="width:84%; background-
color:White">
<asp:ContentPlaceHolder ID="ContentPlaceHolder2"
runat="server">
<p>
</p>
</asp:ContentPlaceHolder>
<br />
&nbsp;&nbsp;
<br />

<br />

</td>
</table>
<table width="80%" bgcolor="White" align="center">
<tr>
<td style="width:20%" align="center">
<asp:HyperLink ID="HyperLink9" runat="server" Font-Names="Cambria"
Font-Size="X-Large" Font-Underline="False" ForeColor="#33CCCC"
NavigateUrl="~/businessregisteration.aspx">Claim Your
Business</asp:HyperLink>
</td >
<td style="width:60%">
&nbsp;</td>
<td width="20%" bgcolor="White" align="center">
<asp:ImageButton ID="ImageButton1" runat="server" Height="62px"
ImageUrl="~/images/112_Running Free button.gif" Width="205px" />
</td>
</tr>
</table>

</form>

<table width="100%">
<tr>
<td align="center">
<span class="Apple-style-span"
style="border-collapse: separate; color: rgb(0, 0, 0); font-
family: 'Times New Roman'; font-style: normal; font-variant: normal; font-
weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-
align: auto; text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-
border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size:
medium; ">
<span class="Apple-style-span"
style="font-family: arial, helvetica, clean, sans-serif; font-
size: 11px; line-height: 13px; text-align: center; ">
© 2010 Copyright INFOINDIA.com, All Rights Reserved.<span
class="Apple-converted-space">&nbsp;</span><a
href="Help.aspx"
style="cursor: pointer; color: rgb(8, 84, 166); text-
decoration: none !important; ">Help</a><span class="Apple-converted-
space">&nbsp;</span>|<span
class="Apple-converted-space">&nbsp;</span><a
href="AboutUs.aspx"
style="cursor: pointer; color: rgb(33, 74, 117); text-
decoration: underline !important; ">About Us</a></span></span></td>
</tr>
</table>

</body>
</html>
Code for UserMaster.master
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="User.master.cs"
Inherits="User" %>

<%@ Register src="webusercontrols/header.ascx" tagname="header" tagprefix="uc1"


%>
<%@ Register src="webusercontrols/headerfrpfile.ascx" tagname="headerfrpfile"
tagprefix="uc2" %>

<%@ Register src="webusercontrols/UserFooter.ascx" tagname="UserFooter"


tagprefix="uc3" %>

<!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>Untitled Page</title>
<link href="stylesheet/users.css" rel="stylesheet" type="text/css" />
</head>
<body background="images/bg.jpg">
<form id="form1" runat="server">
<center>
<table width="75%" style="background-color:White">
<tr>
<td colspan="2">
<uc2:headerfrpfile ID="headerfrpfile1" runat="server" />
</td>
</tr>
<tr>
<td width="83%" rowspan="3">
<asp:ImageButton ID="ImageButton1" runat="server"
ImageUrl="~/images/imgad.gif" Width="100%" />
</td>
<td>
<asp:ImageButton ID="ImageButton2" runat="server"
ImageUrl="~/images/ss_gif2.gif" Height="90px" Width="155px" />
</td>

</table>

<table width="75%" style="background-color:White">


<tr style="width:100%">

<td bgcolor="blue">
<asp:HyperLink ID="hlnkhome" runat="server" Font-Bold="False"
Font-Names="Cambria" Font-Size="Large" Font-Underline="False"
ForeColor="White"
NavigateUrl="~/frmMyProfile.aspx">Profile Home</asp:HyperLink>
&nbsp;|
<asp:HyperLink ID="hlnkeditpr" runat="server" Font-Bold="False"
Font-Names="Cambria" Font-Size="Large" Font-Underline="False"
ForeColor="White"
NavigateUrl="~/EditProfile.aspx">Update Profile</asp:HyperLink>
&nbsp;|
<asp:HyperLink ID="hlnkic" runat="server" Font-Bold="False"
Font-Names="Cambria" Font-Size="Large" Font-Underline="False"
ForeColor="White"
NavigateUrl="~/UserImportantContacts.aspx">Important
Contact</asp:HyperLink>
&nbsp;|
<asp:HyperLink ID="hlnkic0" runat="server" Font-Bold="False"
Font-Names="Cambria" Font-Size="Large" Font-Underline="False"
ForeColor="White"
NavigateUrl="~/ChangePassword.aspx">Change
Password</asp:HyperLink>
&nbsp;</td>

</tr>
<tr>
<td align="left" colspan="6" width="100%">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1"
runat="server">
</asp:ContentPlaceHolder>
</td>

</tr>
</table>
<table width="75%" bgcolor="#999966">
<tr>
<td width="100%">
<uc3:UserFooter ID="UserFooter1" runat="server" />
</td>
</tr>

</table>

</center>

</form>
</body>
</html>

Code for UserMaster.master.cs


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;

public partial class User : System.Web.UI.MasterPage


{
protected void Page_Load(object sender, EventArgs e)
{

}
protected void LinkButton1_Click(object sender, EventArgs e)
{

Response.Redirect("EditProfile.aspx");
}
protected void LinkButton4_Click(object sender, EventArgs e)
{
Response.Redirect("ChangePassword.aspx");
}
protected void LinkButton3_Click(object sender, EventArgs e)
{
Response.Redirect("PostAdd.aspx");
}

Code for AdminHeader.ascx


<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AdminHeader.ascx.cs"
Inherits="webusercontrols_AdminHeader" %>
<table style="background-color: #CC0000; width: 100%;">
<tr>
<td rowspan="2" align="left">
&nbsp;
<asp:LinkButton ID="lnkInfoIndia" runat="server" Font-Bold="True"
Font-Italic="False" Font-Names="Cambria" Font-Overline="False"
Font-Size="X-Large" ForeColor="#FFCCCC" PostBackUrl="~/MainSearch.aspx"
onclick="LinkButton4_Click">INFOINDIA.com</asp:LinkButton>
&nbsp;<asp:LinkButton ID="lnkYellowPages" runat="server" Font-Names="Cambria"
ForeColor="#FFCCCC" Font-Size="Medium" onclick="lnkYellowPages_Click"
Font-Underline="False">Yellow Pages</asp:LinkButton>
</td>
<td align="center">

<asp:Label ID="lblwelcome" runat="server"

style="color: #CCCCCC; font-family: Verdana; font-weight: 700;


font-size: small;"></asp:Label>

</td>
</tr>
<tr>
<td align="center">
<asp:HyperLink ID="hlnkmanage" runat="server" Font-Bold="False"
Font-Names="Cambria" Font-Size="Medium" Font-Underline="False"
ForeColor="#FFCCCC"
NavigateUrl="~/admin/Admin.aspx">Manage</asp:HyperLink>
*<asp:HyperLink ID="hlnkProfile" runat="server" Font-Bold="False"
Font-Names="Cambria" Font-Size="Medium" Font-Underline="False"
ForeColor="#FFCCCC"
NavigateUrl="../frmMyProfile.aspx">Profile</asp:HyperLink>
*<asp:LinkButton ID="LinkButton1" runat="server" Font-Bold="False"
Font-Names="Cambria" Font-Size="Medium" Font-Underline="False"
ForeColor="#FFCCCC"
onclick="LinkButton1_Click">logout</asp:LinkButton>
</td>
</tr>
</table>

Code for AdminHeader.ascx.cs


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class webusercontrols_AdminHeader : System.Web.UI.UserControl


{
string uid;
protected void Page_Load(object sender, EventArgs e)

{
if (Session["Uid"] != null)
{
uid = Session["Uid"].ToString();
lblwelcome.Text = "Welcome" + " " + uid;
Session["uid1"] = uid;
}
}
protected void LinkButton2_Click(object sender, EventArgs e)
{
Response.Redirect("frmMyProfile.aspx");

}
protected void LinkButton4_Click(object sender, EventArgs e)
{
Response.Redirect("~/frmprofile.aspx");
}
protected void lnkClassifieds_Click(object sender, EventArgs e)
{
Response.Redirect("~/BuySell.aspx");
}
protected void lnkYellowPages_Click(object sender, EventArgs e)
{
Response.Redirect("~/frmprofile.aspx");
}
protected void LinkButton1_Click(object sender, EventArgs e)
{
Response.Redirect("~/MainSearch.aspx");
}
}

Code for Header.ascx


<%@ Control Language="C#" AutoEventWireup="true" CodeFile="header.ascx.cs"
Inherits="WebUserControl" %>
<table style="background-color: #CC0000; width: 100%;">
<tr>
<td rowspan="2">
&nbsp;
<asp:LinkButton ID="LinkButton4" runat="server" Font-Bold="True"
Font-Italic="False" Font-Names="Cambria" Font-Overline="False"
Font-Size="X-Large" ForeColor="#FFCCCC" PostBackUrl="~/MainSearch.aspx"
onclick="LinkButton4_Click">INFOINDIA.com</asp:LinkButton>
&nbsp;&nbsp;&nbsp;&nbsp;
|
<asp:LinkButton ID="LinkButton8" runat="server" Font-Names="Cambria"
ForeColor="#FFCCCC" Font-Size="Medium"
onclick="LinkButton8_Click">Yellow Pages</asp:LinkButton>
</td>
<td>

<asp:Label ID="Label1" runat="server" style="color: #CCCCCC"></asp:Label>

</td>
</tr>
<tr>
<td>
<asp:LinkButton ID="LinkButton1" runat="server" Font-Names="Cambria"
Font-Underline="False" ForeColor="#FFCCCC" Font-Size="Medium"
onclick="LinkButton1_Click">Register</asp:LinkButton>
*<asp:LinkButton ID="LinkButton2" runat="server" Font-
Names="Cambria"
Font-Underline="False" ForeColor="#FFCCCC" Font-Size="Medium"
onclick="LinkButton2_Click" ValidationGroup="h1">Login</asp:LinkButton>
</td>
</tr>
</table>

Code for Header.ascs.cs


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class WebUserControl : System.Web.UI.UserControl


{
protected void Page_Load(object sender, EventArgs e)
{
//if (Session["Uid"] != null)
//{
// string uid = Session["uid"].ToString;
// Label1.Text = "Welcome" + " " + uid;
//}
}
protected void LinkButton2_Click(object sender, EventArgs e)
{
Response.Redirect("login.aspx");

}
protected void LinkButton1_Click(object sender, EventArgs e)
{
Response.Redirect("FrmRegistration.aspx");
}
protected void LinkButton9_Click(object sender, EventArgs e)
{
if (Session["UID"] != null)
{
Response.Redirect("My List.aspx");
}
else
{
Response.Redirect("login.aspx");
}
}
protected void LinkButton4_Click(object sender, EventArgs e)
{
Response.Redirect("Mainsearch.aspx");
}
protected void LinkButton5_Click(object sender, EventArgs e)
{
Response.Redirect("BuySell.aspx");
}
protected void LinkButton8_Click(object sender, EventArgs e)
{
Response.Redirect("Mainsearch.aspx");
}
}
Code For Header2.ascx
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="header2.ascx.cs"
Inherits="WebUserControl2" %>

<table border="0px" cellspacing="0px" style="height: 116px" width="100%"


>
<tr>
<td style="font-family: Verdana; font-size: large; color: #808080">

&nbsp;</td>
<td style="font-family: Verdana; font-size: large; color: #808080">

&nbsp;</td>
</tr>
<tr>
<td>
<asp:LinkButton ID="lnkRealEstate" runat="server"
BackColor="#990000"
Font-Bold="False" Font-Names="Cambria" Font-Size="Medium"
Font-Underline="False"
ForeColor="White" onclick="lnkRealEstate_Click">Real
Estate</asp:LinkButton>
<asp:LinkButton ID="lnkTravel" runat="server" Font-Bold="False"
Font-Names="Cambria"
Font-Size="Medium" Font-Underline="False"
BackColor="#990000"
ForeColor="White"
onclick="lnkTravel_Click">Travel</asp:LinkButton>
<asp:LinkButton ID="lnkHomeServices" runat="server" Font-
Bold="False"
BackColor="#990000" Font-Size="Medium" Font-
Underline="False"
ForeColor="White" Font-Names="Cambria"
onclick="lnkHomeServices_Click">Home Services</asp:LinkButton>
<asp:LinkButton ID="lnkBusinessServices" runat="server"
BackColor="#990000"
Font-Bold="False" Font-Names="Cambria" Font-Size="Medium"
Font-Underline="False"
ForeColor="White"
onclick="lnkBusinessServices_Click">Business Services</asp:LinkButton>
<asp:LinkButton ID="lnkRentals" runat="server"
BackColor="#990000"
Font-Bold="False" Font-Names="Cambria" Font-Size="Medium"
Font-Underline="False"
ForeColor="White"
onclick="lnkRentals_Click">Rentals</asp:LinkButton>
<asp:LinkButton ID="lnkcarbike" runat="server"
BackColor="#990000"
Font-Bold="False" Font-Names="Cambria" Font-Size="Medium"
Font-Underline="False"
ForeColor="White"
onclick="lnkcarbike_Click">Cars/Bikes</asp:LinkButton>
<asp:LinkButton ID="lnkComputers" runat="server"
BackColor="#990000"
Font-Bold="False" Font-Size="Medium" Font-Underline="False"
ForeColor="White" Font-Names="Cambria"
onclick="lnkComputers_Click">Computers
&amp; Mobiles</asp:LinkButton>
<asp:LinkButton ID="lnkElectronics" runat="server"
BackColor="#990000"
Font-Names="Cambria" Font-Size="Medium" Font-
Underline="False"
ForeColor="White"
onclick="lnkElectronics_Click">Electronics</asp:LinkButton>
<asp:LinkButton ID="lnkEducation" runat="server"
BackColor="#990000"
Font-Names="Cambria" Font-Size="Medium" Font-
Underline="False"
ForeColor="White" Font-Bold="False"
onclick="lnkEducation_Click">Education</asp:LinkButton>

</td>
<td width="10%" align="center" valign="middle">
&nbsp;</td>
</tr>
<tr>
<td style="background-image: url('../images/3pic1.jpg')"
colspan="2">

&nbsp;</td>
</tr>
<tr>
<td style="font-family: Cambria" valign="top" colspan="2"
class="style1">
&nbsp; Select cities :
<asp:LinkButton ID="lnkdelhi" runat="server" Font-Bold="True"
Font-Names="Cambria" Font-Size="Medium" Font-
Underline="False"
onclick="LinkButton18_Click">Delhi</asp:LinkButton>
&nbsp;|
<asp:LinkButton ID="lnkkolkata" runat="server" Font-Bold="True"
Font-Names="Cambria" Font-Size="Medium" Font-
Underline="False"
onclick="lnkkolkata_Click">Agara</asp:LinkButton>
&nbsp;|
<asp:LinkButton ID="lklMumbai" runat="server" Font-Bold="True"
Font-Names="Cambria" Font-Size="Medium" Font-
Underline="False"
onclick="lklMumbai_Click">Lucknow</asp:LinkButton>
&nbsp;|
<asp:LinkButton ID="lnkBanglore" runat="server" Font-
Bold="True"
Font-Names="Cambria" Font-Size="Medium" Font-
Underline="False"
onclick="lnkBanglore_Click">Indore</asp:LinkButton>
&nbsp;|
<asp:LinkButton ID="LinkButton22" runat="server" Font-
Bold="True"
Font-Names="Cambria" Font-Size="Medium" Font-
Underline="False"
onclick="LinkButton22_Click">Allahabad</asp:LinkButton>
&nbsp;|
<asp:LinkButton ID="LinkButton23" runat="server" Font-
Bold="True"
Font-Names="Cambria" Font-Size="Medium" Font-
Underline="False"
onclick="LinkButton23_Click">Varanasi</asp:LinkButton>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
</tr>

</table>

Code for Header2.ascx.cs


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class WebUserControl2 : System.Web.UI.UserControl


{
protected void Page_Load(object sender, EventArgs e)
{

protected void lnkRealEstate_Click(object sender, EventArgs e)


{
Session["Type"] = 9;
Response.Redirect("Serch By service.aspx");

}
protected void lnkTravel_Click(object sender, EventArgs e)
{
Session["Type"] = 11;
Response.Redirect("Serch By service.aspx");
}
protected void lnkHomeServices_Click(object sender, EventArgs e)
{
Session["Type"] = 10;
Response.Redirect("Serch By service.aspx");
}
protected void lnkBusinessServices_Click(object sender, EventArgs e)
{
Session["Type"] = 3;
Response.Redirect("Serch By service.aspx");
}
protected void lnkRentals_Click(object sender, EventArgs e)
{
Session["Type"] = 13;
Response.Redirect("Serch By service.aspx");
}
protected void lnkcarbike_Click(object sender, EventArgs e)
{
Session["BType"] = 31;
Response.Redirect("SerchByType.aspx");
}
protected void lnkComputers_Click(object sender, EventArgs e)
{
Session["BType"] = 28;
Response.Redirect("SerchByType.aspx");
}

protected void lnkElectronics_Click(object sender, EventArgs e)


{
Session["BType"] = 42;
Response.Redirect("SerchByType.aspx");
}
protected void lnkEducation_Click(object sender, EventArgs e)
{
Session["Type"] = 5;
Response.Redirect("Serch By service.aspx");
}
protected void lnkbuysell_Click(object sender, EventArgs e)
{

Response.Redirect("BuySell.aspx");
}
protected void LinkButton18_Click(object sender, EventArgs e)
{
Session["ICT"] = "Delhi";
Response.Redirect("SearchbyCT.aspx");

}
protected void LinkButton23_Click(object sender, EventArgs e)
{
Session["ICT"] = "Varanasi";
Response.Redirect("SearchbyCT.aspx");
}
protected void lklMumbai_Click(object sender, EventArgs e)
{
Session["ICT"] = "Lucknow";
Response.Redirect("SearchbyCT.aspx");
}
protected void LinkButton22_Click(object sender, EventArgs e)
{
Session["ICT"] = "Alahabad";
Response.Redirect("SearchbyCT.aspx");
}
protected void lnkBanglore_Click(object sender, EventArgs e)
{
Session["ICT"] = "Indore";
Response.Redirect("SearchbyCT.aspx");
}
protected void lnkkolkata_Click(object sender, EventArgs e)
{
Session["ICT"] = "Agara";
Response.Redirect("SearchbyCT.aspx");
}
}

Code for Header3.ascx


<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Header3.ascx.cs"
Inherits="WebUserControl3" %>
<table width="100%" bgcolor="#FF9933">
<tr>

<td style="font-family: Verdana" align="right" valign="middle">

<br />
&nbsp;<b>
<span style="font-style:normal; font-size:x-large; font-
stretch:condensed">City</span></b>&nbsp;<asp:DropDownList
ID="ddlCity" runat="server" Height="23px"
Width="185px"
ValidationGroup="a"
onselectedindexchanged="ddlCity_SelectedIndexChanged"
AutoPostBack="True">
</asp:DropDownList>
&nbsp;&nbsp;<br />
<br />

</td>

<td style="font-family: Verdana" align="center" valign="middle">

<span style="font-style:normal; font-size:x-


large; font-stretch:condensed; font-weight:
700;">Catagory</span>&nbsp;<asp:TextBox ID="txtCatagory"
runat="server" Height="17px" Width="185px"
ValidationGroup="a"></asp:TextBox>

</td>

<td style="font-family: Verdana; width:20%" align="left"


valign="middle">

<asp:Button ID="Searchbutton" runat="server"


Text="Search"
onclick="Searchbutton_Click"
ValidationGroup="a" />

</td>
</tr>
</table>
<p>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="ddlCity" Display="None"
ErrorMessage="RequiredFieldValidator" SetFocusOnError="True"
ValidationGroup="a"></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="txtCatagory" Display="None"
ErrorMessage="RequiredFieldValidator" SetFocusOnError="True"
ValidationGroup="a"></asp:RequiredFieldValidator>
</p>
<asp:ValidationSummary ID="ValidationSummary1" runat="server" Height="34px"
ShowMessageBox="True" ShowSummary="False" ValidationGroup="a" Width="204px"
/>

Code for Header3.ascx.cs


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class WebUserControl3 : System.Web.UI.UserControl


{
protected void Page_Load(object sender, EventArgs e)
{

if (IsPostBack != true)
{

fillddl();
}
}
public void fillddl()
{
string txt = "";
string id = "";
string constr = "Data Source=.;Initial Catalog=Yellowpages;Integrated
Security=True";
SqlConnection con = new SqlConnection(constr);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.Connection = con;
cmd.CommandText = "select CT_ID, CT_Name from CityMasterTbl Order by
CT_ID";
SqlDataReader dr = cmd.ExecuteReader();
if (dr.HasRows)
{
while (dr.Read())
{
txt = dr["CT_Name"].ToString();
id = dr["CT_ID"].ToString();
ddlCity.Items.Add(new ListItem(txt, id));
}
}

dr.Close();
con.Close();
}

protected void Searchbutton_Click(object sender, EventArgs e)


{
Session["CT"] = ddlCity.SelectedItem.Text;

Session["Catagory"] = txtCatagory.Text;
if (Session["uid"] != null)
{
Response.Redirect("Main.aspx");
}
else
{

Response.Redirect("mainsearch1.aspx");
}
}
protected void ddlCity_SelectedIndexChanged(object sender, EventArgs e)
{

Session["CT"] = ddlCity.SelectedItem.Text;

}
}

Code For HeaderProfile.ascx


<%@ Control Language="C#" AutoEventWireup="true"
CodeFile="headerfrpfile.ascx.cs" Inherits="WebUserControl4" %>
<table style="background-color: #CC0000; width: 100%;">
<tr>
<td rowspan="2">
&nbsp;
<asp:LinkButton ID="lnkInfoIndia" runat="server" Font-Bold="True"
Font-Italic="False" Font-Names="Cambria" Font-Overline="False"
Font-Size="X-Large" ForeColor="#FFCCCC" PostBackUrl="~/MainSearch.aspx"
onclick="LinkButton4_Click">INFOINDIA.com</asp:LinkButton>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:LinkButton ID="lnkYellowPages" runat="server" Font-Names="Cambria"
ForeColor="#FFCCCC" Font-Size="Medium"
onclick="lnkYellowPages_Click">Yellow Pages</asp:LinkButton>
</td>
<td align="center">

<asp:Label ID="lblwelcome" runat="server"


style="color: #CCCCCC; font-family: Verdana; font-weight: 700;
font-size: small;"></asp:Label>

</td>
</tr>
<tr>
<td align="center">
<asp:HyperLink ID="hlnkProfile" runat="server" Font-Bold="False"
Font-Names="Cambria" Font-Size="Medium" Font-Underline="False"
ForeColor="#FFCCCC"
NavigateUrl="~/frmMyProfile.aspx?">Profile</asp:HyperLink>
*<asp:HyperLink ID="hlnkLogOut" runat="server" Font-Bold="False"
Font-Names="Cambria" Font-Size="Medium" Font-Underline="False"
ForeColor="#FFCCCC"
NavigateUrl="~/Mainsearch.aspx">Logout</asp:HyperLink>
</td>
</tr>
</table>

Code for HeaderProfile.ascx.cs


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class WebUserControl4 : System.Web.UI.UserControl


{
string uid;

protected void Page_Load(object sender, EventArgs e)


{
if (Session["Uid"] != null)
{
uid = Session["Uid"].ToString();
lblwelcome.Text = "Welcome" + " " + uid;
//Session["uid1"] = uid;
}
}
protected void LinkButton2_Click(object sender, EventArgs e)
{
Response.Redirect("frmMyProfile.aspx");
}
protected void LinkButton1_Click(object sender, EventArgs e)
{
Response.Redirect("FrmRegistration.aspx");
}
protected void LinkButton4_Click(object sender, EventArgs e)
{
Response.Redirect("frmprofile.aspx");
}
protected void lnkClassifieds_Click(object sender, EventArgs e)
{
Response.Redirect("BuySell.aspx");
}
protected void lnkYellowPages_Click(object sender, EventArgs e)
{
Response.Redirect("frmprofile.aspx");
}
}

Code for UserFooter.ascx


<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UserFooter.ascx.cs"
Inherits="webusercontrols_UserFooter" %>
<center>

<table width="100%" bgcolor="White" align="center">


<tr>
<td style="width:20%" align="center">
<asp:HyperLink ID="HyperLink9" runat="server" Font-Names="Cambria"
Font-Size="X-Large" Font-Underline="False" ForeColor="#33CCCC"
NavigateUrl="~/businessregisteration.aspx"
style="font-size: x-large; font-weight: 700;">Claim Your
Business</asp:HyperLink>
</td >
<td style="width:62%">
&nbsp;</td>
<td width="20%" bgcolor="White">
<asp:ImageButton ID="ImageButton1" runat="server" Height="62px"
ImageUrl="~/images/112_Running Free button.gif" Width="205px" />
</td>
</tr>
</table>
<br />

</center>

Code for Stylesheet


.td {
vertical-align: top;
font-family:Cambria;
height:25px;
font-style:oblique;
font-size:16px;
color:Blue;
}
.pageWidth {
MARGIN: 0px auto; WIDTH: 950px
}
#container {
BACKGROUND: #fff
}
#printContainer {
BACKGROUND: #fff
}
#content {
Z-INDEX: 3
}
#contentBar {
FLOAT: left
}
#sideBar {
FLOAT: right
}
#leftCol {
FLOAT: left
}
#middleCol {
FLOAT: left
}
DIV#gNav {
PADDING-RIGHT: 0px; BORDER-TOP: #ccc 1px dotted; MARGIN-TOP: 3px;
PADDING-LEFT: 25px; Z-INDEX: 6; PADDING-BOTTOM: 11px; PADDING-TOP: 5px
}
DIV#gNavStatic {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 11px; PADDING-TOP:
11px
}
DIV#gNavStatic .nav {
MARGIN-TOP: 16px
}
DIV#gNav H3 SPAN {
FONT-WEIGHT: normal
}
UL.nav LI {
PADDING-LEFT: 20px; FLOAT: left
}
UL.nav LI .signUp {
border: 1px solid #f1f1f1;
padding: 2px 5px;
BACKGROUND: url(/images/buttons/default_btn.gif) repeat-x; moz-border-
radius: 3px; webkit-border-radius: 3px
}
DIV#gNav UL LI {
FLOAT: left; COLOR: #ccc; HEIGHT: 1%
}
DIV#gNav UL LI A {
FONT-WEIGHT: bold
}
DIV#gNavStatic UL LI A {
FONT-WEIGHT: bold
}
.addBizLink {
BACKGROUND-POSITION: left -2550px; PADDING-LEFT: 18px! important
}
.ypHead {
PADDING-RIGHT: 5px; MARGIN-TOP: 5px; PADDING-LEFT: 5px; BACKGROUND:
#fff36a; PADDING-BOTTOM: 5px; COLOR: black; PADDING-TOP: 5px; moz-border-
radius: 5px; webkit-border-radius: 5px
}
.ypHead SPAN {
BACKGROUND-POSITION: 5px -3919px
}
#header {
Z-INDEX: 5; WIDTH: 100%; BORDER-BOTTOM: #71c9ff 5px solid; POSITION:
relative
}
.headerContent {
PADDING-RIGHT: 10px; PADDING-LEFT: 0px; PADDING-BOTTOM: 20px; PADDING-
TOP: 0px
}
.dropdown {
RIGHT: 0px; WIDTH: 125px; POSITION: absolute; TOP: 20px
}
.dropdown LI {
padding: 0px;
CLEAR: both; DISPLAY: block; FLOAT: none! important; MARGIN:
0px; WHITE-SPACE: nowrap; HEIGHT: 1%
}
.dropdownInner {
BORDER-RIGHT: #999 2px solid; PADDING-RIGHT: 10px; BORDER-TOP: #999 4px
solid; PADDING-LEFT: 10px; Z-INDEX: 10; BACKGROUND: #f4fbff; FLOAT: right;
PADDING-BOTTOM: 10px; BORDER-LEFT: #999 2px solid; PADDING-TOP: 10px; BORDER-
BOTTOM: #999 2px solid
}
.dropdown A {
PADDING-RIGHT: 5px; DISPLAY: block; PADDING-LEFT: 5px; PADDING-BOTTOM:
3px; PADDING-TOP: 3px
}
.dropdown A:hover {
BACKGROUND-COLOR: #caf0fa
}
.dropdown A.closeBtn:hover {
BACKGROUND-COLOR: #f4fbff
}
DIV.filterDropdown {
Z-INDEX: 100; LEFT: 155px; WIDTH: 620px; POSITION: absolute
}
DIV.filterDropdown .dropdownInner {
POSITION: relative
}
.filterDropdown UL.list {
FLOAT: left; WIDTH: 190px
}
.moreFilters {
TOP: 0px
}
.moreFilters .allFiltersHeight {
OVERFLOW: auto; HEIGHT: 280px
}
.moreDrop .dropdown A {
WIDTH: 116px
}
DIV.localSuggestContainer {
BORDER-RIGHT: #c2e8ff 1px solid; BORDER-TOP: #c2e8ff 1px solid; FONT-
SIZE: 0.9em; Z-INDEX: 52; BACKGROUND: #fff; LEFT: 0px; OVERFLOW: auto; BORDER-
LEFT: #c2e8ff 1px solid; WIDTH: 100%; BORDER-BOTTOM: #c2e8ff 1px solid;
POSITION: absolute; TOP: 31px
}
DIV.localSuggestContainer DIV.suggestNormal {
PADDING-RIGHT: 5px; PADDING-LEFT: 8px; FONT-WEIGHT: normal; PADDING-
BOTTOM: 2px; COLOR: #333; PADDING-TOP: 2px
}
DIV.localSuggestContainer DIV.suggestHover {
PADDING-RIGHT: 5px; BORDER-TOP: #c2e8ff 1px solid; PADDING-LEFT: 8px; Z-
INDEX: 53; PADDING-BOTTOM: 1px; PADDING-TOP: 1px; BORDER-BOTTOM: #c2e8ff 1px
solid; BACKGROUND-COLOR: #f4fbff
}
DIV.localSuggestContainer DIV.suggestHeader {
PADDING-RIGHT: 9px; PADDING-LEFT: 9px; FONT-WEIGHT: bold; FONT-SIZE: 1em;
Z-INDEX: 54; BACKGROUND: #ecf7fe; PADDING-BOTTOM: 4px; TEXT-TRANSFORM:
uppercase; COLOR: #1a68a1; PADDING-TOP: 4px; LETTER-SPACING: 1px
}
DIV.localSuggestContainer DIV.suggestSticky {
COLOR: #004156
}
DIV.localSuggestContainer DIV.suggestStickyHover {
COLOR: #fff; BACKGROUND-COLOR: #004156
}
DIV.metroCityList {
FONT-SIZE: 0.9em; Z-INDEX: 600; LEFT: 0px; POSITION: absolute; TOP: 46px
}
.metroCiltyBox {
WIDTH: 720px
}
.nextPre A {
DISPLAY: inline
}
.rightNav .dropdownInner LI A {
padding: 3px;
}
.popularMetros {
PADDING-RIGHT: 1em; PADDING-LEFT: 1em; PADDING-BOTTOM: 5px; WIDTH: 390px;
PADDING-TOP: 5px
}
.allCities {
PADDING-RIGHT: 1em; PADDING-LEFT: 1em; PADDING-BOTTOM: 5px; WIDTH: 390px;
PADDING-TOP: 5px
}
DIV.metroCityList DIV.popularMetros {
BORDER-RIGHT: #999 1px dotted; BACKGROUND: #fff; WIDTH: 260px; HEIGHT:
360px
}
DIV.metroCityList DIV.popularMetros LI A {
TEXT-TRANSFORM: uppercase
}
.allCities UL.cityDropdown LI A {
COLOR: #888
}
UL.cityDropdown {
FLOAT: left; MARGIN: 5px; OVERFLOW: hidden; WIDTH: 122px; HEIGHT: 313px
}
UL.cityDropdown LI {
padding: 0px;
DISPLAY: block; FLOAT: none! important; HEIGHT: 1%
}
UL.cityDropdown LI A {
padding: 5px;
DISPLAY: block; FONT-WEIGHT: bold; MARGIN: 0px; BORDER-
BOTTOM: #ccc 1px dotted
}
UL.cityDropdown LI A:hover {
BACKGROUND: #0db7f6; COLOR: #fff
}
#header .searchWrap {
FLOAT: left; MARGIN-LEFT: 30px; WIDTH: 765px
}
.searchLeft {
PADDING-LEFT: 14px; BACKGROUND: url(/images/elements/sprite-
searchbox.png) no-repeat 0px 0px
}
.searchRight {
PADDING-RIGHT: 13px; BACKGROUND: url(/images/elements/sprite-
searchbox.png) no-repeat right -68px
}
.searchMiddle {
BACKGROUND: url(/images/elements/sprite-searchbox.png) repeat-x 0px
-137px; HEIGHT: 58px
}
#header A.cityName {
BORDER-RIGHT: #c6eefd 1px dotted; PADDING-RIGHT: 30px! important;
BACKGROUND-POSITION: right -2170px; BORDER-TOP: #fff 1px dotted; PADDING-LEFT:
7px! important; FONT-WEIGHT: bold; FONT-SIZE: 1.3em; PADDING-BOTTOM: 5px!
important; BORDER-LEFT: #c6eefd 1px dotted; COLOR: #333; PADDING-TOP: 5px!
important; BORDER-BOTTOM: #c6eefd 1px dotted; HEIGHT: 18px
}
#header A.cityName:hover {
BORDER-RIGHT: #999 1px solid; BORDER-TOP: #999 1px solid; BORDER-LEFT:
#999 1px solid; BORDER-BOTTOM: #999 1px solid; BACKGROUND-COLOR: #fff
}
.searchWrap H3 {
FONT-SIZE: 1.85em; PADDING-BOTTOM: 10px; LINE-HEIGHT: 0.71em
}
.searchWrap .area {
FONT-SIZE: 11px; FLOAT: left; PADDING-TOP: 5px
}
.searchWrap .searchTips {
FONT-SIZE: 11px; FLOAT: right; PADDING-TOP: 5px
}
.searchWrap STRONG {
FONT-SIZE: 1.3em; FLOAT: left; MARGIN: 0px 10px; LINE-HEIGHT: 35px;
HEIGHT: 35px
}
.searchWrap .searchPad {
PADDING-TOP: 15px
}
.searchWrap .search {
WIDTH: 265px
}
.searchWrap .locality {
WIDTH: 130px
}
.searchWrap DIV.localSuggestContainer {
LEFT: 1px! important; WIDTH: 99%! important; TOP: 30px! important
}
.searchWrap .srchInput {
BORDER-RIGHT: #999 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #999 1px
solid; PADDING-LEFT: 5px; FONT-SIZE: 1.2em; PADDING-BOTTOM: 4px; MARGIN: 0px;
BORDER-LEFT: #999 1px solid; PADDING-TOP: 6px; BORDER-BOTTOM: #999 1px solid;
HEIGHT: 20px
}
.searchWrap .btn {
FONT-SIZE: 18px; BACKGROUND: url(/images/elements/search-box.png) no-
repeat; PADDING-BOTTOM: 5px; WIDTH: 91px; CURSOR: pointer; COLOR: #333; BORDER-
TOP-STYLE: none; LINE-HEIGHT: 16px; PADDING-TOP: 0px; BORDER-RIGHT-STYLE: none;
BORDER-LEFT-STYLE: none; HEIGHT: 34px; TEXT-ALIGN: center; BORDER-BOTTOM-STYLE:
none
}
.searchWrap .srchBtn {
BACKGROUND-POSITION: right -110px
}
.searchWrap .srchBtnHover {
BACKGROUND-POSITION: right -154px
}
.what {
BACKGROUND: url(/images/elements/search-box.png) no-repeat -3px -2px;
FLOAT: left; MARGIN-RIGHT: 5px; HEIGHT: 40px
}
.where {
BACKGROUND: url(/images/elements/search-box.png) no-repeat -3px -88px;
FLOAT: left; MARGIN-RIGHT: 5px; HEIGHT: 40px
}
.srchInputLeft .srchLabel {
PADDING-RIGHT: 0px; PADDING-LEFT: 15px; FONT-SIZE: 1.3em; FLOAT: left;
PADDING-BOTTOM: 8px; WIDTH: 63px; COLOR: #666; PADDING-TOP: 8px
}
.srchInputLeft .srchInputRight {
PADDING-RIGHT: 5px; BACKGROUND: url(/images/elements/search-box.png) no-
repeat right -51px; FLOAT: left; WIDTH: 240px; HEIGHT: 40px
}
.what .srchInputRight {
WIDTH: 255px
}
.where .srchInputRight {
WIDTH: 205px
}
.srchInputLeft INPUT {
BACKGROUND: none transparent scroll repeat 0% 0%; VERTICAL-ALIGN: text-
top; BORDER-TOP-STYLE: none; LINE-HEIGHT: 1.2em! important; BORDER-RIGHT-STYLE:
none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none
}
.srchInputLeft INPUT:unknown {
outline: none
}
.searchBox {
BORDER-RIGHT: #ccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #ccc 1px
solid; MARGIN-TOP: -1px; PADDING-LEFT: 5px; Z-INDEX: 60; RIGHT: 0px;
BACKGROUND: #f3f3f3; PADDING-BOTTOM: 5px; BORDER-LEFT: #ccc 1px solid; PADDING-
TOP: 5px; BORDER-BOTTOM: #ccc 1px solid; POSITION: absolute; TOP: 20px
}
.searchBox SPAN.inputWrap {
BORDER-RIGHT: #999 1px solid; BORDER-TOP: #999 1px solid; BACKGROUND:
#fff; MARGIN: 0px 0px 5px; BORDER-LEFT: #999 1px solid; WIDTH: 200px; PADDING-
TOP: 2px; BORDER-BOTTOM: #999 1px solid
}
#searchHelp {
CLEAR: both; DISPLAY: block; WIDTH: 200px
}
.searchBox SPAN.inputWrap INPUT {
PADDING-RIGHT: 5px; PADDING-LEFT: 5px; BACKGROUND: none transparent
scroll repeat 0% 0%; PADDING-BOTTOM: 2px; WIDTH: 150px! important; BORDER-TOP-
STYLE: none! important; PADDING-TOP: 2px; BORDER-RIGHT-STYLE: none! important;
BORDER-LEFT-STYLE: none! important; BORDER-BOTTOM-STYLE: none! important
}
.searchBox SPAN.inputWrap BUTTON {
BACKGROUND-POSITION: right -3745px; MARGIN-RIGHT: 10px; HEIGHT: 20px
}
.searchBox SMALL {
padding: 0px;
DISPLAY: block; FONT-WEIGHT: normal; FONT-SIZE: 0.9em; COLOR:
#666; LINE-HEIGHT: 1.1em;
}
.searchBox SMALL SMALL {
BORDER-TOP: #999 1px dotted; DISPLAY: block
}
SPAN.topLeftRound {
DISPLAY: block; BACKGROUND: url(/images/elements/round_corners.gif) no-
repeat 0px -260px; LEFT: 0px; WIDTH: 21px; POSITION: absolute; TOP: 0px;
HEIGHT: 23px
}
SPAN.topRightRound {
DISPLAY: block; Z-INDEX: 10; RIGHT: -1px; BACKGROUND:
url(/images/elements/round_corners.gif) no-repeat right -260px; WIDTH: 21px;
CURSOR: pointer; POSITION: absolute; TOP: 0px; HEIGHT: 23px
}
SPAN.bottomLeftRound {
DISPLAY: block; BACKGROUND: url(/images/elements/round_corners.gif) no-
repeat left bottom; LEFT: 0px; WIDTH: 21px; BOTTOM: 49px; POSITION: absolute;
HEIGHT: 23px
}
SPAN.bottomRightRound {
DISPLAY: block; RIGHT: 0px; BACKGROUND:
url(/images/elements/round_corners.gif) no-repeat right bottom; WIDTH: 21px;
BOTTOM: 49px; POSITION: absolute; HEIGHT: 23px
}
.breadcrumbs {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: normal! important;
PADDING-BOTTOM: 8px; OVERFLOW: hidden; TEXT-TRANSFORM: none! important; COLOR:
#333; PADDING-TOP: 8px; WHITE-SPACE: normal! important
}
.breadcrumbs A {
MARGIN: 0px 5px; LINE-HEIGHT: 1.5em
}
.useFilter {
PADDING-RIGHT: 8px; PADDING-LEFT: 8px; BACKGROUND:
url(/images/elements/use_filter.gif) no-repeat left bottom; PADDING-BOTTOM:
15px; PADDING-TOP: 5px; TEXT-ALIGN: center
}
.useFilter BIG {
FONT-WEIGHT: bold; FONT-SIZE: 0.9em; TEXT-TRANSFORM: uppercase; LINE-
HEIGHT: 1.3em
}
.alphabet {
PADDING-RIGHT: 0px; BORDER-TOP: #ccc 1px dotted; PADDING-LEFT: 0px; FONT-
SIZE: 0.95em! important; PADDING-BOTTOM: 2px; MARGIN: 0.4em 0em 0.9em; PADDING-
TOP: 2px; BORDER-BOTTOM: #ccc 1px dotted
}
.alphabet SPAN.grey {
FONT-WEIGHT: bold; FONT-SIZE: 1em; CURSOR: default; COLOR: #444; MARGIN-
RIGHT: 10px
}
.alphabet A {
BORDER-RIGHT: #f6f6f6 1px solid; PADDING-RIGHT: 4px; PADDING-LEFT: 4px;
PADDING-BOTTOM: 1px; MARGIN: 0px 0px 0px -3px; TEXT-TRANSFORM: uppercase;
PADDING-TOP: 1px
}
.alphabet SPAN.disable {
BORDER-RIGHT: #f6f6f6 1px solid; PADDING-RIGHT: 4px; PADDING-LEFT: 4px;
PADDING-BOTTOM: 1px; MARGIN: 0px 0px 0px -3px; TEXT-TRANSFORM: uppercase;
CURSOR: default; COLOR: #ccc; PADDING-TOP: 0px
}
.alphabet A:hover {
BACKGROUND: #0087e1; COLOR: #fff; TEXT-DECORATION: none
}
DIV.filters UL LI A:hover {
BACKGROUND: #0087e1; COLOR: #fff; TEXT-DECORATION: none
}
DIV.paginationBar {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 5px; PADDING-TOP:
6px; TEXT-ALIGN: left
}
UL.pagination LI {
padding: 0px;
BACKGROUND: none transparent scroll repeat 0% 0%; FLOAT: left;
BORDER-TOP-STYLE: none! important; LINE-HEIGHT: 1.5em! important;
MARGIN-RIGHT: 5px; BORDER-RIGHT-STYLE: none! important; BORDER-
LEFT-STYLE: none! important; BORDER-BOTTOM-STYLE: none! important
}
UL.pagination LI:unknown {
BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE:
none; BORDER-BOTTOM-STYLE: none
}
UL.pagination LI A {
PADDING-RIGHT: 6px; PADDING-LEFT: 6px; FONT-SIZE: 0.9em; BACKGROUND:
#888; PADDING-BOTTOM: 0px; COLOR: #fff; PADDING-TOP: 0px; TEXT-DECORATION: none
}
UL.pagination LI A:hover {
BACKGROUND: #0099ff; COLOR: #fff
}
UL.pagination LI.active A {
BACKGROUND: #0099ff; COLOR: #fff
}
UL.pagination LI.active A {
BACKGROUND: #ed1c24; CURSOR: default
}
.ypRedirect {
BORDER-RIGHT: #ffcc00 2px solid; PADDING-RIGHT: 15px; BORDER-TOP: #ffcc00
2px solid; PADDING-LEFT: 15px; BACKGROUND: #fef200; PADDING-BOTTOM: 15px;
BORDER-LEFT: #ffcc00 2px solid; PADDING-TOP: 15px; BORDER-BOTTOM: #ffcc00 2px
solid
}
.ypRedirect .msg {
PADDING-RIGHT: 30px; WIDTH: 500px
}
.ypRedirect .left A {
DISPLAY: block; FONT-WEIGHT: bold; FONT-SIZE: 0.9em; MARGIN: 0px 10px 5px
0px; WIDTH: 165px; TEXT-DECORATION: underline
}
.ypRedirect .closeBtn {
RIGHT: 30px; TOP: 30px
}
.footer {
BORDER-TOP: #71c9ff 4px solid; BACKGROUND: url(/images/elements/bg-
footer.gif) repeat-x 50% bottom; MARGIN: 10px auto 0px; WIDTH: 950px; BORDER-
BOTTOM: #04abeb 4px solid
}
.freeCopy {
BORDER-RIGHT: #ccc 1px dotted; PADDING-RIGHT: 25px; PADDING-LEFT: 25px;
FLOAT: left; PADDING-BOTTOM: 10px; WIDTH: 675px; PADDING-TOP: 10px
}
.footer .suggestion {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 10px;
MARGIN: 12px 0px 0px 20px; PADDING-TOP: 10px
}
.footer .suggestion A {
PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FONT-WEIGHT: bold; FONT-SIZE:
1.1em; BACKGROUND: #04abeb; PADDING-BOTTOM: 10px; COLOR: #fff; PADDING-TOP:
10px
}
.footerCont {
BORDER-RIGHT: #ccc 1px solid; BORDER-TOP: #ccc 1px solid; BORDER-LEFT:
#ccc 1px solid; BORDER-BOTTOM: #ccc 0px solid
}
.greyDark A {
COLOR: #00bcff; TEXT-DECORATION: underline
}
.greyDark A:hover {
TEXT-DECORATION: none
}
.footerPad {
PADDING-RIGHT: 25px; PADDING-LEFT: 25px; PADDING-BOTTOM: 20px; PADDING-
TOP: 20px
}
.leftCol {
PADDING-RIGHT: 20px; FLOAT: left; WIDTH: 450px
}
.leftCol P {
LINE-HEIGHT: 1.2em
}
.footerLinks {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 5px; PADDING-TOP:
25px
}
.footerLinks A {
TEXT-DECORATION: underline
}
.footerPad .midCol A {
TEXT-DECORATION: underline
}
.footerLinks A:hover {
TEXT-DECORATION: none
}
.footerPad .midCol A:hover {
TEXT-DECORATION: none
}
.midCol {
BORDER-RIGHT: #ccc 1px dotted; PADDING-RIGHT: 20px; PADDING-LEFT: 20px;
FLOAT: left; PADDING-BOTTOM: 0px; MARGIN-LEFT: 20px; BORDER-LEFT: #ccc 1px
dotted; WIDTH: 168px; PADDING-TOP: 0px; HEIGHT: 180px
}
.rhtCol {
PADDING-LEFT: 20px; FLOAT: left; WIDTH: 168px
}
.footerPad LI {
PADDING-RIGHT: 0px; PADDING-LEFT: 15px; BACKGROUND:
url(/images/icons/icons_sprite.png) no-repeat 0px -4470px; PADDING-BOTTOM:
10px; PADDING-TOP: 0px
}
.footerPad .rhtCol A {
COLOR: #666; TEXT-DECORATION: underline
}
.footerPad .rhtCol A:hover {
COLOR: #0064d5; TEXT-DECORATION: none
}
#homepage {
MARGIN-TOP: 20px
}
#homepage #contentBar {
BORDER-RIGHT: #ccc 1px dotted; WIDTH: 725px
}
#homepage #sideBar {
PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 0px; WIDTH:
185px; PADDING-TOP: 0px
}
.homeProductGroup {
PADDING-RIGHT: 20px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM:
10px; WIDTH: 220px; PADDING-TOP: 10px
}
.homeProductGroup H3 {
FONT-SIZE: 1.3em; COLOR: #0187ef; LINE-HEIGHT: 1.2em
}
.homeProductGroup H3 .count {
DISPLAY: none; FONT-WEIGHT: normal; FONT-SIZE: 0.9em; COLOR: #999
}
.homeProductGroup P A {
FONT-SIZE: 1.1em; COLOR: #666; LINE-HEIGHT: 1.5em
}
.homeProductGroup P A:hover {
COLOR: #0074d7
}
.bdrDotted {
BORDER-TOP: #ccc 1px dotted; FONT-SIZE: 0px
}
.browse {
PADDING-RIGHT: 25px; PADDING-LEFT: 0px; PADDING-BOTTOM: 25px; PADDING-
TOP: 0px
}
.browse A {
PADDING-BOTTOM: 10px
}
.browse A {
FONT-WEIGHT: bold; FLOAT: left; LINE-HEIGHT: 1.5em; MARGIN-RIGHT: 10px
}
.features {
BORDER-TOP: #ccc 1px dotted
}
.dvFeatures H2 {
PADDING-BOTTOM: 10px; PADDING-TOP: 5px
}
.dvFeatures P {
COLOR: #666
}
.dvFeatures H3 {
PADDING-RIGHT: 0px; PADDING-LEFT: 35px; FONT-WEIGHT: bold; FONT-SIZE:
1.2em; PADDING-BOTTOM: 10px; CURSOR: pointer; COLOR: #000; PADDING-TOP: 17px
}
.dvFeatures .col {
BORDER-RIGHT: #fff 1px solid; PADDING-RIGHT: 20px; WIDTH: 220px
}
.dvFeatures .colR {
PADDING-RIGHT: 20px; WIDTH: 205px
}
.hoverFeature A.readMoreLink {
BACKGROUND-POSITION: right -391px; COLOR: #0064d5
}
.testimonials {
BORDER-RIGHT: #ccc 1px dashed; PADDING-RIGHT: 25px; BORDER-TOP: #ccc 1px
dashed; MARGIN-TOP: 10px; PADDING-LEFT: 25px; BACKGROUND: #f9f9f9; PADDING-
BOTTOM: 10px; BORDER-LEFT: #ccc 1px dashed; PADDING-TOP: 10px; BORDER-BOTTOM:
#ccc 1px dashed
}
.testimonialsLeft {
PADDING-LEFT: 65px; BACKGROUND: url(/images/elements/commas.png) no-
repeat 0px 0px
}
.testimonialsRight {
PADDING-RIGHT: 65px; BACKGROUND: url(/images/elements/commas.png) no-
repeat right -81px
}
.testimonialsMiddle {
PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 0px; PADDING-
TOP: 0px; HEIGHT: 62px
}
.testimonials IMG {
BORDER-RIGHT: #fff 1px solid; BORDER-TOP: #fff 1px solid; BORDER-LEFT:
#fff 1px solid; BORDER-BOTTOM: #fff 1px solid
}
.testimonialsMiddle A {
DISPLAY: block; COLOR: #666; LINE-HEIGHT: 1.7em
}
.testimonialsMiddle A SPAN {
PADDING-LEFT: 10px; FLOAT: left; WIDTH: 660px
}
.bottomBar {
MARGIN-TOP: 10px; BACKGROUND: #f9f9f9
}
A.closeFeatures {
BACKGROUND-POSITION: center -500px; MARGIN-TOP: 10px; DISPLAY: block;
HEIGHT: 12px; BACKGROUND-COLOR: #f9f9f9
}
A.closeFeatures:hover {
BACKGROUND-POSITION: center -542px
}
.iconsFeatures {
BACKGROUND: url(/images/icons/sprite_features.png) no-repeat
}
.trusted {
BACKGROUND-POSITION: 0px 14px
}
.search {
BACKGROUND-POSITION: 0px -77px
}
.freeCall {
BACKGROUND-POSITION: 0px -170px
}
.addBusiness {
BACKGROUND-POSITION: 0px -265px
}
DIV#searchpage DIV#contentBar {
BORDER-RIGHT: #ccc 1px dotted; WIDTH: 769px; PADDING-TOP: 5px
}
DIV#searchpage #sideBar {
PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; WIDTH:
160px; PADDING-TOP: 10px
}
DIV#searchpage DIV#contentBar DIV#leftCol {
WIDTH: 160px
}
DIV#searchpage DIV#contentBar DIV#middleCol {
WIDTH: 600px
}
DIV#searchpage DIV#contentBar .sharePlaceholder {
FONT-WEIGHT: normal; FONT-SIZE: 0.95em; Z-INDEX: 5; RIGHT: 10px; TEXT-
TRANSFORM: none; POSITION: absolute; TOP: 8px
}
DIV#middleCol DIV.wrap {
PADDING-LEFT: 10px
}
.resultsHead {
PADDING-RIGHT: 7px! important; PADDING-LEFT: 9px! important; PADDING-
BOTTOM: 10px! important; PADDING-TOP: 12px! important
}
DIV#searchpage .resultsHead H2 {
FONT-WEIGHT: normal; FLOAT: left; WIDTH: 400px
}
DIV.resultList H2 EM {
FONT-WEIGHT: bold! important; FONT-STYLE: normal
}
.resultsHead H2 A {
COLOR: #111
}
DIV.results {
MARGIN-BOTTOM: 10px
}
DIV.results .info {
MARGIN-TOP: 10px
}
P.teleRow .phone {
FONT-SIZE: 1.15em
}
P.productRow {
PADDING-LEFT: 23px! important; FONT-SIZE: 0.9em; COLOR: #666666; LINE-
HEIGHT: 1.15em
}
P.productRow EM {
FONT-WEIGHT: 600; FONT-STYLE: normal
}
DIV.resultList {
BORDER-RIGHT: #d7eeff 1px solid; BORDER-TOP: #d7eeff 1px solid;
BACKGROUND-IMAGE: url(/images/elements/checks.gif); MARGIN-BOTTOM: 10px;
BORDER-LEFT: #d7eeff 1px solid; BORDER-BOTTOM: #d7eeff 1px solid
}
DIV.resultList .resultsHead {
BACKGROUND: #d7eeff
}
DIV.paid {
BORDER-RIGHT: #fff073 1px solid; BORDER-TOP: #fff073 1px solid;
BACKGROUND: #fefcd6; BORDER-LEFT: #fff073 1px solid; BORDER-BOTTOM: #fff073 1px
solid
}
DIV.paid .resultsHead {
BACKGROUND: #fff073
}
DIV.resultListHover {
BORDER-RIGHT: #c2e8ff 1px solid; BORDER-TOP: #c2e8ff 1px solid; BORDER-
LEFT: #c2e8ff 1px solid; BORDER-BOTTOM: #c2e8ff 1px solid
}
DIV.paidHover {
BORDER-RIGHT: #c2e8ff 1px solid; BORDER-TOP: #c2e8ff 1px solid; BORDER-
LEFT: #c2e8ff 1px solid; BORDER-BOTTOM: #c2e8ff 1px solid
}
DIV.resultListHover H2 A {
COLOR: #0187ef! important; TEXT-DECORATION: underline
}
DIV.paidHover H2 A {
COLOR: #0187ef! important; TEXT-DECORATION: underline
}
.ypRow {
PADDING-RIGHT: 5px; BORDER-TOP: #ccc 1px dotted; PADDING-LEFT: 5px;
BACKGROUND: #fafafa; PADDING-BOTTOM: 2px; PADDING-TOP: 3px
}
.ypRow SMALL {
DISPLAY: block; PADDING-TOP: 2px; WHITE-SPACE: nowrap
}
DIV.paid .ypRow {
BACKGROUND: #fdfbea
}
DIV.resultInfo {
PADDING-RIGHT: 8px; PADDING-LEFT: 8px; PADDING-BOTTOM: 1px; PADDING-TOP:
8px
}
DIV.resultInfo P {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 2px; PADDING-TOP:
2px
}
SPAN.phone {
FONT-WEIGHT: bold; FLOAT: left
}
.inside SMALL {
DISPLAY: block; FONT-SIZE: 0.9em; CURSOR: pointer; COLOR: #333
}
.insideList {
BORDER-RIGHT: #e6e6e6 1px solid; BORDER-TOP: #e6e6e6 1px solid;
BACKGROUND: #fafcfe; MARGIN-BOTTOM: 5px; BORDER-LEFT: #e6e6e6 1px solid;
BORDER-BOTTOM: #e6e6e6 1px solid
}
.insideList UL {
PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; PADDING-TOP:
4px
}
.insideList UL LI {
FLOAT: left; WIDTH: 43%; MARGIN-RIGHT: 10px
}
.insideList P {
CLEAR: both; BORDER-TOP: #e6e6e6 1px solid; PADDING-LEFT: 24px!
important; BACKGROUND: #fff
}
DIV#detailpage DIV#contentBar {
WIDTH: 630px
}
DIV#detailpage DIV#sideBar {
WIDTH: 320px
}
DIV.bizDetailBlock {
BORDER-RIGHT: #f3f3f3 1px solid; BORDER-TOP: #f3f3f3 1px; BORDER-LEFT:
#f3f3f3 1px solid; BORDER-BOTTOM: #f3f3f3 1px solid
}
DIV.bizBlueInfoBox {
MIN-HEIGHT: 207px; BACKGROUND: #f7fbff; COLOR: #000
}
DIV.bizNameHeader {
PADDING-RIGHT: 10px; PADDING-LEFT: 10px; BACKGROUND:
url(/images/elements/sprite_bg_xrepeat.gif) #fff repeat-x left -200px; PADDING-
BOTTOM: 9px; PADDING-TOP: 11px; BORDER-BOTTOM: #f3f3f3 1px solid
}
DIV.bizNameHeader H1 {
FLOAT: left; WIDTH: 75%
}
DIV.bizDetailBlock DIV.bizContactInfo {
PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 0px; PADDING-
TOP: 10px
}
DIV.bizContactInfo P {
PADDING-LEFT: 20px; PADDING-BOTTOM: 5px
}
DIV.bizContactInfo ADDRESS {
PADDING-LEFT: 20px; PADDING-BOTTOM: 5px
}
DIV.actionRow {
DISPLAY: block; Z-INDEX: 4; BACKGROUND: #f7fbff; BORDER-BOTTOM: #eee 1px
solid; POSITION: relative
}
DIV.actionRow DIV.ypAdBlock {
PADDING-RIGHT: 0px; PADDING-LEFT: 10px; PADDING-BOTTOM: 2px; PADDING-TOP:
5px
}
DIV.actionRow DIV.greyActionBlock {
PADDING-RIGHT: 10px; PADDING-LEFT: 10px; Z-INDEX: 10; BACKGROUND:
#f3f3f3; PADDING-BOTTOM: 5px; PADDING-TOP: 5px; POSITION: relative
}
DIV.actionRow DIV.greyActionBlock .left {
MARGIN-LEFT: 10px
}
DIV.actionRow DIV.greyActionBlock A {
FONT-SIZE: 0.9em; FLOAT: left; COLOR: #999
}
DIV.actionRow DIV.greyActionBlock A:hover {
FONT-SIZE: 0.9em; FLOAT: left; COLOR: #019cff
}
DIV#sideBar DIV.gMap {
BORDER-RIGHT: #f3f3f3 1px solid; PADDING-RIGHT: 9px; BORDER-TOP: #f3f3f3
1px solid; PADDING-LEFT: 9px; BACKGROUND: #f7fbff; PADDING-BOTTOM: 9px;
OVERFLOW: hidden; BORDER-LEFT: #f3f3f3 0px solid; WIDTH: 301px; PADDING-TOP:
9px; BORDER-BOTTOM: #f3f3f3 1px solid; HEIGHT: 228px
}
.actionLinkBlock {
PADDING-RIGHT: 0px; BORDER-TOP: #eaedf0 1px dashed; PADDING-LEFT: 7px;
PADDING-BOTTOM: 11px; PADDING-TOP: 11px
}
.actionLinkBlock A {
PADDING-LEFT: 4px; FONT-WEIGHT: bold; FONT-SIZE: 0.9em; COLOR: #0087e1;
TEXT-DECORATION: none
}
DIV.bizDetails {
PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; PADDING-
TOP: 20px
}
DIV.oHours {
BORDER-RIGHT: #f3f3f3 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: #f3f3f3
1px solid; PADDING-LEFT: 10px; FONT-SIZE: 0.9em; BACKGROUND: #fff; MARGIN-
BOTTOM: 10px; PADDING-BOTTOM: 0px; MARGIN-LEFT: 20px; BORDER-LEFT: #f3f3f3 1px
solid; COLOR: #666; PADDING-TOP: 0px; BORDER-BOTTOM: #f3f3f3 1px solid
}
DIV.dayRow {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 5px; PADDING-TOP:
5px; BORDER-BOTTOM: #f3f3f3 1px solid
}
DIV.dayRow DIV.dayCol {
FONT-WEIGHT: bold; WIDTH: 80px
}
DIV.dayRow SPAN.left {
MARGIN-RIGHT: 10px
}
.bizDetails H2 {
FONT-SIZE: 1.2em; WIDTH: 485px
}
.bizDetails .find {
MARGIN-RIGHT: 4px
}
.catName {
FONT-WEIGHT: normal; COLOR: #00b2fc; MARGIN-RIGHT: 4px; PADDING-TOP: 2px
}
DIV.productList {
BORDER-RIGHT: #f3f3f3 1px solid; BORDER-TOP: #f3f3f3 1px solid; MARGIN:
5px 0px; BORDER-LEFT: #f3f3f3 1px solid; BORDER-BOTTOM: #f3f3f3 1px solid
}
DIV.productList H4 {
PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FONT-SIZE: 0.95em; BACKGROUND:
#f5fafe; PADDING-BOTTOM: 2px; COLOR: #555; PADDING-TOP: 2px; BORDER-BOTTOM:
#f3f3f3 1px solid
}
DIV.productList H4 A.showhide {
FLOAT: right
}
SPAN.productSnippet {
FONT-WEIGHT: normal! important; COLOR: #666; PADDING-TOP: 2px
}
DIV.productList .list {
MARGIN: 5px 5px 5px 8px
}
UL.noBrand {
DISPLAY: block
}
UL.noBrand LI {
FLOAT: left; WIDTH: 42%; MARGIN-RIGHT: 10px
}
UL.noBrand LI SPAN {
WIDTH: 99%
}
.wrapper {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 5px; PADDING-TOP:
5px
}
.wrapper H3 {
MARGIN-TOP: 10px; FONT-SIZE: 0.9em; COLOR: #777
}
.photos {
MARGIN: 20px 16px 0px 0px
}
.thumb {
BORDER-RIGHT: #e7e7e7 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: #e7e7e7
1px solid; PADDING-LEFT: 4px; FLOAT: left; PADDING-BOTTOM: 4px; MARGIN: 0px
10px 10px 0px; BORDER-LEFT: #e7e7e7 1px solid; PADDING-TOP: 4px; BORDER-BOTTOM:
#e7e7e7 1px solid
}
.thumb A {
DISPLAY: block; OVERFLOW: hidden; WIDTH: 55px; HEIGHT: 55px
}
.for_photo {
BORDER-RIGHT: #e7e7e7 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: #e7e7e7
1px solid; PADDING-LEFT: 4px; BACKGROUND: url(/images/loading.gif) no-repeat
center center; PADDING-BOTTOM: 4px; MARGIN: 10px 0px; BORDER-LEFT: #e7e7e7 1px
solid; PADDING-TOP: 4px; BORDER-BOTTOM: #e7e7e7 1px solid
}
.for_gmap {
BORDER-RIGHT: #e7e7e7 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: #e7e7e7
1px solid; PADDING-LEFT: 4px; BACKGROUND: url(/images/loading.gif) no-repeat
center center; PADDING-BOTTOM: 4px; MARGIN: 10px 0px; BORDER-LEFT: #e7e7e7 1px
solid; PADDING-TOP: 4px; BORDER-BOTTOM: #e7e7e7 1px solid
}
.for_catalog {
BORDER-RIGHT: #e7e7e7 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: #e7e7e7
1px solid; PADDING-LEFT: 4px; BACKGROUND: url(/images/loading.gif) no-repeat
center center; PADDING-BOTTOM: 4px; MARGIN: 10px 0px; BORDER-LEFT: #e7e7e7 1px
solid; PADDING-TOP: 4px; BORDER-BOTTOM: #e7e7e7 1px solid
}
.for_photo IMG {
max-width: 453px; min-width: 20px
}
.videoslide {
WIDTH: 460px; COLOR: #737373
}
.for_video {
BORDER-RIGHT: #ffffff 4px solid; BORDER-TOP: #ffffff 4px solid;
BACKGROUND: #000000 0px 0px; BORDER-LEFT: #ffffff 4px solid; WIDTH: 450px;
BORDER-BOTTOM: #ffffff 4px solid
}
.estab {
PADDING-RIGHT: 4px; PADDING-LEFT: 0px; MARGIN-BOTTOM: 10px; PADDING-
BOTTOM: 3px; PADDING-TOP: 0px; BORDER-BOTTOM: #cccccc 1px dotted
}
DIV.productList UL LI {
COLOR: #666; BORDER-TOP-STYLE: none! important; BORDER-RIGHT-STYLE: none!
important; BORDER-LEFT-STYLE: none! important; BORDER-BOTTOM-STYLE: none!
important
}
SPAN.products {
PADDING-RIGHT: 10px; FLOAT: left; WIDTH: 37%
}
SPAN.brands {
FLOAT: left; WIDTH: 50%; MARGIN-RIGHT: 10px
}
DIV.bizSrchList {
PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; MARGIN:
0px; PADDING-TOP: 10px; BORDER-BOTTOM: #ccc 1px solid
}
DIV.bizSrchListHover {
BACKGROUND: #f4fbff
}
DIV.bizSrchList DIV.leftList {
FLOAT: left; WIDTH: 70%
}
DIV.bizSrchList H3 {
FONT-SIZE: 1.1em
}
DIV.bizSrchList P {
COLOR: #888
}
#quickSearchpage DIV#contentBar {
BORDER-RIGHT: #ccc 1px dotted; WIDTH: 750px; PADDING-TOP: 10px
}
#quickSearchpage DIV#sideBar {
WIDTH: 198px; PADDING-TOP: 10px
}
#quickSearchpage .columnHead {
PADDING-RIGHT: 8px; PADDING-LEFT: 10px; FONT-WEIGHT: bold; FONT-SIZE:
0.9em; PADDING-BOTTOM: 10px; OVERFLOW: hidden; TEXT-TRANSFORM: uppercase;
COLOR: #666; LINE-HEIGHT: 1em; PADDING-TOP: 0px; WHITE-SPACE: nowrap
}
#quickSearchpage .columnHead SPAN.left {
FONT-WEIGHT: normal; FONT-SIZE: 1.2em; TEXT-TRANSFORM: none; COLOR: #333
}
.quickResultRow {
PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; PADDING-
TOP: 10px; BORDER-BOTTOM: #eee 1px solid
}
.quickResultRow .bizName {
FONT-SIZE: 1.1em
}
.quickResultRow .bizName2 {
FONT-SIZE: 1.1em
}
.quickResultRow .bizName {
WIDTH: 220px; MARGIN-RIGHT: 8px
}
.quickResultRow .bizAdd {
WIDTH: 220px; MARGIN-RIGHT: 8px
}
.quickResultRow .bizName2 {
WIDTH: 350px
}
.quickResultNo .bizTel {
WIDTH: 365px
}
.quickResultNo .telNumber {
FLOAT: left; WIDTH: 335px
}
.qrBlueRow {
BACKGROUND: #d2ebfa
}
.qrGreyRow {
BACKGROUND: url(/images/elements/checks.gif)
}
.qfLocalityFilter {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; WIDTH: 110px;
PADDING-TOP: 0px; HEIGHT: 20px
}
#login #contentBar {
WIDTH: 510px
}
.printHeader {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 10px; PADDING-TOP:
10px
}
#printContainer #contentBar {
WIDTH: 100%! important
}
#printContainer #content {
BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px;
BORDER-RIGHT-WIDTH: 0px
}
#printContainer .printFooter {
BORDER-RIGHT: #f3f3f3 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: #f3f3f3
1px solid; MARGIN-TOP: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; BORDER-
LEFT: #f3f3f3 1px solid; PADDING-TOP: 10px; BORDER-BOTTOM: #f3f3f3 1px solid
}
#printContainer UL.blueBullet LI {
FLOAT: left; WIDTH: 30%; MARGIN-RIGHT: 5px
}
#printContainer DIV.productList H4 {
TEXT-TRANSFORM: uppercase
}
#savedListing #contentBar {
BORDER-RIGHT: #ccc 1px dotted; WIDTH: 725px; PADDING-TOP: 10px
}
#savedListing #sideBar {
PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 0px; WIDTH:
204px; PADDING-TOP: 10px
}
HTML {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
BODY {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
DIV {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
UL {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
LI {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
DL {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
DT {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
DD {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
H1 {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
H2 {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
H3 {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
H4 {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
H5 {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
H6 {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
PRE {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
FORM {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
P {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
BLOCKQUOTE {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
FIELDSET {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
INPUT {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
BUTTON {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
HR {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
BR {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px;
LINE-HEIGHT: 1.4em; PADDING-TOP: 0px
}
UL {
LIST-STYLE-TYPE: none
}
OL {
LIST-STYLE-TYPE: none
}
FIELDSET {
BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE:
none; BORDER-BOTTOM-STYLE: none
}
IMG {
BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE:
none; BORDER-BOTTOM-STYLE: none
}
A IMG {
BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE:
none; BORDER-BOTTOM-STYLE: none
}
CAPTION {
TEXT-ALIGN: left
}
TH {
TEXT-ALIGN: left
}
TABLE {
BORDER-COLLAPSE: collapse; border-spacing: 0
}
BODY {
MARGIN: 0px; WIDTH: 100%
}
ADDRESS {
FONT-STYLE: normal
}
.clearfix:unknown {
CLEAR: both; DISPLAY: block; VISIBILITY: hidden; HEIGHT: 0px; content:
"."
}
.paginationBar:unknown {
CLEAR: both; DISPLAY: block; VISIBILITY: hidden; HEIGHT: 0px; content:
"."
}
.clearfix {
DISPLAY: inline-block
}
.paginationBar {
DISPLAY: inline-block
}
HTML .clearfix {
HEIGHT: 1%
}
HTML .paginationBar {
HEIGHT: 1%
}
.clearfix {
DISPLAY: block
}
.paginationBar {
DISPLAY: block
}
BODY {
FONT-SIZE: 12px; COLOR: #333; LINE-HEIGHT: 1.4em; FONT-FAMILY:
Arial,Helvetica,sans-serif
}
TD {
FONT-SIZE: 12px; COLOR: #333; LINE-HEIGHT: 1.4em; FONT-FAMILY:
Arial,Helvetica,sans-serif
}
INPUT {
FONT-SIZE: 12px; COLOR: #333; LINE-HEIGHT: 1.4em; FONT-FAMILY:
Arial,Helvetica,sans-serif
}
TEXTAREA {
FONT-SIZE: 12px; COLOR: #333; LINE-HEIGHT: 1.4em; FONT-FAMILY:
Arial,Helvetica,sans-serif
}
SELECT {
FONT-SIZE: 12px; COLOR: #333; LINE-HEIGHT: 1.4em; FONT-FAMILY:
Arial,Helvetica,sans-serif
}
H1 {
FONT-SIZE: 1.8em; LINE-HEIGHT: 1.1em
}
H2 {
FONT-SIZE: 1.5em
}
H3 {
FONT-SIZE: 1.2em
}
H4 {
FONT-SIZE: 1em
}
.big {
FONT-SIZE: 1.2em
}
.red {
COLOR: #ed1c24! important
}
.grey {
COLOR: #999
}
.black {
COLOR: #333
}
.greyText {
COLOR: #777! important
}
.green {
COLOR: #339900
}
.disable {
BACKGROUND: none transparent scroll repeat 0% 0%; CURSOR: default; COLOR:
#ccc
}
.disable:hover {
BACKGROUND: none transparent scroll repeat 0% 0%; CURSOR: default; COLOR:
#ccc
}
.pointer {
CURSOR: pointer! important
}
.pad {
PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; PADDING-
TOP: 10px
}
.pad5 {
PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; PADDING-TOP:
5px
}
.topPad {
PADDING-TOP: 10px
}
.padt2 {
PADDING-TOP: 2px
}
.leftRightPad {
PADDING-RIGHT: 10px! important; PADDING-LEFT: 10px! important; PADDING-
BOTTOM: 0px! important; PADDING-TOP: 0px! important
}
.bottomPad {
PADDING-BOTTOM: 10px
}
.bPad5 {
PADDING-BOTTOM: 5px! important
}
.leftPad {
PADDING-LEFT: 10px! important
}
.leftPad15 {
PADDING-LEFT: 15px! important
}
.rightPad {
PADDING-RIGHT: 10px! important
}
.topPad5 {
PADDING-TOP: 5px! important
}
.topPad30 {
PADDING-TOP: 30px! important
}
.noPadding {
PADDING-RIGHT: 0px! important; PADDING-LEFT: 0px! important; PADDING-
BOTTOM: 0px! important; PADDING-TOP: 0px! important
}
.padBottomBorder {
PADDING-RIGHT: 10px; PADDING-LEFT: 10px; MARGIN-BOTTOM: 10px; PADDING-
BOTTOM: 10px; PADDING-TOP: 10px; BORDER-BOTTOM: #ccc 1px solid
}
.tb20Pad {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 20px; PADDING-TOP:
20px
}
.margin {
MARGIN: 10px
}
.topMargin20 {
MARGIN-TOP: 20px
}
.topMargin {
MARGIN-TOP: 10px! important
}
.bottomMargin {
MARGIN-BOTTOM: 10px
}
.TBmargin {
MARGIN: 10px 0px
}
.leftMargin {
MARGIN-LEFT: 10px
}
.rightMargin {
MARGIN-RIGHT: 15px
}
.leftRightMargin {
MARGIN: 0px 10px
}
.leftMarginDouble {
MARGIN-LEFT: 35px
}
.noTopMargin {
MARGIN-TOP: 0px! important
}
.noMargin {
MARGIN: 0px
}
.noMarginRight {
MARGIN-RIGHT: 0px! important
}
.minusLeft20M {
MARGIN-LEFT: -23px
}
.noMarginLR {
MARGIN-LEFT: 0px! important; MARGIN-RIGHT: 0px! important
}
.marginT5 {
MARGIN-TOP: 5px
}
.marginR10 {
MARGIN-RIGHT: 10px
}
.padL25 {
PADDING-LEFT: 25px
}
.padTB10 {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 10px; PADDING-TOP:
10px
}
.minusTopMargin {
MARGIN-TOP: -1px
}
.leftPad6 {
PADDING-LEFT: 6px
}
.noFloat {
FLOAT: none! important
}
.left {
FLOAT: left
}
.right {
FLOAT: right! important
}
.clear {
CLEAR: both
}
.pRight {
RIGHT: 10px; POSITION: absolute; TOP: 2px
}
.pLeft {
LEFT: 10px; POSITION: absolute; TOP: 2px
}
.relative {
POSITION: relative
}
.clearNone {
CLEAR: none! important
}
.textLeft {
TEXT-ALIGN: left
}
.textRight {
TEXT-ALIGN: right
}
.textCenter {
TEXT-ALIGN: center
}
.strong {
FONT-WEIGHT: 700
}
.normal {
FONT-WEIGHT: normal! important
}
.pageHead {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 1.9em; MARGIN-BOTTOM:
25px; PADDING-BOTTOM: 10px; COLOR: #333; PADDING-TOP: 10px; BORDER-BOTTOM:
#71c9ff 4px solid
}
.componentHead {
PADDING-BOTTOM: 5px; FONT: 1.6em tahoma; COLOR: #2c8500; LETTER-SPACING:
0.05em
}
UL.leftNav {
FLOAT: left
}
UL.rightNav {
FLOAT: right
}
UL.nav LI {
FLOAT: left
}
DIV.tabLinks {
MARGIN: 30px 0px 10px
}
DIV.tabLinks UL LI {
FLOAT: left; MARGIN-RIGHT: 7px
}
DIV.tabLinks UL LI A {
BORDER-RIGHT: #ccc 1px solid; PADDING-RIGHT: 8px; BORDER-TOP: #ccc 1px
solid; DISPLAY: block; PADDING-LEFT: 8px; FONT-WEIGHT: bold; FONT-SIZE: 0.85em;
PADDING-BOTTOM: 5px; TEXT-TRANSFORM: uppercase; BORDER-LEFT: #ccc 1px solid;
COLOR: #666; PADDING-TOP: 5px; BORDER-BOTTOM: #ccc 1px solid; BACKGROUND-COLOR:
#f6f6f6
}
DIV.tabLinks UL LI A:hover {
COLOR: #333; BACKGROUND-COLOR: #ccc
}
.activeTl {
COLOR: #333! important; BACKGROUND-COLOR: #fff073! important
}
.yellowTop {
BORDER-TOP: #fff073 5px solid; MARGIN-TOP: 10px
}
A {
outline: none
}
A:active {
outline: none
}
A:unknown {
outline: none
}
A:hover {
outline: none
}
A:link {
outline: none
}
A:visited {
outline: none
}
A {
FONT-SIZE: 1em; CURSOR: pointer; COLOR: #0187ef; TEXT-DECORATION: none
}
A:hover {
COLOR: #0064d5
}
UL.greyLink LI A:hover {
COLOR: #0064d5
}
A.button:hover {
COLOR: #0064d5
}
.smallLinks A {
FONT-SIZE: 0.9em
}
.greyLink A {
COLOR: #666
}
.red {
COLOR: #ea0000! important
}
.underline {
TEXT-DECORATION: underline
}
.link {
FONT-SIZE: 13px; TEXT-DECORATION: underline
}
A.readMoreLink {
PADDING-RIGHT: 35px; BACKGROUND-POSITION: right -358px; WHITE-SPACE:
nowrap
}
A.readMoreLink:hover {
BACKGROUND-POSITION: right -391px
}
A.readLessLink {
PADDING-RIGHT: 35px; BACKGROUND-POSITION: right -498px; WHITE-SPACE:
nowrap
}
A.readLessLink:hover {
BACKGROUND-POSITION: right -540px
}
A.leftArrow {
PADDING-RIGHT: 35px; BACKGROUND-POSITION: right -422px; WHITE-SPACE:
nowrap
}
A.leftArrow:hover {
BACKGROUND-POSITION: right -455px
}
BUTTON {
BORDER-RIGHT: #3399dd 1px solid; PADDING-RIGHT: 6px; BORDER-TOP: #3399dd
1px solid; PADDING-LEFT: 6px; FONT-WEIGHT: bold; BACKGROUND:
url(/images/buttons/default_btn.gif) repeat-x; PADDING-BOTTOM: 5px; BORDER-
LEFT: #3399dd 1px solid; CURSOR: pointer; COLOR: #333; LINE-HEIGHT: 1.5em;
PADDING-TOP: 0px; BORDER-BOTTOM: #3399dd 1px solid; moz-border-radius: 3px;
webkit-border-radius: 3px
}
BUTTON:hover {
BORDER-RIGHT: #777 1px solid; BORDER-TOP: #777 1px solid; BORDER-LEFT:
#777 1px solid; BORDER-BOTTOM: #777 1px solid
}
.formButton {
BORDER-RIGHT: #3399dd 1px solid; PADDING-RIGHT: 15px; BORDER-TOP: #3399dd
1px solid; PADDING-LEFT: 15px; FONT-WEIGHT: bold; FONT-SIZE: 1.2em; BACKGROUND:
url(/images/buttons/default_btn.gif) repeat-x; PADDING-BOTTOM: 3px; BORDER-
LEFT: #3399dd 1px solid; CURSOR: pointer; COLOR: #333; LINE-HEIGHT: 1.5em;
PADDING-TOP: 3px; BORDER-BOTTOM: #3399dd 1px solid; moz-border-radius: 3px;
webkit-border-radius: 3px
}
.softPopupBtn {
HEIGHT: 23px
}
.blueBtn {
BORDER-RIGHT: #3399dd 1px solid; PADDING-RIGHT: 18px; BORDER-TOP: #3399dd
1px solid; PADDING-LEFT: 18px; FONT-WEIGHT: bold; BACKGROUND:
url(/images/buttons/formButton_bg.png) repeat-x 0px 0px; PADDING-BOTTOM: 6px;
BORDER-LEFT: #3399dd 1px solid; CURSOR: pointer; COLOR: #fff; LINE-HEIGHT: 0;
PADDING-TOP: 6px; BORDER-BOTTOM: #3399dd 1px solid; moz-border-radius: 6px;
webkit-border-radius: 6px
}
.blueBtn:hover {
BORDER-RIGHT: #666 1px solid; BORDER-TOP: #666 1px solid; BORDER-LEFT:
#666 1px solid; BORDER-BOTTOM: #666 1px solid
}
A.button {
moz-border-radius: 3px; webkit-border-radius: 3px
}
A.button {
BORDER-RIGHT: #ccc 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #ccc 1px
solid; PADDING-LEFT: 2px; FONT-SIZE: 11px; BACKGROUND:
url(/images/buttons/default_btn.gif) #fff repeat-x left 3px; PADDING-BOTTOM:
1px; MARGIN: 0px 5px 0px 0px; BORDER-LEFT: #ccc 1px solid; CURSOR: pointer;
COLOR: #0099ff; PADDING-TOP: 1px; BORDER-BOTTOM: #ccc 1px solid
}
A.button:hover {
BACKGROUND-POSITION: left -95px
}
A.button SPAN {
PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 3px; PADDING-TOP:
3px
}
.actions A.left {
WHITE-SPACE: nowrap
}
.reset {
BACKGROUND: url(/images/buttons/reset.gif) no-repeat; FLOAT: left;
MARGIN: 0px 5px 0px 2px; WIDTH: 20px; HEIGHT: 20px
}
.actionBlock {
FLOAT: right
}
.actionBlock A {
FLOAT: left
}
DIV.action {
BORDER-RIGHT: #c2e8ff 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: #c2e8ff
1px solid; PADDING-LEFT: 10px; BACKGROUND: #f4fbff; PADDING-BOTTOM: 10px;
MARGIN: 10px 0px 0px; BORDER-LEFT: #c2e8ff 1px solid; COLOR: #999; PADDING-TOP:
10px; BORDER-BOTTOM: #c2e8ff 1px solid; TEXT-ALIGN: center
}
DIV.action A {
CURSOR: pointer
}
DIV.action INPUT {
FONT-SIZE: 18px
}
.yellowPages {
FLOAT: right; PADDING-TOP: 3px
}
.yellowPages A {
COLOR: #333
}
.yellowPages A:hover {
COLOR: #0074d7
}
.yellowPages SMALL {
PADDING-RIGHT: 6px; FLOAT: left; LINE-HEIGHT: 10px; TEXT-ALIGN: right
}
.noBorder {
BORDER-TOP-STYLE: none! important; BORDER-RIGHT-STYLE: none! important;
BORDER-LEFT-STYLE: none! important; BORDER-BOTTOM-STYLE: none! important
}
.border {
BORDER-RIGHT: #ccc 1px solid; BORDER-TOP: #ccc 1px solid; BORDER-LEFT:
#ccc 1px solid; BORDER-BOTTOM: #ccc 1px solid
}
.topBorder {
BORDER-TOP: #ccc 1px solid; PADDING-TOP: 5px! important
}
.bottomBorder {
PADDING-TOP: 5px! important; BORDER-BOTTOM: #ccc 1px dotted
}
.rightBorder {
BORDER-RIGHT: #ccc 1px solid
}
.leftBorder {
BORDER-LEFT: #ccc 1px solid
}
HR {
BORDER-RIGHT: #ccc 1px solid; BORDER-TOP: #ccc 1px solid; BORDER-LEFT:
#ccc 1px solid; BORDER-BOTTOM: #ccc 1px solid
}
.block {
DISPLAY: block
}
.inline {
DISPLAY: inline! important
}
.hide {
DISPLAY: none! important
}
.show {
DISPLAY: block! important
}
A.showhide {
BORDER-RIGHT: #f5fafe 1px solid; PADDING-RIGHT: 3px! important; BORDER-
TOP: #f5fafe 1px solid; PADDING-LEFT: 10px! important; PADDING-BOTTOM: 2px!
important; MARGIN-LEFT: 5px; BORDER-LEFT: #f5fafe 1px solid; PADDING-TOP: 2px!
important; BORDER-BOTTOM: #f5fafe 1px solid; moz-border-radius: 3px; webkit-
border-radius: 3px
}
A.showhide:hover {
BORDER-RIGHT: #ccc 1px solid; BORDER-TOP: #ccc 1px solid; BACKGROUND:
url(/images/buttons/default_btn.gif) repeat-x; BORDER-LEFT: #ccc 1px solid;
CURSOR: pointer; BORDER-BOTTOM: #ccc 1px solid
}
A.showhide:hover SPAN.dropArrow {
COLOR: #333
}
A.showhide:hover SPAN.upArrow {
COLOR: #333
}
A.showhide SPAN.dropArrow {
DISPLAY: block; FONT-WEIGHT: normal; FONT-SIZE: 11px! important; COLOR:
#888
}
A.showhide SPAN.upArrow {
DISPLAY: block; FONT-WEIGHT: normal; FONT-SIZE: 11px! important; COLOR:
#888
}
.iconsSprite {
BACKGROUND: url(/images/icons/icons_sprite.png) no-repeat
}
.print {
PADDING-LEFT: 23px! important; BACKGROUND:
url(/images/icons/icons_sprite.png) no-repeat left -385px
}
.print:hover {
BACKGROUND-POSITION: left -621px
}
.add2List {
BACKGROUND-POSITION: 2px -1347px; PADDING-LEFT: 27px! important
}
.added2List {
BACKGROUND-POSITION: 2px -1451px; PADDING-LEFT: 27px! important
}
.edit {
BACKGROUND-POSITION: 4px -245px; PADDING-LEFT: 20px! important
}
.share {
BACKGROUND-POSITION: 3px -1047px; PADDING-LEFT: 20px! important
}
.email {
BACKGROUND-POSITION: 2px -1146px; PADDING-LEFT: 24px
}
.facebook {
BACKGROUND-POSITION: 2px -1047px; PADDING-LEFT: 24px
}
.twitter {
BACKGROUND-POSITION: 3px -1245px; PADDING-LEFT: 24px
}
.flag {
BACKGROUND-POSITION: 4px -847px; PADDING-LEFT: 24px! important
}
.dropArrow {
PADDING-RIGHT: 16px! important; BACKGROUND-POSITION: right -2218px;
CURSOR: pointer
}
.upArrow {
PADDING-RIGHT: 18px! important; BACKGROUND-POSITION: right -2243px;
CURSOR: pointer
}
.find {
PADDING-RIGHT: 16px! important; BACKGROUND-POSITION: right -3750px;
PADDING-LEFT: 0px! important; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none;
BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none
}
.find:hover {
BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE:
none; BORDER-BOTTOM-STYLE: none
}
.claim {
PADDING-RIGHT: 5px; BACKGROUND-POSITION: 5px -899px; PADDING-LEFT: 22px!
important; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
.claim:hover {
BACKGROUND-POSITION: 5px -949px
}
.expandAll {
PADDING-RIGHT: 20px! important; BACKGROUND-POSITION: right -1799px
}
.closeBtn {
BACKGROUND-POSITION: right -2050px; RIGHT: 10px; WIDTH: 16px; POSITION:
absolute; TOP: 6px; HEIGHT: 16px
}
.my-list .closeBtn {
MARGIN-RIGHT: 12px
}
.quickResultRow .send2phone {
PADDING-TOP: 2px
}
.quickResultRow .closeBtn {
MARGIN-RIGHT: 15px
}
.bizContactInfo .closeBtn {
MARGIN-RIGHT: 10px
}
UL.helplines {
PADDING-TOP: 5px
}
UL.helplines LI {
PADDING-BOTTOM: 3px
}
.helplinesLink {
PADDING-RIGHT: 0px; PADDING-LEFT: 10px; FONT-WEIGHT: bold; FONT-SIZE:
12px; FLOAT: left; PADDING-BOTTOM: 0px; WIDTH: 140px; PADDING-TOP: 7px
}
.helplinesIcons {
BORDER-RIGHT: #eee 1px solid; BORDER-TOP: #eee 1px solid; BACKGROUND:
url(/images/icons/essentials-links-icons.png) no-repeat center top; BORDER-
LEFT: #eee 1px solid; WIDTH: 28px; BORDER-BOTTOM: #eee 1px solid; HEIGHT: 28px
}
.towingcarbreakdown {
BACKGROUND-POSITION: 0px 0px
}
.airlines {
BACKGROUND-POSITION: 0px -31px
}
.ambulance {
BACKGROUND-POSITION: 0px -71px
}
.animalwelfare {
BACKGROUND-POSITION: 0px -110px
}
.bloodbanks {
BACKGROUND-POSITION: 0px -147px
}
.physicaldisabilities {
BACKGROUND-POSITION: 0px -186px
}
.chemist24hours {
BACKGROUND-POSITION: 0px -225px
}
.chemist24hrs {
BACKGROUND-POSITION: 0px -225px
}
.courts {
BACKGROUND-POSITION: 0px -263px
}
.crematoria {
BACKGROUND-POSITION: 0px -302px
}
.electricitysupply {
BACKGROUND-POSITION: 0px -342px
}
.eyebanks {
BACKGROUND-POSITION: 0px -379px
}
.fire {
BACKGROUND-POSITION: 0px -416px
}
.petrolpump24hrs {
BACKGROUND-POSITION: 0px -456px
}
.police {
BACKGROUND-POSITION: 0px -494px
}
.postalservices {
BACKGROUND-POSITION: 0px -532px
}
.railways {
BACKGROUND-POSITION: 0px -571px
}
.rehabilitationcentres {
BACKGROUND-POSITION: 0px -609px
}
.socialservices {
BACKGROUND-POSITION: 0px -647px
}
.taxiservices {
BACKGROUND-POSITION: 0px -686px
}
.universities {
BACKGROUND-POSITION: 0px -726px
}
.watersupply {
BACKGROUND-POSITION: 0px -762px
}
.lpggas {
BACKGROUND-POSITION: 0px -799px
}
.movies-plays {
BACKGROUND-POSITION: 0px -840px
}
.callConnect .softpopup {
MARGIN: 10px 0px
}
.softpopup .closeBtn {
RIGHT: 20px
}
.newWin {
PADDING-RIGHT: 10px! important; BACKGROUND-POSITION: right -2144px
}
.videoIcon {
BACKGROUND-POSITION: left -1676px; PADDING-LEFT: 18px! important
}
.actionButtons {
BACKGROUND: url(/images/buttons/action-buttons.png) no-repeat
}
.send2phone {
BACKGROUND-POSITION: 1px -774px; PADDING-LEFT: 26px! important; FONT-
WEIGHT: bold; FONT-SIZE: 0.9em; COLOR: #0187ef
}
.call {
BACKGROUND-POSITION: left top; DISPLAY: block; WIDTH: 91px; MARGIN-RIGHT:
8px; HEIGHT: 22px
}
.call:hover {
BACKGROUND-POSITION: -104px top
}
.sms {
BACKGROUND-POSITION: -148px 0px; DISPLAY: block; WIDTH: 63px; HEIGHT:
22px
}
.sms:hover {
BACKGROUND-POSITION: -220px top
}
.sendInquiry {
BACKGROUND-POSITION: -208px 0px; DISPLAY: block; WIDTH: 113px; HEIGHT:
22px
}
.sendInquiry:hover {
BACKGROUND-POSITION: -333px top
}
.editIcon {
PADDING-LEFT: 18px; BACKGROUND: url(/images/icons/formIcons_sprite.png)
no-repeat 0px -178px
}
.editLink {
FONT-SIZE: 12px; LINE-HEIGHT: 17px
}
.rating {
BACKGROUND: url(/images/icons/rating.png) no-repeat
}
.thumbsWrap .greyText {
PADDING-TOP: 5px
}
.thumbsUp {
BACKGROUND-POSITION: left 4px; FLOAT: left; WIDTH: 25px; MARGIN-RIGHT:
10px; HEIGHT: 30px
}
.thumbsUp:hover {
BACKGROUND-POSITION: left -38px
}
.thumbsDown {
BACKGROUND-POSITION: -60px 2px; FLOAT: left; WIDTH: 25px; HEIGHT: 30px
}
.thumbsDown:hover {
BACKGROUND-POSITION: -60px -35px
}
.titleBlock {
BACKGROUND: url(/images/icons/icons_sprite.png) no-repeat; FLOAT: left;
WIDTH: 23px; CURSOR: default; HEIGHT: 20px
}
SPAN.noIcon {
BACKGROUND: none transparent scroll repeat 0% 0%
}
SPAN.addressRow {
BACKGROUND-POSITION: 2px -81px
}
SPAN.teleRow {
BACKGROUND-POSITION: 1px -129px
}
SPAN.cPerson {
BACKGROUND-POSITION: 1px -480px
}
SPAN.emailIcon {
BACKGROUND-POSITION: 7px -149px
}
SPAN.webIcon {
BACKGROUND-POSITION: 0px -429px
}
SPAN.oHourRow {
BACKGROUND-POSITION: 0px -230px
}
SPAN.mobile {
BACKGROUND-POSITION: 1px -280px
}
SPAN.landline {
BACKGROUND-POSITION: 1px -98px
}
SPAN.fax {
BACKGROUND-POSITION: 1px -29px
}
SPAN.productRow {
BACKGROUND-POSITION: 2px -530px
}
A.ypAd {
BACKGROUND-POSITION: 0px -3849px; CURSOR: pointer
}
SPAN.ypAd {
BACKGROUND-POSITION: 0px -3849px
}
SPAN.emailBlue {
BACKGROUND-POSITION: 0px -177px
}
.ypText {
PADDING-RIGHT: 7px; FLOAT: left; WIDTH: 100px; LINE-HEIGHT: 0.95em; TEXT-
ALIGN: right
}
UL.list LI {
BACKGROUND: url(/images/icons/icons_sprite.png) no-repeat -300px top;
LINE-HEIGHT: 1.1em; HEIGHT: 1%
}
UL.list LI A {
PADDING-RIGHT: 5px; PADDING-LEFT: 5px; FONT-SIZE: 0.95em; PADDING-BOTTOM:
5px; COLOR: #555; PADDING-TOP: 5px
}
UL.list LI SPAN.clearfix {
PADDING-RIGHT: 5px; PADDING-LEFT: 5px; FONT-SIZE: 0.95em; PADDING-BOTTOM:
5px; COLOR: #555; PADDING-TOP: 5px
}
UL.list LI A:hover {
COLOR: #0074d7; TEXT-DECORATION: underline
}
UL.orangeBullet LI {
BACKGROUND-POSITION: -1px -1841px; PADDING-LEFT: 8px
}
UL.blueBullet LI {
BACKGROUND-POSITION: -1px -1892px; PADDING-LEFT: 8px
}
UL.greenBullet LI {
BACKGROUND-POSITION: -1px -1941px; PADDING-LEFT: 8px
}
UL.greyBullet LI {
BACKGROUND-POSITION: -1px -1991px; PADDING-LEFT: 8px
}
DIV#homepage UL.orangeBullet LI {
PADDING-LEFT: 15px
}
DIV#homepage UL.blueBullet LI {
PADDING-LEFT: 15px
}
DIV#homepage UL.greenBullet LI {
PADDING-LEFT: 15px
}
DIV#homepage UL.greyBullet LI {
PADDING-LEFT: 15px
}
.rowList {
BORDER-RIGHT: #eee 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: #eee 1px
solid; PADDING-LEFT: 10px; BACKGROUND:
url(/images/elements/graydientbg_sprite.gif) repeat-x left -60px; PADDING-
BOTTOM: 5px; MARGIN: 5px 0px; BORDER-LEFT: #eee 1px solid; PADDING-TOP: 5px;
BORDER-BOTTOM: #eee 1px solid
}
UL.quickLinks {
BORDER-RIGHT: #eee 1px solid; BORDER-TOP: #eee 1px solid; DISPLAY: block;
MARGIN: 0px auto; BORDER-LEFT: #eee 1px solid; WIDTH: 984px; BORDER-BOTTOM:
#eee 1px solid
}
UL.quickLinks LI {
BORDER-RIGHT: #eee 1px solid; BACKGROUND: #fff; FLOAT: left; WIDTH:
163px; TEXT-ALIGN: center
}
UL.quickLinks LI A {
PADDING-RIGHT: 8px; DISPLAY: block; PADDING-LEFT: 8px; FONT-SIZE: 0.9em;
PADDING-BOTTOM: 8px; LINE-HEIGHT: 1em; PADDING-TOP: 8px; HEIGHT: 65px
}
UL.quickLinks LI A:hover {
BACKGROUND: #f3faff
}
.infoBox {
BORDER-RIGHT: #999 1px dashed; PADDING-RIGHT: 8px; BORDER-TOP: #999 1px
dashed; PADDING-LEFT: 8px; MARGIN-BOTTOM: 10px; PADDING-BOTTOM: 8px; BORDER-
LEFT: #999 1px dashed; PADDING-TOP: 8px; BORDER-BOTTOM: #999 1px dashed
}
.helpBox {
BORDER-RIGHT: #999999 1px dashed; PADDING-RIGHT: 8px; BORDER-TOP: #999999
1px dashed; MARGIN-TOP: 10px; PADDING-LEFT: 8px; BACKGROUND: #ffffcc; MARGIN-
BOTTOM: 10px; PADDING-BOTTOM: 10px; BORDER-LEFT: #999999 1px dashed; PADDING-
TOP: 10px; BORDER-BOTTOM: #999999 1px dashed
}
.blueBox {
BORDER-RIGHT: #c2e8ff 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: #c2e8ff
1px solid; PADDING-LEFT: 10px; BACKGROUND: #f4fbff; PADDING-BOTTOM: 5px;
BORDER-LEFT: #c2e8ff 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #c2e8ff 1px
solid
}
.blueBox2 {
PADDING-RIGHT: 10px; PADDING-LEFT: 10px; BACKGROUND: #f4fbff; PADDING-
BOTTOM: 5px; PADDING-TOP: 5px; BORDER-BOTTOM: #f1f1f1 1px solid
}
.blueBox LI {
BORDER-BOTTOM: #c2e8ff 1px solid
}
.blueBox A:hover {
TEXT-DECORATION: underline
}
.checks {
BACKGROUND-IMAGE: url(/images/elements/checks.gif)
}
.statusBar {
PADDING-RIGHT: 10px; BORDER-TOP: #ccc 1px solid; PADDING-LEFT: 10px;
FONT-WEIGHT: bold; FONT-SIZE: 13px; PADDING-BOTTOM: 5px; COLOR: #339933;
PADDING-TOP: 5px
}
.yellowBox {
BORDER-RIGHT: #ccc 1px solid; PADDING-RIGHT: 8px; BORDER-TOP: #ccc 1px
solid; PADDING-LEFT: 8px; BACKGROUND: #ffffcc; PADDING-BOTTOM: 8px; BORDER-
LEFT: #ccc 1px solid; PADDING-TOP: 8px; BORDER-BOTTOM: #ccc 1px solid
}
.infoText {
PADDING-RIGHT: 10px; BORDER-TOP: #ccc 1px dotted; PADDING-LEFT: 10px;
PADDING-BOTTOM: 5px; COLOR: #666; PADDING-TOP: 5px
}
.contactBox {
PADDING-RIGHT: 20px; PADDING-LEFT: 40px; PADDING-BOTTOM: 20px; PADDING-
TOP: 20px
}
.example {
PADDING-RIGHT: 5px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; COLOR: #ccc;
PADDING-TOP: 5px
}
.contactBox P LABEL {
FONT-WEIGHT: bold; FLOAT: left; WIDTH: 80px
}
.contactBox P {
CLEAR: both; PADDING-TOP: 5px
}
.required EM {
PADDING-RIGHT: 4px! important; BACKGROUND: url(/images/icons/star.gif)
no-repeat right 2px
}
.required INPUT {
FLOAT: left
}
.required SELECT {
FLOAT: left
}
.required TEXTAREA {
FLOAT: left
}
.required EM {
FLOAT: left
}
LABEL.required EM {
FLOAT: none
}
.radio {
MARGIN-RIGHT: 5px
}
.radioInput {
WIDTH: 15px! important
}
INPUT {
BORDER-RIGHT: #999 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #999 1px
solid; PADDING-LEFT: 5px; FONT-SIZE: 1em; BACKGROUND: #fff; PADDING-BOTTOM:
0px; VERTICAL-ALIGN: middle; BORDER-LEFT: #999 1px solid; PADDING-TOP: 4px;
BORDER-BOTTOM: #999 1px solid; HEIGHT: 23px
}
.softPopup {
PADDING-RIGHT: 2px; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; LINE-HEIGHT:
1.5em; PADDING-TOP: 2px; HEIGHT: 17px
}
TEXTAREA {
BORDER-RIGHT: #999 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: #999 1px
solid; PADDING-LEFT: 5px; FONT-SIZE: 1em; BACKGROUND: #fff; PADDING-BOTTOM:
0px; BORDER-LEFT: #999 1px solid; PADDING-TOP: 4px; BORDER-BOTTOM: #999 1px
solid
}
INPUT.radio {
BACKGROUND: none transparent scroll repeat 0% 0%; FLOAT: left; WIDTH:
12px! important; BORDER-TOP-STYLE: none! important; BORDER-RIGHT-STYLE: none!
important; BORDER-LEFT-STYLE: none! important; HEIGHT: 15px! important; BORDER-
BOTTOM-STYLE: none! important
}
INPUT.checkbox {
BACKGROUND: none transparent scroll repeat 0% 0%; FLOAT: left; WIDTH:
12px! important; BORDER-TOP-STYLE: none! important; BORDER-RIGHT-STYLE: none!
important; BORDER-LEFT-STYLE: none! important; HEIGHT: 15px! important; BORDER-
BOTTOM-STYLE: none! important
}
.radio INPUT {
FLOAT: left; WIDTH: 15px; BORDER-TOP-STYLE: none! important; MARGIN-
RIGHT: 3px; BORDER-RIGHT-STYLE: none! important; BORDER-LEFT-STYLE: none!
important; HEIGHT: 15px; BORDER-BOTTOM-STYLE: none! important
}
.checkbox INPUT {
FLOAT: left; WIDTH: 15px; BORDER-TOP-STYLE: none! important; MARGIN-
RIGHT: 3px; BORDER-RIGHT-STYLE: none! important; BORDER-LEFT-STYLE: none!
important; HEIGHT: 15px; BORDER-BOTTOM-STYLE: none! important
}
.radio LABEL {
FLOAT: left; MARGIN-RIGHT: 10px
}
.checkbox LABEL {
FLOAT: left; MARGIN-RIGHT: 10px
}
INPUT.yellowbg {
BACKGROUND: #ffffcc
}
INPUT:hover {
BORDER-RIGHT: #666 1px solid; BORDER-TOP: #666 1px solid; BORDER-LEFT:
#666 1px solid; BORDER-BOTTOM: #666 1px solid
}
INPUT:unknown {
BORDER-RIGHT: #6694e3 1px solid; BORDER-TOP: #6694e3 1px solid; BORDER-
LEFT: #6694e3 1px solid; BORDER-BOTTOM: #6694e3 1px solid
}
TEXTAREA:hover {
BORDER-RIGHT: #666 1px solid; BORDER-TOP: #666 1px solid; BORDER-LEFT:
#666 1px solid; BORDER-BOTTOM: #666 1px solid
}
SELECT {
BORDER-RIGHT: #999 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: #999 1px
solid; PADDING-LEFT: 4px; FONT-SIZE: 1em; BACKGROUND: #fff; PADDING-BOTTOM:
4px; BORDER-LEFT: #999 1px solid; PADDING-TOP: 4px; BORDER-BOTTOM: #999 1px
solid; HEIGHT: 27px
}
SELECT:hover {
BORDER-RIGHT: #666 1px solid; BORDER-TOP: #666 1px solid; BORDER-LEFT:
#666 1px solid; BORDER-BOTTOM: #666 1px solid
}
SELECT:unknown {
BORDER-RIGHT: #6694e3 1px solid; BORDER-TOP: #6694e3 1px solid; BORDER-
LEFT: #6694e3 1px solid; BORDER-BOTTOM: #6694e3 1px solid
}
.formBlockHead {
PADDING-RIGHT: 10px; MARGIN-TOP: 15px; PADDING-LEFT: 10px; FONT-SIZE:
1em; BACKGROUND: #f5fafe; PADDING-BOTTOM: 4px; TEXT-TRANSFORM: uppercase;
PADDING-TOP: 4px; BORDER-BOTTOM: #e5e5e5 1px solid
}
.formBlockDescr {
PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FONT-SIZE: 0.95em; PADDING-
BOTTOM: 5px; COLOR: #666; LINE-HEIGHT: 1em; PADDING-TOP: 5px
}
.uploadForm {
BACKGROUND: #eee; MARGIN-BOTTOM: 20px
}
.inputColumn {
FLOAT: left; MARGIN-RIGHT: 5px
}
.inputEg {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: normal; FONT-SIZE:
0.85em; PADDING-BOTTOM: 2px; COLOR: #999; PADDING-TOP: 2px
}
.lableWrap LABEL {
PADDING-LEFT: 5px; FLOAT: left; MARGIN-RIGHT: 10px
}
.buttonWrap {
MARGIN: 20px 0px 5px
}
.buttonWrap BUTTON {
FONT-WEIGHT: bold; FONT-SIZE: 1.2em
}
.formblock {
MARGIN: 10px 0px
}
.inputFull {
WIDTH: 450px
}
.inputHalfPlus {
WIDTH: 320px
}
.inputHalf {
WIDTH: 200px
}
.inputQuarter {
WIDTH: 100px
}
.input150 {
WIDTH: 150px
}
INPUT.inputFull {
WIDTH: 450px
}
INPUT.inputHalfPlus {
WIDTH: 320px
}
INPUT.inputHalf {
WIDTH: 200px
}
INPUT.inputQuarter {
WIDTH: 100px
}
SELECT.inputFull {
WIDTH: 470px
}
SELECT.inputHalfPlus {
WIDTH: 335px
}
SELECT.inputHalf {
WIDTH: 212px
}
SELECT.inputQuarter {
WIDTH: 110px
}
TEXTAREA.inputFull {
WIDTH: 455px
}
TEXTAREA.inputHalfPlus {
WIDTH: 325px
}
TEXTAREA.inputHalf {
WIDTH: 205px
}
TEXTAREA.inputQuarter {
WIDTH: 105px
}
DIV.signupForm {
BORDER-RIGHT: #ccc 1px solid; PADDING-RIGHT: 30px; BORDER-TOP: #ccc 1px
solid; PADDING-LEFT: 40px; PADDING-BOTTOM: 40px; BORDER-LEFT: #ccc 1px solid;
PADDING-TOP: 40px; BORDER-BOTTOM: #ccc 1px solid
}
DIV.signInForm {
BORDER-RIGHT: #ccc 1px solid; PADDING-RIGHT: 30px; BORDER-TOP: #ccc 1px
solid; PADDING-LEFT: 40px; PADDING-BOTTOM: 40px; BORDER-LEFT: #ccc 1px solid;
PADDING-TOP: 40px; BORDER-BOTTOM: #ccc 1px solid
}
DIV.signInForm {
WIDTH: 300px
}
DIV.signInForm LABEL {
DISPLAY: block
}
DIV.signInForm INPUT {
BACKGROUND: #fff
}
DIV.signupForm INPUT {
BACKGROUND: #fff
}
DIV.signInForm .lableWrap {
PADDING-TOP: 4px
}
.regLeftColumn {
MARGIN: 10px 0px 25px; WIDTH: 520px
}
.regRightColumn {
MARGIN: 0px 0px 15px; WIDTH: 380px
}
DIV.signupForm TABLE TH {
PADDING-RIGHT: 10px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; VERTICAL-
ALIGN: top; WIDTH: 110px; PADDING-TOP: 4px; TEXT-ALIGN: right
}
DIV.signupForm TABLE TD {
PADDING-BOTTOM: 15px
}
DIV.signupForm .formBlockDescr {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 10px; PADDING-TOP:
5px
}
.softpopup {
CLEAR: both; BORDER-RIGHT: #c2e8ff 2px solid; BORDER-TOP: #c2e8ff 2px
solid; DISPLAY: none; BACKGROUND: #f5fafe; MARGIN: 10px; BORDER-LEFT: #c2e8ff
2px solid; BORDER-BOTTOM: #c2e8ff 2px solid; POSITION: relative; moz-border-
radius: 8px; webkit-border-radius: 8px
}
.actionLinkBlock .softpopup A {
PADDING-LEFT: 0px! important
}
.softpopup H4 {
PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FONT-WEIGHT: bold; BACKGROUND:
#c2e8ff; PADDING-BOTTOM: 4px; PADDING-TOP: 3px; moz-border-radius: 6px 6px 0px
0px; webkit-border-radius: 6px 6px 0px 0px
}
.sendSMS TD LABEL {
DISPLAY: block
}
.plus91 {
PADDING-RIGHT: 10px; FLOAT: left; LINE-HEIGHT: 1.5em; PADDING-TOP: 4px
}
.softpopup TABLE LABEL {
DISPLAY: block; FONT-WEIGHT: normal; FONT-SIZE: 0.85em
}
.emailPop INPUT {
MARGIN-BOTTOM: 5px
}
.sendtophone LABEL {
DISPLAY: block
}
#jqueryResponse {
CLEAR: both
}
.description {
WIDTH: 100%; HEIGHT: 65px
}
DIV.action {
BORDER-RIGHT: #c2e8ff 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: #c2e8ff
1px solid; PADDING-LEFT: 10px; BACKGROUND: #f4fbff; PADDING-BOTTOM: 10px;
MARGIN: 0px; BORDER-LEFT: #c2e8ff 1px solid; COLOR: #999; PADDING-TOP: 10px;
BORDER-BOTTOM: #c2e8ff 1px solid; TEXT-ALIGN: center
}
TD.action {
BORDER-RIGHT: #c2e8ff 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: #c2e8ff
1px solid; PADDING-LEFT: 10px; BACKGROUND: #f4fbff; PADDING-BOTTOM: 10px;
MARGIN: 0px; BORDER-LEFT: #c2e8ff 1px solid; COLOR: #999; PADDING-TOP: 10px;
BORDER-BOTTOM: #c2e8ff 1px solid; TEXT-ALIGN: center
}
TD.action {
BORDER-TOP: #fff 1px solid; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE:
none; BORDER-BOTTOM-STYLE: none
}
DIV.filters {
PADDING-RIGHT: 5px; Z-INDEX: 4; BACKGROUND: #fff; POSITION: relative
}
DIV.filters H4 {
FONT-SIZE: 0.9em; PADDING-BOTTOM: 4px; TEXT-TRANSFORM: uppercase; COLOR:
#444; LINE-HEIGHT: 1em; BORDER-BOTTOM: #999 1px solid; LETTER-SPACING: 0.02em
}
DIV.filters LI A:hover .grey {
COLOR: #fff
}
DIV.filters UL.blueBullet LI A {
MARGIN-LEFT: 5px
}
DIV#content UL LI A {
DISPLAY: block
}
DIV#content UL LI.seeAll A {
PADDING-RIGHT: 20px; DISPLAY: block; PADDING-LEFT: 15px; BACKGROUND:
url(/images/icons/icons_sprite.png) #f6f6f6 no-repeat right -1796px; PADDING-
BOTTOM: 2px; PADDING-TOP: 2px
}
DIV#content UL LI.seeAll A:hover {
COLOR: #0074d7
}
DIV#content UL LI.seeAll A.seeLess {
BACKGROUND-POSITION: right -3980px; CURSOR: default; COLOR: #ccc
}
.num {
FONT-WEIGHT: bold; FONT-SIZE: 1.2em; FLOAT: left; MARGIN-LEFT: -25px;
WIDTH: 20px; COLOR: #006600; FONT-STYLE: normal; TEXT-ALIGN: right
}
.shareNav DIV.dropdown A {
PADDING-RIGHT: 5px; DISPLAY: block; PADDING-LEFT: 24px; FLOAT: none!
important; PADDING-BOTTOM: 2px; MARGIN: 2px 0px; WIDTH: 60px; COLOR: #323232;
PADDING-TOP: 2px
}
.messageSprite {
BACKGROUND: url(/images/icons/spriteMsg.gif) no-repeat; MARGIN-BOTTOM:
10px
}
.errorBig {
BORDER-RIGHT: #fd7070 3px solid; PADDING-RIGHT: 10px; BACKGROUND-
POSITION: 16px 9px; BORDER-TOP: #fd7070 3px solid; MARGIN-TOP: 10px; PADDING-
LEFT: 44px; FONT-SIZE: 1.2em; PADDING-BOTTOM: 8px; BORDER-LEFT: #fd7070 3px
solid; PADDING-TOP: 8px; BORDER-BOTTOM: #fd7070 3px solid; BACKGROUND-COLOR:
#fee8e8
}
.warningBig {
BORDER-RIGHT: #ffa132 3px solid; PADDING-RIGHT: 10px; BACKGROUND-
POSITION: 19px -58px; BORDER-TOP: #ffa132 3px solid; MARGIN-TOP: 10px; PADDING-
LEFT: 44px; FONT-SIZE: 1.2em; PADDING-BOTTOM: 8px; BORDER-LEFT: #ffa132 3px
solid; PADDING-TOP: 8px; BORDER-BOTTOM: #ffa132 3px solid; BACKGROUND-COLOR:
#fefcd6
}
.successBig {
BORDER-RIGHT: #99cc00 3px solid; PADDING-RIGHT: 10px; BORDER-TOP: #99cc00
3px solid; MARGIN-TOP: 10px; PADDING-LEFT: 44px; FONT-SIZE: 1.2em; BACKGROUND:
url(/images/icons/success.gif) #f8ffe8 no-repeat 13px 9px; PADDING-BOTTOM: 8px;
BORDER-LEFT: #99cc00 3px solid; PADDING-TOP: 8px; BORDER-BOTTOM: #99cc00 3px
solid
}
.warningSmall {
BACKGROUND-POSITION: 0px -355px; PADDING-LEFT: 20px
}
.errorSmall {
BACKGROUND-POSITION: 0px -432px; PADDING-LEFT: 20px
}
.successSmall {
BACKGROUND-POSITION: 0px -501px; PADDING-LEFT: 20px
}
SPAN.error {
CLEAR: both; PADDING-RIGHT: 4px; DISPLAY: block; PADDING-LEFT: 20px!
important; FONT-SIZE: 0.85em; BACKGROUND: url(/images/icons/spriteMsg.gif) no-
repeat 0px -355px; PADDING-BOTTOM: 4px; COLOR: red; LINE-HEIGHT: 1.2em;
PADDING-TOP: 4px; WHITE-SPACE: normal
}
SPAN.success {
BORDER-RIGHT: #99cc00 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: #99cc00
1px solid; DISPLAY: block; PADDING-LEFT: 25px! important; BACKGROUND:
url(/images/icons/spriteMsg.gif) #f8ffe8 no-repeat 5px -495px; PADDING-BOTTOM:
5px; MARGIN: 5px; BORDER-LEFT: #99cc00 1px solid; COLOR: #339933; LINE-HEIGHT:
1.2em; PADDING-TOP: 5px; BORDER-BOTTOM: #99cc00 1px solid; WHITE-SPACE: normal
}
.info {
BORDER-RIGHT: #c2e8ff 1px solid; PADDING-RIGHT: 5px! important; BORDER-
TOP: #c2e8ff 1px solid; PADDING-LEFT: 5px! important; BACKGROUND: #fef9d7;
PADDING-BOTTOM: 5px! important; BORDER-LEFT: #c2e8ff 1px solid; PADDING-TOP:
5px! important; BORDER-BOTTOM: #c2e8ff 1px solid
}
.banners {
DISPLAY: block; MARGIN: 10px 0px; WIDTH: 180px; TEXT-ALIGN: center
}
.attachmentWrap {
MARGIN: 10px auto; TEXT-ALIGN: center
}
.attachmentPreviewWrap {
BORDER-RIGHT: #d2d2d2 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #d2d2d2
1px solid; DISPLAY: inline-block; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px;
BORDER-LEFT: #d2d2d2 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #d2d2d2 1px
solid
}
.benefitsIncludeWrap {
PADDING-LEFT: 100px
}
.benefitsWrap P {
PADDING-RIGHT: 15px; PADDING-LEFT: 45px; MARGIN-BOTTOM: 15px; PADDING-
BOTTOM: 15px; PADDING-TOP: 0px; BORDER-BOTTOM: #ccc 1px dotted
}
.blueSico {
BACKGROUND: url(/images/icons/bluesico_sprite.png) no-repeat
}
.bsPeople {
BACKGROUND-POSITION: 0px 0px
}
.bsTag {
BACKGROUND-POSITION: 0px -80px
}
.bsAttachment {
BACKGROUND-POSITION: 0px -160px
}
.bsFind {
BACKGROUND-POSITION: 0px -240px
}
.bsGlobe {
BACKGROUND-POSITION: 0px -320px
}
.bsMobile {
BACKGROUND-POSITION: 0px -400px
}
.bsMapPin {
BACKGROUND-POSITION: 0px -480px
}
.bsPhone {
BACKGROUND-POSITION: 0px -560px
}
.abLeft {
WIDTH: 500px
}
.abRight {
WIDTH: 390px
}
.abLeft SPAN.error {
MARGIN-LEFT: 112px
}
.abLeft BUTTON {
MARGIN-LEFT: 112px
}
.abLeftFormWrap {
BORDER-RIGHT: #999999 1px solid; PADDING-RIGHT: 20px; BORDER-TOP: #cccccc
1px solid; MARGIN-TOP: 10px; PADDING-LEFT: 20px; BACKGROUND:
url(/images/elements/abFormBg.png); PADDING-BOTTOM: 20px; BORDER-LEFT: #cccccc
1px solid; PADDING-TOP: 20px; BORDER-BOTTOM: #999999 1px solid; moz-border-
radius: 4px; webkit-border-radius: 4px
}
.abRightWhyWrap {
PADDING-RIGHT: 0px; PADDING-LEFT: 40px; PADDING-BOTTOM: 0px; PADDING-TOP:
6px
}
.abListingFoundMessage {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 5px; COLOR: #666;
PADDING-TOP: 21px
}
.abListingCount {
PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 5px; COLOR:
#fff; PADDING-TOP: 5px; BACKGROUND-COLOR: #666
}
.abFormLabel {
PADDING-RIGHT: 10px; DISPLAY: inline-block; FONT-WEIGHT: bold; WIDTH:
100px; COLOR: #666; PADDING-TOP: 10px; TEXT-ALIGN: right
}
.abSprite {
PADDING-RIGHT: 15px; PADDING-LEFT: 45px; MARGIN-BOTTOM: 10px; PADDING-
BOTTOM: 15px; PADDING-TOP: 0px; BORDER-BOTTOM: #eee 1px solid
}
.abSpriteIcon1 {
BACKGROUND-POSITION: 0px 2px
}
.abSpriteIcon2 {
BACKGROUND-POSITION: 0px -49px
}
.abSpriteIcon3 {
BACKGROUND-POSITION: 0px -98px
}
.abSpriteIcon4 {
BACKGROUND-POSITION: 0px -150px
}
.abHelpWrap {
BORDER-RIGHT: #666 1px dashed; PADDING-RIGHT: 20px; BORDER-TOP: #666 1px
dashed; PADDING-LEFT: 20px; BACKGROUND: #feffa6; PADDING-BOTTOM: 10px; MARGIN:
43px 0px 0px 40px; BORDER-LEFT: #666 1px dashed; COLOR: #000; PADDING-TOP:
10px; BORDER-BOTTOM: #666 1px dashed
}
.fpWrap {
BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 20px; BORDER-TOP: #cccccc
1px solid; PADDING-LEFT: 20px; BACKGROUND: #f6f6f6; PADDING-BOTTOM: 20px;
MARGIN: 60px auto; BORDER-LEFT: #cccccc 1px solid; WIDTH: 600px; PADDING-TOP:
20px; BORDER-BOTTOM: #cccccc 1px solid; moz-border-radius: 4px; webkit-border-
radius: 4px
}
.fpHeader {
PADDING-BOTTOM: 10px; BORDER-BOTTOM: #cccccc 1px solid
}
.fpSpan {
PADDING-RIGHT: 15px; PADDING-LEFT: 15px; FONT-WEIGHT: 700; PADDING-
BOTTOM: 0px; COLOR: red; PADDING-TOP: 18px
}
.fpButton {
PADDING-RIGHT: 0px; PADDING-LEFT: 20px; PADDING-BOTTOM: 0px; MARGIN-LEFT:
10px; PADDING-TOP: 16px
}
.signinMessage {
BORDER-RIGHT: #ccc 1px solid; PADDING-RIGHT: 15px; BORDER-TOP: #ccc 1px
solid; PADDING-LEFT: 15px; BACKGROUND: #f6f6f6; PADDING-BOTTOM: 15px; BORDER-
LEFT: #ccc 1px solid; WIDTH: 245px; COLOR: #000; PADDING-TOP: 15px; BORDER-
BOTTOM: #ccc 1px solid; moz-border-radius: 4px; webkit-border-radius: 4px
}
.resultsHead .greyLink {
MARGIN-TOP: 3px
}
.feedbackLabel {
FONT-WEIGHT: 700; FLOAT: left; COLOR: #666
}
.feedbackHead {
PADDING-RIGHT: 10px; PADDING-LEFT: 5px; FONT-WEIGHT: bold; FONT-SIZE:
1.3em; BACKGROUND: #0099ff; PADDING-BOTTOM: 4px; MARGIN: 30px 0px; COLOR: #fff;
PADDING-TOP: 4px
}
.contactLabel {
FLOAT: left; WIDTH: 165px; PADDING-TOP: 4px
}
.w600 {
WIDTH: 600px
}
.w50p {
WIDTH: 50%
}
.disabledInput {
BACKGROUND: #f9f9f9; COLOR: #ccc
}
.ypAdWrap {
BORDER-RIGHT: #999 1px dashed; PADDING-RIGHT: 10px; BORDER-TOP: #999 1px
dashed; PADDING-LEFT: 10px; OVERFLOW-X: auto; PADDING-BOTTOM: 10px; MARGIN:
10px 0px 20px; BORDER-LEFT: #999 1px dashed; WIDTH: 584px; PADDING-TOP: 10px;
BORDER-BOTTOM: #999 1px dashed; TEXT-ALIGN: center
}
.ypAddTab {
BACKGROUND-POSITION: 3px -3916px; PADDING-LEFT: 26px! important;
BACKGROUND-IMAGE: url(/images/icons/icons_sprite.png); BACKGROUND-REPEAT: no-
repeat
}
A.blueBtnActive {
PADDING-RIGHT: 6px; PADDING-LEFT: 6px; FONT-SIZE: 0.9em; PADDING-BOTTOM:
2px; PADDING-TOP: 2px
}
A.blueBtnInactive {
PADDING-RIGHT: 6px; PADDING-LEFT: 6px; FONT-SIZE: 0.9em; PADDING-BOTTOM:
2px; PADDING-TOP: 2px
}
A.blueBtnActive {
BACKGROUND: #888; COLOR: #fff! important
}
A.blueBtnActive:hover {
BACKGROUND: #0099ff
}
A.blueBtnInactive {
BACKGROUND: #eee; CURSOR: default; COLOR: #ccc! important
}
.editBusinessBox {
BORDER-RIGHT: #f1f1f1 1px solid; PADDING-RIGHT: 8px; BORDER-TOP: #f1f1f1
1px solid; PADDING-LEFT: 8px; MARGIN-BOTTOM: 10px; PADDING-BOTTOM: 8px; BORDER-
LEFT: #f1f1f1 1px solid; PADDING-TOP: 8px; BORDER-BOTTOM: #f1f1f1 1px solid
}
.btnRedEdit {
BORDER-TOP-WIDTH: 0px; BACKGROUND-POSITION: -400px 0px; BORDER-LEFT-
WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; WIDTH: 60px; HEIGHT: 22px; BORDER-RIGHT-
WIDTH: 0px
}
DIV.helpText H3 {
MARGIN-TOP: 10px; PADDING-TOP: 20px
}
.userHelp H3 {
MARGIN-TOP: 10px; PADDING-TOP: 20px
}
DIV.helpText H3 {
CLEAR: both
}
DIV.helpText P {
CLEAR: both
}
.userHelp H3 {
CLEAR: both; PADDING-LEFT: 25px
}
.userHelp P {
CLEAR: both; PADDING-LEFT: 25px
}
DIV.helpText UL {
CLEAR: both; PADDING-LEFT: 25px; MARGIN-LEFT: 15px; LIST-STYLE-TYPE:
square
}
DIV.userHelp UL {
CLEAR: both; PADDING-LEFT: 25px; MARGIN-LEFT: 15px; LIST-STYLE-TYPE:
square
}
DIV.helpText P {
FONT-SIZE: 1em! important
}
DIV.helpText UL {
FONT-SIZE: 1em! important
}
.searchTime {
VISIBILITY: hidden
}
DIV.promoPlaceholder {
CLEAR: both; WIDTH: 800px; HEIGHT: 50px
}
DIV.promo {
PADDING-RIGHT: 10px; PADDING-LEFT: 45px; BACKGROUND:
url(/images/elements/commas.png) no-repeat left -150px; PADDING-BOTTOM: 10px;
COLOR: #333; PADDING-TOP: 10px
}
DIV.promo P {
FONT-SIZE: 1.4em
}
DIV.testimonial {
Z-INDEX: 2; BACKGROUND: url(/images/elements/commas.png) no-repeat left
3px; COLOR: #666; PADDING-TOP: 3px; POSITION: relative
}
DIV.testimonial SPAN {
PADDING-RIGHT: 80px; PADDING-LEFT: 60px; BACKGROUND:
url(/images/elements/commas.png) no-repeat right bottom; PADDING-BOTTOM: 5px;
PADDING-TOP: 5px; HEIGHT: 39px
}
DIV#contentTestmonial P {
PADDING-RIGHT: 10px; PADDING-LEFT: 40px; PADDING-BOTTOM: 8px; PADDING-
TOP: 8px; BORDER-BOTTOM: #ccc 1px dotted
}
DIV#contentTestmonial P STRONG {
WHITE-SPACE: nowrap
}
DIV#contentTestmonial SPAN.num {
FONT-SIZE: 1.5em; FLOAT: left; MARGIN-LEFT: -40px; WIDTH: 25px; COLOR:
#666; PADDING-TOP: 2px; TEXT-ALIGN: right
}
.td {

vertical-align: top;
font-family:Cambria;
height:35px;
font-style:oblique;
font-size:16px;
color:Blue;

}
.tds {

vertical-align: top;
font-family:Cambria;
font-size:24px;
font-style:normal;

}
/*////// LAYOUT ////////////////////////////// */
/* Common styles for Static Pages */

#staticPage #contentBar{width:720px; padding-right:25px;}


#staticPage #sideBar{width:200px; padding:15px 0;}
#staticPage ul, #staticPage .subHead{padding-top:5px;}
#staticPage .subHead{font-size:1.2em; line-height:1.6em;}
#staticPage ul{list-style-type:square; margin:0 0 5px 15px;}
#staticPage ul li{color: #2C8500; padding:2px 0;}
#staticPage ul li span{color: #333;}
#staticPage ul.pagination{list-style-type:none;}
#staticPage ul.pagination li a{padding:2px 6px;}
.dvTestimonials{padding-bottom:10px; margin-bottom:10px; border-bottom:1px
dotted #ccc;}
#staticPage .testimonialTxt{float:left; width:610px; padding:5px 0 0 10px;}
#staticPage ul.dotList{list-style-type:disc; padding-top:5px;}
#sideBar ul.staticLinks{background:#F7FCFE; border:2px solid #F3F3F3; margin:0;
padding:10px;}
#sideBar ul.staticLinks li{list-style-type:none; padding-bottom:10px; font-
size:1.2em;}
#sideBar ul.staticLinks li a.active{color:#333; text-decoration:none;}
#sideBar .tipBox {border:2px solid #b8ebff; background:#fff; padding:10px;
margin-top:10px;}
#sideBar .tipBox p{font-size:1.2em; padding:0 0 10px 0;}
#staticPage #contentBar p, #staticPage #contentBar div{text-align:justify;}
#staticPage .textBlock{padding-bottom:10px;}
/* /Common styles for Static Pages */

/*////// ADD / EDIT PAGE ////////////////////////////// */


/*ADD BUSINESS PAGE*/
div#adBizPage div#contentBar { width:690px; margin-right:15px;}
div#adBizPage div#sideBar { width:198px;}
div#adBizPage td { padding-bottom:10px; }
.bizProducts td { padding:0px 10px; z-index:100; position:relative;}
span.productInputWrap input { width:100%; }
span.fileInputWrap input { height:23px !important; }
div.addedProducts h4 { border-bottom:1px dotted #ccc; padding:3px 5px 3px
5px; }
div#adBizPage table th { text-align:right; width:180px; padding-right:10px;
vertical-align:top;}
div#adBizPage div.localSuggestContainer{ top:28px !important; z-index:100;}

.listingName{font-size:1.2em; font-weight:bold; padding:4px 5px 2px 5px;}


.formTab{text-align:left; color:#ccc;}
.formTab li {float:left; width:180px; }
.formTab li span {display:block; padding:7px 10px; color:#999;
background:#f3f3f3; border:1px solid #e5e5e5; border-bottom:none; margin-
right:5px; line-height:0.5em; vertical-align:middle;}
.formTab li.activeStep span{background-color:#ebfafe; border-color:#ebfafe;
color:#000; font-weight:bold;}
.formTab li span big {font-size:1.8em; line-height:1em;}
.formTab li span .stepCount{ font-size:2em;font-weight:normal; margin-
right:5px; }
.userForm {border:5px solid #ebfafe; padding:10px;}
.userFormButton { background:url("/images/buttons/default_btn.gif") 0px -10px
repeat-x; font-weight:bold; padding:3px 10px; line-height:0; cursor:pointer;
-moz-border-radius:3px; -webkit-border-radius:3px; border:1px solid #3399DD;
font-size:1em; color:#3399DD;}
.userFormButton:hover { border:1px solid #777;}
.userForm th{text-align:right;width:11em;padding-top:4px;font-weight:bold;
color:#666;}
.formAction {font-size:0.85em; color:#ABACAE; cursor:pointer;}
.formAction:hover {color:#0074d7;}
.formIcons {background: url("/images/icons/formIcons_sprite.png") no-repeat;
height:18px;}
.formIconAdd {background-position:0px -56px; margin-top:4px; padding:2px 0 2px
16px; font-size:0.85em; color:#ABACAE; cursor:pointer;}
.formIconAdd:hover {background-position:0px -85px;}

.formIconRemove {background-position:0px 3px; float:left; margin-top:4px;


padding-left:15px;}
.formIconRemove:hover {background-position:0px -25px;}
.formIconReset {display:none; background-position:0px -126px; margin:0;
cursor:pointer; padding-left:19px; color:#ABACAE;}
.formSplit {font-size:0.85em; color:#ABACAE; padding:5px; padding-left:8px;
font-size:0.85em;}
.formSplit:hover{color:#0074D7;}
.iconMapPin {background-position:-3px -83px; padding-left:13px;}
.userFormMapStatus {display:none; padding:2px 10px; background:#fff1a8;
color:#333; font-size:0.9em; -moz-border-radius:3px; -webkit-border-
radius:3px;}

/* Add business - products/service */


.addedProducts{display:none; border:0px solid #fff; padding:0px; margin:0px;}
.addedProducts .product{display:none; padding:3px 5px; border:1px solid
#f0f0f0; background:#fcfcfc; margin:10px; margin-right:0px;}
.prodHeader div.left {width:430px; }
.prodHeader div.right { width:160px; font-size:0.85em; color:#ABACAE; }
.prodHeader .prodRemove{ float:left;cursor:pointer;
background:url("/images/icons/formIcons_sprite.png") 0px 2px no-repeat;
margin:0 0 0 20px !important; padding-left:17px;}
.prodHeader .prodRemove:hover {background-position:0px -26px; color:#0DB7F6;}
.prodHeader .productName{font-weight:bold; color:#333;}
.prodHeader .brandSnippet{color:#666;}
.prodHeader .addBrand{float:left; cursor:pointer; width:70px;}
.prodHeader .addBrand:hover {color:#0DB7F6;}
.addedProducts .product .textarea{display:none;}
.addedProducts .product .addBrandsBtn{display:none; margin:5px 0;}
.addedProducts .product .brands span{ display:block; float:left; padding:2px;
margin:2px 5px; cursor:pointer; white-space:nowrap; color:#666;}
.addedProducts .product .brands span.selected{ background:#666 !important;
color:#fff;}
.addedProducts .product .brandHeight{height:150px; overflow: auto; margin-
bottom:10px;}
.defaultDisplay, .defaultDisplay .product{ display:block;}
#originalMarkup{display:none}

/* STYLES FOR STEP2 */


.productInputWrap{border:1px solid #f0f0f0; padding:4px; background:#f9f9f9;
float:left;}
.addProductInput { border:1px solid #999; height:17px; background:#fff; font-
size:1em; vertical-align:middle; padding:2px 5px 1px 5px; }
.addProductInput:hover { border:1px solid #666;}
.addProductInput:focus { border:1px solid #666; background:#fff;}
.addProductButton { background:url("/images/icons/formIcons_sprite.png") 0px
-237px no-repeat; padding:0; margin-left:-5px; border:none; color:#000; font-
weight:normal; -moz-border-radius:0; -webkit-border-radius:0; text-
align:center; vertical-align:middle; height:22px; width:48px;}
.addProductButton:hover { background:url("/images/icons/formIcons_sprite.png")
0px -295px no-repeat; padding:0; margin-left:-5px; border:none; color:#000;
font-weight:normal; -moz-border-radius:0; -webkit-border-radius:0; text-
align:center; vertical-align:middle; height:22px; width:48px;}

/* STYLES FOR STEP3 */


.imageThumb {width:100px; height:100px; border:2px solid #f3f3f3; padding:3px;}
.videoThumb {width:224px; height:136px; border:2px solid #f3f3f3; padding:3px;}
.imageThumbWrap {overflow:hidden; width:150px; height:200px; padding-top:20px;}
.videoThumbWrap {overflow:hidden; width:250px; height:200px; padding-top:20px;}
.docThumbWrap {overflow:hidden; border:1px solid #efefef; margin-top: 10px;
padding:10px; list-style:square; list-style-position:inside; color:#0DB7F6;}
.mainMessage {margin:20px 0 0; border:1px dotted #ccc; background:#ffffcc;
padding:10px;}
.expanded1 {background:#f2f2f2; padding:7px 10px 7px;}
.expanded2 {background:#f9f9f9; padding:7px 10px 7px;}
.timingLabel {float:left; width:40px; padding-top:2px;}

/*///// COMMON STYLES FOR WHOLE SITE /////////////////////*/

a.blueBtn { background:url("/images/buttons/blue_btn.gif") no-repeat left 0px;


color:#fff; font-size:1.4em; font-weight:bold; padding-left:5px; float:left }
a.blueBtn:hover { color:#fff; }
a.blueBtn span {background:url("/images/buttons/blue_btn.gif") no-repeat right
bottom; padding:10px 12px 0px 7px; float:left; height:27px;}
a.blueBtn small { font-size:.6em !important; font-weight:normal;
color:#f8f8f8;}

div.userNav { background:#f3f3f3; margin-bottom:10px; border:1px solid #ccc;}


div.userNav ul li { float:left; padding:5px 15px; color:#999; display:block;
font-weight:bold; border-right:1px solid #ccc; }
div.userNav ul li.activeStep { color:#006600; background:#EBFAFE;}

/*USER DASHBOARD */
div.userInfo { padding:2px 0px;}
div.userInfo table { background:#f9f9f9; border:2px solid #f3f3f3; }
div.userInfo table td { border:1px dotted #ccc; padding:8px; color:#555;
vertical-align:top;}
div.userInfo table td label { color:#888; width:60px; padding-right:10px;}
td.userPhoto { width:65px; }
td.userPhoto img { height:50px; width:50px; margin:5px; padding:2px;}

div.bizList { background:#ccc url(/images/elements/graydientbg_sprite.gif)


repeat-x left -20px; border:5px solid #f3f3f3; padding:4px; margin-bottom:15px;
}
div.bizList .pad { padding:0px 8px 5px 8px; margin-bottom:5px; border:1px solid
#f3f3f3; background:url(/images/elements/graydientbg_sprite.gif) repeat-x left
-30px; }
div.bizList label { color:#999; }
div.bizList ul { display:block; border-top:1px solid #fff; font-size:.9em;
padding:0px 5px; }
div.bizList ul li { padding:6px 10px 6px 30px; float:left;}
div.bizList ul li.meterCell { float:left;}
div.feded { color:#ccc !important; }

div.bizList ul li.status { background-image:url(/images/icons/spriteMsg.gif);


background-repeat:no-repeat; font-weight:bold; padding-left:5px; }
ul.active { background:#e5fede; }
ul.active li.status { background-position:left -135px; }
ul.pending { background:#feeaea; }
ul.pending li.status {background-position:left -65px; color:red; font-
weight:bold;}
ul.inactive { background:#f9f9f9;}
ul.inactive li.status { background-position:left -275px; }
div.bizList ul li label { float:left; margin-right:5px; border-left:1px solid
#ccc; padding-left:5px;}
.meterCell span, .meterCell span {float:left; margin-right:5px;}
span.meter {background:#fff; border:1px solid #ccc; height:12px; width:100px;
float:left; margin:2px 5px 0 0;}
span.meterGreen { background:green; float:left; height:12px;}
span.meterRed { background:red; float:left; height:12px;}
.mtrTip { background:url("/images/icons/spriteMsg.gif") 4px -211px; width:20px;
display:inline-block; }

.thanksMsg { text-align: center; padding:0px;}


.errorMsg { text-align: center; padding:0px; }
.deniedMsg h1, .errorMsg h1 { background:#fefee6 !important; color:red !
important; border:none !important; text-align:center !important;}

input.readonly {background:#ccc; color:#777; cursor:default;}


a.topMinus { margin-top:-23px !important; }
button.topMinus { margin-top:-28px !important; }
.dashHeader {margin-bottom:15px; padding-left:15px; float:left;}

/* Dashboard Page */
#dashboardPage {border-bottom:1px dotted #ccc;}
#dashboardPage #contentBar{ width:700px; padding-right:25px; border-right:1px
dotted #ccc;}
#dashboardPage #sideBar {width:200px;}
FUTURE SCOPE AND FURTHER ENHANCEMENT
This web site can be used as a yellow page site, which manages the business and
shop information in Database. It is useful to maintain Customer’s information,
Country details, state details, city details, control different activities of the business
information like insertion of new users record, insertion of new customer record,
deletion of record, modification in existing record etc. With small alteration we can
use this system in any other company to maintain and control the activities of the
company according to their users and requirements.
For future expansion or growth the proposed project can be upgraded easily.
Customers can obtain the details easily by accessing the web site through internet.

FUTURE EXPANSION –
The project is created with high flexibility i.e. additional
features can be aided to the project at any time with minimal changes. Business
associates of the company can add more users time, which increases the expandability.
SAP can also be implemented using this web site in the future.

Вам также может понравиться