Reprinted from: http://blog.sina.com.cn/s/blog_a225d3970101331q.html
The query_posts function is only used to modify the Home Page loop, rather than generating a secondary loop on the page. If you want to generate another loop outside the main loop, you should create an independent wp_query object and use these objects to generate a loop. Using query_posts in a loop outside the main loop will lead to deviation of the main loop operation, and the page may display the content you do not want to see.
The query_posts function will rewrite and replace the primary query on the page. To be cautious, do not use query_posts for other purposes.
(From WordPress gdt topic)
$ Prologue_query = New Wp_query ('showposts = '. $ Num_posts . '& Post_status = publish & tag _ not_in = 44' ); Ob_start (); While ($ Prologue_query -> Have_posts ()): $ Prologue_query -> The_post (); $ Current_user_id = Get_the_author_id (); $ Postdate = Get_gmt_from_date (get_the_time ('Y-m-d h: I: s' )); If ( $ Postdate <= $ Load_time ) Continue ; // If (get_the_time ('Y-m-d h: I: s') <= $ load_time) continue; $ Number_of_new_posts ++ ; If ( $ Frontpage ){ ?> <? PHP} Endwhile ;