Advertisement
Guest User

contact view

a guest
Jan 30th, 2012
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.83 KB | None | 0 0
  1. <section id="content">
  2.    
  3.     <h1>Request Assistance</h1>
  4.     <p>From time to time, things in the building will just stop working. If you need any assitance that is related to the building or outside of the building (on our property, of course), feel free to use the form below to submit an email to the Facilities Manger (that would be Bryan). All inquiries will be addressed as soon as Bryan can get to them.</p>
  5.     <p>To contact the Facilities Manager, click the button below:<br /><br /><button id="contactFacilityManager">Contact Facility Manager</button</p>
  6.  
  7.     <div id="facilityForm" title="Contact Facility Manager">
  8.         <?php
  9.            
  10.         $facilityAttributes = array('id' => 'facilitiesForm');
  11.         $facilityHidden = array('formType' => 'facilities');
  12.         echo form_open('contact/sendFacilityForm', $facilityAttributes, $facilityHidden);
  13.    
  14.         $nameData = array('name' => 'name', 'id' => 'name', 'value' => set_value('name'), 'style' => 'width: 100%');
  15.         $emailData = array('name' => 'email', 'id' => 'email', 'value' => set_value('email'), 'style' => 'width: 100%');
  16.         $inquiryData = array('name' => 'inquiry', 'id' => 'inquiry', 'rows' => 6, 'value' => set_value('inquiry'), 'style' => 'width: 100%');
  17.         ?>
  18.         <p class="validateTips">All form fields are required.</p>
  19.    
  20.         <p>
  21.         <label for="name">Tell us who you are: </label><br />
  22.         <?php echo form_input($nameData); ?>
  23.         </p>
  24.        
  25.         <p>
  26.         <label for="email">And please provide your email address: </label><br />
  27.         <?php echo form_input($emailData); ?>
  28.         </p>
  29.        
  30.         <p>
  31.         <label for="inquiry">And finally, what is it you would like to report? </label><br />
  32.         <?php echo form_textarea($inquiryData); ?>
  33.         </p>
  34.        
  35.         <p><?php echo form_submit('submit', 'Send Issue to Facilities Manager'); ?></p>
  36.         <?php
  37.         echo form_close();
  38.         ?>
  39.         <div class="form_result"> </div>
  40.  
  41.     </div>
  42.    
  43. </section>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement