function do_banner_story() { global $globals, $current_user; if ($globals['ads']) { Haanga::Safe_Load('private/ad-middle.html'); } }
function haanga_2918f6e9aedbd5d32e8a5d091ed1985fcf7008e3($vars, $return = FALSE, $blocks = array()) { global $test_global, $global1; extract($vars); if ($return == TRUE) { ob_start(); } echo Haanga::Safe_Load('foobar-tpl.tpl', $vars, TRUE, array()) . ' ' . Haanga::Safe_Load('assert_templates/partial.tpl', $vars, TRUE, array()) . ' '; if ($return == TRUE) { return ob_get_clean(); } }
do_active_stories(); do_banner_promotions(); do_last_subs('published', 5, 'link_votes'); do_best_comments(); do_vertical_tags('published'); echo '</div>' . "\n"; /*** END SIDEBAR ***/ echo '<div id="newswrap">' . "\n"; if ($links) { $counter = 0; foreach ($links as $dblink) { $link = Link::from_db($dblink->link_id); $link->show_clicks = true; $link->print_summary(); $counter++; Haanga::Safe_Load('private/ad-interlinks.html', compact('counter', 'page_size')); } } do_pages($rows, $page_size); echo '</div>' . "\n"; do_footer_menu(); do_footer(); function print_period_tabs() { global $globals, $current_user, $range_values, $range_names, $month, $year; if (!($current_range = check_integer('range')) || $current_range < 1 || $current_range >= count($range_values)) { $current_range = 0; } echo '<ul class="subheader">' . "\n"; if ($month > 0 && $year > 0) { echo '<li class="selected"><a href="popular?month=' . $month . '&year=' . $year . '">' . "{$month}-{$year}" . '</a></li>' . "\n";