$v){
if(is_array($v)){
$s[$key][$k]['change']=intval($v['change']);
$s[$key][$k]['class']=$v['class'];
$s[$key][$k]['position']=intval($v['position']);
}
}
$k++;
$list_arr=$s;
}
}
return $list_arr;
}
function server_time_array($apino){
$url = "http://www.quanqiusou.cn/jsonapi/?apino=".$apino;
$json_data = @file_get_contents($url);
$datas = json_decode($json_data, true);
return $datas;
}
$info_api = get_post_meta(32,'api_id');
$apino = $info_api[0];
//$apino = '3676604';
$endDate = date("Y-m-d",strtotime("-1 day")); //昨天
$rank_home_num = $rank_all_num = $rank_third_num = 0;
$list_arr_d = google_api_to_array($apino);
if($list_arr_d){
foreach($list_arr_d[$endDate] as $value){
if(($value['position']<10||$value['position']==10)&&$value['position']>0){
$rank_home_num++;
}
if($value['position'] <= 30 && $value['position']>0){
$rank_third_num++;
}
$rank_all_num++;
}
}
$company_name = get_post_meta(32,'公司名',true);
$stats_setting = get_option('stats_settings');
$StartMonth = $stats_setting['month_start']."-01";
$EndMonth = date('Y-m-01');
$ToStartMonth = strtotime( $StartMonth ); //转换一下
$ToEndMonth = strtotime( $EndMonth ); //一样转换一下
$i = false;
$month_arr = array();
while( $ToEndMonth > $ToStartMonth) {
$NewMonth = !$i ? date('Y-m', strtotime('+0 Month', $ToEndMonth)) : date('Y-m', strtotime('-1 Month', $ToEndMonth));
$ToEndMonth = strtotime( $NewMonth );
$i = true;
$month_arr[] = $NewMonth;
}
?>
get_row("select count(id) as ip from wp_stats_day_ip where is_spider=1",ARRAY_A);
$total_ip = $res['ip'];
$fuwu_info = server_time_array($apino);
?>
前言
- 尊敬的用户:
- 您好!首先,感谢贵公司对全球搜的信任和关注,贵公司的网站上线以来,获得了一定的排名和流量,我们此次的账户服务,是在网站积累数据的基础上,对数据进行分析,给出进一步的优化意见,同时基于我们对贵公司产品的搜索引擎相关数据,给出我们下一步的优化策略,因为贵公司对产品非常了解,所以希望贵公司领导能够对此报告进行修改指正,并提出宝贵意见;全球搜本着严谨科学的态度,充分考虑实际要求,倾听客户的需求,提供合理的方案和优质的服务,为贵公司寻找更多的海外客户,是全球搜的目标,我们希望能借助此报告,进一步优化贵公司的网站,提升搜索引擎展示效果,获得更多的询盘。
-
全 球 搜
概况
- 尊敬的用户:
- 您好!的网站上线至今,网站访客量、Google搜索引擎关键词排名已不断提升,目前共计访问量IP,本月访问量IP,主要来自于等国家,搜索引擎流量主要来自,目前Google首页关键词排名数量为个,0){?>前三页关键词数量为个,关键词首页数量已达标,首次达标时间为,累计服务时间天,剩余服务时间天;网站优化推广至今已经收到封精准询盘,本月收到精准询盘封,直接发Email到邮箱的询盘应有封,本月询盘转化率约为%,询盘主要来自于等国家,具体的数据详情请浏览以下图表内容。
get_row("select count(term_taxonomy_id) as num from `wp_term_taxonomy` where `taxonomy`='category' and `term_id`!=623",ARRAY_A);
//$count_posts = wp_count_posts();
$category_num = $res['num'];
$products_num = 0;
query_posts(array('cat'=>490,'post_type'=>'post','showposts'=>10000));while ( have_posts() ) : the_post();
$products_num++;
endwhile; wp_reset_query();
$news_num = count(query_posts(array( 'post_type' => 'news','posts_per_page'=>-1)));;
$before_7day = date('Y-m-d',time()-7*3600*24);
$month_before = date('Y-m-d',time()-30*3600*24);
$res2 = $wpdb->get_row("select count(ID) as num from `wp_posts` where `post_type`='news' and `post_status`='publish' and `post_date` >= '$before_7day 00:00:00'",ARRAY_A);
$res3 = $wpdb->get_row("select count(ID) as num from `wp_posts` where `post_type`='post' and `post_status`='publish' and `post_date` >= '$month_before 00:00:00'",ARRAY_A);
$news_num_7day = $res2['num'];
$products_num_month = $res3['num'];
?>
检测及建议
- 检测Sitemap及Robot优化
-
已检测到Sitemap.xml、Robots.txt文件
- 检测近30天产品更新的数量()
-
警告:30天内未发布新的产品,建议每日新发布1-3个新产品,配合不同长尾关键词进行发布';else echo '已检测到30天内发布了'.$products_num_month.'个新产品,继续保持!'?>
- 检测近7天新闻更新的数量()
-
警告:7天内未发布新闻,建议每周发布1-2篇新闻';else echo '已检测到7天内发布了'.$news_num_7day.'篇新闻,继续保持!'?>