'; echo 'WP 函数值
'; echo '-------------------------------------
'; echo "get_bloginfo('charset') = " . get_bloginfo('charset') . '
'; echo "get_option('home') = " . get_option('home') . '
'; echo "get_option( 'siteurl' ) = " . get_option( 'siteurl' ) . '
'; echo 'WPLANG = ' . WPLANG . '
'; echo "ABSPATH = " . ABSPATH . '
'; echo '_get_wap_home() = ' . _get_wap_home() . '
'; echo '
-------------------------------------
'; echo '$wp_query->query_vars
'; echo '-------------------------------------
'; echo '
';
    global $wp_query;
    print_r($wp_query->query_vars);
    echo '
'; echo '-------------------------------------
'; echo '$_SERVER
'; echo '-------------------------------------
'; echo '
';
    print_r($_SERVER);
    echo '
'; echo '-------------------------------------
'; echo '$_GET
'; echo '-------------------------------------
'; echo '
';
    print_r($_GET);
    echo '
'; exit; } // 自动定位到 index.php,以配合正确的翻页路径 $url = remove_query_arg( 'paged' ); if( strstr($url,'index.php') == '' || strstr($url,'index.php') == false ) header("location:index.php"); ?>

max_num_pages > 1) { _previous_posts_link('<< ' . __('Page Up','wap')); _next_posts_link(__('Page Down','wap') . ' >>');}?>

comments LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID = $wpdb->posts.ID) WHERE comment_approved = '1' AND comment_type = '' AND post_password = '' ORDER BY comment_date_gmt DESC LIMIT 10"; $comments = $wpdb->get_results($sql); $output = $pre_HTML; $output .= "\n"; $output .= $post_HTML; echo $output; ?>

(If you have any questions,please email to tanggaowei@gmail.com,and append the site url,thanks!)','wap'); ?>

'; the_views(); echo '';} ?>

' . __('Operation','wap') . ':' . __('Delete','wap') . '

'; } ?>

post_content ) > 0 ) : the_content(); else : the_excerpt_rss(); endif; } ?>