Alo EasyMail Newsletter

= 8)? true: false; ?> query( $wpdb->prepare( "SELECT ID FROM {$wpdb->prefix}easymail_sendings WHERE ID = %d {$where_user}", $_REQUEST['id'], $user_ID ) ); if ($check_id) { if ( $wpdb->query($wpdb->prepare( "DELETE FROM {$wpdb->prefix}easymail_sendings WHERE ID = %d", $_REQUEST['id'], $user_ID )) ) { echo '

'.__("Newsletter successfully deleted", "alo-easymail").'

'; } else { echo '

'.__("Impossible to delete the selected newsletter", "alo-easymail").'

'; } } } /** * If feedback message */ if ( isset( $_REQUEST['message'])) : switch($_REQUEST['message']) { /*case 'inprogress': // others newsletter in queue $fbk_msg .= '

Already sending a newsletter.

'; break;*/ case 'success': // ok, sending scheduled $fbk_msg = '
'; $fbk_msg .= '

'; $fbk_msg .= ''.__("New sending added with success!", "alo-easymail").'

'; $fbk_msg .= "
"; break; case 'error': // error in inputs $fbk_msg = '
'; $fbk_msg .= '

'; $fbk_msg .= ''.__("Inputs are incompled or wrong. Please check and try again.", "alo-easymail").'

'; $fbk_msg .= "
"; break; case 'norecipients': // no recipients selected $fbk_msg = '
'; $fbk_msg .= '

'; $fbk_msg .= ''.__("No recipients selected.", "alo-easymail").'

'; $fbk_msg .= "
"; break; case 'nosending': // error on sending $fbk_msg = '
'; $fbk_msg .= '

'; $fbk_msg .= ''.__("Impossible to send. Please try again.", "alo-easymail").'

'; $fbk_msg .= "
"; break; default: } // print feedback echo $fbk_msg; endif; // end if ( isset( $_REQUEST['message'])) ?> get_results("SELECT * FROM {$wpdb->prefix}easymail_sendings WHERE sent = 0 ORDER BY ID ASC"); //echo "
";print_r($news_on_queue);echo "
"; if (count($news_on_queue)) { ?> ID}' class='$class'>\n"; ?> "; $row_count++; } echo "
(»)
'; } else { echo $row_count; } ?> user == $user_ID) { echo "".__("you", "alo-easymail").""; } else { if ($can_see_all) { echo get_usermeta($q->user, 'nickname'); } else { echo"".__("another user", "alo-easymail").""; } } ?> start_at))." h.".date("H:i", strtotime($q->start_at)) ?> user == $user_ID || $can_see_all)? $q->subject : ""; ?> recipients ); $q_tot = count($q_recipients); $n_sent = 0; foreach ($q_recipients as $qr) { if ( isset($qr['result']) ) $n_sent ++; } echo round($n_sent*100/ $q_tot ) . " %" ; ?> user == $user_ID || $can_see_all) { echo ""; echo __("Cancel", "alo-easymail"). ""; } ?>
"; echo "

 

"; } ?> get_results("SELECT * FROM {$wpdb->prefix}easymail_sendings WHERE sent = 1 {$where_user} ORDER BY ID DESC"); //echo "
";print_r($news_on_queue);echo "
"; if (count($news_done)) { ?> '.__("Scheduled by", "alo-easymail").''; ?> ID}' class='$class'>\n"; ?> ". ( ($q->user == $user_ID)? "".__("you", "alo-easymail")."": get_usermeta($q->user, 'nickname') ). ""; } ?> "; $row_count++; } echo "
#
start_at))." h.".date("H:i", strtotime($q->start_at)) ?> last_at))." h.".date("H:i", strtotime($q->last_at)) ?> user == $user_ID || $can_see_all)? $q->subject : "" ?> user == $user_ID || $can_see_all) { echo ""; echo __("Delete", "alo-easymail"). " - "; echo "ID})\">"; echo __("View", "alo-easymail"). ""; } ?>
"; echo "

 

"; } ?> = '2.8') { wp_enqueue_script( 'common' ); wp_enqueue_script( 'jquery-color' ); wp_print_scripts('editor'); if (function_exists('add_thickbox')) add_thickbox(); wp_print_scripts('media-upload'); if (function_exists('wp_tiny_mce')) wp_tiny_mce(); wp_admin_css(); wp_enqueue_script('utils'); do_action("admin_print_styles-post-php"); do_action('admin_print_styles'); } else { wp_admin_css('thickbox'); wp_print_scripts('jquery-ui-core'); wp_print_scripts('jquery-ui-tabs'); wp_print_scripts('post'); wp_print_scripts('editor'); add_thickbox(); wp_print_scripts('media-upload'); if (function_exists('wp_tiny_mce')) wp_tiny_mce(); } ?>

:

:

 

$n_last_posts, 'order' => 'DESC', 'orderby' => 'date' ); $get_posts = get_posts($args); $tot_posts = count($get_posts); echo ''; ?>

:

():

[POST-TITLE]
[POST-EXCERPT]
[POST-CONTENT]
[USER-NAME] ()
[USER-FIRST-NAME] ().
[SITE-LINK]: ".get_option('blogname')."" ?>

.

';"/>