break; default: print_index_tabs(0); // All $from_where = "FROM links WHERE link_status='published' "; } } else { print_index_tabs(0); // No other view $from_where = "FROM links WHERE link_status='published' "; } do_mnu_categories_horizontal($_REQUEST['category']); /*** SIDEBAR ****/ echo '<div id="sidebar">'; do_banner_right(); if ($globals['show_popular_published']) do_best_stories(); do_best_sites(); do_categories_cloud('published'); if ($page < 2) { do_best_comments(); } do_vertical_tags('published'); do_banner_promotions(); echo '</div>' . "\n"; /*** END SIDEBAR ***/ echo '<div id="newswrap">'."\n"; if($cat) { $from_where .= " AND link_category=$cat "; }
do_tabs("main",_('noticia'), true); print_story_tabs($tab_option); /*** SIDEBAR ****/ echo '<div id="sidebar">'; do_banner_right(); // GEO if ($link->latlng) { echo '<div id="map" style="width:300px;height:200px;margin-bottom:25px;"> </div>'."\n"; } if ($link->comments > 15) { do_best_story_comments($link); } if (! $current_user->user_id) { do_best_stories(); } do_rss_box(); do_banner_promotions(); echo '</div>' . "\n"; /*** END SIDEBAR ***/ echo '<div id="newswrap">'."\n"; $link->print_summary(); switch ($tab_option) { case 1: case 2: echo '<div class="comments">'; if($tab_option == 1) do_comment_pages($link->comments, $current_page);