if (which >= 30)//70%访问baidu
{
web_url("www.baidu.com",
"URL=http://www.baidu.com/",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
}
else if ((which >=13) and (which <30))//17%访问
Google {
web_url("www.google.cn",
"URL=http://www.google.cn/",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t2.inf",
"Mode=HTML",
EXTRARES,
"Url=/images/nav_logo3.png", ENDITEM,
LAST);
}
else if ((which >=6) and (which <13)) //7%访问yahoo
{
web_url("search.cn.yahoo.com",
"URL=http://search.cn.yahoo.com/",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTML",
EXTRARES,
"Url=/testing/uppic/200709/20070911101206590.gif", ENDITEM,
"Url=/testing/uppic/200709/20070911101207694.gif", ENDITEM,
LAST);
}
else //6%访问sogou
{
web_url("www.sogou.com",
"URL=http://www.sogou.com/",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t4.inf",
"Mode=HTML",
EXTRARES,
"Url=/images/tab.gif", ENDITEM,
"Url=http://pv.sogou.com/pv.gif?t?=1181198683187446?r?=", ENDITEM,
LAST);
}
return 0;
}