-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2596730
commit 78edcb3
Showing
21 changed files
with
4,800 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,244 @@ | ||
<?php | ||
if (!empty($_POST["billAnnually"])) | ||
{ | ||
$agreementText = 'Annual Billing'; | ||
$agreementAmount = $_POST["annuallyTotal"]; | ||
} | ||
else | ||
{ | ||
$agreementText = 'Monthly Billing'; | ||
$agreementAmount = $_POST["grandTotal"]; | ||
} | ||
|
||
?> | ||
<?php | ||
$to = "[email protected]"; | ||
$subject = "Support Agreement Submission"; | ||
$company = $_POST["company"]; | ||
$name = $_POST["firstname"] . " " . $_POST["lastname"]; | ||
$email = $_POST["email"]; | ||
$address1 = $_POST["address1"]; | ||
$city = $_POST["city"]; | ||
$state = $_POST["state"]; | ||
$zip = $_POST["zip"]; | ||
$phone = $_POST["phone"]; | ||
|
||
$qty_item_1 = $_POST["qty_item_1"]; | ||
$qty_item_2 = $_POST["qty_item_2"]; | ||
$qty_item_8 = $_POST["qty_item_8"]; | ||
$qty_item_3 = $_POST["qty_item_3"]; | ||
$qty_item_4 = $_POST["qty_item_4"]; | ||
$qty_item_5 = $_POST["qty_item_5"]; | ||
$qty_item_6 = $_POST["qty_item_6"]; | ||
$qty_item_7 = $_POST["qty_item_7"]; | ||
|
||
$message = " | ||
--Personal Information-- | ||
Company: $company | ||
Name: $name | ||
E-Mail: $email | ||
Address: $address1 | ||
City: $city | ||
State: $state | ||
Zip: $zip | ||
Phone: $phone | ||
--Agreement Information-- | ||
Personal Support Users: $qty_item_1 | ||
Monitored Computers: $qty_item_2 | ||
Monitoring Family Pack: $qty_item_8 | ||
Monitored Servers: $qty_item_3 | ||
Managed Clients: $qty_item_4 | ||
Windows Servers: $qty_item_5 | ||
Prepaid Hours: $qty_item_6 | ||
Premier Support: $qty_item_7 | ||
Amount to be billed: $agreementAmount | ||
Billing interval: $agreementText | ||
"; | ||
$from = $_POST["email"]; | ||
$headers = "From:" . $from; | ||
|
||
|
||
mail($to,$subject,$message,$headers); | ||
?> | ||
|
||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" | ||
"http://www.w3.org/TR/html4/strict.dtd"> | ||
<html lang="en"> | ||
<head> | ||
<title> | ||
MyCompany Service Agreement Signup Form | ||
</title><!-- Framework CSS --> | ||
<link rel="stylesheet" href="jquery.tooltip.css" type="text/css" media="screen, projection"> | ||
<link rel="stylesheet" href="screen.css" type="text/css" media="print, screen, projection"> | ||
<!--[if lt IE 8]><link rel="stylesheet" href="ie.css" type="text/css" media="screen, projection"><![endif]--> | ||
<style type="text/css" media="screen"> | ||
div fieldset.sigbox { | ||
background-color: transparent; | ||
/* border-bottom: 1px solid #999;*/ | ||
height: 70px; | ||
} | ||
div.thecontainer { | ||
position: relative; | ||
} | ||
.nobreak { | ||
white-space: nowrap; | ||
overflow: hidden; | ||
} | ||
body div.container h2#mylogo { | ||
/* height: 162px;*/ | ||
|
||
display: block; | ||
list-style-image: url(logo.png); | ||
list-style-position: inside; | ||
|
||
/* letter-spacing: -1000em;*/ | ||
/* font-size: 1pt; */ | ||
/* position: relative;*/ | ||
} | ||
body div.container h2#mylogo .loseit { | ||
display: none!important; | ||
position: absolute; | ||
color: #FFF; | ||
text-indent: -999999px; | ||
} | ||
#mylogo img { | ||
/* position: absolute;*/ | ||
position: relative; | ||
text-indent: 0px!important; | ||
top: 0px; | ||
} | ||
</style> | ||
|
||
<script src="jquery.min.js" type="text/javascript"></script> | ||
<script src="jquery.dimensions.min.js" type="text/javascript"></script> | ||
<script src="jquery.tooltip.js" type="text/javascript"></script> | ||
</head> | ||
<body id="index" class="index" onload="document.forms.pay.company.focus()"> | ||
<div class="container"> | ||
<!-- inactive class - showgrid --> | ||
<h4 class="printme">My Company, Inc.<br />123 Main Street<br />Anytown, Anywhere<br />+1-408-352-6145</h4> | ||
<h2 id="mylogo"> | ||
<img src="logo.png" alt="" class="imageo" /> | ||
<br> | ||
<small>Support Agreement</small> | ||
</h2> | ||
<hr> | ||
<div> | ||
<p>Your Support Agreement has been submitted. <p> | ||
<strong>As a subscriber to our support package, you receive:</strong> | ||
<ul> | ||
<li>Brief emails and calls, under 15 minutes per incident, are covered by your agreement.</li> | ||
<li>The rate for labor will be discounted from $150 to $120 an hour</li> | ||
<li>Hardware and software sales will enjoy a 5.5% discount</li> | ||
</ul> | ||
<p> | ||
<strong>Your Monitored Computers will have:</strong> | ||
</p> | ||
<ul> | ||
<li>Automated monitoring and reporting on the overall health of your computer</li> | ||
<li>A chance to identify small problems before they get develop to large ones, or to data loss.</li> | ||
<li>Active notification of issues Watchman Monitoring finds as it checks your backup status, hard drive, and more.</li> | ||
<li>You get peace of mind knowing that MyCompany, Inc. will contact you if your computer is showing signs of failure.</li> | ||
</ul> | ||
<p> | ||
We will enter your agreement into our system, send your invoice, and coordinate payment information with you directly. | ||
Phone and email support is available immediately, and we will coordinate a time to install our monitoring software. | ||
Thank you for your business and continued support. | ||
</p> | ||
|
||
<p style="text-align: right;"><em>Sincerely,</em><br> <strong>Allen Hancock</strong> and the <strong>MyCompany, Inc.</strong></p> | ||
|
||
</div> | ||
<hr> | ||
<div class="thecontainer"> | ||
<div class="span-8"> | ||
<fieldset> | ||
<legend>Your Billing Information</legend> | ||
<table border="0" cellspacing="0" cellpadding="0"> | ||
<tr> | ||
<td><label class="span-2" for="company">Company</label></td> | ||
<td style="text-align: right;" align="right"><?php echo $_POST["company"]; ?></td> | ||
</tr> | ||
<tr> | ||
<td><label class="span-2" for="firstname">Name</label></td> | ||
<td style="text-align: right;" align="right"><?php echo $_POST["firstname"] . " " . $_POST["lastname"]; ?></td> | ||
</tr> | ||
<tr> | ||
<td><label class="form-label" for="email">Email</label></td> | ||
<td style="text-align: right;" align="right"><?php echo $_POST["email"]; ?></td> | ||
</tr> | ||
<tr> | ||
<td><label class="span-2" for="address1">Address</label></td> | ||
<td style="text-align: right;" align="right"><?php echo $_POST["address1"]; ?></td> | ||
</tr> | ||
<tr> | ||
<td><label class="form-label" for="city"></label></td> | ||
<td style="text-align: right;" align="right"><?php echo $_POST["city"] . ", " . $_POST["state"] . ", " . $_POST["zip"]; ?></td> | ||
</tr> | ||
<tr> | ||
<td><label class="form-label" for="phone">Phone</label></td> | ||
<td style="text-align: right;" align="right"><?php echo $_POST["phone"]; ?></td> | ||
</tr> | ||
</table> | ||
</fieldset> | ||
</div> | ||
<div class="span-8"> | ||
<fieldset> | ||
<legend>Monthly Agreement Quantities</legend> | ||
<table border="0" cellspacing="0" cellpadding="0"> | ||
<tr> | ||
<td><label class="form-label" for="qty_item_2">Personal Support</label></td> | ||
<td style="text-align: right;" align="right"><?php echo $_POST["qty_item_1"]; ?></td> | ||
</tr> | ||
<tr> | ||
<td><label class="form-label" for="qty_item_1">Monitored Computers</label></td> | ||
<td style="text-align: right;" align="right"><?php echo $_POST["qty_item_2"]; ?></td> | ||
</tr> | ||
<tr> | ||
<td><label class="form-label" for="qty_item_3">Monitored Servers</label></td> | ||
<td style="text-align: right;" align="right"><?php echo $_POST["qty_item_3"]; ?></td> | ||
</tr> | ||
<tr> | ||
<td><label class="form-label" for="qty_item_4">Managed Clients</label></td> | ||
<td style="text-align: right;" align="right"><?php echo $_POST["qty_item_4"]; ?></td> | ||
</tr> | ||
<tr> | ||
<td><label class="form-label" for="qty_item_5">Windows Servers</label></td> | ||
<td style="text-align: right;" align="right"><?php echo $_POST["qty_item_5"]; ?></td> | ||
</tr> | ||
<tr> | ||
<td><label class="form-label" for="qty_item_6">Prepaid Hours</label></td> | ||
<td style="text-align: right;" align="right"><?php echo $_POST["qty_item_6"]; ?></td> | ||
</tr> | ||
<tr> | ||
<td><label class="form-label" for="qty_item_7">Premier Support</label></td> | ||
<td style="text-align: right;" align="right"><?php echo $_POST["qty_item_7"]; ?></td> | ||
</tr> | ||
<tr> | ||
|
||
<td><label class="form-label"><?php echo $agreementText; ?></label></td> | ||
<td style="text-align: right;" align="right"><?php echo $agreementAmount; ?></td> | ||
</tr> | ||
</table> | ||
</fieldset> | ||
</div> | ||
<div class="span-8 last nobreak" style="height: 238px; position: relative"> | ||
<fieldset class="sigbox" style="margin-left: 20px;"> | ||
<legend>Authorized Signature</legend> | ||
<p style="margin-top: 40px;">____________________________________</p> | ||
</fieldset> | ||
</div> | ||
</div> | ||
<br><br> | ||
</div><!-- close: content --> | ||
<div class="container"> | ||
<p><strong>Please print, sign, and return this form. Either in person, mail, or fax to +1-408-352-6145<strong></p> | ||
</div> | ||
<div id="footer"> | ||
<!-- Footer Stuff --> | ||
</div><!-- close: footer --> | ||
<!-- close: kontainer --> | ||
|
||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* ----------------------------------------------------------------------- | ||
Blueprint CSS Framework 0.9 | ||
http://blueprintcss.org | ||
* Copyright (c) 2007-Present. See LICENSE for more info. | ||
* See README for instructions on how to use Blueprint. | ||
* For credits and origins, see AUTHORS. | ||
* This is a compressed file. See the sources in the 'src' directory. | ||
----------------------------------------------------------------------- */ | ||
|
||
/* ie.css */ | ||
body {text-align:center;} | ||
.container {text-align:left;} | ||
* html .column, * html div.span-1, * html div.span-2, * html div.span-3, * html div.span-4, * html div.span-5, * html div.span-6, * html div.span-7, * html div.span-8, * html div.span-9, * html div.span-10, * html div.span-11, * html div.span-12, * html div.span-13, * html div.span-14, * html div.span-15, * html div.span-16, * html div.span-17, * html div.span-18, * html div.span-19, * html div.span-20, * html div.span-21, * html div.span-22, * html div.span-23, * html div.span-24 {display:inline;overflow-x:hidden;} | ||
* html legend {margin:0px -8px 16px 0;padding:0;} | ||
ol {margin-left:2em;} | ||
sup {vertical-align:text-top;} | ||
sub {vertical-align:text-bottom;} | ||
html>body p code {*white-space:normal;} | ||
hr {margin:-8px auto 11px;} | ||
img {-ms-interpolation-mode:bicubic;} | ||
.clearfix, .container {display:inline-block;} | ||
* html .clearfix, * html .container {height:1%;} | ||
fieldset {padding-top:0;} | ||
textarea {overflow:auto;} | ||
input.text, input.title, textarea {background-color:#fff;border:1px solid #bbb;} | ||
input.text:focus, input.title:focus {border-color:#666;} | ||
input.text, input.title, textarea, select {margin:0.5em 0;} | ||
input.checkbox, input.radio {position:relative;top:.25em;} | ||
form.inline div, form.inline p {vertical-align:middle;} | ||
form.inline label {position:relative;top:-0.25em;} | ||
form.inline input.checkbox, form.inline input.radio, form.inline input.button, form.inline button {margin:0.5em 0;} | ||
button, input.button {position:relative;top:0.25em;} |
Oops, something went wrong.