Tecnologia Diaria'; } print '
'; if (!empty($fb_id_user)) { $url_fb_blog_ini=get_bloginfo('wpurl'); print '
Suscríbete via email

'; if ($fb_stats=='1') { print '
'; } //fin de impresion } else{print 'Configurar el USUARIO Feedburner!!
KnxDT';} echo ''.$cierre_final; if ($fb_hotm=='1') { echo '

¿Sin email? Crear Hotmail.com Guide

'; } echo '
'; echo $after_widget; } // This is the function that outputs the form to let the users edit // the widget's settings. It's an optional feature that users cry for. function widget_feedburner_subscription_control() { $url_fb_blog=get_bloginfo('wpurl'); // Get our options and see if we're handling a form submission. $options = get_option('widget_feedburner_subscription'); if ( !is_array($options) ) $options = array('title'=>'Suscribete GRATIS', 'fb_id_user'=>'', 'fb_bgcolor'=>'#0099FF', 'fb_fgcolor'=>'#444444', 'fb_anim'=>'1', 'fb_readers'=>'readers', 'fb_cred'=>'1', 'fb_hotm'=>'1', 'fb_gmai'=>'1', 'fb_stats'=>'1', 'fb_mails'=>'1', 'url_params'=>''); if ( $_POST['feedburner-stats-submit'] ) { // Remember to sanitize and format use input appropriately. $options['title'] = strip_tags(stripslashes($_POST['title'])); $options['fb_id_user'] = strip_tags(stripslashes($_POST['fb_id_user'])); $options['fb_stats'] = strip_tags(stripslashes($_POST['fb_stats'])); $options['fb_mails'] = strip_tags(stripslashes($_POST['fb_mails'])); $options['fb_anim'] = strip_tags(stripslashes($_POST['fb_anim'])); $options['fb_cred'] = strip_tags(stripslashes($_POST['fb_cred'])); $options['fb_hotm'] = strip_tags(stripslashes($_POST['fb_hotm'])); $options['fb_gmai'] = strip_tags(stripslashes($_POST['fb_gmai'])); if(preg_match('((#)[0-9a-fA-F]{6})',$_POST['fb_bodyColor'])){ $options['fb_bgcolor'] = strip_tags(stripslashes($_POST['fb_bodyColor']));} else { $options['fb_bgcolor'] = '#0099FF';} if(preg_match('((#)[0-9a-fA-F]{6})',$_POST['fb_textColor'])){ $options['fb_fgcolor'] = strip_tags(stripslashes($_POST['fb_textColor']));} else { $options['fb_fgcolor'] = '#444444';} if(preg_match('([a-fA-F])',$_POST['fb_textReader'])){ $options['fb_readers'] = strip_tags(stripslashes($_POST['fb_textReader']));} else { $options['fb_readers'] = 'readers';} update_option('widget_feedburner_subscription', $options); } // Be sure you format your options to be valid HTML attributes. $title = htmlspecialchars($options['title'], ENT_QUOTES); $fb_id_user = htmlspecialchars($options['fb_id_user'], ENT_QUOTES); $fb_bgcolor = htmlspecialchars($options['fb_bgcolor'], ENT_QUOTES); $fb_fgcolor = htmlspecialchars($options['fb_fgcolor'], ENT_QUOTES); $fb_anim = htmlspecialchars($options['fb_anim'], ENT_QUOTES); $fb_stats = htmlspecialchars($options['fb_stats'], ENT_QUOTES); $fb_readers = htmlspecialchars($options['fb_readers'], ENT_QUOTES); $fb_cred = htmlspecialchars($options['fb_cred'], ENT_QUOTES); $fb_hotm = htmlspecialchars($options['fb_hotm'], ENT_QUOTES); $fb_gmai = htmlspecialchars($options['fb_gmai'], ENT_QUOTES); // Here is our little form segment. Notice that we don't need a // complete form. This will be embedded into the existing form. ?>




(http://feeds2.feedburner.com/USUARIO)

Contador de Suscritos
class="checkbox" />
(Recomendado si tienes más de 100)

Estilo del contador

id="fb_static" />

id="fb_animated" />

Colores del Contador

Fondo

Texto



(por defecto: readers)

Vista Previa del Contador:


Creditos

id="fb_credi1" />   id="fb_credi2" />

Tutoriales (de tecnologiadiaria.com)

Hotmail: id="fb_hotm1" />   id="fb_hotm2" />

Gmail: id="fb_gmai1" />   id="fb_gmai2" />

Otro plugin de KnxDT: Bookmarks

\n"; echo "\n"; echo "\n"; } function widget_feedburner_subscription_end(){ delete_option('widget_feedburner_subscription'); } // Run our code later in case this loads prior to any required plugins. add_action('wp_head', 'feedburner_knx_style'); add_action('plugins_loaded', 'widget_feedburner_subscription_init'); register_activation_hook(__FILE__,'widget_feedburner_subscription_init'); register_deactivation_hook(__FILE__,'widget_feedburner_subscription_end'); ?>