'1', 'thumb_width'=> '100', 'thumb_height'=> '100', 'enable_limit'=> '1', 'facebook'=> 'http://www.facebook.com/riteshsanap', 'feedburner'=> 'http://feeds.feedburner.com/best2know', 'twitter'=> 'http://twitter.com/riteshsanap', ); var $options; function ControlPanel() { add_action('admin_menu', array(&$this, 'add_menu')); // add_action('admin_head', array(&$this, 'admin_head')); if (!is_array(get_option('options'))) add_option('options', $this->default_settings); $this->options = get_option('options'); } function add_menu() { add_theme_page('Theme Options', 'Theme Options', 'edit_themes', "theme-options", array(&$this, 'optionsmenu')); } function admin_head() { print ''; print ''; } function optionsmenu() { if ($_POST['ss_action'] == 'save') { $this->options["enable_logo"] = isset($_POST['enable_logo']) ? 1 : 0; $this->options["enable_thumb"] = isset($_POST['enable_thumb']) ? 1 : 0; $this->options["feedburner"] = $_POST['feedburner']; $this->options["twitter"] = $_POST['twitter']; $this->options["top_banner"] = $_POST['top_banner']; $this->options["enable_top"] = isset($_POST['enable_top']) ? 1 : 0; $this->options["single_banner"] = $_POST['single_banner']; $this->options["enable_s"] = isset($_POST['enable_s']) ? 1 : 0; $this->options["enable_limit"] = isset($_POST['enable_limit']) ? 1 : 0; $this->options["logo_img"] = $_POST['logo_img']; $this->options["facebook"] = $_POST['facebook']; $this->options["thumb_width"] = $_POST['thumb_width']; $this->options["thumb_height"] = $_POST['thumb_height']; $this->options["limit_char"] = $_POST['limit_char']; update_option('options', $this->options); echo '

Your changes have been saved.

'; } ?>

Theme Settings

Thank you for Choosing BlackSpire Theme !

BlackSpire Theme is Designed by Ritesh Sanap

options["enable_logo"] == 1 ? ' checked' : '');?> />

Enter an URL or upload an image for the banner. " />

options["enable_thumb"] == 1 ? ' checked' : '');?> />


" name="thumb_width"> x " name="thumb_height">


options["enable_limit"] == 1 ? ' checked' : '');?> />

options["enable_top"] == 1 ? ' checked' : '');?> />


options["enable_s"] == 1 ? ' checked' : '');?> />


">

">

">