Esempio n. 1
0
function wpr_toplevel() {
	global $wpdb, $wpr_table_campaigns, $wpr_table_templates, $_wp_using_ext_object_cache;

	$_wp_using_ext_object_cache = false;
	
	$options = get_option("wpr_options");	
	if(is_array($options) || empty($options)) {} else {$options = unserialize($options);}

	if ($options['wpr_installed'] != "yes") {wpr_install_message();} else {

		wpr_install_check_modules($options);
		
		wpr_campaign_controls();	
	   
		include("display-campaigns.php");
		
	}
}
Esempio n. 2
0
function wpr_toplevel()
{
    global $wpdb, $wpr_table_campaigns, $wpr_table_templates;
    $options = unserialize(get_option("wpr_options"));
    if ($options['wpr_installed'] != "yes") {
        wpr_install_message();
    } else {
        wpr_install_check_modules($options);
        wpr_campaign_controls();
        include "display-campaigns.php";
    }
}