function embed_handler($matches) { $args = array(); if (count($matches) > 1) { preg_match_all("|(?:([a-z_]+)=[\"']?([a-z0-9_-\\s,]+)[\"']?)\\s*|i", $matches[1], $options); for ($i = 0; $i < count($options[1]); $i++) { if ($options[$i]) { $args[$options[1][$i]] = $options[2][$i]; } } } ob_start(); if (!empty($args['feed_ids'])) { $args['feed_ids'] = explode(',', $args['feed_ids']); } if (!empty($args['user_ids'])) { $args['user_ids'] = explode(',', $args['user_ids']); } if (!empty($args['feed_types'])) { $args['feed_types'] = explode(',', $args['feed_types']); } lifestream($args); return ob_get_clean(); }
?> </div> </div><!-- /more_posts --> <?php include_once TEMPLATEPATH . '/ads/content_ad.php'; ?> <div id="lifestream" class="box"> <span class="heading">Lifestream</span> <?php if (function_exists('lifestream')) { lifestream(); } ?> </div><!-- /lifestream --> </div><!-- /left --> <div id="middle"> <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar(1)) { ?> <?php }
</ul> <div class="clear"></div> </div> --> <h3 id="myLifestream" class="replace"><?php _e('My lifestream. Stay updated with me.', 'woothemes'); ?> </h3> <div class="box1 clearfix"> <?php if (function_exists('lifestream')) { lifestream(get_option('woo_home_lifestream')); } ?> </div> <div id="flickr"> <h3 id="myPhotos" class="replace"><?php _e('My photos. Now you know me.', 'woothemes'); ?> </h3> <?php if (is_active_sidebar('fotos')) { dynamic_sidebar('fotos'); echo '<div class="clear"> </div>';