You are on page 1of 79

1

CHAPTER 1

INTRODUCTION

1.1 ORGANISATION PROFILE

Master Soft Tech is a software development firm providing technology solutions to

a diverse customer. MST an organization committed to share knowledge and provide

quality in its core competencies and in a way nurture talent for the future endeavors. We

believe that we would be able to offer a great support for Customers through our time

tested and mature processes and proven global delivery model. We combine a proven

business model with some of the industry’s top talent to provide our clients with the best

services and products possible.

Team MST always has one fundamental aspect clear in mind and it’s about

change, information age has one thing to remain for sure i.e. change and MST is a full-

blooded info-age complaint organization. We have a competitive edge with which it would

put its best foot forward in order to create a win situation for anybody who is associated

with MST one way or another.

Networking and Communication Architecture

Our goal is to

 Combine knowledge, technology and innovation to develop cost-effective

solutions

 Conduct business in a way that mutually benefits both customers and

employees

 Adhere to exemplary moral standards in all relationship


2

As a team has prowess to have a clear vision and realize it too. As a statistical

evaluation, the team MST has more than hours of expertise in providing real-time

solutions in the fields of Embedded systems, Smartcards, Networking, Cloud Computing,

Data mining, GPRS, PLCC, Matlab, Security, VB.net, ASP.net, Java/J2EE/J2ME,

LINUX,LAMP/WAMP.

Our Vision

“Dreaming a vision is possible and realizing it is our goal.”

Our Mission

Our mission is to partner with our customers, help them manage change and drive

significant improvements in their business processes through the effective use of

technology.

IT Infrastructure Consulting

MST assists with the design, selection and implementation the IT infrastructure that

guarantees required performance, security, availability and scalability.

The consulting process can include

 High Level Design, Prototyping and Implementation

 Server Architecture and Clustering Service

 Selection of Hardware and Software Server Platforms, DBMS Servers and

Remote Communication Platforms

 Messaging Strategies

 Security Consulting
3

1.2 PROBLEM DEFINITON

Public Photography Images are now one of the key enablers of users’ connectivity.

Sharing takes place both among previously established groups of known people or social

circles, and also increasingly with people outside the user’s social circles, for purposes of

social discovery-to help them identify new peers and learn about peers interests and social

surroundings. However, semantically rich Photography images may reveal content

sensitive information. It could be shared within a Google+ circle or Flickr group, but may

unnecessarily expose the student’s family members and other friends. Sharing

Photography images within online content sharing sites, therefore, may quickly lead to

unwanted disclosure and Photo violations. Further, the persistent nature of online public

photography makes it possible for other users to collect rich aggregated information about

the owner of the published content and the subjects in the published content. The

aggregated information can result in unexpected exposure of one’s social environment and

lead to abuse of one’s personal information.

Most content sharing websites allow users to enter their preferences.

Unfortunately, recent studies have shown that users struggle to set up and maintain such

Public Photography contest through online. One of the main reasons provided is that given

the amount of shared information this process can be tedious and error-prone. Therefore,

many have acknowledged the need of policy recommendation systems which can assist

users to easily and properly configure Photo settings. However, existing proposals for

automating Photo settings appear to be inadequate to address the unique Photo needs of

images due to the amount of information implicitly carried within images, and their

relationship with the online environment where in they are exposed.


4

CHAPTER 2

SYSTEM ANALYSIS

2.1 EXISTING SYSTEM

In past photography contest exists mostly in some place with fixed date. There for

contest organizer had to do many things while they organizing those events. The

photography organizer can easily choose the winner of the contests & can announce the

winner in the web site. Sharing images within online content sharing sites may quickly

lead to unwanted disclosure and Photo violations. Online media makes it possible for other

users to collect rich aggregated information about the owner of the published content and

the subjects in the published content and unexpected exposure of one’s social environment

and lead to abuse of one’s personal photography photos. In previous content sharing

websites allow users to enter their preferences users struggle to set up and maintain such

Photo settings.

2.2 PROPOSED SYSTEM

A Synchronized Photo Policy Prediction (S3P) system which aims to provide users

a hassle free Photo Policy settings experience by automatically generating personalized

policies and the S3P system handles user uploaded images, and factors in the following

criteria that influence one’s Policy settings of images. Social context of users, such as their

profile information and relationships with others may provide useful information

regarding users’ policy preferences. In the propose the impact of social environment and

users’ individual characteristics in order to predict the policies that match each

individual’s needs. Moreover, individuals may change their overall attitude toward Photo
5

as time passes. In order to develop a personalized policy recommendation system, such

changes on Photo opinions should be carefully considered.

The visual content may not be sufficient to capture users’ policy preferences. The

social context of the image, including where it was taken and also provide a synthetic

description of images, complementing the information obtained from visual content

analysis.

Advantage of proposed system

 Manage the Contest with added time period.

 Maintain the user registration & user’s data.

 Store the photos & manage them with a database.

 Keep the records about old contest data for specific time period.

 Manage the votes (like) added by users and select winners.

2.3 USER INTERFACE REQUIREMENTS

Module

 Contest Organizer

 Photographer

 Add votes

2.3.1 Module description

CONTEST ORGANIZER

Photography contest organizer can create new photography contests & publish

them in the System.


6

 Add new contest to the system.

 Delete existing contest

 Update Contest data

 Selecting winner of contest

PHOTOGRAPHER

The photographer who interest with those existing contests can register for &

publish their work within submission period. After contest reach the submission deadline

photographers are notified via email for initiate competition begin.

 Register to the contest

 Upload photographs

Add votes

The registered user of the system can vote those uploaded photos & finally contest

organizers can select the winner of the contest based on the user votes.

 Voting User

 Add votes

 Winner Published

PHOTO SETTING

Normal users can either directly choose a setting or only need to do minor

modification and to predict a user’s Photo preferences for location-based data.

 Photo wizard to help users grant privileges to their friends.


7

 Input to construct a classifier which classifies friends based on their profiles and

automatically assigns Photo labels to the unlabeled friends.

 The keywords and captions with which users tag their photos can be used to help

users more clearly create and maintain access-control policies.

The aforementioned approaches focus on deriving policy settings for only traits, so

they mainly consider social context such as one’s friend list. While interesting, they may

not be sufficient to address challenges brought by image files for which Photo may vary

substantially not just because of social context but also due to the actual image content. As

far as images, authors in have presented an expressive for images uploaded in social sites.

This work is complementary to as do not deal with policy expressiveness, but rely on

common forms policy specification for predictive algorithm.

RECOMMENDATION SYSTEMS

Process recommendation framework to connect image content with communities in

online social media and they characterize images through three types of features:

 Visual features

 User generated text tags

 Social interaction

An interesting experimental evaluation of several collaborative filtering Direction

policy prediction (D2P) algorithms with recommend for users to like or dislike the photo.

USER PREFER POST PAGE

There is also a large body of work on the customization and personalization of

photo based information which utilizes techniques such as association rule mining. In this
8

proposes an interesting experimental evaluation of several collaborative filtering

algorithms to recommend groups for public photography users. These approaches have a

totally different goal to approach as they focus on sharing rather than protecting the

content.

VALIDATION IN PUBLIC SITE

Validate in the analysis on the performance of the detection algorithms. Randomly

choose a good photography that has bad photography neighbors and take her as the like to

vote and comparing the two groups of curves that probability of false positive of the

cooperative algorithm is always smaller than that of the non-cooperative algorithm.

Show that theoretic analysis provides a good approximation of probability of false

positive, which validates the effectiveness of the termination condition used in the

complete detection algorithm. Moreover, comparing the two groups of curves, can see that

probability of false positive of the cooperative algorithm is always smaller than that of the

non-cooperative algorithm, which implies that the cooperative scheme effectively speeds

up the detection. Simulation results show that probability of false positive goes to zero

eventually, which implies that users in the suspicious set must be dishonest with high

probability after sufficient number of rounds. At last, also observe the speedup of the

detection for the cooperative algorithm.

EM-CORE

Public photography Images are first classified based on content and metadata. A

two-stage approach is more suitable for policy recommendation and the common one-

stage data mining approaches to mine both image features and policies together at the first
9

stage to classify the new photo image and find the candidate sets of images for the

subsequent policy recommendation.

Adopting a two-stage approach is more suitable for policy recommendation than

applying the common one-stage data mining approaches to mine both photo image

features and policies together. Recall that when a user uploads a new photo image, the user

is waiting for a recommended policy. The two-stage approach allows the system to

employ the first stage to classify the new image and find the candidate sets of images for

the subsequent policy recommendation.

PHOTO CLASSIFICATION

Hierarchical photo classification which classifies images first based on their

contents. Refine each category into subcategories based on their metadata. Images that do

not have metadata will be grouped only by content. Hierarchical classification gives a

higher priority to photo content and minimizes the influence of missing tags.

To obtain groups of images that may be associated with similar Photo preferences,

Images that do not have metadata will be grouped only by content. Such a hierarchical

classification gives a higher priority to image content and minimizes the influence of

missing tags. .
10

CHAPTER 3

DEVELOPMENT ENVIRONMENT

3.1 HARDWARE ENVIRONMENT

System : Dual Core

Hard Disk : 160 GB

Monitor : 15 VGA Color And Above

Mouse : Logitech.

Ram : 1 GB

3.2 SOFTWARE REQUIREMENTS

Operating system : Windows XP/7.

Front End : ASP.net

Coding Language : C#.net

Tool : Visual Studio 2005

Database : SQL SERVER 2005


11

CHAPTER 4

SYSTEM DESIGN

4.1 DATA MODEL

0-Level

ADMIN

PUBLIC
PHOTOGRAPHY STESS ANALYSIS

END USER

1-Level

Registration User signup

USER

Like Count
Post Image Post -Tbl
12

2-Level

Mail id
User Details User

Signup

Mail Id
Checking
ADMIN Post - Tbl
User Post like

Score
Calculate
Post - Tbl

Winner
Detected

4.1.1 ER Diagram

Figure 4.2 ER Diagram


13

4.2 LOGICAL DATA DESIGN2LOGICAL DATA DESIGN

Signup Table

Description:

In this table describe the new user register details to be stored.

Field Name Data Type

Fname varchar(50)

Father varchar(50)

DOB nvarchar(50)

Pass nvarchar(50)

College varchar(MAX)

mail nvarchar(50)

Photo nvarchar(MAX)

Interest Nvaerchar(50-

Table 4.1: Signup Table

Table Name: Post upload

Description: It is used to Post new image or any share to be uploading in the table.

Field Name Data Type

Umail nvarchar(50)
14

Fname varchar(50)

Post nvarchar(50)

Postimag nvarchar(50)

Likefrom nvarchar(50)

Dislike nvarchar(50)

Like Count nvarchar(50)

Dislike count nvarchar(50)

Table 4.2: Post upload

Table Name: User Friends

Description: It is used to Add Friends details to be stored.

Field Name Data Type

Umail varchar(50)

Fmail varchar(50)

Fname nvarchar(50)

Fphoto nvarchar(50)

Table 4.3: User Friends Table


15

CHAPTER 5

ARCHITECTURAL DETAILS

5.1 PROGRAM DESIGN LANGUAGE

PSEUDO CODE (EM Algorithm)

1) E-Step: In the E-Step of the algorithm, making use of given estimates of the model

parameters compute the posterior probability of all tissue label vectors. Expanding use and

that are corresponding to simplify notation.

2) M-Step: In the M-Step of the algorithm update the parameter estimates using closed-

form update expressions that guarantee increasingly better estimates of the model

parameters. The updates are intuitive: the latent tumor prior is an average of the

corresponding posterior probability estimates.


16

5.2 LANGUAGE SPECIFICATION

ASP.Net Overview

Introduction on .NET Framework

.NET is the framework for which develop applications. It sits in between

application programs and operating system. Applications developed for .NET run inside

.NET and are controlled by .NET. It supports both Windows and web applications.

.NET provides an object oriented environment. It ensures safe execution of the

code by performing required runtime validations. For example, it is never possible to

access an element of an array outside the boundary. Similarly, it is not possible to a

program to write into another programs area, etc. The runtime validations performed by

.NET makes the entire environment robust.

Components of .NET

.NET framework has two main components. They are

 Common Language Runtime

 .NET class library

Common Language Runtime

The Common Language Runtime (CLR) is the environment where all programs in

.NET are run. It provides various services, like memory management and thread

management. Programs that run in the CLR need not manage memory, as it is completely

taken care of by the CLR. For example, when a program needs a block of memory, CLR

provides the block and releases the block when program is done with the block. As every

program is ultimately converted to MSIL in .NET, the choice of language is pure


17

