'DiSo Profile', 'userid'=>false); if ( $_POST['diso_profile-submit'] ) { $options['title'] = strip_tags(stripslashes($_POST['diso_profile-title'])); $options['userid'] = strip_tags(stripslashes($_POST['diso_profile-userid'])); update_option('widget_diso_profile', $options); } $title = htmlspecialchars($options['title'], ENT_QUOTES); echo '


'; echo '


'; echo ' '; echo '

'; echo ''; } register_sidebar_widget('DiSo Profile', 'widget_diso_profile'); register_widget_control('DiSo Profile', 'widget_diso_profile_control', 270, 270); } add_action('plugins_loaded', 'widget_diso_profile_init'); ?>