-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSignUp.php
More file actions
190 lines (160 loc) · 7.63 KB
/
SignUp.php
File metadata and controls
190 lines (160 loc) · 7.63 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<html>
<head>
<link rel="icon" href="images/favicon.ico" type="image/ico">
<title>Payment Options</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=5, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css" />
</head>
<style>
/* Style the tab */
.tab {
overflow: hidden;
border: 1px solid #ccc;
background-color: #f1f1f1;
}
/* Style the buttons that are used to open the tab content */
.tab button {
background-color: inherit;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
color: black;
}
/* Change background color of buttons on hover */
.tab button:hover {
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
/* Create an active/current tablink class */
.tab button.active {
background-color: #EFCA46;
}
/* Style the tab content */
.tabcontent {
display: none;
padding: 0;
border: 1px solid #ccc;
border-top: none;
}
</style>
<body class="is-preload">
<div id="page-wrapper">
<!-- Header -->
<?php include("header.php");
session_start();
if(isset($_SESSION['logged_in'])){
header("Location:Celebrities.List.php");
}
if($_SESSION['Promo']){
header("Location:SignUpPromo.php");
}?>
<!-- Main -->
<script>
window.onload = function () {
startTab();
};
function startTab() {
document.getElementById("defaultOpen").click();
}
function openPage(evt, pageName) {
// Hide all elements with class="tabcontent" by default */
var i, tabcontent, tablinks;
tabcontent = document.getElementsByClassName("tabcontent");
for (i = 0; i < tabcontent.length; i++) {
tabcontent[i].style.display = "none";
}
// Remove the background color of all tablinks/buttons
tablinks = document.getElementsByClassName("tablink");
for (i = 0; i < tablinks.length; i++) {
//tablinks[i].style.backgroundColor = "";
tablinks[i].className = tablinks[i].className.replace(" active", "");
}
// Show the specific tab content
document.getElementById(pageName).style.display = "block";
evt.currentTarget.className += " active";
}
</script>
<section id="main" class="container">
<h2 style="text-align:center;">Payment Options</h2>
<div class="tab">
<button class="tablink" onclick="openPage(event,'What is')" id="defaultOpen">Premium Membership!</button>
<button class="tablink" onclick="openPage(event,'Who')">Basic Membership</button>
<button class="tablink" onclick="openPage(event,'Promo')">Have a Promo?</button>
<div id="What is" class="tabcontent">
<div class="box">
<h3>Unlimited Plan!</h3>
<p>At only $49.99 a month, you can make unlimited calls with all of our celebrities! Get expedited support with 4K video support (as supported). Video playback will be also be up to 4K (as supported). You will have access to our priority support line. Renews Monthly. </p><form action="https://test.bitpay.com/checkout" method="post">
<input type="hidden" name="action" value="checkout" />
<input type="hidden" name="posData" value="" />
<input type="hidden" name="data" value="qbAfM+webtfbPR6Y7T0S7Vv/43J9mXh5y4Rr9QO677Cr+B2I5FmhSD5DZNxZlhHxmoR99b5EGYmqrENjxKStaB13t514RJtMqCtwmmsPYO2biLeMJ7XiMH2BEqYMDaPw6CyfVlkPZaZ01QFSpgN5Ns46CpO4/rD4TATbNqYhfgq1jZsEHQaS/V5O9N1PJ5uq" />
<input type="image" src="https://test.bitpay.com/cdn/en_US/bp-btn-pay-currencies.svg" name="submit" style="width: 210px" alt="BitPay, the easy way to pay with bitcoins.">
</form>
</div>
<img src="thanks.jpeg" width="612" height="180" >
</div>
<div id="Who" class="tabcontent">
<div class="box">
<h3>Starter Plan</h3>
<p>With our basic membership, you can make up to 5 calls a month to our vast number of celebrities. 4K support is not included in this plan. Included in this plan is standard video playback from all of your calls! This plan is $19.99 a month. Also included is our basic technical support. Renews Monthly.</p>
<form action="https://test.bitpay.com/checkout" method="post">
<input type="hidden" name="action" value="checkout" />
<input type="hidden" name="posData" value="" />
<input type="hidden" name="data" value="qbAfM+webtfbPR6Y7T0S7Vv/43J9mXh5y4Rr9QO677BRYXpJpCGKrt7MAX+d4Ke99W/Txg2ZbUd9fl+L7qPShM6WlM6yMbQ0DVU/IJwgrcO+3c5HPzhER9nGEmF5vYuxDHyVvkjG7YW80QqKaDDPQqaN/tZQfdFdqBf0UGILVP9lCu7aPG2DIbsM7WuyxtQl" />
<input type="image" src="https://test.bitpay.com/cdn/en_US/bp-btn-pay-currencies.svg" name="submit" style="width: 210px" alt="BitPay, the easy way to pay with bitcoins.">
</form>
</div>
<img src="thanks.jpeg" width="612" height="180" >
</div>
<div id="Promo" class="tabcontent">
<div class="box">
<h3>Have a Promo? Enter it below!</h3>
<form id="insert" name="insert" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]); ?>" method="POST">
<input type="text" name="Promo" id="Promo"
placeholder="Enter your Promo Code"/>
<li><input type="submit" value="Submit" /></li>
</form>
</div>
<img src="thanks.jpeg" width="612" height="180" >
</div>
</section>
<?php
session_start();
if ($_POST['Promo']=="test123"){
$_SESSION['Promo']=true;
header('Location:SignUpPromo.php');
}
else{
echo"Invalid Promo Code";
}
?>
<!-- Footer -->
<?php include("footer.php"); ?>
</div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.dropotron.min.js"></script>
<script src="assets/js/jquery.scrollex.min.js"></script>
<script src="assets/js/browser.min.js"></script>
<script src="assets/js/breakpoints.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/main.js"></script>
</body>
</html>
<!-- Footer -->
</div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.dropotron.min.js"></script>
<script src="assets/js/jquery.scrollex.min.js"></script>
<script src="assets/js/browser.min.js"></script>
<script src="assets/js/breakpoints.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/main.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
</body>
</html>