Displaying <?php echo $total; ?> log entries </div> </div> <?php if ($logs) { ?> <ul id="logs"> <?php foreach ($logs as $log) { ?> <li><?php echo WPOTools::timezoneMysql('F j, g:i:s a', $log->created_on); ?> - <?php echo $log->message; ?> </li> <?php } ?> </ul> <?php } else { ?> <p><?php _e('No logs to show', 'wpomatic'); ?>
if (!$logs) { ?> <p class="none"><?php echo _e('No actions to display', 'wpomatic'); ?> </p> <?php } else { ?> <ul id="logs"> <?php foreach ($logs as $log) { ?> <li><?php echo WPOTools::timezoneMysql('F j, g:i a', $log->created_on) . ' — <strong>' . attribute_escape($log->message); ?> </strong></li> <?php } ?> </ul> <?php } ?> <!-- <p id="log_status"><?php _e(sprintf('Logging is currently <strong>%s</strong>', __($logging ? 'enabled' : 'disabled')), 'wpomatic'); ?> (<a title="<?php
if (count($lastcampaigns) == 0) { ?> <p class="none"><?php _e('No campaigns to display', 'wpomatic'); ?> <?php } else { ?> <ol class="campaignlist"> <?php foreach ($lastcampaigns as $campaign) { ?> <li> <span class="details"><?php echo WPOTools::timezoneMysql('F j, g:i a', $campaign->lastactive); ?> </span> <a href="<?php echo $this->adminurl; ?> &s=list&id=<?php echo $campaign->id; ?> "><?php echo attribute_escape($campaign->title); ?> </a></li> <?php } ?>
?> </th> <td><?php echo attribute_escape($campaign->title); ?> </td> <td style="text-align: center"><?php echo _e($campaign->active ? 'Yes' : 'No', 'wpomatic'); ?> </td> <td style="text-align: center"><?php echo $campaign->count; ?> </td> <td><?php echo $campaign->lastactive != '0000-00-00 00:00:00' ? WPOTools::timezoneMysql('F j, g:i a', $campaign->lastactive) : __('Never', 'wpomatic'); ?> </td> <td><a href="<?php echo $this->adminurl; ?> &s=edit&id=<?php echo $campaign->id; ?> " class='edit'>Edit</a></td> <td><?php echo "<a href='" . wp_nonce_url($this->adminurl . '&s=forcefetch&id=' . $campaign->id, 'forcefetch-campaign_' . $campaign->id) . "' class='edit' onclick=\"return confirm('" . __('Are you sure you want to process all feeds from this campaign?', 'wpomatic') . "')\">" . __('Fetch', 'wpomatic') . "</a>"; ?> </td> <td><?php echo "<a href='" . wp_nonce_url($this->adminurl . '&s=reset&id=' . $campaign->id, 'reset-campaign_' . $campaign->id) . "' class='delete' onclick=\"return confirm('" . __('Are you sure you want to reset this campaign? Resetting does not affect already created wp posts.', 'wpomatic') . "')\">" . __('Reset', 'wpomatic') . "</a>";