' . "\n";
if (function_exists('hotDates')) {
ob_start();
hotDates();
$output .= ob_get_contents();
ob_end_clean();
}
$output .= '
' . "\n";
$output .= '
' . "\n";
$output .= '
' . "\n";
$output .= '' . "\n";
if (empty($show))
return $output;
else
echo $output;
}
function xpress_selected_author($show=true ) {
$output = '';
$author_cookie = get_xpress_dir_name() . "_select_author" ;
if (!empty($_COOKIE[$author_cookie])){
$uid = intval($_COOKIE[$author_cookie]);
$user_info = get_userdata($uid);
$output = $user_info->display_name;
}
if (empty($show))
return $output;
else
echo $output;
}
function xpress_selected_author_id($show=true ) {
$output = '';
$author_cookie = get_xpress_dir_name() . "_select_author" ;
if (!empty($_COOKIE[$author_cookie])){
$output = intval($_COOKIE[$author_cookie]);
} else {
$output = '';
}
if (empty($show))
return $output;
else
echo $output;
}
function xpress_now_user_level($show=true ) {
global $current_user;
$output = @$current_user->user_level;
if (empty($show))
return $output;
else
echo $output;
}
function xpress_list_pings($trackback, $args, $depth) {
$GLOBALS['comment'] = $trackback;
echo '