function aq_install_now() { $postheader = array('author' => '1', 'date' => '1', 'categories' => '1', 'comments' => '1', 'commentlr' => '1'); add_option('aq2_color', '1', 'Style chosen for Aqueous 2'); add_option('aq2_postheader', serialize($postheader), 'Information for the header of each post.'); add_option('aq2_style_onoff', 'y', 'Allow users to customize the page??'); add_option('aq2_disabled_styles', '', 'Disabled styles in aq2'); add_option('aq2_bg', 'default', 'What should be used as the background of the page?'); add_option('aq2_is_installed', '1.9.3', 'Proves Aqueous2 is installed and working correctly.'); } function check_value($option, $value, $tag) { $getoption = $option; if ($tag=="text") { return 'value="'.$getoption.'"'; } elseif ($getoption==$value) { if ($tag=="radio") { return 'checked="checked"'; } elseif ($tag=="option") { return 'selected="selected"'; } } } function aq2_admin() { $postheaderdb = unserialize(get_option('aq2_postheader')); ?>