Download final demo code

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
FINAL DEMO CODE
FILE: stylesheet.css
/* CSS Document */
h3
{
background-color:#CCCCFF;
list-style-position:inside;
font-weight:300;
position:absolute;
font-family:Tahoma, Sans-Serif;
font-size:18px;
font-style:oblique;
}
bold
{
font-style:oblique;
font-style:italic;
color: #000000;
}
table
{
font-size: 14px;
color: #000000;
font-family: Tahoma, Sans-Serif;
font: is;
background-color: #CCFFFF;
}
a.hover
{
background-color:#0066FF;
color:#000099;
}
h1
{
font-family:inherit;
color:#333333;
}
div
{
background:white;
font-family:"Adobe Garamond Pro", Tahoma, Sans-Serif;
font-style:normal;color:black;
}
body {
font: 100% Verdana, Arial, Helvetica, sans-serif;
background: #666666;
margin: 0; /* it's good practice to zero the margin and padding of the body
element to account for differing browser defaults */
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then
set to the left aligned default in the #container selector */
color: #000000;
background-image: url(bikebackground.jpg);
background-repeat: repeat-y;
background-color: #EBEBEB;
}
.twoColFixLtHdr #container {
width: 780px; /* using 20px less than a full 800px width allows for browser
chrome and avoids a horizontal scroll bar */
background: #FFFFFF;
margin: 0 auto; /* the auto margins (in conjunction with a width) center the page
*/
border: 1px solid #000000;
text-align: left; /* this overrides the text-align: center on the body element. */
}
.twoColFixLtHdr #header {
background: #DDDDDD;
padding: 0 10px 0 20px; /* this padding matches the left alignment of the
elements in the divs that appear beneath it. If an image is used in the #header instead of
text, you may want to remove the padding. */
}
.twoColFixLtHdr #header h1 {
margin: 0; /* zeroing the margin of the last element in the #header div will avoid
margin collapse - an unexplainable space between divs. If the div has a border around it,
this is not necessary as that also avoids the margin collapse */
padding: 10px 0; /* using padding instead of margin will allow you to keep the
element away from the edges of the div */
}
.twoColFixLtHdr #sidebar1 {
float: left; /* since this element is floated, a width must be given */
width: 200px; /* the actual width of this div, in standards-compliant browsers, or
standards mode in Internet Explorer will include the padding and border in addition to the
width */
background: #EBEBEB; /* the background color will be displayed for the length
of the content in the column, but no further */
padding: 15px 10px 15px 20px;
}
.twoColFixLtHdr #mainContent {
margin: 0 0 0 250px; /* the left margin on this div element creates the column
down the left side of the page - no matter how much content the sidebar1 div
contains, the column space will remain. You can remove this margin if you want the
#mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
*/
padding: 0 20px; /* remember that padding is the space inside the div box and
margin is the space outside the div box */
}
.twoColFixLtHdr #footer {
padding: 0 10px 0 20px; /* this padding matches the left alignment of the
elements in the divs that appear above it. */
background:#DDDDDD;
}
.twoColFixLtHdr #footer p {
margin: 0; /* zeroing the margins of the first element in the footer will avoid the
possibility of margin collapse - a space between divs */
padding: 10px 0; /* padding on this element will create space, just as the the
margin would have, without the margin collapse issue */
}
.fltrt { /* this class can be used to float an element right in your page. The floated element
must precede the element it should be next to on the page. */
float: right;
margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
float: left;
margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the
final element before the close of a container that should fully contain a float */
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
}
a:link {
color: #3300CC;
}
a:visited {
color: #FF0033;
}
a:hover {
color: #003300;
}
a:active {
color: #99FF00;
}
FILE: Contact.aspx.cs
using System;
using System.Data;
using System.Configuration;
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.Web.Mail;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Submit(object sender, EventArgs e)
{
Label1.Text = "Successfully submitted inquiry";
try
{
//send email with values to [email protected]
MailMessage mail = new MailMessage();
mail.To = "[email protected]"; //change this to your email
mail.From = TextBox2.Text;
mail.Subject = "Inquiry from Chicago Bike Rental";
mail.Body = TextBox1.Text + "<br/>" + TextBox3.Text + "<br/>" +
TextBox4.Text;
SmtpMail.SmtpServer = "localhost"; //sub your SMTP server here
SmtpMail.Send(mail);
}
catch (Exception ex)
{
Label1.Text = "This form is currently unavailable. Please call us.";
}
}
}
FILE: Default.aspx.cs
using System;
using System.Data;
using System.Data.Odbc;
using System.Configuration;
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.Web.Mail;
public partial class _Default : System.Web.UI.Page
{
string connectionString;
bool HOSTED = true;
protected void Page_Load(object sender, EventArgs e)
{
if(HOSTED)
connectionString = "DRIVER={Microsoft Access Driver
(*.mdb)};DBQ=e:/ectserver/tboyle/Database/xyz.mdb;";
else
connectionString = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" +
Server.MapPath("../Database/xyz.mdb");
loadReservations();
}
private void loadReservations()
{
Label1.Text = "";
string sqlStmt = "SELECT * FROM ((Reservations INNER JOIN Bikes ON
Bikes.Bike_ID = Reservations.Bike_ID) INNER JOIN Membership ON
(CInt(Reservations.iMembershipID) = Membership.Membership_ID)) INNER JOIN
Terminal ON ((Reservations.puTerminal) = Terminal.Terminal_ID) ORDER BY
[DATE]";
OdbcConnection conn = new OdbcConnection(connectionString);
OdbcCommand cmd = new OdbcCommand(sqlStmt,conn);
OdbcDataAdapter da = new OdbcDataAdapter(cmd);
DataTable reservations = new DataTable();
da.Fill(reservations);
if (reservations.Rows.Count == 0)
{
Label1.Text = "No reservations exist";
return;
}
for (int i = 0; i < reservations.Rows.Count;i++)
{
string email = reservations.Rows[i]["Username"].ToString();
string date = reservations.Rows[i]["Date"].ToString();
string puTime = reservations.Rows[i]["puTime"].ToString();
string doTime = reservations.Rows[i]["doTime"].ToString();
string bikedesc = reservations.Rows[i]["Field1"].ToString();
string puTerminal = reservations.Rows[i]["Address_1"].ToString();
Label1.Text += email + " is picking up a " + bikedesc + " on " + date + " at " +
puTime + " at " + puTerminal + " until " + doTime + "<br /><br /><br />";
}
}
}
FILE: Login.aspx.cs
using System;
using System.Data;
using System.Data.Odbc;
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;
public partial class Register : System.Web.UI.Page
{
string connectionString;
bool HOSTED = true;
protected void Page_Load(object sender, EventArgs e)
{
if (HOSTED)
connectionString = @"DRIVER={Microsoft Access Driver
(*.mdb)};DBQ=e:\ectserver\tboyle\Database\xyz.mdb;";
else
connectionString = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" +
Server.MapPath("../Database/xyz.mdb");
}
protected void Submit(object sender, EventArgs e)
{
string email = TextBox1.Text;
string password = TextBox2.Text;
string dbpassword = "";
string isAdmin = "";
string sqlStatement = "SELECT Password, isAdmin from Membership WHERE
Username = '" + email + "'";
OdbcConnection conn = new OdbcConnection(connectionString);
OdbcCommand cmd = new OdbcCommand(sqlStatement, conn);
OdbcDataAdapter da = new OdbcDataAdapter(cmd);
DataTable temp = new DataTable();
da.Fill(temp);
if (temp.Rows.Count != 1) //user doesn't exist
{
Label1.Text = "User does not exist. <a href='Register.aspx'>Register?</a>";
}
else
{
dbpassword = temp.Rows[0][0].ToString();
isAdmin = temp.Rows[0][1].ToString();
if (dbpassword == password) // match!
{
if (isAdmin == "True")
Response.Redirect("admin/Default.aspx");
else
Response.Redirect("member/Default.aspx");
}
else //incorrect password
{
Label1.Text = "Incorrect Password. <a href='Reset.aspx'>Reset?</a>";
}
}
}
}
FILE: Register.aspx.cs
using System;
using System.Data;
using System.Data.Odbc;
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;
public partial class Register : System.Web.UI.Page
{
string connectionString;
bool HOSTED = true;
protected void Page_Load(object sender, EventArgs e)
{
if (HOSTED)
connectionString = @"DRIVER={Microsoft Access Driver
(*.mdb)};DBQ=e:\ectserver\tboyle\Database\xyz.mdb;";
else
connectionString = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" +
Server.MapPath("../Database/xyz.mdb");
}
protected void Submit(object sender, EventArgs e)
{
string name = TextBox1.Text;
string email = TextBox2.Text;
string birthday = TextBox3.Text;
string address = TextBox4.Text;
string city = TextBox5.Text;
string state = TextBox6.Text;
string zip = TextBox7.Text;
string phone = TextBox8.Text;
string password = TextBox9.Text;
string password2 = TextBox10.Text;
string cctype = TextBox11.Text;
string ccnum = TextBox12.Text;
string ccv2 = TextBox13.Text;
string expiry = TextBox14.Text;
Label1.Text = "";
try
{
//insert into membership table
string sqlStatement = "INSERT INTO Membership (Username, Password)
VALUES ('" + email + "','" + password + "')";
executeNonQuery(sqlStatement);
//find the membership id
OdbcConnection conn = new OdbcConnection(connectionString);
conn.Open();
OdbcCommand readCommand = new OdbcCommand("Select
MAX(Membership_ID) from Membership",conn);
DataTable temp = new DataTable();
OdbcDataAdapter da = new OdbcDataAdapter(readCommand);
da.Fill(temp);
string membershipID = temp.Rows[0][0].ToString();
//insert into customer
sqlStatement = "INSERT INTO Customer (Membership_ID,
L_Name,F_Name,Birthdate) VALUES ('" + membershipID +"','" + name + "','" + name +
"','" + birthday + "')";
executeNonQuery(sqlStatement);
//find the customer id
conn = new OdbcConnection(connectionString);
conn.Open();
readCommand = new OdbcCommand("Select MAX(Customer_ID) from
Customer", conn);
temp = new DataTable();
da = new OdbcDataAdapter(readCommand);
da.Fill(temp);
string customerID = temp.Rows[0][0].ToString();
//insert into addresses
sqlStatement = "INSERT INTO Addresses (Address_1, City, State, Zip_code,
Phone_Number, Email_Address) VALUES ('" + address + "','" + city + "','" + state + "','"
+ zip + "','" + phone + "','" + email + "')";
executeNonQuery(sqlStatement);
//insert into billing
sqlStatement = "INSERT INTO Billing (Customer_ID, Credit_Card_Type,
Credit_Card_Number, Expiration_Date) VALUES ('" + customerID + "','" + cctype + "','"
+ ccnum + "','" + expiry + "')";
executeNonQuery(sqlStatement);
}
catch (Exception ex)
{
Label1.Text = ex.Message;
}
if (Label1.Text == "")
{
Label1.Text = "Successful registration! Please <a href='Login.aspx'>login</a>
now!";
//send email to email address with details of registration
}
}
private void executeNonQuery(string stmt)
{
OdbcConnection conn = new OdbcConnection();
try
{
conn.ConnectionString = connectionString;
conn.Open();
OdbcCommand cmd = new OdbcCommand(stmt, conn);
cmd.ExecuteNonQuery();
conn.Close();
}
catch (Exception ex)
{
//do something here if you want to capture exceptions
Label1.Text = ex.Message;
}
finally
{
conn.Close();
conn.Dispose();
}
}
}
FILE: Reset.aspx.cs
using System;
using System.Data;
using System.Data.Odbc;
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.Web.Mail;
public partial class Register : System.Web.UI.Page
{
string connectionString;
bool HOSTED = true;
protected void Page_Load(object sender, EventArgs e)
{
if (HOSTED)
connectionString = @"DRIVER={Microsoft Access Driver
(*.mdb)};DBQ=e:\ectserver\tboyle\Database\xyz.mdb;";
else
connectionString = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" +
Server.MapPath("../Database/xyz.mdb");
}
protected void Submit(object sender, EventArgs e)
{
string email = TextBox1.Text;
string dbpassword = "";
string sqlStatement = "SELECT Password from Membership WHERE Username =
'" + email + "'";
OdbcConnection conn = new OdbcConnection(connectionString);
OdbcCommand cmd = new OdbcCommand(sqlStatement, conn);
OdbcDataAdapter da = new OdbcDataAdapter(cmd);
DataTable temp = new DataTable();
da.Fill(temp);
if (temp.Rows.Count != 1) //user doesn't exist
{
Label1.Text = "User does not exist. <a href='Register.aspx'>Register?</a>";
}
else
{
try
{
Label1.Text = "Sent email to address.";
dbpassword = temp.Rows[0][0].ToString();
//dbpassword is the password
//email is the email
//send an email to the email with the password
MailMessage mail = new MailMessage();
mail.To = email;
mail.From = "[email protected]";
mail.Subject = "Reset Password Request";
mail.Body = "Your password is " + dbpassword;
SmtpMail.SmtpServer = "localhost"; //change to your SMTP server
SmtpMail.Send(mail);
}
catch (Exception ex)
{
Label1.Text = "Unable to reset password. Please <a href='Contact.aspx'>call
us</a>.";
}
}
}
}
FILE: Contact.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Contact.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 id="Head1" runat="server">
<title>Chicago Bike Rental | Contact Us</title>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body style="text-align:center">
<center>
<form id="form1" runat="server">
<div>
<div id="container">
<div id="header" style="text-align:center;">
<h1 style="text-align:center;">Chicago Bike Rental</h1>
<a href="default.aspx"><img src="images/logo.jpg" alt="" width="150px"
style="border-width:0; vertical-align:middle;" class="hover" onmouseover="5"/></a><br
/><br />
</div>
<table><tr><td style="width:200px; vertical-align:top; text-align:left;">
<h2 style="text-align:center;">Links</h2>
<ul>
<li><a href="default.aspx">Home</a></li>
<li><a href="Login.aspx">Login</a></li>
<li><a href="Register.aspx">Registration</a></li>
<li><a href="Contact.aspx">Contact Us</a></li>
</ul>
</td>
<td style="width:1px; background-color:Black;">&nbsp;</td>
<td style="width: 650px; vertical-align:top; text-align:left;">
<h1>Contact Chicago Bike Rental</h1>
<br />
Call us at (312)-312-3121 or fill in the below form.
<br />
<br />
Name:<asp:TextBox ID="TextBox1" runat="server" /><br />
Email:<asp:TextBox ID="TextBox2" runat="server" /><br />
Phone:<asp:TextBox ID="TextBox3" runat="server" /><br />
Inquiry:<asp:TextBox ID="TextBox4" runat="server" TextMode="multiline"
Height="150px" width="300px"/><br />
<asp:Button ID="Button1" runat="server" Text="Submit Inquiry"
OnClick="Submit" /> <asp:Label ID="Label1" runat="server" />
</td>
<td style="width:200px;">&nbsp;</td>
</tr></table>
</div>
</div>
</form>
</center>
</body>
</html>
FILE: Default.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.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 id="Head1" runat="server">
<title>Chicago Bike Rental | Home</title>
<link href="../stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body style="text-align:center">
<center>
<form id="form1" runat="server">
<div>
<div id="container">
<div id="header" style="text-align:center;">
<h1 style="text-align:center;">Chicago Bike Rental</h1>
<a href="default.aspx"><img src="../images/logo.jpg" alt="" width="150px"
style="border-width:0; vertical-align:middle;" class="hover" onmouseover="5"/></a><br
/><br />
</div>
<table><tr><td style="width:200px; vertical-align:top; text-align:left;">
<h2 style="text-align:center;">Links</h2>
<ul>
<li><a href="Default.aspx">Place reservation</a></li>
<li><a href="../Default.aspx">Logout</a></li>
<li><a href="../Contact.aspx">Contact Us</a></li>
</ul>
</td>
<td style="width:1px; background-color:Black;">&nbsp;</td>
<td style="width: 650px; vertical-align:top; text-align:left;">
<h1>Welcome, member!</h1>
<h2>Rent a Bike</h2>
Make a reservation<br />
<br />
Bike Type: <asp:DropDownList ID="DropDownList1" runat="server"
AutoPostBack="false" /><br />
Date: MM/DD/YYYY <asp:TextBox ID="TextBox1" runat="server" /><br />
Pickup Time: HH:MM AM/PM <asp:TextBox ID="TextBox2" runat="server"
/><br />
Pickup Terminal: <asp:DropDownList ID="DropDownList2" runat="server"
AutoPostBack="false" /><br />
Dropoff Time: HH:MM AM/PM <asp:TextBox ID="TextBox3" runat="server"
/><br />
Dropoff Terminal: <asp:DropDownList ID="DropDownList3" runat="server"
AutoPostBack="false" /><br />
Email address: <asp:TextBox ID="TextBox4" runat="server" /><br />
Password: <asp:TextBox ID="TextBox5" runat="server" TextMode="password"
/><br />
<asp:Button ID="Button1" runat="server" Text="Place reservation"
OnClick="Submit" /> <asp:Label ID="Label1" runat="server" /> <br />
</td>
<td style="width:200px;">&nbsp;</td>
</tr></table>
</div>
</div>
</form>
</center>
</body>
</html>
FILE: Login.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs"
Inherits="Register" %>
<!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>Chicago Bike Rental | Login</title>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body style="height:100%; text-align:center;">
<center>
<form id="form1" runat="server">
<div>
<div id="container">
<div id="header" style="text-align:center;">
<h1 style="text-align:center;">Chicago Bike Rental</h1>
<a href="default.aspx"><img src="images/logo.jpg" alt="" width="150px"
style="border-width:0; vertical-align:middle;" class="hover" onmouseover="5"/></a><br
/><br />
</div>
<table><tr><td style="width:150px; vertical-align:top; text-align:left;">
<h2 style="text-align:center;">Links</h2>
<ul>
<li><a href="default.aspx">Home</a></li>
<li><a href="Login.aspx">Login</a></li>
<li><a href="Register.aspx">Registration</a></li>
<li><a href="Contact.aspx">Contact Us</a></li>
</ul>
</td>
<td style="width:1px; background-color:Black;">&nbsp;</td>
<td style="width: 650px; vertical-align:top; text-align:left;">
<h1>Log in to Chicago Bike Rental</h1>
Email:<asp:TextBox ID="TextBox1" runat="server"/><br />
Password:<asp:TextBox ID="TextBox2" runat="server"
TextMode="password"/><br />
<asp:Button ID="Button1" runat="server" OnClick="Submit" Text="Register
Me!" />
<asp:Label ID="Label1" runat="server" Text=""/>
<br /><br /><br /><br /><br /><br /><br /><br />
</td>
<td style="width:150px;">&nbsp;</td>
</tr></table>
</div>
</div>
</form>
</center>
</body>
</html>
FILE: Register.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Register.aspx.cs"
Inherits="Register" %>
<!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>Chicago Bike Rental | Register</title>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body style="text-align:center;">
<center>
<form id="form1" runat="server">
<div>
<div id="container">
<div id="header" style="text-align:center;">
<h1 style="text-align:center;">Chicago Bike Rental</h1>
<a href="default.aspx"><img src="images/logo.jpg" alt="" width="150px"
style="border-width:0; vertical-align:middle;" class="hover" onmouseover="5"/></a><br
/><br />
</div>
<table><tr><td style="width:150px; vertical-align:top; text-align:left;">
<h2 style="text-align:center;">Links</h2>
<ul>
<li><a href="default.aspx">Home</a></li>
<li><a href="Login.aspx">Login</a></li>
<li><a href="Register.aspx">Registration</a></li>
<li><a href="Contact.aspx">Contact Us</a></li>
</ul>
</td>
<td style="width:1px; background-color:Black;">&nbsp;</td>
<td style="width: 650px; vertical-align:top; text-align:left;">
<h1>Becoming a member with<br />Chicago Bike Rental</h1>
<h2>Please fill in the form accurately!</h2>
<strong>Personal information</strong><br />
Name:<asp:TextBox ID="TextBox1" runat="server"/><br />
Email:<asp:TextBox ID="TextBox2" runat="server"/><br />
Birthday:<asp:TextBox ID="TextBox3" runat="server"/><br />
Address:<asp:TextBox ID="TextBox4" runat="server"/><br />
City:<asp:TextBox ID="TextBox5" runat="server"/><br />
State:<asp:TextBox ID="TextBox6" runat="server"/><br />
Zip:<asp:TextBox ID="TextBox7" runat="server"/><br />
Phone:<asp:TextBox ID="TextBox8" runat="server"/><br />
<br />
Password:<asp:TextBox ID="TextBox9" TextMode="Password"
runat="server"/><br />
Password again:<asp:TextBox ID="TextBox10" TextMode="Password"
runat="server"/><br />
<br />
<strong>Billing information</strong><br />
CC Type:<asp:TextBox ID="TextBox11" runat="server"/><br />
CC #:<asp:TextBox ID="TextBox12" runat="server"/><br />
CCV2:<asp:TextBox ID="TextBox13" runat="server"/><br />
Expires: <asp:TextBox ID="TextBox14" runat="server"/><br />
<br />
<asp:Button ID="Button1" runat="server" OnClick="Submit" Text="Register
Me!" />
<asp:Label ID="Label1" runat="server" Text=""></asp:Label></td>
<td style="width:150px;">&nbsp;</td>
</tr></table>
</div>
</div>
</form>
</center>
</body>
</html>
FILE: Reset.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Reset.aspx.cs"
Inherits="Register" %>
<!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>Chicago Bike Rental | Register</title>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body style="height:100%; text-align:center;">
<center>
<form id="form1" runat="server">
<div>
<div id="container">
<div id="header" style="text-align:center;">
<h1 style="text-align:center;">Chicago Bike Rental</h1>
<a href="default.aspx"><img src="images/logo.jpg" alt="" width="150px"
style="border-width:0; vertical-align:middle;" class="hover" onmouseover="5"/></a><br
/><br />
</div>
<table><tr><td style="width:150px; vertical-align:top; text-align:left;">
<h2 style="text-align:center;">Links</h2>
<ul>
<li><a href="default.aspx">Home</a></li>
<li><a href="Login.aspx">Login</a></li>
<li><a href="Register.aspx">Registration</a></li>
<li><a href="Contact.aspx">Contact Us</a></li>
</ul>
</td>
<td style="width:1px; background-color:Black;">&nbsp;</td>
<td style="width: 650px; vertical-align:top; text-align:left;">
<h1>Reset Password</h1>
Email:<asp:TextBox ID="TextBox1" runat="server"/><br />
<asp:Button ID="Button1" runat="server" OnClick="Submit" Text="Reset
Password" />
<asp:Label ID="Label1" runat="server" Text=""/>
<br /><br /><br /><br /><br /><br /><br /><br />
</td>
<td style="width:150px;">&nbsp;</td>
</tr></table>
</div>
</div>
</form>
</center>
</body>
</html>
Group Structure and Roles
Joe Giovenco – Project Manager, Requirements Manager
Brian Okesson – Planning Manager
Amina Ali – Design Manager
Laura Lee – Design assistant
Eddie Medina – Documentation Manager
Blake Bassett – Webmaster and Primary Coder
Greg Walukanis – Secondary Coder, tester
Syed Hussain – Secondary Coder, tester
Related documents