| Server IP : 10.200.247.200 / Your IP : 216.73.217.19 Web Server : Apache System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : jeremy ( 1001) PHP Version : 8.4.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/asap_sites/5starttoolkit.com/ |
Upload File : |
<?
session_start();
require_once("{$_SERVER["DOCUMENT_ROOT"]}/api/LCAPI.php");
$initial_fee = "2.98";
$monthly_fee = "59.92";
$trial = "7";
$site_phone = "1-877-374-0182";
$site_email = "support@5StarToolkit.com";
// Check to make sure they agreed to the terms
$signup_error = "";
$agreetoterms = trim($_POST['agrees_to_terms']);
if ($agreetoterms == "") { $signup_error .= "You must agree to the terms\\n";}
if ($signup_error != "")
{
$_GET['tc'] = $_POST['tc'];
$_GET['sid'] = $_POST['sid'];
$_GET['cid'] = $_POST['cid'];
include_once("{$_SERVER["DOCUMENT_ROOT"]}/checkout.php");
exit();
}
// Create a user account and charge them
// $formfields is used for variables to be displayed on the page
// $postfields is used for variables to be passed to LCAPI
$userfields = array('fname','lname','address','city','state','zip','phone','email',
'cc_name','cc_type','cc_num','cc_exp_month','cc_exp_year','cc_cvv','leadid','tc','sid','cid');
$formfields = array();
$postfields = array();
foreach ($userfields as $field)
{
$formfields[$field] = $_POST[$field];
$postfields[$field] = $_POST[$field];
}
if (!isset($_GET['test']))
{
/*
* CHANGES HERE
* site = a unique acronym that we set
* referrer = what ever you want to indicate where this sale originated from
*
*/
$postfields['site'] = '5startk';
$postfields['referrer'] = "5StarToolkit.com";
$postfields['ipaddress'] = $_SERVER['REMOTE_ADDR'];
$postfields['tc'] = $_POST['tc'];
$postfields['sid'] = $_POST['sid'];
$postfields['cid'] = $_POST['cid'];
$postfields['leadid'] = $_POST['leadid'];
/*
* CHANGES HERE
*
* billing_amount = the initial amount to charge the customer
* next_bill_date = integer value for the number of days till first monthly billing ex. 14 OR 30
* rebill_amount = the monthly billing amount
*/
$postfields['billing_amount'] = $initial_fee;
$postfields['next_bill_date'] = $trial;
$postfields['rebill_amount'] = $monthly_fee;
$postfields['sendemail'] = 'yes';
$lcapi = new LCAPI();
$result = $lcapi->CreateUser($postfields);
if (!$result)
{
$error = $lcapi->response->errormessage;
$message = "The following error occurred when trying to create an account on 5StarToolkit.com:\n";
$message .= $lcapi->response->rawdata;
$message .= "\nPostFields: \n" . print_r($postfields,true);
echo "<p align='center'><font face='Arial' size='5' color='#FFFFFF'><br>There Has Been an error with the information provided: $error</font></p>";
include_once("{$_SERVER["DOCUMENT_ROOT"]}/checkout.php");
exit();
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta name="robots" content="noindex,nofollow">
<title>5StarToolkit.com | Terms & Conditions</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="robots" content="noindex,nofollow">
<style type="text/css">
body {
background: #C0C0C0;
font-family: Arial, Helvetica, sans-serif;
background-color: #203F5F;
}
a {
color: #0066CC;
text-decoration: none;
}
a:hover {
color: #0066FF;
text-decoration: underline;
}
#wrap {
margin: 0 auto;
width: 900px;
}
#nav {
padding: 0 0 10px;
text-align: right;
font-size: 10px;
}
#nav a {
color: #333;
}
#nav a:hover {
color: #0066FF;
}
#container {
background: #FFF;
border: 1px solid #000;
padding: 49px;
}
#content {
background: #F0F0F0;
border: 1px dotted #CCC;
padding: 25px;
}
#footer {
text-align: center;
padding: 10px;
font-size: 10px;
}
</style>
</head>
<body>
<div id="wrap">
<div id="container">
<div id="content">
<div><a href="https://5StarToolkit.com/index.php"><img src="images/header.jpg" width="749" border="0" height="93"></a></div>
<p align="center">
</p><h1>Order Submitted, Thanks!</h1>
You're headed in the right direction!
<div align="center" style="margin-top: 20px;">
<div style="text-align: left; width: 100%; padding: 5px; font: 9pt arial,sans-serif; background-color: #fff; border: 1px solid #000;">
<strong>Here is your login information for the 5StarToolkit Membership Area:<br /></strong>
URL: <a href="http://5startoolkit.com/login.php?user=<?= url_encode($formfields['email']); ?>&pass=<?= $formfields['zip']; ?>">www.5StarToolkit.com/login.php</a><br />
Username: <?= $formfields['email']; ?><br />
Password: <?= $formfields['zip']; ?><br />
<br><br>
</div>
</div>
</div>
</div>
</div>
</body></html>