Develop a web site for a company that sells tickets for sporting events online. The web site includes four pages, described below:
1) Home page: displays a welcome message and an image (display an image that could be the logo of the company). The welcome message should include the visitor's name, if repeat visitor (hint: use cookies which expire after 1 year). This page includes links to Order and Reports page.
2) Order page: This page processes orders. It should include controls to enter the customer name (as it appears on the credit card), credit card number, expiration date, phone number, email address, and allow the user to specify the section for seating and number of tickets ordered. Ticket prices are based on the seating location. Seating location and prices are shown in the table below. Sections should be displayed in a listbox.
Section | Price |
Orchestra | 50.99 |
Mezzanine | 28.25 |
General | 15.00 |
Balcony | 10.50 |
All input values are required. Email address, credit card number, and expiration date should be checked to ensure correct format. Use validation controls.
We are assuming that we can place orders for one section at a time. The order charge is determined based on the ticket price, the number of tickets ordered, and a shipping charge of $4.95 per order.
When Submit button is clicked, the amount due for this order is displayed in a label. This page also includes a second button, Show Confirmation. When this button is clicked a web page named OrderSummary is displayed. This page displays the summary of the current order: customer name and number of tickets. Use query string to achieve this functionality.
3) Reports page: displays the total revenues from all orders processed, the count of orders processed and the count of tickets sold for each section. This page also displays the names of customers processed during the session and their phone number in a listbox.