personal. A program written in VB.NET and a program written in C# are both converted

to MSIL. Then MSIL is converted to native code and run. So, whether you write program

in C# or VB.NET at the end it is MSIL all that you get. It is believed VB6.0 programmers

will migrate to VB.NET and C++ and Java programmers switching to .NET will prefer to

use C# as it more resembles those languages.

For Java programmers, MSIL in .NET is same as Byte code in concept. CLR is

same as JVM (Java virtual machine). So the inevitable question is “Is .NET platform

independent like Java?” The answer is technically YES. A program written for .NET can

run on any platform as long as .NET is made available on that platform. As of now, .NET

runs only on Windows. So, .NET is technically platform independent but not recall, at

least not now. Efforts are on to make .NET run on Linux. The project is called as Mono

and is currently being developed. Though some people doubt the seriousness of Microsoft,

I will not be surprised if Microsoft comes out with .NET on Linux in future. If that

happens, all your VB.NET, and C# programs can run as they are on both Windows and

Linux.

The following are different types of applications that can be developed in .NET

Windows applications – typical Client/Server applications.

Web applications – Web sites and Intranet applications.

Web services – Programs that are accessible from anywhere using Symmetric protocols

like HTTP and SOAP.

Console Applications – Simple console based applications without any GUI. Run from

command prompt. Best suited to learn fundamentals and also for applications such as

server sockets.
18

Mobile Applications – Contain web pages that run in mobile devices such as PDAs

(Personal Digital Assistant) and Cell phones.

Though .NET supports many languages, I believe only two languages will

dominate programming in .NET: VB.NET and C#.

VB.NET is the successor to VB 6.0, but language wise, it was modified

substantially as it became complete OOPL – no more "object-based language."

C# resembles Java. Though Microsoft claims, C# resembles C++, but let's faces

it: it resembles Java more than C++.

Figure 5.1

Though .NET supports many languages, I believe only two languages will dominate

programming in .NET: VB.NET and C#.

VB.NET is the successor to VB 6.0, but language wise, it was modified

substantially as it became complete OOPL – no more "object-based language."

C# resembles Java. Though Microsoft claims, C# resembles C++, but let's faces

it: it resembles Java more than C++.


19

C# DOT NET

C# is a multi-paradigm programming language encompassing imperative,

declarative, functional, generic, object-oriented (class-based), and component-

oriented programming disciplines. It was developed by Microsoft within

the .NET initiative and later approved as a standard by ECMA (ECMA-334)

and ISO (ISO/IEC 23270). C# is one of the programming languages designed for

the Common Language Infrastructure. C# is intended to be a simple, modern, general-

purpose, object-oriented programming language. Its development team is led by Anders

Hejlsberg.

The C# language is disarmingly simple, with only about 80 keywords and a

dozen built-in data types, but C# is highly expressive when it comes to implementing

modern programming concepts. C# includes all the support for structured, component-

based, object-oriented programming that one expects of a modern language built on the

shoulders of C++ and Java. The C# language was developed by a small team led by two

distinguished Microsoft engineers, Anders Hejlsberg and Scott Wiltamuth. Hejlsberg is

also known for creating Turbo Pascal, a popular language for PC programming, and for

leading the team that designed Borland Delphi, one of the first successful integrated

development environments for client/server programming. At the heart of any object-

oriented language is its support for defining and working with classes. Classes define new

types, allowing you to extend the language to better model the problem you are trying to

solve. In C# everything pertaining to a class declaration is found in the declaration itself.

C# class definitions do not require separate header files or Interface Definition Language

(IDL) files.

New Features in ASP.NET 3.5


20

LINQ

LINQ (Language Integrated Query) adds native data querying capability to C# and

VB.NET along with the compiler and Intelligence support. LINQ is a component of .NET

3.5. LINQ defines operators that allow you to code your query in a consistent manner over

databases, objects and XML. The ASP.NET Linq Data Source control allows you to use

LINQ to filter, order and group data before binding to the List controls.

SQL Server 2005

Microsoft has released a new version of SQL Server that promises to improve life

for database administrators. The latest version is SQL Server 2005, and it offers a large

variety of new.

Database Management

For database administrators, the additional management functionality makes SQL

Server 2005 a very exciting new product. The new policy management, multiple server

query capability, configuration servers, and data collector/management warehouse offer

powerful new abilities for database administrators who are often responsible for managing

large and complex database environments with hundreds or thousands of databases on

dozens or even hundreds of servers.

The SQL Server 2005 Policy Management feature, which was actually called

Declarative Management Framework in the Community Technology Previews (CTPs),

allows you to create and execute configuration policies against one or more database

servers. With these policies, you can ensure that standard configuration settings are

applied and maintained on each of the targeted servers and databases.


21

Another nice new management feature is the Data Collector. Database

administrators often need to collect management data from a large number of servers, and

many of these DBAs have created their own custom solution for doing so. The Data

Collector is a built-in mechanism that eases the task of collecting management-related

data. It allows you to use the SQL Server Agent and SQL Server Integration Services

(SSIS) to create a framework that collects and stores your data while providing error

handling, auditing, and collection history.

Unlike third-party tools and custom jobs, the Data Collector will be easily

understood by most database administrators since it uses SQL Server Agent and SSIS to

create a set of jobs and packages to handle the connections, collection, and storage of data.

Once this data is stored in a central location, referred to as the Management Warehouse, it

can be viewed and organized through a set of T-SQL statements and SQL Server 2005

Reporting Services reports. This central data store makes it much easier to analyze and

view the overall management metrics of the database environment.


22

CHAPTER 6

SYSTEM IMPLEMENTATION

6.1 CODING

Home

