This document contains source code for a Quickconnect homepage and user registration webpage. The Quickconnect homepage code includes HTML, CSS, JavaScript and C# code to display login functionality, calling rates, and site navigation. The user registration webpage code contains HTML and C# to collect user information like email and password for account creation. Form validation is implemented to validate the email and password fields.
Report
Share
Report
Share
1 of 17
More Related Content
QuickConnect
1. STUDENT NAME : Anurag Guli
STUDENT ID : 1285714
COURSE : Web Application Development
COURSE CODE : CINF 4230
ASSIGNMENT : #5
2. Quickconnect homepage:
Source Code:
Quickconnect.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Quickconnect.aspx.cs"
Inherits="Quickconnect.Quickconnect" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Quickconnect Home Page</title>
<script type="text/javascript">
function openPage() {
if (GetCookie("username") != null) {
window.location = "Buycredit.aspx";
}
else {
alert("You have to be a member,Please Register with us.")
}
}
</script>
<style type="text/css">
.auto-style1 {
height: 101px;
3. width: 1330px;
}
#Button1 {
width: 130px;
}
#TextArea1 {
height: 95px;
margin-top: 0px;
}
.auto-style11 {
width: 448px;
}
.auto-style12 {
width: 407px;
}
.auto-style13 {
width: 372px;
}
</style>
</head>
<script type="text/javascript">
function loadFunction(file) {
var xmlhttp;
var a, x, y, i;
//alert("I am an alert box!");
if (window.XMLHttpRequest) {
//XMLHttpRequest object is used to exchange data with a server
xmlhttp = new XMLHttpRequest();
}
else {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
//ActiveXObject enables and returns a reference to an Automation object
}
xmlhttp.onreadystatechange = function () {
//readyState property holds the status of the XMLHttpRequest
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
a = "<table>";
x =
xmlhttp.responseXML.documentElement.getElementsByTagName("Destination");
for (i = 0; i < x.length; i++) {
a = a + "<tr>";
y = x[i].getElementsByTagName("rate");
{
try {
a = a + "<td>" + y[0].firstChild.nodeValue + "</td>";
}
catch (er) {
a = a + "<td> </td>";
}
}
}
a = a + "</table>";
//alert(a);
//alert(" Display");
document.getElementById('Div1').innerHTML = a;
}
}