File: /home/awaldron/public_html/archive/blueliner/upload/adjutor/startyourorder.asp
<!-- #INCLUDE FILE="mainlinks.asp" -->
<%
'#FDDA2D - pirate yellow
'#CC0033 - pirate red
'#000000 - pirate black
dim answer, sqlstr, rsUserInfo, userdata, invalidlogin, invalidloginmsg
invalidlogin = FALSE
IF (Request.Form("username") <> "" AND INSTR(1,TRIM(Request.ServerVariables("HTTP_REFERER")),"activateacct.asp") = 0) THEN
'we must call the sp to check validation
userdata = ValidateLogin(Request.Form("username"), Request.Form("password"))
IF TRIM(userdata) = "INVALID LOGIN! Please try again.<BR>If you continue having problems, please <a href='mailto:support@imagecuts.com?subject=Problems logging into my account'><font size='4' color='#CC0033'>email-us</a></font>.<BR>" THEN
Session("loggedin") = FALSE
invalidlogin = TRUE
invalidloginmsg = userdata
ELSE
Session("loggedin") = TRUE
userinfo = SPLIT(userdata,",")
Session("username") = userinfo(0)
Session("fname") = userinfo(1)
Session("lname") = userinfo(2)
Session("creditcardnumber") = userinfo(3)
Session("nickname") = userinfo(4)
Session("address") = userinfo(5)
Session("city") = userinfo(6)
Session("state") = userinfo(7)
Session("zip") = userinfo(8)
Session("country") = userinfo(9)
Session("email") = userinfo(10)
Session("phone") = userinfo(11)
END IF
ELSEIF TRIM(UCASE(Request.ServerVariables("REQUEST_METHOD"))) = "POST" THEN
'we must call the sp to check validation
userdata = ValidateLogin(Request.Form("username"), Request.Form("password"))
IF TRIM(userdata) = "INVALID LOGIN! Please try again.<BR>If you continue having problems, please <a href='mailto:support@imagecuts.com?subject=Problems logging into my account'><font size='4' color='#CC0033'>email-us</a></font>.<BR>" THEN
Session("loggedin") = FALSE
invalidlogin = TRUE
invalidloginmsg = userdata
ELSE
Session("loggedin") = TRUE
userinfo = SPLIT(userdata,",")
Session("username") = userinfo(0)
Session("fname") = userinfo(1)
Session("lname") = userinfo(2)
Session("creditcardnumber") = userinfo(3)
Session("nickname") = userinfo(4)
Session("address") = userinfo(5)
Session("city") = userinfo(6)
Session("state") = userinfo(7)
Session("zip") = userinfo(8)
Session("country") = userinfo(9)
Session("email") = userinfo(10)
Session("phone") = userinfo(11)
END IF
END IF
dim defaultusername, defaultpassword
IF Session("loggedin") THEN
Response.Redirect "myaccount.asp"
ELSE
defaultusername = Request.Form("username")
defaultpassword = Request.Form("password")
END IF
%>
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="Nicholas J. Evanish" content="FrontPage.Editor.Document">
<title>
Imagecuts.com - Please login to your personal account.
</title>
<link REL="stylesheet" HREF="imagecuts.css" TYPE="text/css">
<%=createmouseovercode%>
<script ID="clientEventHandlersJS" LANGUAGE="javascript">
<!--
function window_onload() {
document.loginform.username.focus();
}
function loginform_onsubmit() {
var username; var password;
username = document.loginform.username.value;
password = document.loginform.password.value;
}
function guestpass_onclick() {
document.loginform.username.value = "guestpass";
document.loginform.password.value = "123456";
document.loginform.submit();
}
//-->
</script>
</head>
<body background="<%=Session("bgimage")%>" LANGUAGE="javascript" onload="return window_onload()">
<div align="center">
<!--START TOP TABLE OF CODE-->
<%=createtoptable%>
<!--END TOP TABLE OF CODE-->
<!--START SECOND TABLE OF CODE-->
<table background="images\mainbodybg.gif" cellSpacing="0" cellPadding="2" width="700" border="0" bordercolor="blue" align="center">
<tr>
<td width="5"></td>
<td width="565" height="400" valign="top" align="left">
<b><img src="images\pageheaders\login.gif" border="0" alt="Login to Imagecuts.com">
<form name="loginform" id="loginform" METHOD="POST" LANGUAGE="javascript" onsubmit="return loginform_onsubmit()">
<%IF invalidlogin THEN
Response.Write "<font size='4'><b>" & invalidloginmsg & "</font></b>"
Response.Write "<BR>"
END IF
%>
<table border="0" align="center" cellpadding="0" cellspacing="0" width="100%" class="signup">
<tr>
<td width="48%" align="center" valign="top">
<img src="images\personallogin.gif" border="0" alt="Login to your Personal Account">
<table border="0" align="center" cellpadding="0" cellspacing="0" width="100%" class="signup">
<tr>
<td width="66%" align="right"><b>Username: </td>
<td width="34%" align="left">
<input type="text" id="username" name="username" size="18" value="<%=defaultusername%>">
</td>
</tr>
<tr>
<td width="66%" align="right"><b>Password: </td>
<td width="34%" align="left">
<input type="password" id="password" name="password" size="18" value="<%=defaultpassword%>">
</td>
</tr>
<tr>
<td width="100%" colspan="2" align="center">
<br><b>Forgot Your Password? <a href="forgotyouraccountinfo.asp">Click here</a>
</td>
</tr>
<tr>
<td width="100%" colspan="2" align="center" height="13"></td> </td>
</tr>
<tr>
<td width="100%" colspan="2" align="center"><span lang="en-us">
<input type="submit" value="Submit" id="submit1" name="submit1">
<input type="reset" value="Reset" id="reset1" name="reset1"></span>
<b><p align="center"><a href="createyouraccount.asp">Signup for your free account!</a></p>
</td>
</tr>
</table>
</td>
<td width="5%" background="images\steps\yellowvertblade.gif"></td>
<td width="47%" valign="top" align="center">
<u><b><font color="#CC0033" size="3"><img src="images\guestlogin.gif" border="0" alt="Login to your Guest Account"></b></u></font>
<b>You can use Imagecuts.com's guest account to checkout without creating an account.
<br><br><u>We highly recommend</u> creating your own account. It only takes about 2 minutes, and gives you tons of great features!
<br><br><input type="button" value="Guest Account" id="guestpass" name="guestpass" LANGUAGE="javascript" onclick="return guestpass_onclick()">
</td>
</tr>
</table>
<table border="0" align="center" cellpadding="0" cellspacing="0" width="100%" class="signup">
<tr>
<td width="48%" valign="top" class="mainbodyofpg">
<b>
<p align="left"><br>
<li>It's <u>100% SECURE</u>!
<li>Make special requests
<li>Receive special offers & discounts
<li>Personalize your checkout process
<li>Check the status of each order
<li>IT'S ABSOLUTELY FREE!
</p>
<p align="center">
<a href="createyouraccount.asp" onMouseover="lightup('signup')" onMouseout="turnoff('signup')">
<img src="images\steps\signup.gif" name="signup" border="0"></a>
</p>
</b>
</td>
<td width="5%" background="images\steps\yellowvertblade.gif"></td>
<td width="47%" valign="top" align="left"></td>
</tr>
</table>
<br>
<input type="text" id="hdn_submit" name="hdn_submit" value="<%= Session("loggedin")%>" style="visibility:hidden">
</form>
</td>
<td width="35"></td>
<td width="95" align="center" valign="top" class="whitetextwithyellowhover">
<b><%=rightsidelinks%></b>
</td>
</tr>
</table>
<!--BEGIN FOOTER CODE-->
<%=footer%>
<!--END FOOTER CODE-->
</div>
</body>
</html>