Sei sulla pagina 1di 10

MasterHome.

master

<%@ Master Language="VB" CodeFile="MasterHome.master.vb" Inherits="MasterHome"


%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >


<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table>
<tr>
<td colspan="2" style="width: 207px; height: 110px"
align="left" valign="top">
<asp:Image ID="Image1" runat="server"
ImageUrl="~/Image/Image08.jpg" Width ="199px" Height="109px" /></td>
<td align="center" colspan="3" style="background-image:
url(Image/Image02.JPG); width: 744px; height: 110px;" valign="middle">
<asp:Label ID="Label3" runat="server" Font-Italic="True"
Font-Names="Rockwell" Font-Size="70pt"
ForeColor="#0033FF" Height="101px" Text="e-
Post"></asp:Label></td>
</tr>
<tr>
<td align="right" colspan="5" style="background-color:
#666633; text-align: center;" valign="top">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;
<asp:LinkButton ID="LinkButton4"
runat="server">Home</asp:LinkButton>
&nbsp; | &nbsp;
<asp:LinkButton ID="LinkButton5" runat="server">
Acknowledgment</asp:LinkButton>
&nbsp; | &nbsp;&nbsp; &nbsp;<asp:LinkButton
ID="LinkButton2" runat="server">About us</asp:LinkButton></td>
</tr>
<tr>
</tr>
<center>
<td colspan="2" style="background-color:
#ffffff;text-align: center; width: 207px; height: 326px;" align="left"
valign="top">
<table border="0" cellpadding="0"
cellspacing="0" style="width: 100%; height: 100%">
<tr>
<td style="height: 40px; background-
color: burlywood">
<span style="font-size: 16pt;
color: #cc3399; text-decoration: underline">New And Events</span></td>
</tr>
<tr>
<td style="height: 298px">
<marquee direction="up" scrollamount="2"
nmouseover="stop()" onmouseout="start()" style="width: 201px; height:
298px;"><P style="TEXT-ALIGN: center"><SPAN
style="COLOR: #00cccc"></SPAN>&nbsp;</P><P
style="TEXT-ALIGN: center"><SPAN style="COLOR: #00cccc">Create
accounts for customers and e-mentors and assign corresponding
privileges.</SPAN> </P><P style="TEXT-ALIGN: center"><SPAN
style="COLOR: #ff3300">Facility for ordering stamps, letters,
cartons, envelopes, mobile-cards and Post cards. </SPAN></P><P
style="TEXT-ALIGN: center"><SPAN style="COLOR: #ff00ff">Proper
information about catalogues,user-manuals, terms &amp; conditions
and contact details. </SPAN></P><P style="TEXT-ALIGN:
center"><SPAN
style="COLOR: #ffff00">Centralized database available to all the
resources of the website. </SPAN></P><P
style="TEXT-ALIGN: center"><SPAN style="COLOR:
#ffff00"></SPAN><SPAN
style="COLOR: #3333cc">Individual customers and business customers
can order the selected products of the postal service online
quickly
and comfortably. </SPAN></P><P style="TEXT-ALIGN:
center"><SPAN>All
users are authenticated to avail the
service.</SPAN></P></marquee>
</td>
</tr>
</table>
<strong><span style="color:
#003300"></span></strong>
</td>
</center>

<td colspan="3" style="background-color: #ffffff ;


height: 326px;" align="left" valign="top">
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</td>
</table>
</div>
</form>
</body>
</html>
MasterHome.master.vb

Partial Class MasterHome


Inherits System.Web.UI.MasterPage

Protected Sub LinkButton5_Click(ByVal sender As Object, ByVal e As


System.EventArgs) Handles LinkButton5.Click
Response.Redirect("Ack.aspx")
End Sub

Protected Sub LinkButton4_Click(ByVal sender As Object, ByVal e As


System.EventArgs) Handles LinkButton4.Click
Response.Redirect("E_MailHome.aspx")
End Sub

Protected Sub LinkButton2_Click(ByVal sender As Object, ByVal e As


System.EventArgs) Handles LinkButton2.Click
Response.Redirect("FrmAboutus.aspx")
End Sub

End Class

MasterPage2.master

<%@ Master Language="VB" CodeFile="MasterPage2.master.vb"


Inherits="MasterPage2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >


