prefix . "nl_email"; if($_GET['action']=="delete"): $user_count = $wpdb->get_var("SELECT COUNT(*) FROM $table_email where magic_string ='$_GET[c]';"); if($user_count<1) : echo "
".__('email addresso not present or something is going wrong?!', 'sendit')."
"; else : $wpdb->query("UPDATE $table_email set accepted='d' where magic_string = '$_GET[c]'"); $table_liste = $wpdb->prefix . "nl_liste"; $templaterow=$wpdb->get_row("SELECT * from $table_liste where id_lista = '$_GET[lista]' "); //utile anzi fondamentale $plugindir = "sendit/"; $sendit_root = get_option('siteurl') . '/wp-content/plugins/'.$plugindir; /* * QUI potete ridisegnare il vs TEMA */ get_header(); echo '
'; echo '

'.__("Your email address was deleted suffesfully from our mailing list!", "sendit").'

'; echo '
'; echo ''; get_footer(); endif; endif; } CancellaEmail(); ?>