|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/chsweb/evite_old/2007_golf/.svn/text-base/ |
Upload File : |
<?php
/*
-- variables from e-vite form:
$Name // contact name
$Company // company name
$Email // email address of contact
$Attending // (Yes | No) [Yes is default]
$Handicap // handicap (should be a #)
$GolfIndex // index (should be a #)
$loaner_clubs // (Right | Left | N/A) [N/A is default]
$Comments // any comments left by user
$form_completed // (True | False) whether form has been verified and completed
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CHS 2007 Summer Classic | Glen View Club</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAGwAvfXBHb665jUfEXUC9wxR4LatVTDsjT0JnFpsPRiVKNinGRxRO0DbywwaYd28CpkzFtLdI73UR6w"
type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
// BEGIN GOOGLE MAPS...
var map;
var geocoder;
function load() {
map = new GMap2(document.getElementById("map"));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
geocoder = new GClientGeocoder()
//map.setCenter(new GLatLng(-87.780256,42.055251), 1);
//showLocation('Glen View Club Golf, Illinois');
//showLocation('100 Golf Road Golf, IL 60029');
showAddress('100 Golf Road Golf, IL 60029');
// FOCUS ON FIRST TEXT BOX
var txt;
txt = document.getElementById("Name");
txt.focus();
}
// addAddressToMap() is called when the geocoder returns an
// answer. It adds a marker to the map with an open info window
// showing the nicely formatted version of the address and the country code.
function addAddressToMap(response) {
map.clearOverlays();
if (!response || response.Status.code != 200) {
alert("Sorry, we were unable to geocode that address");
} else {
place = response.Placemark[0];
point = new GLatLng(place.Point.coordinates[1],
place.Point.coordinates[0]);
marker = new GMarker(point);
map.addOverlay(marker);
marker.openInfoWindowHtml(place.address + '<br>' +
'<b>Country code:</b> ' + place.AddressDetails.Country.CountryNameCode);
}
}
// showLocation() is called when you click on the Search button
// in the form. It geocodes the address entered into the form
// and adds a marker to the map at that location.
function showLocation(address) {
//var address = document.forms[0].q.value;
geocoder.getLocations(address, addAddressToMap);
}
function showAddress(address) {
if (geocoder) {
geocoder.getLatLng(
address,
function(point) {
if (!point) {
alert(address + " not found");
} else {
map.setCenter(point, 13);
var marker = new GMarker(point);
map.addOverlay(marker);
marker.openInfoWindowHtml(address);
}
} // end function
); // end getLatLng
}}
//]]>
</script>
<style type="text/css">
<!--
.TextWhite {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
color: #FFFFFF;
text-decoration: none;
}
.TextBrown {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
color: #B47D2B;
text-decoration: none;
font-weight: bold;
}
.Textbox {
border: 1px solid #1D3C1C;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
height: 22px;
}
.Comments {
border: 1px solid #1D3C1C;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
body {
padding: 0px;
margin-top: 10px;
background-color: #1D3C1C;
margin-bottom: 5px;
margin-right: 0px;
margin-left: 0px;
}
A {
color: #FFFFFF;
font-weight: bold;
}
A:VISITED {
color: #F1EACE;
}
-->
</style>
<style type="text/css">
<!--
.Attending {
border: 1px solid #1D3C1C;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
padding: 1px;
}
.Required {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #FFFFFF;
text-decoration: none;
font-style: italic;
}
-->
</style>
</head>
<body onload="load();" onunload="GUnload();" style="margin: 0px,0px,0px,0px;">
<input type="hidden" name="form_completed" id="form_completed" value="false" />
<table width="100%" border="0">
<tr>
<td align="center">
<table border="0" cellpadding="0" cellspacing="0" width="708">
<tr>
<td align="center"><img src="invite_rsvp.jpg" alt="CHS 2007 Summer Classic | Glen View Club | It's closer than you think..." style="border: none;" /></td>
</tr>
<tr>
<td align="center" style="text-align: center; background-color: #f1eace;">
<p style="font-family: Garamond; font-size: 26pt; line-height: 50pt; color: #1D3C1C;">Monday, June 25, 2007 at the Glen View Club</p>
<p style="font-family: Helvetica; text-transform: capitalize; font-weight: bold; font-size: 10pt; letter-spacing: .5px;">12:00 NOON - LUNCH<br />
1:00 PM - SHOTGUN START<br />
DINNER TO FOLLOW</p>
<span></span>
</td>
</tr>
<tr>
<td align="left">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
<tr>
<td valign="top">
<?php
// if form has been submitted and completed, do not show the form...
if ( !$form_completed ) {
?>
<form action="" method="post" id="golf">
<table width="90%" border="0" cellspacing="15" cellpadding="0">
<tr>
<td colspan="2" class="TextWhite">
We hope you can join us for the CHS 2007 Summer Classic. Please complete the
form below and respond to CHS no later than <span style="font-weight: bold;">May 31<sup style="text-decoration: underline;">st</sup></span>. We look forward to hearing
from you.</td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr>
<td style="width: 21%;" class="TextWhite">Name*</td>
<td style="width: 79%;"><input name="Name" type="text" class="Textbox" id="Name" size="60" maxlength="100"/></td>
</tr>
<tr>
<td style="width: 21%;" class="TextWhite">Company*</td>
<td style="width: 79%;"><input name="Company" type="text" class="Textbox" id="Company" size="60" maxlength="100"/></td>
</tr>
<tr>
<td class="TextWhite">E-mail Address*</td>
<td><input name="Email" type="text" class="Textbox" id="Email" size="60" maxlength="100"/></td>
</tr>
<tr>
<td colspan="2" class="Required">* Required for a successful response.</td>
</tr>
<tr>
<td colspan="2" class="TextWhite">Will you be attending?</td>
</tr>
<tr>
<td colspan="2" class="TextWhite">
<input type="radio" name="Attending" id="attending_yes" value="Yes" checked="checked" /><label for="attending_yes">Yes, I will attend.</label><br />
<input type="radio" name="Attending" id="attending_no" value="No" /><label for="attending_no">No, I will not attend.</label>
</td>
</tr>
<tr>
<td colspan="2" class="TextWhite">Please provide either:</td>
</tr>
<tr>
<td colspan="2" class="TextWhite"><input name="Handicap" type="text" value="0" class="Textbox" size="3" /> Golf Handicap</td>
</tr>
<tr>
<td colspan="2" class="TextWhite"><input name="GolfIndex" type="text" value="0" class="Textbox" id="GolfIndex" size="3" /> Golf Index</td>
</tr>
<tr>
<td colspan="2" class="TextWhite">If you would like loaner clubs, please specify.</td>
</tr>
<tr>
<td colspan="2" class="TextWhite">
<input type="radio" name="loaner_clubs" id="loaner_right" value="Right" /><label for="loaner_right">Right handed</label><br />
<input type="radio" name="loaner_clubs" id="loaner_left" value="Left" /><label for="loaner_left">Left handed</label><br />
<input type="radio" name="loaner_clubs" id="loaner_na" value="N/A" checked="checked" /><label for="loaner_na">None, thank you.</label><br />
</td>
</tr>
<tr>
<td colspan="2" class="TextWhite">Other comments or requests:</td>
</tr>
<tr>
<td colspan="2" class="TextWhite"><textarea name="Comments" rows="5" class="Comments" id="Comments" cols="80"></textarea></td>
</tr>
</table>
</form>
<?php
} // end if ( !$form_completed )
?>
<table width="90%" border="0" cellspacing="15" cellpadding="0">
<tr>
<td style="width: 21%;" class="TextWhite" valign="top">
<p>The Glenview Club is located at 100 Golf Road in Golf, Illinois. For directions, please refer to the club's website at <a href="http://www.glenviewclub.com">www.glenviewclub.com</a>.</p>
<p>For more information, please contact Michelle Karlin at <a href="mailto:[email protected]?Subject=CHS%202007%20Golf%20Outing">[email protected]</a> or (312) 876-9410.</p>
<p>
<img src="Calendar.bmp" alt="Add Event to Outlook" style="float:left; border: solid 5px #1D3C1C;" />
<a href="GolfOuting.ics" type="text/plain">Add this event to your Outlook calendar!</a></p>
</td>
<td style="width: 79%;">
<div id="map" style="width: 400; height: 275px"></div>
</td>
</tr>
<tr>
<td colspan="2" class="TextWhite" align="center">
<br />
<input id="Submit1" type="submit" value="SUBMIT RESPONSE" style="border-right: #ffffcc thin solid; border-top: #ffffcc thin solid; font-weight: bold; border-left: #ffffcc thin solid; border-bottom: #ffffcc thin solid; font-family: Arial, Sans-Serif; height: 30px; background-color: #F1EACE" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>