<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
&nbsp;<table border="0" cellpadding="0" cellspacing="0" style="width:
100%; height: 100%">
<tr>
<td style="width: 111px; height: 132px;" align="left"
valign="top" >
<asp:Image ID="Image1" runat="server" Height="155px"
ImageUrl="~/Image/Image08.jpg" Width="272px"
/></td>
<td style="width: 4px; height: 132px" align="left"
valign="top">
<asp:Image ID="Image2" runat="server" Height="153px"
ImageUrl="~/Image/Image02.JPG"
Width="697px" /></td>
</tr>
<tr>
<td align="right" colspan="2" style="height: 16px"
valign="top">
<asp:LinkButton ID="LinkButton1"
runat="server">Home</asp:LinkButton>
&nbsp; &nbsp; &nbsp;&nbsp; | &nbsp; &nbsp; &nbsp;&nbsp;
<asp:LinkButton ID="LinkButton2"
runat="server">Country</asp:LinkButton>
&nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp;
&nbsp;<asp:LinkButton ID="LinkButton3"
runat="server">State</asp:LinkButton>
&nbsp; &nbsp; &nbsp;&nbsp; | &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;<asp:LinkButton ID="LinkButton4"
runat="server">City</asp:LinkButton>
&nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp;&nbsp;
<asp:LinkButton ID="LinkButton5" runat="server">Pincode
Details</asp:LinkButton>
&nbsp;&nbsp;&nbsp; | &nbsp; &nbsp;
<asp:LinkButton ID="LinkButton6"
runat="server">Logout</asp:LinkButton>
&nbsp;
</td>
</tr>
<tr>
<td colspan = 2 style="height: 325px" align="center"
valign="middle">
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>

MasterPage2.master.vb

Partial Class MasterPage2


Inherits System.Web.UI.MasterPage

Protected Sub LinkButton2_Click(ByVal sender As Object, ByVal e As


System.EventArgs) Handles LinkButton2.Click
Response.Redirect("AdminCountry.aspx")
End Sub

Protected Sub LinkButton3_Click(ByVal sender As Object, ByVal e As


System.EventArgs) Handles LinkButton3.Click
Response.Redirect("Adminstate.aspx")
End Sub

Protected Sub LinkButton4_Click(ByVal sender As Object, ByVal e As


System.EventArgs) Handles LinkButton4.Click
Response.Redirect("AdminCity.aspx")
End Sub

Protected Sub LinkButton5_Click(ByVal sender As Object, ByVal e As


System.EventArgs) Handles LinkButton5.Click
Response.Redirect("AdminPincode.aspx")
End Sub

Protected Sub LinkButton1_Click(ByVal sender As Object, ByVal e As


System.EventArgs) Handles LinkButton1.Click
Response.Redirect("AdminThirdHomePage.aspx")
End Sub

Protected Sub LinkButton6_Click(ByVal sender As Object, ByVal e As


System.EventArgs) Handles LinkButton6.Click
Response.Cookies("Login").Expires = DateTime.Now.AddSeconds(-1)
Response.Redirect("E_MailHome.aspx")
End Sub

Protected Sub Page_Load(ByVal sender As Object, ByVal e As


System.EventArgs) Handles Me.Load
Response.CacheControl = "no-cache"
If Request.Cookies("Login") Is Nothing Then
Response.Redirect("E_MailHome.aspx")
End If
End Sub
End Class

AdminHomePage.aspx

<%@ Page Language="VB" AutoEventWireup="false"


CodeFile="AdminHomePage.aspx.vb" Inherits="AdminHomePage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >


<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
&nbsp;</div>
<table style="left: 283px; width: 413px; position: relative; top:
88px; height: 24px">
<tr>
<td style="width: 100px">
</td>
<td style="width: 100px">
</td>
<td rowspan="7" style="width: 100px">
<asp:ImageButton ID="ImageButton1" runat="server"
ImageUrl="~/Image/9.jpg" /></td>
</tr>
<tr>
<td style="width: 100px">
</td>
<td style="width: 100px">
</td>
</tr>
<tr>
<td style="width: 100px">
<asp:Label ID="Label1" runat="server" Text="Security Code"
Width="91px"></asp:Label></td>
<td style="width: 100px">
</td>
</tr>
<tr>
<td style="width: 100px; height: 9px">
</td>
<td style="width: 100px; height: 9px">
<asp:TextBox ID="TextBox1" runat="server" Height="17px"
Width="160px" TextMode="Password"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 100px; height: 22px">
</td>
<td style="width: 100px; height: 22px">
</td>
</tr>
<tr>
<td style="width: 100px">
</td>
<td align="right" style="width: 100px">
</td>
</tr>
<tr>
<td style="width: 100px">
</td>
<td align="right" style="width: 100px">
<asp:Button ID="Button1" runat="server" Text="Enter"
/></td>
</tr>
<tr>
<td style="width: 100px">
</td>
<td align="right" style="width: 100px">
</td>
<td rowspan="1" style="width: 100px">
</td>
</tr>
<tr>
<td colspan="3">
<span style="font-size: 11pt; color: #cc3300; font-family:
Verdana"><marquee>Please Enter the
Security Code</marquee></span></td>
</tr>
<tr>
<td colspan="3">
</td>
</tr>
<tr>
<td colspan="3">
</td>
</tr>
<tr>
<td colspan="3">
<asp:Label ID="Label2" runat="server" Font-Bold="True"
ForeColor="#FF3300"></asp:Label></td>
</tr>
</table>
</form>
</body>
</html>

EmailDetails.aspx

<%@ Page Language="VB" MasterPageFile="~/MasterPage4.master"


