Illuminati, a research project attempting to shed some light on the properties of Internet hosts. [Be sure to configure the plugin on your 'Options' page.] Author: Dan Sandler Version: 1.0.1 Author URI: http://www.cs.rice.edu/~dsandler/ */ define('ILL_VERSION', '1.0.1'); // appid not currently supported or tracked // define('ILL_PLUGIN_ID', 'appid=wp-illuminati-' . ILL_VERSION); define('ILL_FMT_IFRAME', "\n"); define('ILL_URL', 'http://www.cdn.coralcdn.org/noredirect.html'); define('ILL_URL_DIET', 'http://www.cdn.coralcdn.org/noredirect.diet.html'); define('ILL_FMT_TEAMID', 'teamid=%s'); function get_ill_options() { return get_option("ill_options"); } add_action('admin_menu', 'add_admin_pages'); function add_admin_pages() { add_options_page('Illuminati Project', 'Illuminati Project', 8, __FILE__, 'ill_options_page'); } function ill_options_page() { $ill_options = get_ill_options(); if (isset($_POST['info_update'])) { echo "
"; $ill_options['disable'] = (isset($_POST['enable']) ? '' : "yes"); $ill_options['teamid'] = '' . $_POST['teamid']; $ill_options['which'] = '' . $_POST['which']; $abled = $ill_options['disable'] ? "disabled" : "enabled"; echo "Settings updated; plugin $abled.