Repository navigation
Expand file tree
/
Copy pathupgrade.php
More file actions
146 lines (145 loc) · 4.68 KB
/
Copy pathupgrade.php
File metadata and controls
146 lines (145 loc) · 4.68 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
<?php include("admin/config.php");
$_SESSION['upgradeplan']='yes';
?>
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html class="not-ie" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<title>Get Your Real Estate Clients Pre Approved Online</title>
<meta name="description" content="RePreApproval, a revolution in real estate pre approval letters. Lenders and realtors, have your clients' pre approval letter modified and printed online">
<meta name="keywords" content="repreapproval, preapproval letters online, online preapproval letters, print preapproval letter, real estate, realtors, realtos, mortgage lender, lenders">
<?php include("includes/head.php");?>
</head>
<body>
<?php include_once("analyticstracking.php") ?>
<header>
<?php include("includes/header.php");?>
</header>
<div class="breadcrumb-container">
<div class="container">
<div class="row">
<div class="col-md-12">
<h1>Upgrade your plan</h1>
<ol class="breadcrumb">
<li class="active"><a href="faq.php">FAQ >></a></li>
</ol>
</div>
</div>
</div>
</div>
<div class="space20"></div>
<div class="container">
<div class="row">
<?php if($_SESSION['logge']['plan']=='silverPlan'){?>
<div class="col-md-4">
<div class="content-block">
<div class="content-box">
<h4>Gold</h4>
<p>
Up to 50 realtors<br>
Unlimited pre-approval letters per realtor<br>
$59.95/month<br></p>
<form method="post" action="firstpayment.php">
<input type="text" class="form-control gold_sub1" id="promocode" name="promocode" placeholder="Enter promo code if applicable">
<input type="hidden" name="amount" value="59.95"/>
<input type="hidden" name="Plan" value="goldPlan"/>
<br>
<div class="col-md-12">
<button type="submit" id="gold_sub" class="btn btn-primary sub">Sign up for Gold</button>
</div>
</form>
</div>
</div>
<div class="space40"></div>
</div>
<div class="col-md-4">
<div class="content-block">
<div class="content-box">
<h4>Platinum</h4>
<p><b>Unlimited realtors</b><br>
Unlimited pre-approval letters per realtor<br>
$150/Month<br></p>
<form method="post" action="firstpayment.php">
<input type="text" class="form-control plat_sub1" id="promocode" name="promocode" placeholder="Enter promo code if applicable">
<input type="hidden" name="amount" value="150"/>
<input type="hidden" name="Plan" value="platinumPlan"/>
<br>
<div class="col-md-12">
<button type="submit" id="plat_sub" class="btn btn-primary sub" style="background:#93CE52;font-size:large;box-shadow: 10px 10px 5px #888888;font-weight:bold;border:1px solid #cacaca;">Sign up for Platinum!!!</button>
</div>
</form>
</div>
</div>
<div class="space40"></div>
</div>
<?php } else {?>
<div class="col-md-4">
<div class="content-block">
<div class="content-box">
<h4>Platinum</h4>
<p><b>Unlimited realtors</b><br>
Unlimited pre-approval letters per realtor<br>
$150/Month<br></p>
<form method="post" action="firstpayment.php">
<input type="text" class="form-control plat_sub1" id="promocode" name="promocode" placeholder="Enter promo code if applicable">
<input type="hidden" name="amount" value="150"/>
<input type="hidden" name="Plan" value="platinumPlan"/>
<br>
<div class="col-md-12">
<button type="submit" id="plat_sub" class="btn btn-primary sub" style="background:#93CE52;font-size:large;box-shadow: 10px 10px 5px #888888;font-weight:bold;border:1px solid #cacaca;">Sign up for Platinum!!!</button>
</div>
</form>
</div>
</div>
<div class="space40"></div>
</div>
<?php }?>
</div>
</div>
<div class="space40"></div>
<?php include("includes/strip.php");?>
<div class="space40"></div>
<footer class="footer">
<?php include("includes/topfooter.php");?>
<?php include("includes/footer.php");?>
</footer>
<?php include("includes/javascript.php");?>
<script type="text/javascript">
$(document).ready(function(){
$('.sub').click(function(){
var i=0;
id=this.id;
code=$('.'+id+'1').val();
if(code!='')
{
$.ajax({ url: 'checkcode.php',
async:false,
data:{code:code,action:'codevalid'},
type: 'post',
beforeSend: function () {
},
success: function(output) {
if(output=='success')
{
}
else
{
i++;
}
}
});
}
if(i>0)
{
alert('We are sorry the promo code you entered is either wrong or expired. Please try a different code or continue with your registration. Thank you.')
code=$('.'+id+'1').val('');
return false;
}
});
});
</script>
</body>
</html>