AutoEventWireup="false" CodeFile="EMailDetails.aspx.vb"
Inherits="EMailDetails" title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<br />
<br />
<table>
<caption style="text-align: left">
<strong><span style="font-size: 24pt; color: #cc6600; font-family:
Verdana">
<br />
</span></strong></caption>
<tr>
<strong><span style="font-size: 24pt; color: #cc6600; font-
family: Verdana">Postal Address
Details</span></strong><br />
<td style="width: 28px; background-color: #666600; height: 26px;"
align="center">
<asp:Label ID="Label1" runat="server" Text="Country" Font-
Names="Verdana" Font-Size="10pt"></asp:Label></td>
<td align="center" style="width: 194px; background-
color: #666600; height: 26px;">
<asp:DropDownList ID="DropDownList1" runat="server"
Width="123px" AutoPostBack="True" Height="22px">
</asp:DropDownList></td>
<td style="width: 194px; background-color: #666600; height: 26px;"
align="left" valign="middle">
<asp:Button ID="Button1" runat="server" Text="Country"
Width="70px" /></td>
<td style="width: 12px; background-color: #666600; height: 26px;"
align="center">
<asp:Label ID="Label2" runat="server" Text="State" Font-
Names="Verdana" Font-Size="10pt"></asp:Label></td>
<td align="center" style="width: 149px; background-
color: #666600; height: 26px;">
<asp:DropDownList ID="DropDownList2" runat="server"
Width="134px" Height="20px" AutoPostBack="True">
</asp:DropDownList></td>
<td align="center" style="width: 86px; background-color:
#666600; height: 26px;" valign="middle">
<asp:Button ID="Button2" runat="server" Text="State"
Width="70px" /></td>
<td style="background-color: #666600; height: 26px;"
align="center">
<asp:Label ID="Label3" runat="server" Font-Names="Verdana"
Font-Size="10pt" Text="City"></asp:Label></td>
<td align="center" style="width: 93px; background-
color: #666600; height: 26px;">
<asp:DropDownList ID="DropDownList3" runat="server"
Width="118px" AutoPostBack="True">
</asp:DropDownList></td>
<td align="center" style="width: 78px; background-color:
#666600; height: 26px;" valign="middle">
<asp:Button ID="Button3" runat="server" Text="City"
Width="70px" /></td>
</tr>
<tr>
<td style="width: 28px; height: 20px;">
</td>
<td style="width: 194px; height: 20px">
</td>
<td style="width: 194px; height: 20px;">
</td>
<td style="width: 12px; height: 20px;">
</td>
<td style="width: 149px; height: 20px">
</td>
<td style="width: 86px; height: 20px">
</td>
<td style="height: 20px;">
</td>
<td style="width: 93px; height: 20px">
</td>
<td style="width: 78px; height: 20px">
</td>
</tr>
<tr>
<td style="width: 28px">
</td>
<td style="width: 194px">
</td>
<td style="width: 194px">
</td>
<td style="width: 12px">
</td>
<td style="width: 149px">
</td>
<td style="width: 86px">
</td>
<td>
</td>
<td style="width: 93px">
</td>
<td style="width: 78px">
</td>
</tr>
<tr>
<td colspan="9" style="height: 214px" align="center"
valign="middle">
<asp:GridView ID="GridView1" runat="server"
AutoGenerateColumns="False" BackColor="White"
BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
CellPadding="4" Width="734px" CaptionAlign="Top" Height="1px"
ShowFooter="True" Font-Names="Verdana" Font-Size="10pt" ForeColor="Black"
GridLines="Horizontal">
<FooterStyle BackColor="#CCCC99" ForeColor="Black" />
<Columns>
<asp:BoundField HeaderText="SNo" DataField="SNo" />
<asp:BoundField HeaderText="Postal Code"
DataField="Postal_code" />
<asp:BoundField HeaderText="Address"
DataField="Address" />
<asp:BoundField HeaderText="Phone" DataField="Phone"
/>
<asp:BoundField HeaderText="Fax" DataField="Fax" />
<asp:BoundField HeaderText="Place" DataField="Place"
/>
<asp:BoundField DataField="City_code"
HeaderText="City" />
<asp:BoundField HeaderText="State"
DataField="State_code" />
<asp:BoundField HeaderText="Country"
DataField="Country_code" />
<asp:CommandField SelectImageUrl="~/Image/Image07.jpg"
ShowSelectButton="True" />
</Columns>
<PagerStyle BackColor="White" ForeColor="Black"
HorizontalAlign="Right" />
<SelectedRowStyle BackColor="#CC3333" Font-Bold="True"
ForeColor="White" />
<HeaderStyle BackColor="#333333" Font-Bold="True"
ForeColor="White" BorderColor="MintCream" />
</asp:GridView>
<asp:Label ID="Label4" runat="server" Font-Names="Verdana"
Font-Size="Large" ForeColor="Red"></asp:Label>
</td>
</tr>
</table>
</asp:Content>

Potrebbero piacerti anche