391 lines
No EOL
12 KiB
Text
391 lines
No EOL
12 KiB
Text
<cfapplication name="payfr.it"
|
|
clientmanagement="Yes"
|
|
sessionmanagement="Yes"
|
|
setclientcookies="Yes"
|
|
sessiontimeout="#CreateTimeSpan(0,0,30,0)#"
|
|
clientstorage="cookie">
|
|
|
|
<CFSET application.datasource = "yelpforexes">
|
|
<cfset application.businessMasterObj = new library.cfc.businessMaster(odbc = application.datasource) />
|
|
<cfset application.twilioObj = new library.cfc.twilio() />
|
|
|
|
<cfset request.cgiPath = getPageContext().getRequest().getRequestURI() />
|
|
|
|
<!--- Lock persistent scopes to avoid conflicts --->
|
|
<cflock scope="session" timeout="15" throwontimeout="yes" type="exclusive">
|
|
<!--- Replacing cookie with session variable --->
|
|
<cfparam name="session.UserID" default="0">
|
|
<cfparam name="session.BusinessID" default="0">
|
|
<cfparam name="session.OrderID" default="0">
|
|
<cfparam name="session.OrderTypeID" default="0">
|
|
<!--- Duplicate the session variables in the request scope so you don't have to CFLOCK them every time you use them. --->
|
|
<cfset request.UserID = Duplicate(session.UserID)>
|
|
<cfset request.BusinessID = Duplicate(session.BusinessID)>
|
|
<cfset request.OrderID = Duplicate(session.OrderID)>
|
|
<cfset request.OrderTypeID = Duplicate(session.OrderTypeID)>
|
|
</cflock>
|
|
|
|
<cfif request.UserID NEQ 0>
|
|
|
|
<cfquery name="check_user" datasource="#application.datasource#">
|
|
SELECT UserFirstName, UserBalance, UserProfileImage
|
|
FROM Users
|
|
WHERE UserID = #request.UserID#
|
|
</cfquery>
|
|
|
|
</cfif>
|
|
|
|
<cfparam name="url.UUID" default="">
|
|
|
|
<cfif url.UUID neq "">
|
|
<cfparam name="form.mode" default="forgot2">
|
|
</cfif>
|
|
|
|
<cfparam name="check_user.recordcount" default="0">
|
|
<cfparam name="form.mode" default="notloggedin">
|
|
<cfparam name="form.submode" default="">
|
|
<cfparam name="form.chip" default="0">
|
|
<cfparam name="form.prevchip" default="0">
|
|
<cfparam name="form.prevmode" default="0">
|
|
<cfparam name="submitted" default="0">
|
|
|
|
<CFSET border_width = "0">
|
|
|
|
<cfif cgi.Server_Name EQ "127.0.0.1">
|
|
<CFSET application.wwwrootprefix = "/yelpforexes.com/">
|
|
<CFSET application.httpsprefix = "http://127.0.0.1/yelpforexes.com/">
|
|
<CFSET application.localprefix = "C:\Inetpub\wwwroot\yelpforexes.com\">
|
|
<CFSET application.uploads_dir = "C:\Inetpub\wwwroot\yelpforexes.com\uploads\">
|
|
<CFSET application.image_display_prefix = "http://127.0.0.1/yelpforexes.com/uploads/">
|
|
<cfsetting showDebugOutput="yes">
|
|
<cfelse>
|
|
<CFSET application.wwwrootprefix = "/">
|
|
<CFSET application.httpsprefix = "https://yelpforexes.com/">
|
|
<CFSET application.localprefix = "/var/www/yelpforexes.com/">
|
|
<CFSET application.uploads_dir = "/var/www/yelpforexes.com/uploads/">
|
|
<CFSET application.image_display_prefix = "https://yelpforexes.com/uploads/">
|
|
<cfsetting showDebugOutput="no">
|
|
</cfif>
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
<html>
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
|
<link rel="manifest" href="/site.webmanifest">
|
|
|
|
<title>The Yelp For Exes App</title>
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>
|
|
|
|
<!-- Google tag (gtag.js) -->
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-NZXDE4VBPL"></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'G-NZXDE4VBPL');
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<!-- Google tag (gtag.js) -->
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X33RKP7WNG"></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'G-X33RKP7WNG');
|
|
</script>
|
|
|
|
<cfinclude template="includes/track_visitors.cfm">
|
|
|
|
<body>
|
|
|
|
<cfoutput>
|
|
|
|
<div class="container">
|
|
<!-- Fixed navbar -->
|
|
<nav class="navbar navbar-expand-lg navbar-dark fixed-top bg-dark">
|
|
<div class="container">
|
|
<a class="navbar-brand" href="index.cfm">The Yelp For Exes App</a>
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="##navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
<div class="collapse navbar-collapse" id="navbarCollapse">
|
|
<ul class="navbar-nav me-auto mb-2 mb-md-0">
|
|
<cfif request.UserID eq 0>
|
|
|
|
<li><a class="nav-link" href="https://comptonstartups.online/compton-startups-store/" target="new">Support/Invest</a></li>
|
|
|
|
<!--- <li class="nav-item">
|
|
|
|
<script language="JavaScript">
|
|
function submitformwhatisthis()
|
|
{
|
|
document.myformwhatisthis.submit();
|
|
}
|
|
</script>
|
|
|
|
<form action="index.cfm" method="post" name="myformwhatisthis" id="myformwhatisthis" style="display:inline;">
|
|
|
|
<a class="nav-link" href="javascript: submitformwhatisthis()">What is this?!</a>
|
|
|
|
<input type="hidden" name="mode" value="whatisthis">
|
|
|
|
</form>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<script language="JavaScript">
|
|
function submitformverify()
|
|
{
|
|
document.myformverify.submit();
|
|
}
|
|
</script>
|
|
|
|
<form action="verify.cfm" method="post" name="myformverify" id="myformverify" style="display:inline;">
|
|
|
|
<a class="nav-link" href="javascript: submitformverify()">Verify</a>
|
|
|
|
<input type="hidden" name="mode" value="register">
|
|
|
|
</form> --->
|
|
|
|
<li class="nav-item">
|
|
|
|
<script language="JavaScript">
|
|
function submitformregister()
|
|
{
|
|
document.myformregister.submit();
|
|
}
|
|
</script>
|
|
|
|
<form action="index.cfm" method="post" name="myformregister" id="myformregister" style="display:inline;">
|
|
|
|
<a class="nav-link" href="javascript: submitformregister()">Register</a>
|
|
|
|
<input type="hidden" name="mode" value="register">
|
|
|
|
</form>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<script language="JavaScript">
|
|
function submitformforgot()
|
|
{
|
|
document.myformforgot.submit();
|
|
}
|
|
</script>
|
|
|
|
<form action="index.cfm" method="post" name="myformforgot" id="myformforgot" style="display:inline;">
|
|
|
|
<a class="nav-link" href="javascript: submitformforgot()">Reset Password</a>
|
|
|
|
<input type="hidden" name="mode" value="forgot">
|
|
|
|
</form>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<script language="JavaScript">
|
|
function submitformwhatisthis()
|
|
{
|
|
document.myformwhatisthis.submit();
|
|
}
|
|
</script>
|
|
|
|
<form action="index.cfm" method="post" name="myformwhatisthis" id="myformwhatisthis" style="display:inline;">
|
|
|
|
<a class="nav-link" href="javascript: submitformwhatisthis()">What is this?!</a>
|
|
|
|
<input type="hidden" name="mode" value="whatisthis">
|
|
|
|
</form>
|
|
|
|
</li>
|
|
|
|
</cfif>
|
|
|
|
<cfif request.UserID neq 0>
|
|
|
|
<li class="nav-item">
|
|
|
|
<script language="JavaScript">
|
|
function submitformrate()
|
|
{
|
|
document.myformrate.submit();
|
|
}
|
|
</script>
|
|
|
|
<form action="#request.cgiPath#" method="post" name="myformrate" id="myformrate" style="display:inline;">
|
|
|
|
<a class="nav-link" href="javascript: submitformrate()">Rate an Ex</a>
|
|
|
|
<input type="hidden" name="mode" value="rate_an_ex">
|
|
|
|
</form>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<script language="JavaScript">
|
|
function submitformmyexes()
|
|
{
|
|
document.myformmyexes.submit();
|
|
}
|
|
</script>
|
|
|
|
<form action="#request.cgiPath#" method="post" name="myformmyexes" id="myformmyexes" style="display:inline;">
|
|
|
|
<a class="nav-link" href="javascript: submitformmyexes()">My Exes</a>
|
|
|
|
<input type="hidden" name="mode" value="my_exes">
|
|
|
|
</form>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<script language="JavaScript">
|
|
function submitforminvite()
|
|
{
|
|
document.myforminvite.submit();
|
|
}
|
|
</script>
|
|
|
|
<form action="#request.cgiPath#" method="post" name="myforminvite" id="myforminvite" style="display:inline;">
|
|
|
|
<a class="nav-link" href="javascript: submitforminvite()">Invite People!</a>
|
|
|
|
<input type="hidden" name="mode" value="invite_friends">
|
|
|
|
</form>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<script language="JavaScript">
|
|
function submitformexesnear()
|
|
{
|
|
document.myformexesnear.submit();
|
|
}
|
|
</script>
|
|
|
|
<form action="#request.cgiPath#" method="post" name="myformexesnear" id="myformexesnear" style="display:inline;">
|
|
|
|
<a class="nav-link" href="javascript: submitformexesnear()">View Exes</a>
|
|
|
|
<input type="hidden" name="mode" value="view_exes">
|
|
|
|
</form>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<script language="JavaScript">
|
|
function submitformfunctionaccount()
|
|
{
|
|
document.myformaccount.submit();
|
|
}
|
|
</script>
|
|
|
|
<form action="#request.cgiPath#" method="post" name="myformaccount" id="myformaccount" style="display:inline;">
|
|
|
|
<a class="nav-link" href="javascript: submitformfunctionaccount()">Account</a>
|
|
|
|
<input type="hidden" name="mode" value="account">
|
|
|
|
</form>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<script language="JavaScript">
|
|
function submitformfunctionlogout()
|
|
{
|
|
document.myformlogout.submit();
|
|
}
|
|
</script>
|
|
|
|
<form action="#request.cgiPath#" method="post" name="myformlogout" id="myformlogout" style="display:inline;">
|
|
|
|
<a class="nav-link" href="javascript: submitformfunctionlogout()">Logout</a>
|
|
|
|
<input type="hidden" name="mode" value="logout">
|
|
|
|
</form>
|
|
|
|
</li>
|
|
|
|
</cfif>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
|
|
<div><br><br><br></div>
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col sm-5 md-3">
|
|
<a href="index.cfm"><img src="images/yelpforexeslogo150.png" width="150" height="150" border="0" alt=""></a>
|
|
</div>
|
|
<!--- <cfif request.UserID neq 0>
|
|
<div class="col sm-2 md-6">
|
|
|
|
</div>
|
|
</cfif> --->
|
|
<div class="col sm-5 md-3">
|
|
|
|
<cfif find("logout.cfm", request.cgiPath) EQ 0>
|
|
|
|
<cfif request.UserID NEQ 0>
|
|
<cfif check_user.UserProfileImage gt ""><img src="#application.image_display_prefix#users/thumbs/#request.UserID#.#check_user.UserProfileImage#" border="0" alt=""><br></cfif>
|
|
Hi, <cfif check_user.UserFirstName gt "">#check_user.UserFirstName#<br>#dollarformat(check_user.UserBalance)#<cfelse>YFE User</cfif><br>
|
|
<cfelse>
|
|
|
|
<form action="#application.wwwrootprefix#index.cfm" method="post" name="login_form" id="login_form">
|
|
|
|
<label for="colFormLabelSm">email:</label><input class="form-control form-control-sm" type="Text" name="username" required="No" maxlength="100" placeholder="your email">
|
|
<label for="colFormLabelSm">pword:</label><input class="form-control form-control-sm" type="password" name="password" required="No" maxlength="20" placeholder="your password">
|
|
<input type="submit" value="login" class="btn btn-success my-2">
|
|
<input type="hidden" name="mode" value="login">
|
|
<input type="hidden" name="submitted" value="1">
|
|
|
|
</form>
|
|
|
|
</cfif>
|
|
|
|
</cfif>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</cfoutput>
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col"> |