Esempio n. 1
0
?>
" /></td>
      
      <td><label for="gift">Admin Gift Notes: </label></td>
      <td><textarea name="gift" id="gift" cols="20" rows="3" placeholder="Our gift notes" tabindex="<?php 
echo $tabIndex++;
?>
"><?php 
echo $invalidSubmit ? isset($_REQUEST['gift']) ? $_REQUEST['gift'] : '' : $userEditor->getCurrentGift();
?>
</textarea></td>
    </tr>
    <tr>
      <td><label for="email">Email: </label></td>
      <td><input type="text" name="email" id="email" value="<?php 
echo $invalidSubmit ? isset($_REQUEST['email']) ? $_REQUEST['email'] : '' : $userEditor->getCurrentUserEmail();
?>
" size="25" maxlength="254" tabindex="<?php 
echo $tabIndex++;
?>
" /></td>
      
      <td><label for="isThankYouSent">Thank You Sent?</label></td>
      <td><input type="checkbox" <?php 
echo $invalidSubmit ? isset($_REQUEST['isThankYouSent']) ? 'checked' : '' : ($userEditor->getCurrentIsThankYouSent() ? 'checked' : '');
?>
 name="isThankYouSent" id="isThankYouSent" tabindex="<?php 
echo $tabIndex++;
?>
" /></td>
    </tr>
Esempio n. 2
0
    if ($attendee['isInfant']) {
        echo '<img src="resources/icons/rsvp_pacifier.png" /> ';
    }
    if ($attendee['isChild']) {
        echo '<img src="resources/icons/rsvp_children.png" /> ';
    }
    echo "\n  " . '<input type="hidden" name="isPlusOne[' . $attID . ']"  id="isPlusOne[' . $attID . ']" value="' . $attendee['isPlusOne'] . '" />';
    echo "\n</div>\n";
}
?>
<hr style="width:65%;margin-top:20px;margin-bottom:20px;" />

<p>
  <label for="email">Your email address (for event updates): </label>
  <input type="email" name="email" id="email" placeholder="Your Email" value="<?php 
echo $currentUser->getCurrentUserEmail();
?>
"<?php 
echo $currentUser->getCurrentIsRSVP() ? ' disabled' : '';
?>
>
</p>
<p>
  <label for="notesRSVP">Would you like to leave any special notes for us? (Also, please note if the people in your adventuring party have changed.):</label><br />
  <textarea name="notesRSVP" id="notesRSVP" cols="30" rows="5" placeholder="Notes"<?php 
echo $currentUser->getCurrentIsRSVP() ? ' disabled' : '';
?>
><?php 
echo $currentUser->getCurrentNotesRSVP();
?>
</textarea>