query page function & almost finish publisher-homepage-host page...fix null g_pid