Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include "functions.php";
- ?>
- <!doctype html>
- <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
- <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
- <!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
- <!-- Consider adding a manifest.appcache: h5bp.com/d/Offline -->
- <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <title>
- Online Gift — Gift Information
- </title>
- <meta name="description" content="Hampden-Sydney College Online Gift Form">
- <meta name="viewport" content="width=device-width">
- <!--Old Style's from Old Form-->
- <style type="text/css" media="all">
- @import "http://www.hsc.edu/PreBuilt/hsc1.css";
- .arrow {
- color: #999;
- }
- .block { margin-top:-20px; }
- .scrolllist {
- height: 75px;
- width: 475px;
- margin-left:26px;
- padding: 5px;
- overflow: auto;
- border: 1px solid #ccc
- }
- .scrolllist2 {
- height: 75px;
- width: 300px;
- margin-left:26px;
- padding: 5px;
- overflow: auto;
- border: 1px solid #ccc
- }
- </style>
- <link rel="stylesheet" href="css/style.css">
- <!-- All JavaScript at the bottom, except this Modernizr build.
- Modernizr enables HTML5 elements & feature detects for optimal performance.
- Create your own custom Modernizr build: www.modernizr.com/download/ -->
- <script src="js/libs/modernizr-2.5.3.min.js"></script>
- </head>
- <body>
- <!-- Prompt IE 6 users to install Chrome Frame. Remove this if you support IE 6. chromium.org/developers/how-tos/chrome-frame-getting-started -->
- <!--[if lt IE 7]><p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p><![endif]-->
- <div role="main" id="content">
- <header>
- <a href="http://www.hsc.edu">
- <img src="http://www.hsc.edu/images/hpheadernew2.gif" alt="Hampden-Sydney College " id="headerImage">
- </a>
- </header>
- <!-- DATE -->
- <p class="floatRight">
- <?php echo getTodaysDate(); ?>
- </p>
- <!--Title-->
- <h1 class="floatLeft">
- The Hampden-Sydney Fund
- </h1>
- <br /><br /><br />
- <span class="headerTagline">
- <strong>Making an atmosphere of sound learning a reality, year after year.</strong>
- </span>
- <div class="clearfix"></div>
- <!-- /DATE -->
- <br />
- <!--Inform the user that the form IS secure!-->
- <p>
- To make a credit card gift to Hampden-Sydney College, simply fill out the form below and continue to the payment information page. Credit card information is handled using a secure web server and all information is encrypted before submission to the Office of Institutional Advancement. If you have any questions, please <a href="mailto:lreinson@hsc.edu" title="Contact Us">Contact Us</a> with any questions or updates. For Stock Gift Donors, please view the instructions <a href="https://secure.hsc.edu/gifts/StockGiftInstructions.pdf" title="Stock Gift Donor Instructions">here</a>.
- </p>
- <!--One Time or Recurring Step-->
- <div class="formStep" id="step0">
- <!--Ask whether it's a one-time gift or a recurring gift-->
- <div class="centerButtons">
- <a href="#" id="oneTimeGift"><img src="img/One-TimeGift.png" class="OTG" alt="I would like to make a one-time gift" /></a>
- <a href="#" id="recurringGift"><img src="img/RecurringGift.png" alt="I would like to make a recurring gift" /></a>
- </div>
- </div>
- <!--End Question Step-->
- <form id="DonationForm" action="processForm.php" method="post">
- <!--First Step-->
- <div class="formStep" id="step1">
- <!--One Time Gift-->
- <div id="makingAOneTimeGift">
- Enter Donation Amount Here: $<input type="number" min="0" name="oneTimeDonationValue" id="oneTimeDonationValue" size="15" value="0" />
- </div>
- <!--Recurring Gift-->
- <div id="makingARecurringGift">
- Enter Recurring Gift Amount: $<input type="number" min="0" name="recurringDonationValue" id="recurringDonationValue" size="15" value="0" /><br />
- I would like to make this gift for <input type="number" min="0" max="60" name="numberOfMonths" id="numberOfMonths" size="15" value="0" /> months.<br />
- Total Gift Amount of $<input type="number" min="0" value="0" name="totalRecurringDonationValue" />.
- </div>
- <!--End Form Section 1-->
- <div id="first" class="clearfix"></div>
- <input class="submit floatLeft" type="submit" name="return_question" id="return_question" value="Previous" />
- <input class="submit floatRight" type="submit" id="submit_first" name="submit_first" value="Next" />
- </fieldset>
- <br />
- </div>
- <!--End First Step-->
- <!--Second Step-->
- <div class="formStep" id="step2">
- <p>
- <strong>$<span id="showTotalDonationAmount">DONATION_AMOUNT</span> — Your <span id="typeOfGift">GIFT_TYPE</span> gift amount from the previous page.
- <!--If more than one fund is chosen, display the following-->
- Enter amounts for each fund below. If you would like to change the total amount, please press the previous button.
- </strong>
- </p>
- <fieldset>
- <legend>
- I would like to allocate my gift
- </legend>
- <input type="checkbox" name="Class_Scholarships" value="class_scholarships" class="enableClassYearSelection" />
- <label><strong>to a Specific Scholarship</strong></label>
- <!--Dropdown if selected-->
- <div id="ifClassScholashipsSelected">
- <label><em>Please select the scholarships below</em></label> <br />
- <div class="scrolllist">
- <input value="Class_Of_2003">Class of 2003 Scholarship IHO Ralph A. Crawley</option>
- <input value="Class_Of_2004">Class of 2004 Scholarship IMO C. Frazier 04 & IHO W. Simms</option>
- <input value="Class_Of_2005">Class of 2005 Scholarship IMO Prof. Lee Cohen</option>
- <input value="Class_Of_2006">Class of 2006 Scholarship IMO Peter C. Bance Jr</option>
- <input value="Class_Of_2007">Class of 2007 Scholarship IHO Lt. Gen. Sam Wilson</option>
- <input value="Class_Of_2008">Class of 2008 Scholarship IHO Ms. Gerry Pettus</option>
- <input value="Class_Of_2009">Class of 2009 Scholarship</option>
- <input value="Class_Of_2010">Class of 2010 Scholarship IHO Mrs. Dottie Fahrner</option>
- <input value="Class_Of_2011">Class of 2011 Scholarship IHO Ms. Anita Garland</option>
- <input value="Class_Of_2012">Class of 2012 Scholarship IHO Mr. Jason M. Ferguson 96</option>
- <option value="Class_Of_1951">Class of 1951 Memorial Scholarship</option>
- <option value="Class_Of_1953">Class of 1953 Scholarship Endowment</option>
- <option value="Class_Of_1954">Class of 1954 Wilson Center Lecture Series</option>
- <option value="Class_Of_1958">Class of 1958 Summer College Endowment Fund</option>
- <option value="Class_Of_1960">Class of 1960 Good Men Good Citizens Scholarship</option>
- <option value="Class_Of_1961">Class of 1961 Good Men Good Citizens Scholarship</option>
- <option value="Class_Of_1980">Class of 1980 Endowed Scholarship</option>
- </div>
- </div>
- <!--End Dropdown-->
- <br />
- <input type="checkbox" name="CultureandCommunity" value="culture_and_community" />
- <label><strong>Culture and Community</strong> — Supports the arts at Hampden-Sydney and service opportunities locally and around the world.</label><br />
- <input type="checkbox" name="OtherFunds" value="other_funds" class="enableOtherFunds" />
- <label><strong>Would you like to donate to other funds?</strong></label>
- <!--Dropdown if selected-->
- <div id="ifOtherFundsSelected">
- <label><em>Please select the fund below</em></label> <br />
- <div class="scrolllist">
- <input type="checkbox" name="BortzLibrary" value="1" /> Bortz Library<br />
- <input type="checkbox" name="EstherAtkinsonMuseum" value="1" />Esther Atkinson Museum<br />
- <input type="checkbox" name="EverettStadium" value="1" />Everett Stadium<br />
- <input type="checkbox" name="GMGCScholarship" value="1" />Good Men Good Citizens Scholarship<br />
- <input type="checkbox" name="KirkAthleticCenter" value="1" />Kirk Athletic Center<br />
- <input type="checkbox" name="BaseballBigHittersClub" value="1" />Baseball Big Hitters Club<br />
- <input type="checkbox" name="BasketballRoundballClub" value="1" />Basketball Roundball Club<br />
- <input type="checkbox" name="CrossCountryHarriers" value="1" />Cross Country Harriers<br />
- <input type="checkbox" name="GolfHoleOneClub" value="1" />Golf Hole In One Club<br />
- <input type="checkbox" name="FootballGridironClub" value="1" />Football Gridiron Club<br />
- <input type="checkbox" name="LacrosseFaceOffClub" value="1" />Lacrosse Face Off Club<br />
- <input type="checkbox" name="SoccerGoalClub" value="1" />Soccer Goal Club<br />
- <input type="checkbox" name="TennisRacquetClub" value="1" />Tennis Racquet Club<br />
- <input type="checkbox" name="SwimmingClub" value="1" />Swimming Club<br />
- <input type="checkbox" name="RugbyClub" value="1" />Rugby Club<br />
- <input type="checkbox" name="UnrestrictedCapital" value="1" />Unrestricted Capital<br />
- <input type="checkbox" name="WilsonCenter" value="1" />Wilson Center<br />
- <input type="checkbox" name="Other" value="1" />Other—<em>Explain in Special Instructions</em><br />
- </div>
- </div>
- <!--End Dropdown-->
- <br />
- <input type="checkbox" name="Unrestricted" value="unrestricted" />
- <label><strong>unrestricted</strong> — Funds the annual need of “Forming good men and good citizens.”.</label><br />
- <br />
- <label><strong>Special Instructions</strong></label><br />
- <textarea name="specinstr" cols="100" rows="3" onKeyDown="limitText(this.form.specinstr,this.form.countdown,255);" onKeyUp="limitText(this.form.specinstr,this.form.countdown,255);">
- </textarea>
- <br />
- <span style="font-size: .5em;">You have <input readonly type="text" name="countdown" size="3" value="255" /> characters left.</span>
- </fieldset>
- <!--End Form Section 2-->
- <div class="clearfix"></div>
- <br />
- <input class="submit floatLeft" type="submit" name="return_first" id="return_first" value="Previous" />
- <input class="submit floatRight" type="submit" name="submit_second" id="submit_second" value="Next" onclick="replaceDonationAmount()" />
- <br />
- </div>
- <!--End Second Step-->
- <div class="formStep" id="step3">
- <fieldset>
- <legend>
- Donor Information
- </legend>
- <label>First Name:</label>
- <input type="text" name="usersFirstName" size="20" />
-
- <label>Last Name:</label>
- <input type="text" name="usersLastName" size="30" />
- <br />
- <label>Employer Name (Optional):</label>
- <input type="text" name="usersEmployer" size="30" />
- <br />
- <label>Street Address:</label>
- <input type="text" name="usersStreetAddress" size="30" />
- <br />
- <label>Apt, Suite, Bldg. (Optional):</label>
- <input type="text" name="usersSecondaryAddress" size="30" />
- <br />
- <label>City:</label>
- <input type="text" name="usersCity" size="30" />
- <br />
- <label>Country:</label>
- <input type="text" name="usersCountry" size="30" />
- <br />
- <label>Home Phone:</label>
- <input type="text" name="usersHomePhone" size="30" />
- <br />
- <label>Work Phone:</label>
- <input type="text" name="usersWorkPhone" size="30" />
- <br />
- <label>Email:</label>
- <input type="email" name="usersEmail" size="45" />
- <br />
- </fieldset>
- <div class="clearfix"></div>
- <br />
- <input class="submit floatLeft" type="submit" name="return_second" id="return_second" value="Previous" />
- <input class="submit floatRight" type="submit" name="submit_third" id="submit_third" value="Next" />
- <br />
- </div>
- <div class="formStep" id="step4">
- <fieldset>
- <legend>
- <strong>
- Payment Method—Credit Card Information
- </strong>
- </legend>
- <br />
- <label>Name as it appears on Credit Card:</label>
- <input type="text" name="nameOnCard" size="20" />
- <br />
- <label>Credit Card Number:</label>
- <input type="text" name="numberOnCard" size="30" />
- <br />
- <label>Credit Card Verification Code (CVV or CSV):</label>
- <input type="text" name="securityCodeOnCard" size="30" />
- <br />
- <label>Expiration Date:</label>
- <input type="text" name="expirationMonthOnCard" size="5" /> / <input type="text" name="expirationYearOnCard" size="5" />
- <br />
- </fieldset>
- <div class="clearfix"></div>
- <input class="submit floatLeft" type="submit" name="return_third" id="return_third" value="Previous" />
- <input class="submit floatRight" type="submit" name="submit_form" id="submit_form" value="Submit" />
- <br />
- </div>
- </form>
- <br />
- <footer>
- <div class="floatLeft">
- <p>
- © 2012–2013
- <br />
- <a href="http://www.hsc.edu/Computing-Center/Policies/Digital-Copyright-Infringements.html" title="Copyright" target="_blank"><em>Copyright</em></a> | <a href="http://www.hsc.edu/Emergencies.html" title="Emergencies" target="_blank"><em>Emergencies</em></a> | <a href="http://www.hsc.edu/Search/A-Z-Index.html" title="Site Index" target="_blank"><em>Site Index</em></a>
- </p>
- </div>
- <div class="floatRight">
- <p>
- Hampden-Sydney, VA 23943
- <br />
- <a href="tel:+4342236000" title="434-223-6000">(434) 223–6000</a> | <a href="#" title="Contact the College" target="_blank">Contact the College</a>
- </p>
- </div>
- </footer>
- <!--End Main Area-->
- </div>
- <!-- JavaScript at the bottom for fast page loading -->
- <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline -->
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
- <script>window.jQuery || document.write('<script src="js/libs/jquery-1.8.0.min.js"><\/script>')</script>
- <!--JQuery UI-->
- <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script>
- <script>window.jQuery || document.write('<script src="js/libs/jquery-ui-1.8.23.custom.min.js"><\/script>')</script>
- <!-- scripts concatenated and minified via build script -->
- <script src="js/plugins.js"></script>
- <!--Hide or Show Class Year Selection-->
- <!--Rotation of the different "Steps"-->
- <script src="js/script.js"></script>
- <script src="js/jquery.creditCardValidator.js"></script>
- <!-- end scripts -->
- <!-- Asynchronous Google Analytics snippet. Change UA-XXXXX-X to be your site's ID.
- mathiasbynens.be/notes/async-analytics-snippet -->
- <script>
- var _gaq=[['_setAccount','UA-23315215-1'],['_trackPageview']];
- (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
- g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
- s.parentNode.insertBefore(g,s)}(document,'script'));
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement