|
|
@@ -24,10 +24,10 @@ class Dataoke
|
|
|
$data = $rt->all();
|
|
|
$data = array_unique($data);
|
|
|
foreach ($data as $url) {
|
|
|
- if (strstr($url, "index.php") === false) {
|
|
|
+ if (strstr($url, "tao.php") === false) {
|
|
|
continue;
|
|
|
}
|
|
|
- $_url=str_replace("index.php", "", $url);
|
|
|
+ $_url=str_replace("tao.php", "", $url);
|
|
|
$t = parse_query($_url);
|
|
|
if ($t['kw']) {
|
|
|
// if ($t['bids']){
|
|
|
@@ -58,10 +58,10 @@ class Dataoke
|
|
|
// }
|
|
|
|
|
|
}
|
|
|
- $content=str_replace('"/index.php?r=p"', '"/pages/fengqiang.html"', $content);
|
|
|
- $content=str_replace('"/index.php?r=nine"', '"/pages/nine.html"', $content);
|
|
|
- $content=str_replace('"/index.php?r=ddq"', '"/pages/dongdong.html"', $content);
|
|
|
- $content=str_replace('"/index.php?r=l"', '"/pages/haohuo.html"', $content);
|
|
|
+ $content=str_replace('"/tao.php?r=p"', '"/pages/fengqiang.html"', $content);
|
|
|
+ $content=str_replace('"/tao.php?r=nine"', '"/pages/nine.html"', $content);
|
|
|
+ $content=str_replace('"/tao.php?r=ddq"', '"/pages/dongdong.html"', $content);
|
|
|
+ $content=str_replace('"/tao.php?r=l"', '"/pages/haohuo.html"', $content);
|
|
|
$content=str_replace('https://cmsstatic.ffquan.cn//js/new_home.js', "/static/new_home.js", $content);
|
|
|
// $content=str_replace('index.php', "tao.php", $content);
|
|
|
return $content;
|