get_results($sql); foreach ($events as $event){ $event_id = $event->id; $event_name = stripslashes_deep($event->event_name); if (!$this_is_a_reg_page){ $event_desc = do_shortcode(stripslashes_deep($event->event_desc)); } //This variable is only available using the espresso_event_status function which is loacted in the Custom Files Addon (http://eventespresso.com/download/plugins-and-addons/custom-files-addon/) $event_status = function_exists('espresso_event_status') ? ' - ' . espresso_event_status($event_id) : ''; //Example usage in the event title: /*

*/ ?>

    get_results($a_sql); foreach ($attendees as $attendee){ $id = $attendee->id; $lname = $attendee->lname; $fname = $attendee->fname; $city = $attendee->city; $state = $attendee->state; $country = $attendee->state; $email = $attendee->email; $gravatar = $show_gravatar == 'true'? get_avatar( $email, $size = '100', $default = 'http://www.gravatar.com/avatar/' ) : ''; $city_state = $city != '' || $state != '' ? '
    ' . ($city != '' ? $city :'') . ($state != '' ? ', ' . $state :' ') :''; //These are example variables to show answers to questions //$custom_question_1 = '
    '.do_shortcode('[EE_ANSWER q="12" a="'.$id.'"]'); //$custom_question_2 = '
    '.do_shortcode('[EE_ANSWER q="13" a="'.$id.'"]'); ?>
  1. '; ?>