using System;
using System.Data;
using System.Configuration;
using System.Collections;
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.Data.SqlClient;
public partial class Login : System.Web.UI.Page
{
SqlConnection log = new SqlConnection(" Data Source=MASTER-
PC;Initial Catalog=SOCIAL;User ID=sa;Password=redhat");

protected void Page_Load(object sender, EventArgs e)


{

}
protected void ImageButton1_Click(object sender, ImageClickEventArgs
e)
{
log.Open();

string cmdlog = "select count(*) from Signup where Mail='" +


TextBox1.Text + "'";
SqlCommand Checkuser = new SqlCommand(cmdlog, log);
int temp =
Convert.ToInt32(Checkuser.ExecuteScalar().ToString());
if (temp == 1)
{

string cmdpass = "select Pass from Signup where Mail='" +


TextBox1.Text + "'";
SqlCommand checkpass = new SqlCommand(cmdpass, log);
string Pass = checkpass.ExecuteScalar().ToString();
log.Close();
if (Pass == TextBox2.Text)
{

Session["Mail"] = TextBox1.Text;

Response.Redirect("Home.aspx?data= " + TextBox1.Text);

}
else
{
Page.ClientScript.RegisterStartupScript(this.GetType(),
"Master", "<script>alert('Invalid Password....');</script>");
23

}
}
else
{
Page.ClientScript.RegisterStartupScript(this.GetType(),
"Master", "<script>alert('Invalid UserName...');</script>");

}
}
protected void LinkButton1_Click(object sender, EventArgs e)
{
Response.Redirect("Login.aspx");
}
protected void LinkButton2_Click(object sender, EventArgs e)
{
Response.Redirect("Signup.aspx");
}
protected void LinkButton3_Click(object sender, EventArgs e)
{
Response.Redirect("Adminlog.aspx");
}

protected void ImageButton2_Click(object sender, ImageClickEventArgs


e)
{
Session["Mail"] = TextBox1.Text;
Response.Redirect("Forgot.aspx?data= " + TextBox1.Text);
}
}
Signup
using System;
using System.Data;
using System.Configuration;
using System.Collections;
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.Data.SqlClient;
using System.IO;
public partial class Signup : System.Web.UI.Page
{
SqlConnection reg = new SqlConnection(" Data Source=MASTER-
PC;Initial Catalog=SOCIAL;User ID=sa;Password=redhat");
SqlCommand sign;
protected void Page_Load(object sender, EventArgs e)
{
//Calendar1.Visible = false;

}
protected void ImageButton1_Click(object sender, ImageClickEventArgs
e)
{

reg.Open();
string path = Server.MapPath("PHOTO/");
24

if (FileUpload1.HasFile)
{
string ext = Path.GetExtension(FileUpload1.FileName);
if (ext == ".jpg" || ext == ".jpeg")
{
FileUpload1.SaveAs(path + FileUpload1.FileName);
string rec = "~/PHOTO/" + FileUpload1.FileName;

sign = new SqlCommand("insert into


Signup(Fname,Father,DOB,Pass,College,Interest,Mail,Photo)values('" +
TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" +
TextBox4.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "','" +
TextBox7.Text + "','" + rec + "')", reg);
sign.ExecuteNonQuery();
reg.Close();
Page.ClientScript.RegisterStartupScript(this.GetType(),
"Master", "<script>alert('Signup Successfully...');</script>");

TextBox1.Text = "";
TextBox2.Text = "";
TextBox3.Text = "";
TextBox4.Text = "";
TextBox5.Text = "";
TextBox6.Text = "";
TextBox7.Text = "";
}
}
}
protected void LinkButton1_Click(object sender, EventArgs e)
{
Response.Redirect("Login.aspx");
}
protected void LinkButton2_Click(object sender, EventArgs e)
{
Response.Redirect("Signup.aspx");
}
protected void LinkButton3_Click(object sender, EventArgs e)
{
Response.Redirect("Adminlog.aspx");
}
protected void ImageButton2_Click(object sender, ImageClickEventArgs
e)
{
Calendar1.Visible = true;
}
protected void Calendar1_SelectionChanged(object sender, EventArgs
e)
{
TextBox3.Text = Calendar1.SelectedDate.ToShortDateString();
}
protected void Calendar1_VisibleMonthChanged(object sender,
MonthChangedEventArgs e)
{
TextBox3.Text = e.NewDate.ToShortDateString();
}
}
Home
using System;
using System.Data;
using System.Configuration;
using System.Web;
25

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.Data.SqlClient;
public partial class _Default : System.Web.UI.Page
{
SqlConnection con = new SqlConnection(" Data Source=MASTER-
PC;Initial Catalog=SOCIAL;User ID=sa;Password=redhat");
string str;
SqlCommand com;
protected void Page_Load(object sender, EventArgs e)
{
TextBox1.Text = Session["Mail"].ToString();

con.Open();
str = "select * from Signup where Mail='" + TextBox1.Text + "'";
com = new SqlCommand(str, con);

SqlDataReader dsr = com.ExecuteReader();


if (dsr.Read())
{
Label1.Text = dsr["Fname"].ToString();
Label9.Text = dsr["Fname"].ToString();
Label10.Text = dsr["Father"].ToString();
Label11.Text = dsr["DOB"].ToString();
Label12.Text = dsr["College"].ToString();
Label13.Text = dsr["Interest"].ToString();
Label8.Text = dsr["Trustkey"].ToString();
TextBox2.Text = dsr["Photo"].ToString();
Image1.ImageUrl = TextBox2.Text;

con.Close();
}
protected void LinkButton1_Click(object sender, EventArgs e)
{
Response.Redirect("Home.aspx?data= " + TextBox1.Text);

}
protected void LinkButton2_Click(object sender, EventArgs e)
{
Response.Redirect("Frnd.aspx?data= " + TextBox1.Text);
}
protected void LinkButton3_Click(object sender, EventArgs e)
{
Response.Redirect("Post.aspx?data= " + TextBox1.Text);
}
protected void LinkButton4_Click(object sender, EventArgs e)
{
Response.Redirect("News.aspx?data= " + TextBox1.Text);
}
protected void LinkButton5_Click(object sender, EventArgs e)
{
Response.Redirect("Login.aspx?data= " + TextBox1.Text);
}
26

protected void LinkButton6_Click(object sender, EventArgs e)


{
Response.Redirect("Settings.aspx?data= " + TextBox1.Text);
}
}
Friend Page
using System;
using System.Data;
using System.Configuration;
using System.Collections;
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.Data.SqlClient;
public partial class Frnd : System.Web.UI.Page
{
SqlConnection con = new SqlConnection(" Data Source=MASTER-
PC;Initial Catalog=SOCIAL;User ID=sa;Password=redhat");
string str;
SqlCommand com;
protected void Page_Load(object sender, EventArgs e)
{
Label5.Visible = false;
Label6.Visible = false;
Label7.Visible = false;
TextBox4.Visible = false;
Label9.Visible = false;
Label3.Visible = false;
Label2.Visible = false;
Image2.Visible = false;
ImageButton2.Visible = false;
TextBox1.Text = Session["Mail"].ToString();
con.Open();
str = "select * from Signup where Mail='" + TextBox1.Text + "'";
com = new SqlCommand(str, con);

SqlDataReader dsr = com.ExecuteReader();


if (dsr.Read())
{
Label1.Text = dsr["Fname"].ToString();
TextBox2.Text = dsr["Photo"].ToString();
Image1.ImageUrl = TextBox2.Text;

}
con.Close();
}
protected void LinkButton1_Click(object sender, EventArgs e)
{
Response.Redirect("Home.aspx?data= " + TextBox1.Text);

}
protected void LinkButton2_Click(object sender, EventArgs e)
{
Response.Redirect("Frnd.aspx?data= " + TextBox1.Text);
}
27

protected void LinkButton3_Click(object sender, EventArgs e)


{
Response.Redirect("Post.aspx?data= " + TextBox1.Text);
}
protected void LinkButton4_Click(object sender, EventArgs e)
{
Response.Redirect("News.aspx?data= " + TextBox1.Text);
}
protected void LinkButton5_Click(object sender, EventArgs e)
{
Response.Redirect("Login.aspx?data= " + TextBox1.Text);
}
protected void ImageButton1_Click(object sender, ImageClickEventArgs
e)
{
con.Open();
str = "select * from Signup where Mail='" + TextBox3.Text + "'";
com = new SqlCommand(str, con);

SqlDataReader dsr = com.ExecuteReader();


if (dsr.Read())
{
Label5.Visible = true;
Label6.Visible = true;
Label7.Visible = true;
// TextBox4.Visible = true;
Label9.Visible = true;
Label3.Visible = true;
Label2.Visible = true;
Image2.Visible = true;
ImageButton2.Visible = true;
Label5.Text = dsr["Fname"].ToString();
Label6.Text = dsr["DOB"].ToString();
Label7.Text = dsr["Interest"].ToString();
TextBox4.Text = dsr["Photo"].ToString();

Image2.ImageUrl = TextBox4.Text;

}
else
{
Label5.Visible= false;
Label6.Visible= false;
Label7.Visible= false;
//TextBox4.Visible = false;
Label9.Visible = false;
Label3.Visible = false;
Label2.Visible = false;
Image2.Visible = false;
ImageButton2.Visible = false;
Page.ClientScript.RegisterStartupScript(this.GetType(),
"Master", "<script>alert('No Person Detected...');</script>");

con.Close();
}
protected void ImageButton2_Click(object sender, ImageClickEventArgs
e)
{
con.Open();
28

SqlCommand sign = new SqlCommand("insert into


Friendlist(Umail,Fmail,Fname,Fphoto)values('" + TextBox1.Text + "','" +
TextBox3.Text + "','" + Label5.Text + "','" + TextBox4.Text + "')",
con);
sign.ExecuteNonQuery();
Page.ClientScript.RegisterStartupScript(this.GetType(),
"Master", "<script>alert('Friend Added Done.');</script>");

con.Close();
Label5.Visible = false;
Label6.Visible = false;
Label7.Visible = false;
//TextBox4.Visible = false;
Label9.Visible = false;
Label3.Visible = false;
Label2.Visible = false;
Image2.Visible = false;
ImageButton2.Visible = false;
}
}
Post
using System;
using System.Data;
using System.Configuration;
using System.Collections;
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.IO;
using System.Data.SqlClient;
public partial class Post : System.Web.UI.Page
{
SqlConnection con = new SqlConnection(" Data Source=MASTER-
PC;Initial Catalog=SOCIAL;User ID=sa;Password=redhat");
string str;
SqlCommand com;
protected void Page_Load(object sender, EventArgs e)
{
TextBox1.Text = Session["Mail"].ToString();
con.Open();
str = "select * from Signup where Mail='" + TextBox1.Text + "'";
com = new SqlCommand(str, con);

SqlDataReader dsr = com.ExecuteReader();


if (dsr.Read())
{
Label1.Text = dsr["Fname"].ToString();
TextBox2.Text = dsr["Photo"].ToString();
Image1.ImageUrl = TextBox2.Text;

}
con.Close();

int a;
string conn = "Data Source=MASTER-PC;Initial Catalog=SOCIAL;User
ID=sa;Password=redhat";
29

//SqlConnection con = new SqlConnection(cnstr);


con.Open();
string query = "Select Max(Postid) from Post";
SqlCommand cmd = new SqlCommand(query, con);
SqlDataReader dr = cmd.ExecuteReader();
if (dr.Read())
{
string val = dr[0].ToString();
if (val == "")
{
TextBox9.Text = "1";
}
else
{
a = Convert.ToInt32(dr[0].ToString());
a = a + 1;
TextBox9.Text = a.ToString();
}
}
con.Close();

}
protected void ImageButton1_Click(object sender, ImageClickEventArgs
e)
{
if (RadioButton1.Checked == true)
{
TextBox6.Text = "Like";
}
else
{
TextBox6.Text = "OFF";
}
if (RadioButton3.Checked == true)
{
TextBox7.Text = "DisLike";
}
else
{
TextBox7.Text = "OFF";
}
if (RadioButton5.Checked == true)
{
TextBox8.Text = "Smily";
}
else
{
TextBox8.Text = "OFF";
}
{
con.Open();

SqlCommand sign = new SqlCommand("insert into


Post(Umail,Fname,Post,Postimg,Likefrom,Dislike,Smily,Postid,Likecount,Di
slikecount,smilycount)values('" + TextBox1.Text + "','" + Label1.Text +
"','" + TextBox3.Text + "','" + TextBox5.Text + "','" + TextBox6.Text +
"','" + TextBox7.Text + "','" + TextBox8.Text + "','" + TextBox9.Text +
"','" + Label5.Text + "','" + Label6.Text + "','" + Label7.Text + "')",
con);
sign.ExecuteNonQuery();
30

Page.ClientScript.RegisterStartupScript(this.GetType(),
"Master", "<script>alert('Post Successfully...');</script>");

con.Close();
}

protected void ImageButton2_Click(object sender, ImageClickEventArgs


e)
{
string path = Server.MapPath("PHOTO/");
if (FileUpload1.HasFile)
{
string ext = Path.GetExtension(FileUpload1.FileName);
if (ext == ".jpg" || ext == ".jpeg")
{
FileUpload1.SaveAs(path + FileUpload1.FileName);
string phpost = "~/PHOTO/" + FileUpload1.FileName;

TextBox5.Text = phpost;
Image2.ImageUrl = phpost;
}
}

}
protected void LinkButton1_Click(object sender, EventArgs e)
{
Response.Redirect("Home.aspx?data= " + TextBox1.Text);

}
protected void LinkButton2_Click(object sender, EventArgs e)
{
Response.Redirect("Frnd.aspx?data= " + TextBox1.Text);
}
protected void LinkButton3_Click(object sender, EventArgs e)
{
Response.Redirect("Post.aspx?data= " + TextBox1.Text);
}
protected void LinkButton4_Click(object sender, EventArgs e)
{
Response.Redirect("News.aspx?data= " + TextBox1.Text);
}
protected void LinkButton5_Click(object sender, EventArgs e)
{
Response.Redirect("Login.aspx?data= " + TextBox1.Text);
}
}
View News
using System;
using System.Data;
using System.Configuration;
using System.Collections;
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;
31

using System.Data.SqlClient;
using System.IO;
public partial class Viewnews : System.Web.UI.Page
{

SqlConnection con = new SqlConnection("Data Source=MASTER-PC;Initial


Catalog=SOCIAL;User ID=sa;Password=redhat");
SqlDataAdapter ad;
DataSet ds = new DataSet();
static DataTable dt = new DataTable();
string str;
SqlCommand com;
protected void Page_Load(object sender, EventArgs e)
{
TextBox1.Text = Session["Mail"].ToString();
TextBox6.Text = Session["Postid"].ToString();
{
con.Open();
str = "select * from Post where Postid='" + TextBox6.Text +
"'";
com = new SqlCommand(str, con);

SqlDataReader dsr1 = com.ExecuteReader();


if (dsr1.Read())
{

TextBox3.Text = dsr1["Postimg"].ToString();
Image2.ImageUrl = TextBox3.Text;
TextBox9.Text = dsr1["Likecount"].ToString();
TextBox10.Text = dsr1["Dislikecount"].ToString();
TextBox11.Text = dsr1["smilycount"].ToString();
Label4.Text = dsr1["Likefrom"].ToString();
Label8.Text = dsr1["Dislike"].ToString();
Label9.Text = dsr1["Smily"].ToString();

}
con.Close();
}

con.Open();
str = "select * from Signup where Mail='" + TextBox1.Text + "'";
com = new SqlCommand(str, con);

SqlDataReader dsr = com.ExecuteReader();


if (dsr.Read())
{
Label1.Text = dsr["Fname"].ToString();
TextBox2.Text = dsr["Photo"].ToString();
Image1.ImageUrl = TextBox2.Text;

}
con.Close();

if (Label3.Text == Label4.Text)
{
ImageButton1.Visible = false;
32

}
else
{

ImageButton1.Visible = true;

}
if (Label3.Text == Label8.Text)
{
ImageButton2.Visible = false;

}
else
{

ImageButton2.Visible = true;

}
if (Label3.Text == Label9.Text)
{
ImageButton3.Visible = false;

}
else
{

ImageButton3.Visible = true;

}
}
protected void ImageButton1_Click(object sender, ImageClickEventArgs
e)
{
con.Open();
Label5.Text = Convert.ToString((Decimal.Parse(TextBox9.Text)) +
(Decimal.Parse(Label2.Text)));
com = new SqlCommand("update Post Set Likecount='" + Label5.Text
+ "' where (Postid='" + TextBox6.Text + "')", con);
com.ExecuteNonQuery();
Page.ClientScript.RegisterStartupScript(this.GetType(),
"Master", "<script>alert('Like Successfully...');</script>");

con.Close();
}
protected void LinkButton1_Click(object sender, EventArgs e)
{
Response.Redirect("Home.aspx?data= " + TextBox1.Text);

}
protected void LinkButton2_Click(object sender, EventArgs e)
{
Response.Redirect("Frnd.aspx?data= " + TextBox1.Text);
}
33

protected void LinkButton3_Click(object sender, EventArgs e)


{
Response.Redirect("Post.aspx?data= " + TextBox1.Text);
}
protected void LinkButton4_Click(object sender, EventArgs e)
{
Response.Redirect("News.aspx?data= " + TextBox1.Text);
}
protected void LinkButton5_Click(object sender, EventArgs e)
{
Response.Redirect("Login.aspx?data= " + TextBox1.Text);
}
protected void TextBox3_TextChanged(object sender, EventArgs e)
{

}
protected void ImageButton2_Click(object sender, ImageClickEventArgs
e)
{
con.Open();
Label6.Text = Convert.ToString((Decimal.Parse(TextBox10.Text)) +
(Decimal.Parse(Label2.Text)));
com = new SqlCommand("update Post Set Dislikecount='" +
Label6.Text + "' where (Postid='" + TextBox6.Text + "')", con);
com.ExecuteNonQuery();
Page.ClientScript.RegisterStartupScript(this.GetType(),
"Master", "<script>alert('Dislike Successfully...');</script>");

con.Close();
}
protected void ImageButton3_Click(object sender, ImageClickEventArgs
e)
{
con.Open();
Label7.Text = Convert.ToString((Decimal.Parse(TextBox11.Text)) +
(Decimal.Parse(Label2.Text)));
com = new SqlCommand("update Post Set smilycount='" +
Label7.Text + "' where (Postid='" + TextBox6.Text + "')", con);
com.ExecuteNonQuery();
Page.ClientScript.RegisterStartupScript(this.GetType(),
"Master", "<script>alert('Smiley Successfully...');</script>");

con.Close();
}
}
Settings
using System;
using System.Data;
using System.Configuration;
using System.Collections;
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.Data.SqlClient;
using System.IO;
public partial class Settings : System.Web.UI.Page
{
34

SqlConnection con = new SqlConnection(" Data Source=MASTER-


PC;Initial Catalog=SOCIAL;User ID=sa;Password=redhat");
string str;
SqlCommand com;
int count = 0;
protected void Page_Load(object sender, EventArgs e)
{
TextBox1.Text = Session["Mail"].ToString();

con.Open();
str = "select * from Signup where Mail='" + TextBox1.Text + "'";
com = new SqlCommand(str, con);

SqlDataReader dsr = com.ExecuteReader();


if (dsr.Read())
{

TextBox2.Text = dsr["Photo"].ToString();
Image1.ImageUrl = TextBox2.Text;

con.Close();
if (!Page.IsPostBack)
{
Label12.Text = count.ToString();
Label13.Text = count.ToString();
Label14.Text = count.ToString();
Label15.Text = count.ToString();
Label16.Text = count.ToString();
Label17.Text = count.ToString();
Label18.Text = count.ToString();
Label19.Text = count.ToString();
Label20.Text = count.ToString();
}
TextBox9.Text = "0";
TextBox10.Text = "0";
TextBox11.Text = "0";
TextBox12.Text = "0";
TextBox13.Text = "0";
TextBox14.Text = "0";
TextBox15.Text = "0";
TextBox16.Text = "0";
TextBox17.Text = "0";

}
protected void ImageButton1_Click(object sender, ImageClickEventArgs
e)
{
if (int.TryParse(Label12.Text, out count))
{
Label12.Text = (++count).ToString();
}

}
protected void ImageButton2_Click(object sender, ImageClickEventArgs
e)
35

{
if (int.TryParse(Label13.Text, out count))
{
Label13.Text = (++count).ToString();
}
}
protected void ImageButton3_Click(object sender, ImageClickEventArgs
e)
{
if (int.TryParse(Label14.Text, out count))
{
Label14.Text = (++count).ToString();
}
}
protected void ImageButton4_Click(object sender, ImageClickEventArgs
e)
{
if (int.TryParse(Label15.Text, out count))
{
Label15.Text = (++count).ToString();
}
}
protected void ImageButton5_Click(object sender, ImageClickEventArgs
e)
{
if (int.TryParse(Label16.Text, out count))
{
Label16.Text = (++count).ToString();
}
}
protected void ImageButton6_Click(object sender, ImageClickEventArgs
e)
{
if (int.TryParse(Label17.Text, out count))
{
Label17.Text = (++count).ToString();
}
}
protected void ImageButton7_Click(object sender, ImageClickEventArgs
e)
{
if (int.TryParse(Label18.Text, out count))
{
Label18.Text = (++count).ToString();
}
}
protected void ImageButton8_Click(object sender, ImageClickEventArgs
e)
{
if (int.TryParse(Label19.Text, out count))
{
Label19.Text = (++count).ToString();
}
}
protected void ImageButton9_Click(object sender, ImageClickEventArgs
e)
{
if (int.TryParse(Label20.Text, out count))
{
Label20.Text = (++count).ToString();
}
36

}
protected void up_Click(object sender, ImageClickEventArgs e)
{
string path = Server.MapPath("OWNPH/");
if (FileUpload1.HasFile)
{
string ext = Path.GetExtension(FileUpload1.FileName);
if (ext == ".jpg" || ext == ".jpeg")
{
FileUpload1.SaveAs(path + FileUpload1.FileName);
string phpost = "~/OWNPH/" + FileUpload1.FileName;

TextBox5.Text = phpost;
Image2.ImageUrl = phpost;
}
}
}
private int RandomNumber(int min, int max)
{
Random random = new Random();
return random.Next(min, max);
}
protected void setting_Click(object sender, ImageClickEventArgs e)
{

int ranid = RandomNumber(12345, 54321);


TextBox3.Text = ranid.ToString();
con.Open();

com = new SqlCommand("update Signup Set TrustKey='" +


TextBox3.Text + "' where (Mail='" + TextBox8.Text + "')", con);
com.ExecuteNonQuery();
SqlCommand com1 = new SqlCommand("update Recover Set
TrustKey='" + TextBox3.Text + "' where (Umail='" + TextBox1.Text + "')",
con);
com1.ExecuteNonQuery();
Page.ClientScript.RegisterStartupScript(this.GetType(),
"Master", "<script>alert('Trust Key Send Successfully...');</script>");

con.Close();

}
protected void ImageButton10_Click(object sender,
ImageClickEventArgs e)
{
if (TextBox9.Text == "0" && TextBox10.Text == "0" &&
TextBox11.Text == "0" && TextBox12.Text == "0" && TextBox13.Text == "0"
&& TextBox14.Text == "0" && TextBox15.Text == "0" && TextBox16.Text ==
"0" && TextBox17.Text == "0")
{

con.Open();

SqlCommand detail = new SqlCommand("update Recover Set


blue='" + Label12.Text + "',orange='" + Label13.Text + "',pink='" +
Label14.Text + "',lgreen='" + Label15.Text + "',red='" + Label16.Text +
"',lblue='" + Label17.Text + "',white='" + Label18.Text + "',green='" +
Label19.Text + "',pur='" + Label20.Text + "' where (Umail='" +
TextBox1.Text + "')", con);
detail.ExecuteNonQuery();
37

Page.ClientScript.RegisterStartupScript(this.GetType(),
"Master", "<script>alert('Password Set Successfully .');</script>");

con.Close();
}
}
protected void LinkButton5_Click(object sender, EventArgs e)
{
Response.Redirect("Home.aspx?data= " + TextBox1.Text);
}
protected void sub_Click(object sender, ImageClickEventArgs e)
{

con.Open();
SqlCommand sign = new SqlCommand("insert into
Recover(Umail,OwnPhoto,Trustkey)values('" + TextBox1.Text + "','" +
TextBox5.Text + "','" + TextBox3.Text + "')", con);
sign.ExecuteNonQuery();
Page.ClientScript.RegisterStartupScript(this.GetType(),
"Master", "<script>alert('Upload Done.');</script>");

con.Close();

}
}
Forgot
using System;
using System.Data;
using System.Configuration;
using System.Collections;
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.Data.SqlClient;
using System.IO;
public partial class Forgot : System.Web.UI.Page
{
SqlConnection con = new SqlConnection(" Data Source=MASTER-
PC;Initial Catalog=SOCIAL;User ID=sa;Password=redhat");
string str;
SqlCommand com;
int count = 0;
protected void Page_Load(object sender, EventArgs e)
{
TextBox1.Text = Session["Mail"].ToString();
if (!Page.IsPostBack)
{
Label12.Text = count.ToString();
Label13.Text = count.ToString();
Label14.Text = count.ToString();
Label15.Text = count.ToString();
Label16.Text = count.ToString();
Label17.Text = count.ToString();
Label18.Text = count.ToString();
Label19.Text = count.ToString();
Label20.Text = count.ToString();
}
38

con.Open();
str = "select * from Recover where Umail='" +
TextBox1.Text.Trim() + "'";
com = new SqlCommand(str, con);
SqlDataReader reader = com.ExecuteReader();
if (reader.Read())
{

TextBox19.Text = reader["OwnPhoto"].ToString();
TextBox20.Text = reader["Trustkey"].ToString();
TextBox9.Text = reader["blue"].ToString();
TextBox10.Text = reader["orange"].ToString();
TextBox11.Text = reader["pink"].ToString();
TextBox12.Text = reader["lgreen"].ToString();
TextBox13.Text = reader["red"].ToString();
TextBox14.Text = reader["lblue"].ToString();

TextBox15.Text = reader["white"].ToString();
TextBox16.Text = reader["green"].ToString();
TextBox17.Text = reader["pur"].ToString();

reader.Close();
con.Close();
}

}
protected void up_Click(object sender, ImageClickEventArgs e)
{

}
protected void sub_Click(object sender, ImageClickEventArgs e)
{
string path = Server.MapPath("OWNPH/");
if (FileUpload1.HasFile)
{
string ext = Path.GetExtension(FileUpload1.FileName);
if (ext == ".jpg" || ext == ".jpeg")
{
FileUpload1.SaveAs(path + FileUpload1.FileName);
string phpost = "~/OWNPH/" + FileUpload1.FileName;

TextBox5.Text = phpost;
Image2.ImageUrl = phpost;
}
}
}
protected void setting_Click(object sender, ImageClickEventArgs e)
{

}
protected void ImageButton1_Click(object sender, ImageClickEventArgs
e)
{
if (int.TryParse(Label12.Text, out count))
{
Label12.Text = (++count).ToString();
}
39

}
protected void ImageButton2_Click(object sender, ImageClickEventArgs
e)
{
if (int.TryParse(Label13.Text, out count))
{
Label13.Text = (++count).ToString();
}
}
protected void ImageButton3_Click(object sender, ImageClickEventArgs
e)
{
if (int.TryParse(Label14.Text, out count))
{
Label14.Text = (++count).ToString();
}
}
protected void ImageButton4_Click(object sender, ImageClickEventArgs
e)
{
if (int.TryParse(Label15.Text, out count))
{
Label15.Text = (++count).ToString();
}
}
protected void ImageButton5_Click(object sender, ImageClickEventArgs
e)
{
if (int.TryParse(Label16.Text, out count))
{
Label16.Text = (++count).ToString();
}
}
protected void ImageButton6_Click(object sender, ImageClickEventArgs
e)
{
if (int.TryParse(Label17.Text, out count))
{
Label17.Text = (++count).ToString();
}
}
protected void ImageButton7_Click(object sender, ImageClickEventArgs
e)
{
if (int.TryParse(Label18.Text, out count))
{
Label18.Text = (++count).ToString();
}
}
protected void ImageButton8_Click(object sender, ImageClickEventArgs
e)
{
if (int.TryParse(Label19.Text, out count))
{
Label19.Text = (++count).ToString();
}
}
protected void ImageButton9_Click(object sender, ImageClickEventArgs
e)
{
if (int.TryParse(Label20.Text, out count))
40

{
Label20.Text = (++count).ToString();
}
}
protected void ImageButton10_Click(object sender,
ImageClickEventArgs e)
{
if (TextBox19.Text == TextBox5.Text && TextBox20.Text ==
TextBox8.Text && TextBox9.Text == Label12.Text && TextBox10.Text ==
Label13.Text && TextBox11.Text == Label14.Text && TextBox12.Text ==
Label15.Text && TextBox13.Text == Label16.Text && TextBox14.Text ==
Label17.Text && TextBox15.Text == Label18.Text && TextBox16.Text ==
Label19.Text && TextBox17.Text == Label20.Text)
{
con.Open();
str = "select * from Signup where Mail='" +
TextBox1.Text.Trim() + "'";
com = new SqlCommand(str, con);
SqlDataReader reader = com.ExecuteReader();
if (reader.Read())
{

Label6.Text = reader["Pass"].ToString();

reader.Close();
con.Close();
}

Page.ClientScript.RegisterStartupScript(this.GetType(),
"Master", "<script>alert('Password Recover
successfully...');</script>");

}
else
{

Page.ClientScript.RegisterStartupScript(this.GetType(),
"Master", "<script>alert(' Not Possible Your Not a Correct
user...');</script>");

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

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

<!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>
41

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />


<title>floral designer - free css template</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
function clearText(field)
{
if (field.defaultValue == field.value) field.value = '';
else if (field.value == '') field.value = field.defaultValue;
}
</script>
</head>
<body>
<form id="Form1" runat="Server">

<div id="templatemo_banner_bar_wrapper">

<div id="templatemo_banner_bar">

</div>

</div>
<div id="templatemo_menu_wrapper">

<div id="templatemo_menu">
&nbsp;</div>

</div>

<div id="templatemo_content_wrapper">

<div id="templatemo_content">

<div class="section_w950">

<div class="section_content">

<div class="image_wrapper_02">
<asp:Image ID="Image1" runat="server" Height="244px"
ImageUrl="~/neimg/Admi/admin.png"
Style="z-index: 100; left: -76px; position:
absolute; top: 0px" Width="286px" />
<a href="#">&nbsp;</a></div>
<br />
<br />
&nbsp;
<asp:Label ID="Label4" runat="server" Font-Italic="True"
Font-Size="Large" ForeColor="White"
Style="z-index: 100; left: 548px; position:
absolute; top: 393px" Text="Admin Id"></asp:Label>
<br />
<br />
&nbsp;
<asp:LinkButton ID="LinkButton1" runat="server" Font-
Size="X-Large" Style="z-index: 101;
left: 601px; position: absolute; top: 181px"
Height="23px" Width="62px"
OnClick="LinkButton1_Click">Login</asp:LinkButton>
42

<asp:Label ID="Label2" runat="server" Font-Italic="True"


Font-Size="Large" ForeColor="White"
Style="z-index: 102; left: 542px; position:
absolute; top: 438px" Text="Password"></asp:Label>
<asp:TextBox ID="TextBox2" runat="server" Style="z-index: 103;
left: 668px; position: absolute;
top: 432px" TextMode="Password"
Width="150px"></asp:TextBox>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
<br />
<asp:Label ID="Label1" runat="server" Style="z-index: 104;
left: 571px; position: absolute;
top: 288px" Font-Size="XX-Large" ForeColor="White"
Height="37px" Width="280px">ADMIN LOGIN</asp:Label>
<asp:TextBox ID="TextBox1" runat="server" Style="z-index: 105;
left: 668px; position: absolute;
top: 390px"></asp:TextBox>
&nbsp; &nbsp;&nbsp;
<asp:LinkButton ID="LinkButton2" runat="server"
Font-Size="X-Large" Style="z-index: 106;
left: 702px; position: absolute; top: 182px" Height="23px"
Width="76px" OnClick="LinkButton2_Click">Signup</asp:LinkButton>
<asp:LinkButton ID="LinkButton3" runat="server" Font-
Size="X-Large" Style="z-index: 107;
left: 824px; position: absolute; top: 183px" Height="21px"
Width="77px" OnClick="LinkButton3_Click">Admin</asp:LinkButton>
&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<br />
<br />
<br /><asp:Image ID="Image2" runat="server" Height="126px"
ImageUrl="~/neimg/Admi/Admin (1).png"
Style="z-index: 110; left: 521px; position:
absolute; top: -27px" Width="310px" />
<br />
<br />
<br />
<br />
<br />
<br />
&nbsp;&nbsp;<br />
<br />
<asp:ImageButton ID="ImageButton1" runat="server"
Height="59px" ImageUrl="~/neimg/Admi/images.png"
Style="z-index: 109; left: 580px; position: absolute; top:
473px" Width="192px" OnClick="ImageButton1_Click" />

</div>

</div>

<div class="cleaner"></div>

<div id="templatemo_footer">
Copyright © 2018 <a href="#">MST</a> <!-- Credit:
www.templatemo.com -->

</div> <!-- end of footer -->


</div>
</div>
<!-- templatemo 178 floral designer -->
<!--
Floral Designer Template
43

http://www.templatemo.com/preview/templatemo_178_floral_designer
--></form>
</body>
</html>

Home Aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Home.aspx.cs"
Inherits="_Default" %>

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>floral designer - free css template</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
function clearText(field)
{
if (field.defaultValue == field.value) field.value = '';
else if (field.value == '') field.value = field.defaultValue;
}
</script>
</head>
<body>
<form id="Form1" runat="Server">

<div id="templatemo_banner_bar_wrapper">

<div id="templatemo_banner_bar">

</div>

</div>
<div id="templatemo_menu_wrapper">

<div id="templatemo_menu">
<asp:LinkButton ID="LinkButton5" runat="server" Font-
Size="Large" Style="z-index: 100;
left: 826px; position: absolute; top: 190px"
OnClick="LinkButton5_Click">Logout</asp:LinkButton>

</div>

</div>

<div id="templatemo_content_wrapper">

<div id="templatemo_content">

<div class="section_w950">

<h2>
<asp:TextBox ID="TextBox1" runat="server" Style="z-
index: 100; left: 651px; position: absolute;
top: 276px" Visible="False"></asp:TextBox>
44

<asp:TextBox ID="TextBox2" runat="server" Style="z-


index: 102; left: 832px; position: absolute;
top: 275px" Visible="False"></asp:TextBox>

</h2>

<div class="section_content">

<div class="image_wrapper_02">
<a href="#">
<span>&nbsp;
<asp:Image ID="Image1" runat="server"
Height="156px" Style="z-index: 102; left: 11px;
position: absolute; top: 21px" Width="158px"
/>
</span>
<img src="image/templatemo_image_02.jpg" alt="photo
2" />
</a>
</div>
<br />
<br />
&nbsp;
<asp:Label ID="Label4" runat="server" Font-Italic="True"
Font-Size="Large" ForeColor="White"
Style="z-index: 100; left: 548px; position:
absolute; top: 393px" Text="First Name"></asp:Label>
<br />
<br />
&nbsp;
<asp:LinkButton ID="LinkButton1" runat="server" Font-
Size="Large" Style="z-index: 101;
left: 462px; position: absolute; top: 192px"
OnClick="LinkButton1_Click">Home</asp:LinkButton>
<asp:Label ID="Label2" runat="server" Font-Italic="True"
Font-Size="Large" ForeColor="White"
Style="z-index: 102; left: 533px; position:
absolute; top: 438px" Text="Father Name"></asp:Label>
<br />
<asp:Label ID="Label6" runat="server" Font-Italic="True" Font-
Size="Large" ForeColor="White"
Style="z-index: 103; left: 580px; position: absolute; top:
537px" Text="College"></asp:Label>
<asp:Label ID="Label10" runat="server" Font-Italic="False"
Font-Size="Large" ForeColor="Yellow"
Style="z-index: 104; left: 682px; position: absolute; top:
435px"></asp:Label>
<asp:Label ID="Label11" runat="server" Font-Italic="False"
Font-Size="Large" ForeColor="Yellow"
Style="z-index: 105; left: 684px; position: absolute; top:
484px"></asp:Label>
<asp:Label ID="Label12" runat="server" Font-Italic="False"
Font-Size="Large" ForeColor="Yellow"
Style="z-index: 106; left: 685px; position: absolute; top:
534px"></asp:Label>
<asp:Label ID="Label13" runat="server" Font-Italic="False"
Font-Size="Large" ForeColor="Yellow"
Style="z-index: 107; left: 687px; position: absolute; top:
580px"></asp:Label>
&nbsp;&nbsp;
<br />
45

<asp:Label ID="Label1" runat="server" Style="z-index: 110;


left: -180px; position: relative;
top: -135px" Font-Size="X-Large"></asp:Label>

<asp:Label ID="Label3" runat="server" Font-Italic="True"


Font-Size="Large" ForeColor="White"
Style="z-index: 111; left: 592px; position:
absolute; top: 488px" Text="DOB"></asp:Label>
&nbsp;
<asp:LinkButton ID="LinkButton4" runat="server"
Font-Size="Large" Style="z-index: 113;
left: 703px; position: absolute; top: 191px"
OnClick="LinkButton4_Click">News Feed</asp:LinkButton>
<asp:LinkButton ID="LinkButton2" runat="server"
Font-Size="Large" Style="z-index: 114;
left: 541px; position: absolute; top: 191px"
OnClick="LinkButton2_Click">Friends</asp:LinkButton>
<asp:LinkButton ID="LinkButton3" runat="server" Font-
Size="Large" Style="z-index: 115;
left: 635px; position: absolute; top: 190px"
OnClick="LinkButton3_Click">Photo</asp:LinkButton>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<asp:Label ID="Label7" runat="server" Font-Italic="True" Font-
Size="Large" ForeColor="White"
Style="z-index: 116; left: 595px; position: absolute; top:
581px" Text="Likes"></asp:Label>
<br />
<br />
<br />
<br />
<asp:Label ID="Label9" runat="server" Font-Italic="False"
Font-Size="Large" ForeColor="Yellow"
Style="z-index: 117; left: 684px; position: absolute; top:
391px"></asp:Label>
&nbsp;<br />
<br />
<br />
<br />
<br />
<br />
<br />

<div class="cleaner"></div>

<div class="button_01 fr"></div>

</div>

</div>

<div class="cleaner"></div>

<div id="templatemo_footer">
46

Copyright © 2018 <a href="#">MST</a>


</div> <!-- end of footer -->
</div>
</div>
<!-- templatemo 178 floral designer -->
<!--
Floral Designer Template
http://www.templatemo.com/preview/templatemo_178_floral_designer
--></form>
</body>
</html>
Admin main
<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="AdminMain.aspx.cs" Inherits="AdminMain" %>

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>floral designer - free css template</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
function clearText(field)
{
if (field.defaultValue == field.value) field.value = '';
else if (field.value == '') field.value = field.defaultValue;
}
</script>
</head>
<body>
<form id="Form1" runat="Server">

<div id="templatemo_banner_bar_wrapper">

<div id="templatemo_banner_bar">

</div>

</div>
<div id="templatemo_menu_wrapper">

<div id="templatemo_menu">
<asp:LinkButton ID="LinkButton5" runat="server" Font-
Size="Large" Style="z-index: 100;
left: 826px; position: absolute; top: 190px"
OnClick="LinkButton5_Click">Logout</asp:LinkButton>

</div>

</div>

<div id="templatemo_content_wrapper">

<div id="templatemo_content">
47

<div class="section_w950">

<h2>
<asp:TextBox ID="TextBox1" runat="server" Style="z-
index: 100; left: 651px; position: absolute;
top: 276px" Visible="False"></asp:TextBox>
<asp:TextBox ID="TextBox2" runat="server" Style="z-
index: 101; left: 832px; position: absolute;
top: 275px" Visible="False"></asp:TextBox>
&nbsp;

</h2>

<div class="section_content">
&nbsp;&nbsp;<br />
<br />
&nbsp; &nbsp;
&nbsp; &nbsp;&nbsp;<br />
<br />
&nbsp;
&nbsp;&nbsp;&nbsp;
<asp:GridView ID="GridView1" runat="server"
AutoGenerateColumns="False" Style="z-index: 100;
left: 371px; position: absolute; top: 380px"
BorderStyle="None" Height="1px" HorizontalAlign="Center" Width="329px"
OnRowCommand="GridView1_RowCommand" BackColor="White"
BorderColor="#CC9966" BorderWidth="1px" CellPadding="4"
OnSelectedIndexChanged="GridView1_SelectedIndexChanged">
<Columns>
<asp:BoundField DataField="Umail" HeaderText="Person
Mail" />
<asp:BoundField DataField="Fname" HeaderText="Person
Name" />
<asp:BoundField DataField="Likecount" HeaderText="Like
Count" />
<asp:BoundField DataField="Dislikecount"
HeaderText="Dislike Count" />
<asp:BoundField DataField="smilycount"
HeaderText="Smiley Count" />
</Columns>
<RowStyle BorderStyle="None" BackColor="White"
ForeColor="#330099" />
<SelectedRowStyle BorderStyle="Dotted" BackColor="#FFCC66"
Font-Bold="True" ForeColor="#663399" />
<HeaderStyle BorderStyle="None" BackColor="#990000" Font-
Bold="True" ForeColor="#FFFFCC" />
<FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
<PagerStyle BackColor="#FFFFCC" ForeColor="#330099"
HorizontalAlign="Center" />
</asp:GridView>
&nbsp;&nbsp;<br />
&nbsp; &nbsp; &nbsp;&nbsp;
<br />
<asp:Label ID="Label1" runat="server" Style="z-index: 101;
left: -177px; position: relative;
top: -140px" Font-Size="X-Large"></asp:Label>
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br />
<asp:TextBox ID="TextBox6" runat="server" Style="z-index: 102;
left: 419px; position: absolute;
top: 328px" Width="231px"></asp:TextBox>
48

<asp:Label ID="Label2" runat="server" Style="z-index: 103;


left: 298px; position: absolute;
top: 331px" Text="Person To Search"></asp:Label>
<asp:ImageButton ID="ImageButton1" runat="server"
Height="44px" ImageUrl="~/imgnew/1200x630bb.jpg"
OnClick="ImageButton1_Click" Style="z-index: 104; left:
659px; position: absolute;
top: 311px" Width="88px" />
<br />
<br />
&nbsp; &nbsp;
<asp:TextBox ID="TextBox3" runat="server" Style="z-index: 105;
left: 124px; position: absolute;
top: 397px" Visible="False"></asp:TextBox>
<asp:TextBox ID="TextBox4" runat="server" Style="z-index: 106;
left: 121px; position: absolute;
top: 440px" Visible="False"></asp:TextBox>
<asp:TextBox ID="TextBox5" runat="server" Style="z-index: 107;
left: 121px; position: absolute;
top: 490px" Visible="False"></asp:TextBox>
<br />
<br />
<br />
&nbsp;
&nbsp;&nbsp;&nbsp;<br />
<br />
&nbsp;
&nbsp; &nbsp;&nbsp; &nbsp;
<asp:ImageButton ID="ImageButton2" runat="server"
Height="63px" ImageUrl="~/imgnew/The_View_Logo_(2015).png"
OnClick="ImageButton2_Click" Style="z-index: 109; left:
785px; position: absolute;
top: 309px" Width="110px" />
<br />
&nbsp;
<br />
<br />
<br />
&nbsp;<br />
&nbsp;<br />
<br />
<br />
<br />
<br />
<br />
<br />

<div class="cleaner"></div>

<div class="button_01 fr"></div>

</div>

</div>

<div class="cleaner"></div>

<div id="templatemo_footer">
Copyright © 2018 <a href="#">MST</a>
</div> <!-- end of footer -->
</div>
49

</div>
<!-- templatemo 178 floral designer -->
<!--
Floral Designer Template
http://www.templatemo.com/preview/templatemo_178_floral_designer
--></form>
</body>
</html>
Friends
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Frnd.aspx.cs"
Inherits="Frnd" %>

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>floral designer - free css template</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
function clearText(field)
{
if (field.defaultValue == field.value) field.value = '';
else if (field.value == '') field.value = field.defaultValue;
}
</script>
</head>
<body>
<form id="Form1" runat="Server">

<div id="templatemo_banner_bar_wrapper">

<div id="templatemo_banner_bar">

</div>

</div>
<div id="templatemo_menu_wrapper">

<div id="templatemo_menu">
<asp:LinkButton ID="LinkButton5" runat="server" Font-
Size="Large" Style="z-index: 100;
left: 826px; position: absolute; top: 190px"
OnClick="LinkButton5_Click">Logout</asp:LinkButton>

</div>

</div>

<div id="templatemo_content_wrapper">

<div id="templatemo_content">

<div class="section_w950">

<h2>
50

<asp:TextBox ID="TextBox1" runat="server" Style="z-


index: 100; left: 651px; position: absolute;
top: 276px" Visible="False"></asp:TextBox>
<asp:TextBox ID="TextBox2" runat="server" Style="z-
index: 102; left: 832px; position: absolute;
top: 275px" Visible="False"></asp:TextBox>

</h2>

<div class="section_content">

<div class="image_wrapper_02">
<a href="#">
<span>&nbsp;
<asp:Image ID="Image1" runat="server"
Height="156px" Style="z-index: 102; left: 11px;
position: absolute; top: 21px" Width="158px"
/>
</span>
<img src="image/templatemo_image_02.jpg" alt="photo
2" />
</a>
</div>
<br />
<br />
&nbsp;
<asp:Label ID="Label4" runat="server" Font-Italic="True"
Font-Size="Large" ForeColor="White"
Style="z-index: 100; left: 491px; position:
absolute; top: 385px" Text="Mail Search"></asp:Label>
<asp:TextBox ID="TextBox3" runat="server" Style="z-index: 101;
left: 596px; position: absolute;
top: 382px" Width="290px"></asp:TextBox>
<asp:ImageButton ID="ImageButton1" runat="server"
Height="80px" ImageUrl="~/neimg/nnnnnnnnnn.png"
OnClick="ImageButton1_Click" Style="z-index: 102; left:
681px; position: absolute;
top: 412px" Width="97px" />
<asp:Image ID="Image2" runat="server" Height="132px" Style="z-
index: 103; left: 806px;
position: absolute; top: 553px" Width="129px" />
<br />
<br />
&nbsp;
<asp:LinkButton ID="LinkButton1" runat="server" Font-
Size="Large" Style="z-index: 104;
left: 462px; position: absolute; top: 192px"
OnClick="LinkButton1_Click">Home</asp:LinkButton>
&nbsp;&nbsp;<br />
&nbsp; &nbsp; &nbsp;&nbsp;
<br />
<asp:Label ID="Label1" runat="server" Style="z-index: 105;
left: -180px; position: relative;
top: -135px" Font-Size="X-Large"></asp:Label>
&nbsp;&nbsp;
<asp:LinkButton ID="LinkButton4" runat="server"
Font-Size="Large" Style="z-index: 106;
left: 703px; position: absolute; top: 191px"
OnClick="LinkButton4_Click">News Feed</asp:LinkButton>
<asp:LinkButton ID="LinkButton2" runat="server"
Font-Size="Large" Style="z-index: 107;
51

left: 541px; position: absolute; top: 191px"


OnClick="LinkButton2_Click">Friends</asp:LinkButton>
<asp:LinkButton ID="LinkButton3" runat="server" Font-
Size="Large" Style="z-index: 108;
left: 635px; position: absolute; top: 190px"
OnClick="LinkButton3_Click">Photo</asp:LinkButton>
&nbsp;<br />
<br />
<br />
<asp:Label ID="Label6" runat="server" Font-Italic="False"
Font-Size="Large" ForeColor="#C0FFFF"
Style="z-index: 109; left: 646px; position: absolute; top:
609px"></asp:Label>
<asp:Label ID="Label7" runat="server" Font-Italic="False"
Font-Size="Large" ForeColor="#C0FFFF"
Style="z-index: 110; left: 647px; position: absolute; top:
653px"></asp:Label>
<br />
<br />
<br />
<asp:TextBox ID="TextBox4" runat="server" Style="z-index: 118;
left: 48px; position: absolute;
top: 729px" Visible="False" Width="10px"></asp:TextBox>
<br />
<br />
<asp:Label ID="Label2" runat="server" Font-Italic="False"
Font-Size="Large" ForeColor="Yellow"
Style="z-index: 112; left: 544px; position: absolute; top:
654px">Interest</asp:Label>
<asp:Label ID="Label3" runat="server" Font-Italic="False"
Font-Size="Large" ForeColor="Yellow"
Style="z-index: 113; left: 502px; position: absolute; top:
611px">Date Of Birth</asp:Label>
<asp:ImageButton ID="ImageButton2" runat="server"
Height="55px" ImageUrl="~/neimg/line-add-friend.jpg"
OnClick="ImageButton2_Click" Style="z-index: 114; left:
613px; position: absolute;
top: 708px" Width="165px" />
<br />
&nbsp;<br />
<br />
<br />
<asp:Label ID="Label5" runat="server" Font-Italic="False"
Font-Size="Large" ForeColor="#C0FFFF"
Style="z-index: 115; left: 647px; position: absolute; top:
564px"></asp:Label>
<br />
<asp:Label ID="Label9" runat="server" Font-Italic="False"
Font-Size="Large" ForeColor="Yellow"
Style="z-index: 117; left: 555px; position: absolute; top:
566px">Name</asp:Label>
&nbsp;<br />
<br />
<br />
<br />
<br />
<br />
<br />

<div class="cleaner"></div>
52

<div class="button_01 fr"></div>

</div>

</div>

<div class="cleaner"></div>

<div id="templatemo_footer">
Copyright © 2018 <a href="#">MST</a>
</div> <!-- end of footer -->
</div>
</div>
<!-- templatemo 178 floral designer -->
<!--
Floral Designer Template
http://www.templatemo.com/preview/templatemo_178_floral_designer
--></form>
</body>
</html>
Login
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs"
Inherits="Login" %>

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>floral designer - free css template</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
function clearText(field)
{
if (field.defaultValue == field.value) field.value = '';
else if (field.value == '') field.value = field.defaultValue;
}
</script>
</head>
<body>
<form id="Form1" runat="Server">

<div id="templatemo_banner_bar_wrapper">

<div id="templatemo_banner_bar">

</div>

</div>
<div id="templatemo_menu_wrapper">

<div id="templatemo_menu">
&nbsp;</div>

</div>

<div id="templatemo_content_wrapper">
53

<div id="templatemo_content">

<div class="section_w950">

<div class="section_content">

<div class="image_wrapper_02">
<asp:Image ID="Image1" runat="server" Height="244px"
ImageUrl="~/neimg/social-network-background-with-icons_23-
2147497535.jpg"
Style="z-index: 100; left: -76px; position:
absolute; top: 0px" Width="286px" />
<a href="#">&nbsp;</a></div>
<br />
<br />
&nbsp;
<asp:Label ID="Label4" runat="server" Font-Italic="True"
Font-Size="Large" ForeColor="White"
Style="z-index: 100; left: 548px; position:
absolute; top: 393px" Text="Mail Id"></asp:Label>
<br />
<br />
&nbsp;
<asp:LinkButton ID="LinkButton1" runat="server" Font-
Size="X-Large" Style="z-index: 101;
left: 601px; position: absolute; top: 181px"
Height="23px" Width="62px"
OnClick="LinkButton1_Click">Login</asp:LinkButton>
<asp:Label ID="Label2" runat="server" Font-Italic="True"
Font-Size="Large" ForeColor="White"
Style="z-index: 102; left: 533px; position:
absolute; top: 438px" Text="Password"></asp:Label>
<asp:TextBox ID="TextBox2" runat="server" Style="z-index: 103;
left: 668px; position: absolute;
top: 432px" TextMode="Password"
Width="150px"></asp:TextBox>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
<br />
<asp:Label ID="Label1" runat="server" Style="z-index: 105;
left: 571px; position: absolute;
top: 288px" Font-Size="XX-Large" ForeColor="White"
Height="37px" Width="280px">USER LOGIN</asp:Label>
<asp:TextBox ID="TextBox1" runat="server" Style="z-index: 106;
left: 668px; position: absolute;
top: 390px"></asp:TextBox>
&nbsp; &nbsp;&nbsp;
<asp:LinkButton ID="LinkButton2" runat="server"
Font-Size="X-Large" Style="z-index: 109;
left: 702px; position: absolute; top: 182px" Height="23px"
Width="76px" OnClick="LinkButton2_Click">Signup</asp:LinkButton>
<asp:LinkButton ID="LinkButton3" runat="server" Font-
Size="X-Large" Style="z-index: 110;
left: 824px; position: absolute; top: 183px" Height="21px"
Width="77px" OnClick="LinkButton3_Click">Admin</asp:LinkButton>
&nbsp; &nbsp; &nbsp;&nbsp;<br />
<br />
<br />
<br />
<br />
54

<br />
<br />
<br />
<br />
&nbsp;&nbsp;<br />
<br />
<asp:ImageButton ID="ImageButton1" runat="server"
Height="59px" ImageUrl="~/neimg/login-now.png"
Style="z-index: 118; left: 580px; position: absolute; top:
473px" Width="192px" OnClick="ImageButton1_Click" />

</div>

</div>

<div class="cleaner"></div>

<div id="templatemo_footer">
Copyright © 2018 <a href="#">MST</a> <!-- Credit:
www.templatemo.com -->

</div> <!-- end of footer -->


</div>
</div>
<!-- templatemo 178 floral designer -->
<!--
Floral Designer Template
http://www.templatemo.com/preview/templatemo_178_floral_designer
--></form>
</body>
</html>
News
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="News.aspx.cs"
Inherits="News" %>

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>floral designer - free css template</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
function clearText(field)
{
if (field.defaultValue == field.value) field.value = '';
else if (field.value == '') field.value = field.defaultValue;
}
</script>
</head>
<body>
<form id="Form1" runat="Server">

<div id="templatemo_banner_bar_wrapper">

<div id="templatemo_banner_bar">
55

</div>

</div>
<div id="templatemo_menu_wrapper">

<div id="templatemo_menu">
<asp:LinkButton ID="LinkButton5" runat="server" Font-
Size="Large" Style="z-index: 100;
left: 826px; position: absolute; top: 190px"
OnClick="LinkButton5_Click">Logout</asp:LinkButton>

</div>

</div>

<div id="templatemo_content_wrapper">

<div id="templatemo_content">

<div class="section_w950">

<h2>
<asp:TextBox ID="TextBox1" runat="server" Style="z-
index: 100; left: 651px; position: absolute;
top: 276px" Visible="False"></asp:TextBox>
<asp:TextBox ID="TextBox2" runat="server" Style="z-
index: 101; left: 832px; position: absolute;
top: 275px" Visible="False"></asp:TextBox>
<asp:TextBox ID="TextBox5" runat="server" Style="z-
index: 103; left: 727px; position: absolute;
top: 316px" Visible="False"></asp:TextBox>

</h2>

<div class="section_content">

<div class="image_wrapper_02">
<a href="#">
<span>&nbsp;
<asp:Image ID="Image1" runat="server"
Height="156px" Style="z-index: 102; left: 11px;
position: absolute; top: 21px" Width="158px"
/>
</span>
<img src="image/templatemo_image_02.jpg" alt="photo
2" />
</a>
</div>
&nbsp;&nbsp;<br />
<br />
&nbsp; &nbsp;
&nbsp; &nbsp;&nbsp;<br />
<br />
&nbsp;
<asp:LinkButton ID="LinkButton1" runat="server" Font-
Size="Large" Style="z-index: 100;
left: 462px; position: absolute; top: 192px"
OnClick="LinkButton1_Click">Home</asp:LinkButton>
&nbsp;&nbsp;&nbsp;
56

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


AutoGenerateColumns="False" Style="z-index: 101;
left: 522px; position: absolute; top: 347px"
BorderStyle="None" GridLines="None" Height="1px"
HorizontalAlign="Center" Width="321px"
OnRowCommand="GridView1_RowCommand">
<Columns>
<asp:BoundField DataField="Postid" HeaderText="PostId"
/>
<asp:BoundField DataField="Fname" HeaderText="Posted
by.." />
<asp:BoundField DataField="Post" HeaderText="Post" />
<asp:ImageField DataImageUrlField="Postimg">
<ControlStyle Height="50px" Width="50px" />
<ItemStyle Height="50px" Width="50px" />
</asp:ImageField>
<asp:CommandField ButtonType="Image"
SelectImageUrl="~/neimg/qview.png" ShowSelectButton="True">
<ControlStyle Height="60px" Width="90px" />
<ItemStyle Height="60px" Width="90px" />
</asp:CommandField>
</Columns>
<RowStyle BorderStyle="None" />
<SelectedRowStyle BorderStyle="Dotted" />
<HeaderStyle BorderStyle="None" />
</asp:GridView>
&nbsp;&nbsp;<br />
&nbsp; &nbsp; &nbsp;&nbsp;
<br />
<asp:Label ID="Label1" runat="server" Style="z-index: 103;
left: -177px; position: relative;
top: -140px" Font-Size="X-Large"></asp:Label>
&nbsp;&nbsp;
<asp:LinkButton ID="LinkButton4" runat="server"
Font-Size="Large" Style="z-index: 104;
left: 703px; position: absolute; top: 191px"
OnClick="LinkButton4_Click">News Feed</asp:LinkButton>
<asp:LinkButton ID="LinkButton2" runat="server"
Font-Size="Large" Style="z-index: 105;
left: 541px; position: absolute; top: 191px"
OnClick="LinkButton2_Click">Friends</asp:LinkButton>
<asp:LinkButton ID="LinkButton3" runat="server" Font-
Size="Large" Style="z-index: 106;
left: 635px; position: absolute; top: 190px"
OnClick="LinkButton3_Click">Photo</asp:LinkButton>
&nbsp;&nbsp;<br />
<asp:TextBox ID="TextBox7" runat="server" Height="16px"
Style="z-index: 107; left: 336px;
position: absolute; top: 465px" Visible="False"
Width="94px"></asp:TextBox>
<asp:TextBox ID="TextBox8" runat="server" Height="16px"
Style="z-index: 108; left: 337px;
position: absolute; top: 501px" Visible="False"
Width="94px"></asp:TextBox>
<br />
<br />
<asp:Label ID="Label6" runat="server" Font-Italic="False"
Font-Size="Large" ForeColor="#C0FFFF"
Style="z-index: 109; left: 345px; position: absolute; top:
657px"></asp:Label>
57

<asp:Label ID="Label7" runat="server" Font-Italic="False"


Font-Size="Large" ForeColor="#C0FFFF"
Style="z-index: 110; left: 346px; position: absolute; top:
685px"></asp:Label>
&nbsp;
<asp:TextBox ID="TextBox6" runat="server" Height="16px"
Style="z-index: 111; left: 336px;
position: absolute; top: 428px" Visible="False"
Width="94px"></asp:TextBox>
<br />
<br />
<br />
<asp:TextBox ID="TextBox4" runat="server" Style="z-index: 112;
left: 48px; position: absolute;
top: 729px" Visible="False" Width="10px"></asp:TextBox>
&nbsp;&nbsp;&nbsp;<br />
<br />
&nbsp;
&nbsp; &nbsp;&nbsp; &nbsp;<br />
&nbsp;
<br />
<br />
<br />
<asp:Label ID="Label5" runat="server" Font-Italic="False"
Font-Size="Large" ForeColor="#C0FFFF"
Style="z-index: 113; left: 348px; position: absolute; top:
624px"></asp:Label>
&nbsp;<br />
&nbsp;<br />
<br />
<br />
<br />
<br />
<br />
<br />

<div class="cleaner"></div>

<div class="button_01 fr"></div>

</div>

</div>

<div class="cleaner"></div>

<div id="templatemo_footer">
Copyright © 2018 <a href="#">MST</a>
</div> <!-- end of footer -->
</div>
</div>
<!-- templatemo 178 floral designer -->
<!--
Floral Designer Template
http://www.templatemo.com/preview/templatemo_178_floral_designer
--></form>
</body>
</html>
Post
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Post.aspx.cs"
Inherits="Post" %>
58

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>floral designer - free css template</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
function clearText(field)
{
if (field.defaultValue == field.value) field.value = '';
else if (field.value == '') field.value = field.defaultValue;
}
</script>
</head>
<body>
<form id="Form1" runat="Server">

<div id="templatemo_banner_bar_wrapper">

<div id="templatemo_banner_bar">

</div>

</div>
<div id="templatemo_menu_wrapper">

<div id="templatemo_menu">
<asp:LinkButton ID="LinkButton5" runat="server" Font-
Size="Large" Style="z-index: 100;
left: 826px; position: absolute; top: 190px"
OnClick="LinkButton5_Click">Logout</asp:LinkButton>

</div>

</div>

<div id="templatemo_content_wrapper">

<div id="templatemo_content">

<div class="section_w950">

<h2>
<asp:TextBox ID="TextBox1" runat="server" Style="z-
index: 100; left: 651px; position: absolute;
top: 276px" Visible="False"></asp:TextBox>
<asp:TextBox ID="TextBox2" runat="server" Style="z-
index: 101; left: 832px; position: absolute;
top: 275px" Visible="False"></asp:TextBox>
<asp:TextBox ID="TextBox5" runat="server" Style="z-
index: 103; left: 727px; position: absolute;
top: 316px" Visible="False"></asp:TextBox>

</h2>
59

<div class="section_content">

<div class="image_wrapper_02">
<a href="#">
<span>&nbsp;
<asp:Image ID="Image1" runat="server"
Height="156px" Style="z-index: 102; left: 11px;
position: absolute; top: 21px" Width="158px"
/>
</span>
<img src="image/templatemo_image_02.jpg" alt="photo
2" />
</a>
</div>
<asp:FileUpload ID="FileUpload1" runat="server" style="z-
index: 100; left: 974px; position: absolute; top: 379px" Height="37px"
Width="98px" />
<br />
<br />
&nbsp;
<asp:Label ID="Label4" runat="server" Font-Italic="True"
Font-Size="Large" ForeColor="White"
Style="z-index: 101; left: 494px; position:
absolute; top: 358px" Text="Photo"></asp:Label>
<asp:TextBox ID="TextBox3" runat="server" Style="z-index: 102;
left: 522px; position: absolute;
top: 381px" Width="428px" Height="182px"
TextMode="MultiLine"></asp:TextBox>
<asp:ImageButton ID="ImageButton1" runat="server"
Height="55px" ImageUrl="~/neimg/post-button.gif"
OnClick="ImageButton1_Click" Style="z-index: 103; left:
959px; position: absolute;
top: 516px" Width="118px" />
<asp:RadioButton ID="RadioButton1" runat="server"
GroupName="A" Style="z-index: 104;
left: 560px; position: absolute; top: 579px" Text="On" />
<asp:Image ID="Image2" runat="server" Height="132px" Style="z-
index: 105; left: 531px;
position: absolute; top: 424px" Width="129px" />
&nbsp;<br />
<br />
&nbsp;
<asp:LinkButton ID="LinkButton1" runat="server" Font-
Size="Large" Style="z-index: 106;
left: 462px; position: absolute; top: 192px"
OnClick="LinkButton1_Click">Home</asp:LinkButton>
&nbsp;&nbsp;<br />
&nbsp; &nbsp; &nbsp;&nbsp;
<br />
<asp:Label ID="Label1" runat="server" Style="z-index: 107;
left: -180px; position: relative;
top: -135px" Font-Size="X-Large"></asp:Label>
&nbsp;&nbsp;
<asp:LinkButton ID="LinkButton4" runat="server"
Font-Size="Large" Style="z-index: 108;
left: 703px; position: absolute; top: 191px"
OnClick="LinkButton4_Click">News Feed</asp:LinkButton>
<asp:LinkButton ID="LinkButton2" runat="server"
Font-Size="Large" Style="z-index: 109;
60

left: 541px; position: absolute; top: 191px"


OnClick="LinkButton2_Click">Friends</asp:LinkButton>
<asp:LinkButton ID="LinkButton3" runat="server" Font-
Size="Large" Style="z-index: 110;
left: 635px; position: absolute; top: 190px"
OnClick="LinkButton3_Click">Photo</asp:LinkButton>
&nbsp;&nbsp;<br />
<asp:TextBox ID="TextBox7" runat="server" Height="16px"
Style="z-index: 111; left: 336px;
position: absolute; top: 465px" Visible="False"
Width="94px"></asp:TextBox>
<asp:TextBox ID="TextBox8" runat="server" Height="16px"
Style="z-index: 112; left: 337px;
position: absolute; top: 501px" Visible="False"
Width="94px"></asp:TextBox>
<br />
<br />
<asp:Label ID="Label6" runat="server" Font-Italic="False"
Font-Size="Large" ForeColor="#C0FFFF"
Style="z-index: 113; left: 345px; position: absolute; top:
657px">0</asp:Label>
<asp:Label ID="Label7" runat="server" Font-Italic="False"
Font-Size="Large" ForeColor="#C0FFFF"
Style="z-index: 114; left: 346px; position: absolute; top:
685px">0</asp:Label>
<asp:RadioButton ID="RadioButton5" runat="server"
GroupName="C" Style="z-index: 115;
left: 866px; position: absolute; top: 580px" Text="On" />
<asp:TextBox ID="TextBox6" runat="server" Height="16px"
Style="z-index: 116; left: 336px;
position: absolute; top: 428px" Visible="False"
Width="94px"></asp:TextBox>
<br />
<br />
<br />
<asp:TextBox ID="TextBox4" runat="server" Style="z-index: 117;
left: 48px; position: absolute;
top: 729px" Visible="False" Width="10px"></asp:TextBox>
<asp:RadioButton ID="RadioButton3" runat="server"
GroupName="B" Style="z-index: 118;
left: 722px; position: absolute; top: 577px" Text="On" />
<asp:TextBox ID="TextBox9" runat="server" Height="16px"
Style="z-index: 128; left: 339px;
position: absolute; top: 392px" Visible="False"
Width="94px"></asp:TextBox>
<br />
<br />
<asp:Label ID="Label2" runat="server" Font-Italic="False"
Font-Size="Large" ForeColor="Yellow"
Style="z-index: 120; left: 818px; position: absolute; top:
580px">Smily</asp:Label>
<asp:Label ID="Label3" runat="server" Font-Italic="False"
Font-Size="Large" ForeColor="Yellow"
Style="z-index: 121; left: 663px; position: absolute; top:
579px">Dislike</asp:Label>
<asp:ImageButton ID="ImageButton2" runat="server"
Height="59px" ImageUrl="~/neimg/up.png"
OnClick="ImageButton2_Click" Style="z-index: 122; left:
962px; position: absolute;
top: 432px" Width="110px" />
&nbsp; &nbsp;&nbsp;<br />
61

&nbsp;
<asp:RadioButton ID="RadioButton2" runat="server"
GroupName="A" Style="z-index: 123;
left: 602px; position: absolute; top: 579px" Text="OFF" />
<asp:RadioButton ID="RadioButton4" runat="server"
GroupName="B" Style="z-index: 124;
left: 766px; position: absolute; top: 578px" Text="OFF" />
<br />
<br />
<asp:RadioButton ID="RadioButton6" runat="server"
GroupName="C" Style="z-index: 125;
left: 910px; position: absolute; top: 581px" Text="OFF" />
<br />
<asp:Label ID="Label5" runat="server" Font-Italic="False"
Font-Size="Large" ForeColor="#C0FFFF"
Style="z-index: 126; left: 348px; position: absolute; top:
624px">0</asp:Label>
<br />
<asp:Label ID="Label9" runat="server" Font-Italic="False"
Font-Size="Large" ForeColor="Yellow"
Style="z-index: 127; left: 520px; position: absolute; top:
580px">Like</asp:Label>
&nbsp;<br />
<br />
<br />
<br />
<br />
<br />
<br />

<div class="cleaner"></div>

<div class="button_01 fr"></div>

</div>

</div>

<div class="cleaner"></div>

<div id="templatemo_footer">
Copyright © 2018 <a href="#">MST</a>
</div> <!-- end of footer -->
</div>
</div>
<!-- templatemo 178 floral designer -->
<!--
Floral Designer Template
http://www.templatemo.com/preview/templatemo_178_floral_designer
--></form>
</body>
</html>
Signup
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Signup.aspx.cs"
Inherits="Signup" %>

<!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>
62

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />


<title>floral designer - free css template</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
function clearText(field)
{
if (field.defaultValue == field.value) field.value = '';
else if (field.value == '') field.value = field.defaultValue;
}
</script>
</head>
<body>
<form id="Form1" runat="Server">

<div id="templatemo_banner_bar_wrapper">

<div id="templatemo_banner_bar">

</div>

</div>
<div id="templatemo_menu_wrapper">

<div id="templatemo_menu">
&nbsp;</div>

</div>

<div id="templatemo_content_wrapper">

<div id="templatemo_content">

<div class="section_w950">

<div class="section_content">

<div class="image_wrapper_02">
<asp:Image ID="Image1" runat="server" Height="244px"
ImageUrl="~/neimg/Quiz-Whats-the-Best-Social-Network-Channel-for-my-
Event.jpg"
Style="z-index: 100; left: -76px; position:
absolute; top: 0px" Width="286px" />
<a href="#">&nbsp;</a></div>
<br />
<br />
&nbsp;
<asp:Label ID="Label4" runat="server" Font-Italic="True"
Font-Size="Large" ForeColor="White"
Style="z-index: 100; left: 548px; position:
absolute; top: 393px" Text="First Name"></asp:Label>
<br />
<br />
&nbsp;
<asp:LinkButton ID="LinkButton1" runat="server" Font-
Size="X-Large" Style="z-index: 101;
63

left: 601px; position: absolute; top: 181px"


Height="23px" Width="62px"
OnClick="LinkButton1_Click">Login</asp:LinkButton>
<asp:Label ID="Label2" runat="server" Font-Italic="True"
Font-Size="Large" ForeColor="White"
Style="z-index: 102; left: 533px; position:
absolute; top: 438px" Text="Father Name"></asp:Label>
<asp:TextBox ID="TextBox2" runat="server" Style="z-index: 103;
left: 668px; position: absolute;
top: 432px"></asp:TextBox>
<asp:Label ID="Label6" runat="server" Font-Italic="True" Font-
Size="Large" ForeColor="White"
Style="z-index: 104; left: 574px; position: absolute; top:
587px" Text="College"></asp:Label>
&nbsp; &nbsp; &nbsp;&nbsp;
<br />
<asp:Label ID="Label1" runat="server" Style="z-index: 105;
left: 571px; position: absolute;
top: 288px" Font-Size="XX-Large" ForeColor="White"
Height="37px" Width="280px">SIGNUP DETAILS</asp:Label>
<asp:TextBox ID="TextBox1" runat="server" Style="z-index: 106;
left: 668px; position: absolute;
top: 390px"></asp:TextBox>

<asp:Label ID="Label3" runat="server" Font-Italic="True"


Font-Size="Large" ForeColor="White"
Style="z-index: 107; left: 592px; position:
absolute; top: 488px" Text="DOB"></asp:Label>
<asp:Label ID="Label5" runat="server" Font-Italic="True" Font-
Size="Large" ForeColor="White"
Style="z-index: 108; left: 549px; position: absolute; top:
535px" Text="Password"></asp:Label>
&nbsp;
<asp:LinkButton ID="LinkButton2" runat="server"
Font-Size="X-Large" Style="z-index: 109;
left: 702px; position: absolute; top: 182px" Height="23px"
Width="76px" OnClick="LinkButton2_Click">Signup</asp:LinkButton>
<asp:LinkButton ID="LinkButton3" runat="server" Font-
Size="X-Large" Style="z-index: 110;
left: 824px; position: absolute; top: 183px" Height="21px"
Width="77px" OnClick="LinkButton3_Click">Admin</asp:LinkButton>
<asp:TextBox ID="TextBox3" runat="server" Style="z-index: 111;
left: 668px; position: absolute;
top: 484px"></asp:TextBox>
<asp:TextBox ID="TextBox4" runat="server" Style="z-index: 112;
left: 667px; position: absolute;
top: 533px" TextMode="Password"
Width="152px"></asp:TextBox>
<asp:TextBox ID="TextBox5" runat="server" Style="z-index: 113;
left: 667px; position: absolute;
top: 584px"></asp:TextBox>
<asp:TextBox ID="TextBox6" runat="server" Style="z-index: 114;
left: 668px; position: absolute;
top: 629px"></asp:TextBox>
<asp:TextBox ID="TextBox7" runat="server" Style="z-index: 115;
left: 669px; position: absolute;
top: 676px"></asp:TextBox>
<br />
<br />
<br />
<br />
64

<br />
<br />
<br />
<br />
<br />
<asp:Label ID="Label7" runat="server" Font-Italic="True" Font-
Size="Large" ForeColor="White"
Style="z-index: 116; left: 591px; position: absolute; top:
634px" Text="Like"></asp:Label>
&nbsp;<br />
<br />
<br />
<br />
<br />
<asp:Label ID="Label8" runat="server" Font-Italic="True" Font-
Size="Large" ForeColor="White"
Style="z-index: 117; left: 566px; position: absolute; top:
677px" Text="Mail Id"></asp:Label>
<br />
<br />
<br />
<asp:ImageButton ID="ImageButton1" runat="server"
Height="81px" ImageUrl="~/neimg/join-now-button.gif"
Style="z-index: 118; left: 638px; position: absolute; top:
754px" Width="206px" OnClick="ImageButton1_Click" ValidationGroup="A" />
&nbsp;
<asp:RequiredFieldValidator ID="RequiredFieldValidator1"
runat="server" ControlToValidate="TextBox1"
ErrorMessage="Enter FirstName" ForeColor="White" Style="z-
index: 119; left: 833px;
position: absolute; top: 395px" ValidationGroup="A"
Width="102px"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator
ID="RegularExpressionValidator1" runat="server"
ControlToValidate="TextBox7"
ErrorMessage="Enter Correct Mail Id" ForeColor="White"
Style="z-index: 120; left: 840px;
position: absolute; top: 678px"
ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
ValidationGroup="A"
Width="131px"></asp:RegularExpressionValidator>
<br />
<br />
<asp:Label ID="Label9" runat="server" Font-Italic="True" Font-
Size="Large" ForeColor="White"
Style="z-index: 121; left: 581px; position: absolute; top:
719px" Text="Photo"></asp:Label>
<asp:FileUpload ID="FileUpload1" runat="server" Style="z-
index: 122; left: 669px;
position: absolute; top: 721px" />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<asp:ValidationSummary ID="ValidationSummary1" runat="server"
ForeColor="White" ShowMessageBox="True"
Style="z-index: 123; left: 125px; position: absolute; top:
706px" ValidationGroup="A" />
65

<asp:ImageButton ID="ImageButton2" runat="server"


Height="35px" ImageUrl="~/neimg/best-hd-inland-northwest-bands-calendar-
library.jpg"
OnClick="ImageButton2_Click" Style="z-index: 124; left:
845px; position: absolute;
top: 480px" Width="38px" />
<asp:Calendar ID="Calendar1" runat="server"
BackColor="#FFFFCC" BorderColor="#FFCC66"
BorderWidth="1px" DayNameFormat="Shortest" Font-
Names="Verdana" Font-Size="8pt"
ForeColor="#663399" Height="200px"
OnSelectionChanged="Calendar1_SelectionChanged"
ShowGridLines="True" Style="z-index: 126; left: 887px;
position: absolute; top: 480px"
Width="220px" >
<SelectedDayStyle BackColor="#CCCCFF" Font-Bold="True" />
<SelectorStyle BackColor="#FFCC66" />
<TodayDayStyle BackColor="#FFCC66" ForeColor="White" />
<OtherMonthDayStyle ForeColor="#CC9966" />
<NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC" />
<DayHeaderStyle BackColor="#FFCC66" Font-Bold="True"
Height="1px" />
<TitleStyle BackColor="#990000" Font-Bold="True" Font-
Size="9pt" ForeColor="#FFFFCC" />
</asp:Calendar>
<br />
<br />

<div class="button_01 fr"></div>

</div>

</div>

<div class="cleaner"></div>

<div id="templatemo_footer">
Copyright © 2018 <a href="#">MST</a> <!-- Credit:
www.templatemo.com -->

</div> <!-- end of footer -->


</div>
</div>
<!-- templatemo 178 floral designer -->
<!--
Floral Designer Template
http://www.templatemo.com/preview/templatemo_178_floral_designer
--></form>
</body>
</html>
66

CHAPTER 7

TESTING

7.1 7.1 UNIT TESTING

Unit testing refers to tests that verify the functionality of a specific section of code,

usually at the function level. In an object-oriented environment, this is usually at the class

level, and the minimal unit tests include the constructors and destructors.

These types of tests are usually written by developers as they work on code (white-

box style), to ensure that the specific function is working as expected. One function might

have multiple tests, to catch corner cases or other branches in the code. Unit testing is also

called Component Testing.

Unit testing for this project was conducted in full. The basic modules were further

subdivided into sub-modules and unit testing was conducted on each such module. The

modules were tested for boundary conditions, independence paths, error handling paths

and presentation of exact for the given input.

In Registration module to add First name details to type but wrongly typed at

priaz2 that column will enter the numeric key so error will occur to display should enter

character.
67

Fig 7.1 Unit Testing

7.2 TEST CASE REPORTS

Status
Test Test Expected Actual
Test steps Test data
case id scanario Result Result
Pass/Fail

1. Go to site

2. Enter
Check 1. User id:
User ID User should
User priaz123@gmail.com As
1 3. Enter login into Pass
login with 2.Password: 54321 expected
Password application
valid data
4. Click

Submit

Login
User id Invalid As
2 invalid Invalid user Id Login Pass
Password Login expected
user

Table 7.1 Test Case Report


68

Fig 7.2 Test Case Report


69

CHAPTER 8

PERFORMANCE AND LIMITATIONS

8.1 MERITS OF THE SYSTEM

This system is going to design & implement as a website, therefore, all people

around the world can easily access to the system and good opportunity to new

photographers to publish their work & get some recognition. As a help to photography

contest organizers system can provide a chance to organize world wide open photography

contests easily. And also, system can automate the selecting the most voting

photographers among huge number of photographers. Automated notification system to

inform every important messages of the contest & users accounts. In this project work

proposed a novel method for in this process, have proposed an Adaptive Photo Policy

Prediction (S3P) system that helps users automate the Photo policy settings for their

uploaded images. The S3P system provides a comprehensive framework to infer privacy

preferences based on the information available for a given user and also effectively

tackled the issue of cold-start, leveraging social context information.

8.2 LIMITATIONS OF THE SYSTEM

In this project proposed presented a framework for detecting users’ give opinion of

vote states from users photography is weekly social media data, leveraging posts’ content

as well as users’ social interactions. Employing real-world social media data as the basis

and studied the correlation between users’ give fake vote and their social photo published

page. To fully control both content and social interaction information of users’ posts, by

the admin and he can make any changes in this process.


70

8.3 FUTURE ENHANCEMENTS

In this work, discovered several intriguing phenomena of public photography and

found that the number of social structures of sparse connection of users is higher than that

of winner of users, indicating that the social structure of users’ friends tend to be less

connected and less complicated than that of non-photography users. These phenomena

could be references for future related studies. In future, to improve detecting user better

photography result from the performance for detect from the user activity.
71

CHAPTER 9

APPENDICES

APPENDIX 1

9.1 SAMPLE SCREENS

Figure A1.1 User Signup page

Figure A1.2 User login


72

Figure A1.3 User Home Page

Figure A1.4 Friends Page


73

Figure A1.5 Photography Post Page

Figure A1.6 Photo Feed Page


74

Figure A1.7 voting page

Figure A1.8 Voting result


75

APPENDIX 2

9.2 USER MANUAL

Step 1:

Install the Microsoft visual studio.net, and SQL server 2005.

Step 2:

Click the visual studio.net window and select the file open website and open main page

and select signup page.

Step 3:

Enter the user details like user name and password

Fig A2.1 Signup Page

The system is now will be opened to login page.


76

Step 4:

Enter user Login and now the Modules screens are displayed

1. Home Module

2. Friends Module

3. Photo Module

4. News Feed Module

5. Logout Module

Fig A2.2 Main Page

Step 5:

Click Show user Friends details to display the Friends details.


77

Fig A2.3 Friends Page

Step 6:

Click Show Photo to display the Photo upload page.

Fig A2.4 Photo Post Page


78

Step 7:

Click view user photo to view on the news feed.

Fig A2.5 News feed Page

Step 8:

Click admin module to display the user mail to voting result check then logout.

Fig A2.6 Work Allocated File


79

CHAPTER 10

REFERENCES

Reference

[1] Ellison, Nicole B. ”Social network sites: Definition, history, and scholarship.” Journal

of Computer Mediated Communication 13.1 (2007): 210- 230.

[2] Ellison, Nicole B., Charles Steinfield, and Cliff Lampe. ”The benefits of Facebook

friends: Social capital and college students use of online social network sites.” Journal of

Computer Mediated Communication 12.4 (2007): 1143-1168.

[3] StatisticBrain Social Networking Statistics http://www.statisticbrain.com/social-

networking-statistics/ (2012)

Sites & Reference

http://www.tutorialspoint.com/csharp/

http://www.csharp-station.com/tutorial.aspx

http://www.learnvisualstudio.net/