-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
35 additions
and
3 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<h2><a href="account.cfm">My Account</a> » My User Profile</h2> | ||
|
||
<cfif structKeyExists(form, "username")> | ||
<!--- using the cfupdate tag makes my job almost too easy! ---> | ||
<cfupdate datasource="#application.dsn#" tablename="USERS"> | ||
<cfset session.username = form.username> | ||
<div class="alert alert-success">Your user account has been updated.</div> | ||
</cfif> | ||
<hr> | ||
<form action="profile.cfm" method="post"> | ||
<cfoutput> | ||
<input type="hidden" name="id" value="#session.userID#"> | ||
<div class="form-group"> | ||
<label for="username">Username:</label> | ||
<input type="text" class="form-control" id="username" name="username" value="#encodeForHTMLAttribute(session.username)#" placeholder="Username"> | ||
</div> | ||
</cfoutput> | ||
<input type="submit" class="btn btn-primary" value="Update Profile"> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<cfset dbinfo = structNew()> | ||
<cfdbinfo name="dbinfo.dbs" type="DBNames" datasource="#application.dsn#"> | ||
<cfdbinfo name="dbinfo.tables" type="Tables" datasource="#application.dsn#"> | ||
|
||
<cfdump var="#dbinfo#"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters