該当データはありません。
"; }else{ $knkstrt=strpos($knkinfo,""); if (ereg ("在庫がございます",$knkinfo)){ $knkend = strpos($knkinfo,"",$knkstrt); $zk0 = strpos($knkinfo,"|
||","",$knkbook); $knkbook = ereg_replace("\./wshosea.cgi\?W-FAUTH","http://ck.jp.ap.valuecommerce.com/servlet/referral?sid=2213365&pid=873154756&vc_url=http://bookweb.kinokuniya.co.jp/guest/cgi-bin/wshosea.cgi%3fW-FAUTH",$knkbook); $knkbook = ereg_replace("』 ISBN",$knkbook); echo "『";
echo $knkbook."
".$zaiko.$desc."
該当するデータがありません。
"; }else{ $pos_id = strpos($bk1,"name=\"bibId\""); $bk1id = substr($bk1,$pos_id+20,7); $pos1 = strpos($bk1,"『".$title."』
";
echo "".$description."
".$author." 『".$title."』
";
echo $publisher."(".$pubdate.")".$price."[".$avbl."]
該当する本は有りません。
"; }else{ //$start=strpos($junkinfo,""); $jnk_book = substr($junkinfo,$start,$end-$start); $jnk_book = ereg_replace("href=detail2","href='http://www.junkudo.co.jp/detail2",$jnk_book); $jnk_book = ereg_replace(" class=\"lLink\"","'",$jnk_book); $jnk_book = ereg_replace("href=view2","href='http://www.junkudo.co.jp/view2",$jnk_book); $jnk_book = ereg_replace("『".$jnk_book;
echo "【ジュンク堂書店】
";
echo $jnk_book."
".$rktn_author."『 ".$title."』
";
echo $rktn_publisher."(.$rktn_date.)".$rktn_price."円
\n";
echo $rktn_desc."
検索した結果、一致する書籍はありませんでした。
"; }else{ $ybks = ereg_replace("","QQQQ",$ybks); $ybks = ereg_replace("","QQQQ",$ybks); $ybks = ereg_replace("","QQQQ",$ybks); $ybks = ereg_replace("","QQQQ",$ybks); $ybks = ereg_replace("","QQQQ",$ybks); $ybks = ereg_replace("","QQQQ",$ybks); $ybks = ereg_replace("","QQQQ",$ybks); $ybks = ereg_replace("","QQQQ",$ybks); $ybook = explode("QQQQ",$ybks); $title = strip_tags($ybook[2]); $author = strip_tags($ybook[3]); $publisher = strip_tags($ybook[4]); $pubdate = strip_tags($ybook[5]); $price = strip_tags($ybook[6]); $isbn = strip_tags($ybook[7]); $idstrt = strpos($ybks,"images/i"); $yhbid = substr($ybks,$idstrt+10,8); $title = ereg_replace("書籍名","",$title); $author = ereg_replace("著者名","著者:",$author); $publisher = ereg_replace("出版社名","",$publisher); $pubdate = ereg_replace("発行年月","発行年月:",$pubdate); $price = ereg_replace("価格","価格:",$price); $isbn = ereg_replace("ISBNコード","ISBN: ",$isbn); echo "『".$title."』
\n";
echo $author."/".$publisher."/".$pubdate."/".$price."/".$isbn."
"; echo $jp_xs->Items->Request->Errors->Error->Message."
"; }else{ echo ""; echo "『"; echo $jp_xs->Items->Item->ItemAttributes->Title; echo "』
"; $creators=$jp_xs->Items->Item->ItemAttributes->Creator; foreach ($creators as $values){ echo $values; echo "/"; } echo $jp_xs->Items->Item->ItemAttributes->PublicationDate; echo "刊:"; echo $jp_xs->Items->Item->ItemAttributes->Publisher; echo "/"; echo $jp_xs->Items->Item->ItemAttributes->ListPrice->FormattedPrice; echo "("; echo $jp_xs->Items->Item->Offers->Offer->OfferListing->Availability; echo ")\n\n"; } $junk="http://www.junkudo.co.jp/search2.jsp?ARGS=".$isbn."&VIEW=isbn&x=0&y=0"; $junkinfo = file_get_contents($junk); $junkinfo = mb_convert_encoding($junkinfo, "UTF-8", "SJIS"); if (ereg ("該当する本は有りません。",$junkinfo)){ echo "該当する本は有りません。
"; }else{ $start=strpos($junkinfo,""); $jnk_book = substr($junkinfo,$start,$end-$start); $jnk_book = ereg_replace("href=detail2","href='http://www.junkudo.co.jp/detail2",$jnk_book); $jnk_book = ereg_replace(" class=\"lLink\"","'",$jnk_book); $jnk_book = ereg_replace("href=view2","href='http://www.junkudo.co.jp/view2",$jnk_book); $jnk_book = ereg_replace("『".$jnk_book;
echo "【ジュンク堂書店】
";
echo $jnk_book."
該当データはありません。
"; }else{ $knkstart=stripos($knkinfo,"BookTitle"); if (ereg ("お取り寄せになります",$knkinfo)){ $knkend = strpos($knkinfo,"",$knkstart); }elseif (ereg ("在庫をお届けします",$knkinfo)){ $knkend = strpos($knkinfo,"",$knkstart); }elseif (ereg ("この商品は在庫がございます",$knkinfo)){ $knkend = strpos($knkinfo,"","",$knkbook); $knkbook = ereg_replace("
該当するデータがありません。
"; }else{ $pos_id = strpos($bk1,"http://ping.bk1.jp/tbk.cgi/"); $bk1id = substr($bk1,$pos_id+27,8); $pos1 = strpos($bk1,"『$title』
".$info."
";
echo "".$description."
『".$title."』[".$availability."]
";
echo $author."
該当する本は有りません。
"; } $urlybks="http://books.yahoo.co.jp/book_search/isbn?os=1&isbn=".$isbn; $ybks = file_get_contents($urlybks); $ybks = mb_convert_encoding($ybks, "UTF-8", "EUC-JP"); if (ereg("一致する書籍はありませんでした。",$ybks)){ echo "検索した結果、一致する書籍はありませんでした。
"; }else{ $ybks = ereg_replace("","QQQQ",$ybks); $ybks = ereg_replace("","QQQQ",$ybks); $ybks = ereg_replace("","QQQQ",$ybks); $ybks = ereg_replace("","QQQQ",$ybks); $ybks = ereg_replace("","QQQQ",$ybks); $ybks = ereg_replace("","QQQQ",$ybks); $ybks = ereg_replace("","QQQQ",$ybks); $ybks = ereg_replace("","QQQQ",$ybks); $ybook = explode("QQQQ",$ybks); $title = strip_tags($ybook[2]); $author = strip_tags($ybook[3]); $publisher = strip_tags($ybook[4]); $pubdate = strip_tags($ybook[5]); $price = strip_tags($ybook[6]); $isbn = strip_tags($ybook[7]); $idstrt = strpos($ybks,"images/i"); $yhbid = substr($ybks,$idstrt+10,8); $title = ereg_replace("書籍名","",$title); $author = ereg_replace("著者名","著者:",$author); $publisher = ereg_replace("出版社名","",$publisher); $pubdate = ereg_replace("発行年月","発行年月:",$pubdate); $price = ereg_replace("価格","価格:",$price); $isbn = ereg_replace("ISBNコード","ISBN: ",$isbn); echo "『".$title."』
\n";
echo $author."/".$publisher."/".$pubdate."/".$price."/".$isbn."
""; echo $jp_xs->Items->Item->ItemAttributes->Title; echo ""
"; $creators=$jp_xs->Items->Item->ItemAttributes->Creator; foreach ($creators as $values){ echo $values; echo "/"; } echo $jp_xs->Items->Item->ItemAttributes->PublicationDate; echo "刊:"; echo $jp_xs->Items->Item->ItemAttributes->Publisher; echo "/"; echo $jp_xs->Items->Item->ItemAttributes->ListPrice->FormattedPrice; echo "("; echo $jp_xs->Items->Item->Offers->Offer->OfferListing->Availability; echo ")\n\n"; $amz_de="http://webservices.amazon.de/onca/xml?Service=AWSECommerceService&SubscriptionId=08P1RM6HJB7Y13J15BG2&AssociateTag=tolleetlege01-21&Operation=ItemLookup&IdType=ASIN&ItemId=".$isbn."&ResponseGroup=Medium,Offers"; $dexml = file_get_contents($amz_de); // Webサービス実行 $de_xs = simplexml_load_string($dexml); // SimpleXMLオブジェクトに変換 if ($de_xs->Items->Item->ItemAttributes->Title==""){ echo "Not found.
"; }else{ echo """; echo $de_xs->Items->Item->ItemAttributes->Title; echo ""
"; $creators=$de_xs->Items->Item->ItemAttributes->Creator; foreach ($creators as $values){ echo $values; echo "/"; } echo " Erscheinungsdatum: "; echo $de_xs->Items->Item->ItemAttributes->PublicationDate; echo " ("; echo $de_xs->Items->Item->ItemAttributes->Publisher; echo ") "; echo $de_xs->Items->Item->ItemAttributes->ListPrice->FormattedPrice; echo " ("; echo $de_xs->Items->Item->Offers->Offer->OfferListing->Availability; echo ")\n\n"; } $amz_uk="http://webservices.amazon.co.uk/onca/xml?Service=AWSECommerceService&SubscriptionId=08P1RM6HJB7Y13J15BG2&AssociateTag=tolleetlege-21&Operation=ItemLookup&IdType=ASIN&ItemId=".$isbn."&ResponseGroup=Medium,Offers"; $ukxml = file_get_contents($amz_uk); // Webサービス実行 $uk_xs = simplexml_load_string($ukxml); // SimpleXMLオブジェクトに変換 if ($uk_xs->Items->Item->ItemAttributes->Title==""){ echo "Not found.
"; }else{ echo """; echo $uk_xs->Items->Item->ItemAttributes->Title; echo ""
"; $creators=$uk_xs->Items->Item->ItemAttributes->Creator; foreach ($creators as $values){ echo $values; echo "/"; } echo " Publisher: "; echo $uk_xs->Items->Item->ItemAttributes->Publisher; echo "/ "; echo $uk_xs->Items->Item->ItemAttributes->PublicationDate; echo " Price:"; echo $uk_xs->Items->Item->ItemAttributes->ListPrice->FormattedPrice; echo " ("; echo $uk_xs->Items->Item->Offers->Offer->OfferListing->Availability; echo ")\n\n"; } $amz_fr="http://webservices.amazon.fr/onca/xml?Service=AWSECommerceService&SubscriptionId=08P1RM6HJB7Y13J15BG2&AssociateTag=tolleetlege07-21&Operation=ItemLookup&IdType=ASIN&ItemId=".$isbn."&ResponseGroup=Medium,Offers"; $frxml = file_get_contents($amz_fr); // Webサービス実行 $fr_xs = simplexml_load_string($frxml); // SimpleXMLオブジェクトに変換 if ($fr_xs->Items->Item->ItemAttributes->Title==""){ echo "Not found.
"; }else{ echo """; echo $fr_xs->Items->Item->ItemAttributes->Title; echo ""
"; $creators=$fr_xs->Items->Item->ItemAttributes->Creator; foreach ($creators as $values){ echo $values; echo "/"; } echo $fr_xs->Items->Item->ItemAttributes->PublicationDate; echo " ("; echo $fr_xs->Items->Item->ItemAttributes->Publisher; echo ") "; echo $fr_xs->Items->Item->ItemAttributes->ListPrice->FormattedPrice; echo "Notre prix : "; echo $fr_xs->Items->Item->Offers->Offer->OfferListing->Availability; echo "\n\n"; $knurl = "http://bookweb.kinokuniya.co.jp/guest/cgi-bin/booksea.cgi?ISBN=".$isbn; $knfile = file_get_contents($knurl); $knfile = mb_convert_encoding($knfile,"UTF-8","SJIS"); $knfile = ereg_replace("\x0D\x0A|\x0D|\x0A","\n",$knfile); if(ereg("1 matches",$knfile)){ if(ereg("(Not Available)",$knfile)){ echo "入手不能(Not Available)
\n"; }else{ $start = strpos($knfile,"1 matches"); $strt0 = strpos($knfile,"",$start); $endpos = strpos($knfile,"",$strt0); $res = strip_tags(substr($knfile,$strt0,$endpos-$strt0)); $res = ereg_replace("Table of Contents","",$res); $res = ereg_replace("Qty.\n","",$res); $res = ereg_replace("\n\n\n\n","",$res); $res = ereg_replace("\n\n",""; echo $res; echo "
"; } } //} } echo "Not found.
"; }else{ echo ""; echo """; echo $fr_xs->Items->Item->ItemAttributes->Title; echo ""
"; $creators=$fr_xs->Items->Item->ItemAttributes->Creator; foreach ($creators as $values){ echo $values; echo "/"; } echo $fr_xs->Items->Item->ItemAttributes->PublicationDate; echo " ("; echo $fr_xs->Items->Item->ItemAttributes->Publisher; echo ") Notre prix : "; echo $fr_xs->Items->Item->ItemAttributes->ListPrice->FormattedPrice; echo " ["; echo $fr_xs->Items->Item->Offers->Offer->OfferListing->Availability; echo "]\n\n"; $knk="http://bookweb.kinokuniya.co.jp/guest/cgi-bin/cfbooksea.cgi?ISBN=".$isbn; $knkinfo = file_get_contents($knk); $knkinfo = mb_convert_encoding($knkinfo, "UTF-8", "SJIS"); if (ereg ("該当データはありません",$knkinfo)){ echo "該当データはありません。
"; }else{ $knkstart=strpos($knkinfo,""); $knkend = strpos($knkinfo,""); $knkbook = substr($knkinfo,$knkstart+16,$knkend-$knkstart-16); $knkbook = ereg_replace("
【Könyvkeresõ】\n"; echo "".$title." "; } }else{echo "その番号は検索できません。/".$isbn." is not available."; } } } } } ?> |