</div> <div style="padding:15px 15px 0 15px;"> <select id="add_event_id"> <option value=""> <?php _e("Show Multiple Events", 'ctct'); ?> </option> <?php foreach ($events as $event) { // Make sure it's an Event object if (!is_object($event) || !isset($event->title)) { continue; } ?> <option value="<?php echo constant_contact_get_id_from_object($event); ?> "><?php printf('%s (%s)', esc_html($event->title), apply_filters('cc_event_date', apply_filters('cc_event_startdate', $event->startDate))); ?> </option> <?php } ?> </select> </div> <div style="padding:15px 15px 0 15px;" id="add_events_limit_container"> <p style="margin:0 0 .5em 0"><strong><?php _e('<span title="Number">#</span> of Events Shown', 'consatant-contact-api'); ?>
> <td><?php echo $reg->title; ?> </td> <td><?php echo_if_not_empty($reg->email, '', "<a href='mailto:{$reg->email}'>{$reg->email}</a>"); ?> </td> <td><?php echo_if_not_empty($reg->registrationDate, __('None', 'ctct'), constant_contact_event_date($reg->registrationDate)); ?> </td> <td><?php echo_if_not_empty($reg->guestCount, 1); ?> </td> <td><?php echo $reg->paymentStatus; ?> </td> <td><a href="<?php echo add_query_arg('registrant', constant_contact_get_id_from_object($reg), remove_query_arg('refresh')); ?> ">View Details</a></td> </tr> <?php } ?> </tbody> </table>
echo esc_html($v->name); ?> </a> </td> <td class="column-date" style="padding:8px 0; text-align:center;"> <a href="<?php echo add_query_arg('view', constant_contact_get_id_from_object($v), remove_query_arg('refresh', admin_url('admin.php?page=constant-contact-events#registrants'))); ?> " style="display:block; width:100%; line-height:1.4;"><?php echo_if_not_empty((int) $v->registered, 0); ?> </a> </td> <td class="column-date" style="padding:8px 0; text-align:center;"> <a href="<?php echo add_query_arg('view', constant_contact_get_id_from_object($v), remove_query_arg('refresh', admin_url('admin.php?page=constant-contact-events#cancelled'))); ?> " style="display:block; width:100%; line-height:1.4;"><?php echo_if_not_empty((int) $v->cancelledCount, 0); ?> </a> </td> <td class="column-date" style="padding:8px 0; text-align:left;"> <?php echo $this->latest_registrant($v); ?> </td> </tr> <?php } ?>
" title="<?php echo esc_html($v->name) . ' - ' . esc_html($v->title); ?> "><?php echo esc_html($v->name); ?> </a></strong> </td> <td class="column-title post-title wrap"> <?php echo $v->title; ?> </td> <td class="column-title column-shortcode wrap"> <input type="text" class="widefat code" readonly="readonly" value="<?php esc_attr_e(sprintf('[eventspot id="%s" /]', constant_contact_get_id_from_object($v)), 'ctct'); ?> " /> </td> <?php if (!isset($_GET['status']) || $_GET['status'] == 'all') { ?> <td class="column-role wrap"> <?php echo ucwords(strtolower(esc_html($v->status))); ?> </td> <?php } ?> <td class="column-role column-startdate wrap">