2024-12-26 00:33:23 -05:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<title>Your Ticket</title>
|
|
|
|
|
<link rel="stylesheet" href="styles.css">
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
2024-12-26 21:46:13 -05:00
|
|
|
<%- include('partials/nav') %>
|
|
|
|
|
<div class="content">
|
2025-02-10 20:53:52 -05:00
|
|
|
To use <%=ticket%>, visit this URL: <%=useurl%><br>
|
|
|
|
|
Or scan this QR Code:<br>
|
2024-12-28 19:31:45 -05:00
|
|
|
<img class="qrcode-image" width=300 height=300 src="<%=qrcode%>" alt="QR Code"><br>
|
2025-02-10 20:53:52 -05:00
|
|
|
<% if (paid==0) { %>
|
|
|
|
|
Tickets are pay-what-you-can, minimum $1, suggested $50.<br>
|
|
|
|
|
To pay for this ticket by credit card, enter an amount:
|
|
|
|
|
<form id="pay" method="POST" action="/pay0">
|
|
|
|
|
<input type="hidden" name="ticket" value="<%=ticket%>">
|
|
|
|
|
<input type="number" min="1.00" max="1000.00" step="0.01" placeholder="50.00" name="amount">
|
|
|
|
|
<button id="Submit" type="submit">Pay</button>
|
|
|
|
|
</form>
|
|
|
|
|
<% } else { %>
|
|
|
|
|
This ticket has already been paid for. ($<%=(paid/100).toFixed(2)%>)
|
|
|
|
|
<% } %>
|
2024-12-28 19:31:45 -05:00
|
|
|
<form id="editor" method="POST" action="/oneticket">
|
2025-02-10 20:53:52 -05:00
|
|
|
To transfer <%=ticket%>, enter the recipient's email address:<br>
|
2024-12-26 21:46:13 -05:00
|
|
|
<input type="hidden" name="ticket" value="<%=ticket%>">
|
|
|
|
|
<input type="email" placeholder="yourfriend@xyz.com" value="<%=offered%>" name="offered">
|
|
|
|
|
<button id="Submit" type="submit">Transfer</button>
|
|
|
|
|
<br>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
2024-12-26 00:33:23 -05:00
|
|
|
</body>
|
|
|
|
|
</html>
|