From 03d587f125ecf9311a91adfb9f18bacdf4e574bf Mon Sep 17 00:00:00 2001
From: Eric Rasmussen <erasmussen2@unl.edu>
Date: Thu, 21 Oct 2010 20:35:18 +0000
Subject: [PATCH] Initial commit of Landscape Services Outdoor Event form

---
 www/landscape/outdoorevents/index.php | 467 ++++++++++++++++++++++++++
 1 file changed, 467 insertions(+)
 create mode 100644 www/landscape/outdoorevents/index.php

diff --git a/www/landscape/outdoorevents/index.php b/www/landscape/outdoorevents/index.php
new file mode 100644
index 0000000..f355ebb
--- /dev/null
+++ b/www/landscape/outdoorevents/index.php
@@ -0,0 +1,467 @@
+<?php
+set_include_path(dirname(dirname(dirname(dirname(__FILE__)))).'/lib/php/'.PATH_SEPARATOR.get_include_path());
+require_once 'UNL/Templates.php';
+
+$page                   = UNL_Templates::factory('fixed');
+$page->doctitle         = '<title>UNL | Landscape Services | Outdoor Event Space Request</title>';
+$page->head             .= file_get_contents('http://www.unl.edu/landscape/sharedcode/localSiteLinks.html');
+$page->head             .= <<<EOF
+<script type="text/javascript">
+//<![CDATA[
+    WDN.jQuery(document).ready(function(){
+         WDN.initializePlugin('zenform');
+    });
+//]]>
+</script>
+
+<style type="text/css">
+select[name="starttime_hour"],
+select[name="starttime_minute"],
+select[name="starttime_ampm"],
+select[name="endtime_hour"],
+select[name="endtime_minute"],
+select[name="endtime_ampm"],
+select[name="begindate_month"],
+select[name="begindate_day"],
+select[name="begindate_year"],
+select[name="enddate_month"],
+select[name="enddate_day"],
+select[name="enddate_year"]
+{
+margin-right:4px;
+width:auto !important;
+}
+#maincontent form.zenform.soothing fieldset ol li label[for="enddate_month"] span.required,
+#maincontent form.zenform.soothing fieldset ol li label[for="endtime_hour"] span.required,
+#maincontent form.zenform.soothing fieldset ol li label[for="state"] span.required,
+#maincontent form.zenform.soothing fieldset ol li label[for="zip"] span.required
+{
+position:relative;
+display:inline-block;
+left:-1px;
+top:2px;
+}
+#maincontent form.zenform > fieldset > ol > li > label[for="litter"],
+#maincontent form.zenform > fieldset > ol > li > label[for="litter_number"],
+#maincontent form.zenform > fieldset > ol > li > label[for="picnic"],
+#maincontent form.zenform > fieldset > ol > li > label[for="picnic_number"],
+#maincontent form.zenform > fieldset > ol > li > label[for="electricity"]
+{
+display:inline;
+}
+#litter_number,
+#picnic_number
+{
+width:80px !important;
+}
+#maincontent form.zenform.soothing fieldset ol li input[id="city"]
+{
+width:130px;
+}
+#maincontent form.zenform.soothing fieldset ol li input[id="state"],
+#maincontent form.zenform.soothing fieldset ol li input[id="zip"]
+{
+width:100px;
+}
+#maincontent form.zenform.soothing fieldset ol li input[id="business"],
+#maincontent form.zenform.soothing fieldset ol li input[id="home"],
+#maincontent form.zenform.soothing fieldset ol li input[id="fax"]
+{
+width:120px;
+}
+
+
+
+#maincontent .infoBox {
+-moz-box-shadow:0 2px 3px #999999;
+-webkit-box-shadow:0 2px 3px #999999;
+background-image:-moz-linear-gradient(
+    center bottom,
+    #ACED80 1%,
+    #C7FCA3 20%
+);
+background-image:-webkit-gradient(
+    linear,
+    left bottom,
+    left top,
+    color-stop(0.44, rgb(172,237,128)),
+    color-stop(0.72, rgb(199,252,163))
+);
+background-color:#C7FCA3;
+border:1px solid #DCDCDC;
+font-size:1.1em;
+margin-bottom:20px;
+padding:20px 40px 10px;
+position:relative;
+font-family:ShinnBold,"Trebuchet MS",Tahoma,Arial,sans-serif;
+color:#333333;
+}
+#maincontent .infoBox h3 {
+line-height:1.3em;
+margin-bottom:10px;
+font-family:ShinnBold,"Trebuchet MS",Tahoma,Arial,sans-serif;
+color:#555555;
+}
+</style>
+EOF;
+$page->navlinks         = file_get_contents('http://www.unl.edu/landscape/sharedcode/navigation.html');
+$page->footercontent    = file_get_contents('http://www.unl.edu/landscape/sharedcode/footer.html');
+$page->leftcollinks     = file_get_contents('http://www.unl.edu/landscape/sharedcode/relatedLinks.html');
+$page->contactinfo      = file_get_contents('http://www.unl.edu/landscape/sharedcode/footerContactInfo.html');
+$page->breadcrumbs      = '<ul>
+                            <li><a href="http://www.unl.edu/">UNL</a></li>
+                            <li><a href="http://bf.unl.edu/">Business &amp; Finance</a></li>
+                            <li><a href="http://www.unl.edu/landscape/">Landscape Services</a></li>
+                            <li>Outdoor Event Space Request</li>
+                            </ul>';
+$page->titlegraphic     = '<h1>Landscape Services</h1>';
+$page->pagetitle        = '<h2>Outdoor Event Space Request</h2>';
+$page->maincontentarea  = <<<EOF
+
+<div class="three_col left">
+<div class="infoBox">
+<h3>Thanks for your interest in holding your event at UNL!</h3>
+<p>Please note the following:</p>
+<ul>
+    <li>This form pertains to <strong><em>outdoor spaces</em></strong> that are managed by Landscape Services.  For other spaces on campus visit <a href="http://www.unl.edu/unlspecialevents">UNL Special Events</a></li>
+    <li>Student organizations should <strong><em>not</em></strong> use this form but should contact <a href="http://involved.unl.edu/">Student Involvement</a></li>
+    <li>This is a request form, your submission does not confirm/reserve access to the space.  We will contact you as to availability.</li>
+</ul>
+</div>
+<br />
+<form class="zenform soothing" action="?" method="post">
+    <fieldset>
+        <legend>Event Information</legend>
+        <ol>
+            <li>
+                <label for="location">
+                    <span class="required">*</span>
+                    Location
+                </label>
+                <select name="location" id="location">
+                    <option value="none"></option>
+                    <option value="lied">Lied Center Plaza</option>
+                    <option value="love">Love (Library) Memorial Garden</option>
+                    <option value="maxwell">Maxwell Arboretum</option>
+                    <option value="union">Nebraska Union Plaza</option>
+                    <option value="meier">Nebraska Union Meier Commons</option>
+                    <option value="porch">The Porch  (East Campus)</option>
+                    <option value="sheldon">Sheldon Memorial Art Gallery & Sculpture Garden</option>
+                    <option value="wick">Wick Alumni Center and Holling Garden</option>
+                    <option value="other">Other...</option>
+                </select>
+            </li>
+            <li style="float:left">
+                <label for="begindate_month">
+                    <span class="required">*</span>
+                    Begin Date
+                </label>
+                <select name="begindate_month" id="begindate_month">
+                    <option value="none"></option>
+                    <option value="1">January</option>
+                    <option value="2">February</option>
+                    <option value="3">March</option>
+                    <option value="4">April</option>
+                    <option value="5">May</option>
+                    <option value="6">June</option>
+                    <option value="7">July</option>
+                    <option value="8">August</option>
+                    <option value="9">September</option>
+                    <option value="10">October</option>
+                    <option value="11">November</option>
+                    <option value="12">December</option>
+                </select>
+                <select name="begindate_day" id="begindate_day">
+                    <option value="none"></option>
+EOF;
+                    for ($i=1;$i<=31;$i++) {
+                        $page->maincontentarea .= '<option value="'.$i.'">'.$i.'</option>';
+                    }
+$page->maincontentarea  .= <<<EOF
+                </select>
+                <select name="begindate_year" id="begindate_year">
+EOF;
+                    for ($i=date("Y");$i<=date("Y")+2;$i++) {
+                        $page->maincontentarea .= '<option value="'.$i.'">'.$i.'</option>';
+                    }
+$page->maincontentarea  .= <<<EOF
+                </select>
+            </li>
+            <li style="float:left">
+                <label for="enddate_month">
+                    <span class="required">*</span>
+                    End Date
+                </label>
+                <select name="enddate_month" id="enddate_month">
+                    <option value="none"></option>
+                    <option value="1">January</option>
+                    <option value="2">February</option>
+                    <option value="3">March</option>
+                    <option value="4">April</option>
+                    <option value="5">May</option>
+                    <option value="6">June</option>
+                    <option value="7">July</option>
+                    <option value="8">August</option>
+                    <option value="9">September</option>
+                    <option value="10">October</option>
+                    <option value="11">November</option>
+                    <option value="12">December</option>
+                </select>
+                <select name="enddate_day" id="enddate_day">
+                    <option value="none"></option>
+EOF;
+                    for ($i=1;$i<=31;$i++) {
+                        $page->maincontentarea .= '<option value="'.$i.'">'.$i.'</option>';
+                    }
+$page->maincontentarea  .= <<<EOF
+                </select>
+                <select name="enddate_year" id="enddate_year">
+EOF;
+                    for ($i=date("Y");$i<=date("Y")+2;$i++) {
+                        $page->maincontentarea .= '<option value="'.$i.'">'.$i.'</option>';
+                    }
+$page->maincontentarea  .= <<<EOF
+                </select>
+            </li>
+            <li style="clear:left">
+                <label for="title">
+                    <span class="required">*</span>
+                    Title of Event
+                </label>
+                <input type="text" id="title" name="title" />
+            </li>
+            <li>
+                <label for="description">
+                    Description
+                    <span class="helper">Please provide a general overview of your event</span>
+                </label>
+                <textarea id="description" name="description" rows="4" cols="auto"></textarea>
+            </li>
+            <li style="float:left">
+                <label for="starttime_hour">
+                    <span class="required">*</span>
+                    Start Time
+                </label>
+                <select name="starttime_hour" id="starttime_hour">
+                    <option value="none"></option>
+EOF;
+                    for ($i=1;$i<=12;$i++) {
+                        $page->maincontentarea .= '<option value="'.$i.'">'.$i.'</option>';
+                    }
+$page->maincontentarea  .= <<<EOF
+                </select> :
+                <select name="starttime_minute" id="starttime_minute">
+                    <option value="none"></option>
+                    <option value="0">00</option>
+                    <option value="15">15</option>
+                    <option value="30">30</option>
+                    <option value="45">45</option>
+                </select>
+                <select name="starttime_ampm" id="starttime_ampm">
+                    <option value="none"></option>
+                    <option value="am">am</option>
+                    <option value="pm">pm</option>
+                </select>
+            </li>
+            <li style="float:left">
+                <label for="endtime_hour">
+                    <span class="required">*</span>
+                    End Time
+                </label>
+                <select name="endtime_hour" id="endtime_hour">
+                    <option value="none"></option>
+EOF;
+                    for ($i=1;$i<=12;$i++) {
+                        $page->maincontentarea .= '<option value="'.$i.'">'.$i.'</option>';
+                    }
+$page->maincontentarea  .= <<<EOF
+                </select> :
+                <select name="endtime_minute" id="endtime_minute">
+                    <option value="none"></option>
+                    <option value="0">00</option>
+                    <option value="15">15</option>
+                    <option value="30">30</option>
+                    <option value="45">45</option>
+                </select>
+                <select name="endtime_ampm" id="endtime_ampm">
+                    <option value="none"></option>
+                    <option value="am">am</option>
+                    <option value="pm">pm</option>
+                </select>
+            </li>
+            <li style="clear:left">
+                <label for="attendance">
+                    <span class="required">*</span>
+                    Expected Attendance
+                    <span class="helper">Rough estimate of the number of people attending</span>
+                </label>
+                <input type="text" id="attendance" name="attendance" />
+            </li>
+            <li>
+                <label for="sponsor">
+                    Sponsor
+                    <span class="helper">Specify if requesting on behalf of a group, department, or organization</span>
+                </label>
+                <input type="text" id="sponsor" name="sponsor" />
+            </li>
+        </ol>
+    </fieldset> 
+    <fieldset>
+        <legend>Contact Information</legend>
+        <ol>
+            <li>
+                <label for="name">
+                    <span class="required">*</span>
+                    Contact Person
+                    <span class="helper">Full Name of Primary Contact</span>
+                </label>
+                <input type="text" id="name" name="name" />
+            </li>
+            <li>
+                <label for="email">
+                    <span class="required">*</span>
+                    Email
+                </label>
+                <input type="text" id="email" name="email" />
+            </li>
+            <li>
+                <label for="streetaddress">
+                    <span class="required">*</span>
+                    Street Address
+                </label>
+                <input type="text" id="streetaddress" name="streetaddress" />
+            </li>
+            <li style="float:left">
+                <label for="city">
+                    <span class="required">*</span>
+                    City
+                </label>
+                <input type="text" id="city" name="city" />
+            </li>
+            <li style="float:left">
+                <label for="state">
+                    <span class="required">*</span>
+                    State
+                </label>
+                <input type="text" id="state" name="state" />
+            </li>
+            <li style="float:left">
+                <label for="zip">
+                    <span class="required">*</span>
+                    Zip
+                </label>
+                <input type="text" id="zip" name="zip" />
+            </li>
+            
+            
+            <li style="clear:left;float:left">
+                <label for="business">
+                    <span class="required">*</span>
+                    Business Phone
+                </label>
+                <input type="text" id="business" name="business" />
+            </li>
+            <li style="float:left">
+                <label for="home">
+                    Home Phone
+                </label>
+                <input type="text" id="home" name="home" />
+            </li>
+            <li style="float:left">
+                <label for="fax">
+                    Fax
+                </label>
+                <input type="text" id="fax" name="fax" />
+            </li>
+        </ol>
+    </fieldset>
+    <fieldset>
+        <legend>Event Requirements</legend>
+        <ol>
+            <li style="float:left">
+                <label for="litter">
+                    Litter Containers
+                </label>
+                <input type="checkbox" id="litter" name="litter" />
+            </li>
+            <li style="float:left;padding:19px 0 0 5px;">
+                <label for="litter_number">
+                    Number
+                </label>
+                <input type="text" id="litter_number" name="litter_number" />
+            </li>
+            <li style="float:left;padding:27px 0 0 38px;">
+                <label>
+                    Cost: $99/container
+                </label>
+            </li>
+        </ol>
+        <ol style="clear:left;">
+            <li style="float:left;padding-top:25px">
+                <label for="picnic">
+                    Picnic Tables
+                </label>
+                <input type="checkbox" id="picnic" name="picnic" />
+            </li>
+            <li style="float:left;padding:19px 0 0 5px;">
+                <label for="picnic_number">
+                    Number
+                </label>
+                <input type="text" id="picnic_number" name="picnic_number" />
+            </li>
+            <li style="float:left;padding:27px 0 0 38px;">
+                <label>
+                    Cost: $99/table
+                </label>
+            </li>
+        </ol>
+        <ol style="clear:left;">
+            <li style="float:left;padding-top:25px">
+                <label for="electricity">
+                    Electricity Hookup
+                </label>
+                <input type="checkbox" id="electricity" name="electricity" />
+            </li>
+            <li style="float:left;padding:27px 0 0 38px;">
+                <label>
+                    Cost: TBD
+                </label>
+            </li>
+        </ol>
+    </fieldset>
+    <fieldset>
+        <legend>Other Information</legend>
+        <ol>
+            <li>
+                <label for="weather">
+                    Bad Weather Contingency
+                    <span class="helper">Alternative plans you have in case of bad weather</span>
+                </label>
+                <input type="text" id="weather" name="weather" />
+            </li>
+            <li>
+                <label for="comments">
+                    Additional Comments
+                </label>
+                <textarea id="comments" name="comments" rows="4" cols="auto"></textarea>
+            </li>
+        </ol>
+    </fieldset>
+    <input type="submit" name="submit" value="Submit" />
+</form>
+</div>
+<div class="col right">
+    <div class="zenbox neutral">
+    <h3>Links</h3>
+    <ul>
+    <li><a href="http://bf.unl.edu/policies/fmp/GuidelinesUseUNLCampusOutdoorSpaces.shtml">Outdoor Space Guidelines</a></li>
+    <li><a href="http://www.unl.edu/landscape/">Landscape Services</a></li>
+    <li><a href="http://www.unl.edu/unlspecialevents">UNL Special Events</a></li>
+    <li><a href="http://parking.unl.edu/special/schedule.shtml">Special Event Parking</a></li>
+    <li><a href="http://union.unl.edu/">Unions</a></li>
+    </ul>
+    </div>
+</div>
+EOF;
+
+echo $page->toHtml();
\ No newline at end of file
-- 
GitLab