-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_editaccount_step1.cfm
67 lines (45 loc) · 2.13 KB
/
_editaccount_step1.cfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!---
Copyright (C) Volition, Inc. 2005. All rights reserved.
All source code herein is the property of Volition, Inc. You may not sell
or otherwise commercially exploit the source or things you created based on the
source.
--->
<cfinclude template="variables.cfm">
<cfinclude template="doctop.cfm">
<!--- Page info goes here --->
<font color="white"><b><div class="newsitemtitle">Edit Your Account</div></b></font>
<font color="#BBBBBB">
<div class="copy">
<cfquery datasource="PXO" name="check_login">
SELECT login, password, TrackerID, email
FROM Users
WHERE login = '#FORM.login#' AND password = '#FORM.password#'
</cfquery>
<cfif (check_login.recordcount GT 0)>
<cfset id = check_login.TrackerID>
<CFFORM ACTION="_editaccount_step2.cfm" METHOD="POST">
<cfoutput>
<input type="hidden" name="id" value="#id#">
<input type="hidden" name="login" value="#form.login#">
<input type="hidden" name="password" value="#form.password#">
</cfoutput>
<table>
<tr>
<td align="right"><div class="copy"><b>Email Address:</b></div></td>
<td><cfinput type="Text" name="email" size="25" maxlength="50" required="yes" value="#check_login.email#" message="You must enter your email address."></td>
</tr>
<tr><td> </td><td> </td></tr>
<tr><td> </td><td><INPUT TYPE="SUBMIT" VALUE="Submit Change"></td></tr>
</table>
</cfform>
<cfelse>
This login and password does not exist in our database. Please register a new account at:<br>
<a href="http://www.pxo.net/accounts.cfm">http://www.pxo.net/accounts.cfm</a>
</cfif>
</div>
</font>
<!--- End page info --->
<cfinclude template="docmid.cfm">
<cfinclude template="menus/_menu_accounts.cfm">
<!--- end menus --->
<cfinclude template="docbot.cfm">