} elseif ($tab_option == 1 && $current_user->user_id > 0) { //$conversation_extra = ' ['.Post::get_unread_conversations($user->id).']'; $conversation_extra = ' [<span id="p_c_counter">0</span>]'; $view = 0; $options = array(_('todas') => post_get_base_url(''), _('amigos') => post_get_base_url("{$current_user->user_login}/_friends"), _('favoritos') => post_get_base_url("{$current_user->user_login}/_favorites"), _('conversación') . $conversation_extra => post_get_base_url("{$current_user->user_login}/_conversation"), _('últimas imágenes') => "javascript:fancybox_gallery('post');", _('debates') . ' →' => $globals['base_url'] . "between.php?type=posts&u1={$current_user->user_login}"); } else { $options = false; } do_post_subheader($options, $view, $rss_option); /*** SIDEBAR ****/ echo '<div id="sidebar">'; do_banner_right(); //do_best_stories(); if ($rows > 20) { do_best_posts(); do_best_comments(); do_last_blogs(); } do_banner_promotions(); echo '</div>' . "\n"; /*** END SIDEBAR ***/ echo '<div id="newswrap">' . "\n"; do_pages($rows, $page_size); echo '<div class="notes">'; if ($current_user->user_id > 0) { echo '<div id="addpost"></div>'; echo '<ol class="comments-list"><li id="newpost"></li></ol>' . "\n"; } if ($argv[0] == '_geo') { echo '<div class="topheading"><h2>' . _('notas de las últimas 24 horas') . '</h2></div>'; echo '<div id="map" style="width: 95%; height: 500px;margin:0 0 0 20px;"></div></div>';
function do_tags_comments() { global $globals; do_vertical_tags(); do_best_comments(); }