foreach ($Campaigns as $result) { $alt = empty($alt) ? 'class="alt"' : ''; ?> <tr <?php echo $alt; ?> > <td class="column-name post-title wrap"><strong><a href="<?php echo esc_url(add_query_arg(array('view' => $result->id), remove_query_arg('add'))); ?> "><?php echo esc_html($result->name); ?> </a></strong></td> <td class="column-name wrap"><?php echo kws_format_date($result->modified_date); ?> </td> <td class="column-name wrap"> <div class="button-group"> <a href="https://ui.constantcontact.com/rnavmap/evaluate.rnav/?activepage=ecampaign.view&pageName=ecampaign.view&agent.uid=<?php echo esc_attr($result->id); ?> &action=edit" class="button button-secondary" target="_blank" title="<?php printf(esc_html__('View "%s" on ConstantContact.com', 'ctct'), $result->name); ?> "><?php esc_html_e('View on ConstantContact.com', 'ctct'); ?> </a> </div>
<dt><?php echo $Campaign->getLabel('status'); ?> </dt> <dd><?php echo $Campaign->get('status', true); ?> </dd> </dl> <dl class="summary-2" style="width:40%; max-width:475px;"> <dt><?php echo $Campaign->getLabel('created_date'); ?> </dt> <dd><?php echo kws_format_date($Campaign->get('created_date')); ?> </dd> </dl> </div> <table class="widefat fixed ctct_table" cellspacing="0"> <thead> <th scope="col" class="column-name"><?php _e('Name', 'ctct'); ?> </th> <th scope="col" class="column-title"><?php _e('Data', 'ctct'); ?> </th> </thead>