'". $date_now . "' and open_date < '". $date_now . "' and valid = 1 and code='" . $code ."' "; $rtn = pg_exec($con,$query); $cnt = pg_numrows($rtn); $content_line =""; $top_main_line =""; $cont_hd_line =""; $profile_line =""; $cont_book_line =""; $cont_shopping_line =""; $tgl1_line =""; $tgl2_line =""; $page_line =""; $afi_flg02=0; $afi_flg03=0; $afi_flg04=0; $afi_flg05=0; if($cnt>0){ $id = pg_result($rtn,0,0); //システムID $code = pg_result($rtn,0,1); //記事コード $title= mb_convert_encoding(pg_result($rtn,0,2),"UTF-8","EUC-JP"); $title_line = $title; //タイトル $columnist = mb_convert_encoding(htmlspecialchars_decode(pg_result($rtn,0,3)),"UTF-8","EUC-JP"); //記者(いわゆる投稿者) $banner = pg_result($rtn,0,4); //バナーファイル名 $image = pg_result($rtn,0,5); //画像ファイル名 $top_image = pg_result($rtn,0,58); //トップ画像 $writer = mb_convert_encoding(pg_result($rtn,0,6),"UTF-8","EUC-JP"); //書籍著者 $profile_img = pg_result($rtn,0,7); //プロフィール画像(投稿者のアイコン) $publisher = mb_convert_encoding(pg_result($rtn,0,8),"UTF-8","EUC-JP"); //出版社 $illustrator = mb_convert_encoding(pg_result($rtn,0,9),"UTF-8","EUC-JP"); //イラストレーター $date_pubulished = date('Y/m/d', strtotime(pg_result($rtn,0,10))); //【10】発売日 $int_price = pg_result($rtn,0,11); //価格(税抜き) $isbn = pg_result($rtn,0,12); //ISBN(社内書誌情報があれば、紐付ける) $strings01 = mb_convert_encoding(htmlspecialchars_decode(pg_result($rtn,0,13)),"UTF-8","EUC-JP"); //本文1 $strings01 = str_replace('target="_blank"', 'onClick="ga(\'send\',\'event\',\'link\',\'click\',\'link_' . $code.'\');" target="_blank"', $strings01); $strings01_line= $strings01; //facebook用content $strings_fb = mb_convert_encoding(htmlspecialchars_decode(pg_result($rtn,$i,13)),"UTF-8","EUC-JP"); $strings_fb = preg_replace( "//", "", $strings_fb ); $strings_fb = str_replace(array("\r\n","\n","\r"), '', $strings_fb); $strings_fb = str_replace('"', '\"', $strings_fb); $strings_fb = str_replace('

', '', $strings_fb); $strings_fb = str_replace('

', '', $strings_fb); $strings_fb = str_replace('

', '', $strings_fb); $strings_fb = str_replace('

', '', $strings_fb); $strings_fb = strip_tags($strings_fb, '
'); $strings_fb = strip_tags($strings_fb, '
'); $strings_meta = strip_tags($strings_fb, '
'); $strings_fb = mb_strimwidth( $strings_fb, 0, 140, "...", "UTF-8" ); $strings02 = mb_convert_encoding(htmlspecialchars_decode(pg_result($rtn,0,14)),"UTF-8","EUC-JP"); //本文2 $strings02 = str_replace('target="_blank"', 'onClick="ga(\'send\',\'event\',\'link\',\'click\',\'link_' . $code.'\');" target="_blank"', $strings02); $strings02_line= $strings02; if(stristr($strings02, 'ad.jp.ap.valuecommerce.com') or stristr($strings02, 'px.a8.net') or stristr($strings02, 'linksynergy') ){ $afi_flg02=1; } $strings03 = mb_convert_encoding(htmlspecialchars_decode(pg_result($rtn,0,15)),"UTF-8","EUC-JP"); //本文3 $strings03 = str_replace('target="_blank"', 'onClick="ga(\'send\',\'event\',\'link\',\'click\',\'link_' . $code.'\');" target="_blank"', $strings03); $strings03_line= $strings03; if(stristr($strings03, 'ad.jp.ap.valuecommerce.com') or stristr($strings03, 'px.a8.net') or stristr($strings03, 'linksynergy') ){ $afi_flg03=1; } $strings04 = mb_convert_encoding(htmlspecialchars_decode(pg_result($rtn,0,16)),"UTF-8","EUC-JP"); //本文4 $strings04 = str_replace('target="_blank"', 'onClick="ga(\'send\',\'event\',\'link\',\'click\',\'link_' . $code.'\');" target="_blank"', $strings04); $strings04_line= $strings04; if(stristr($strings04, 'ad.jp.ap.valuecommerce.com') or stristr($strings04, 'px.a8.net') or stristr($strings04, 'linksynergy') ){ $afi_flg04=1; } $strings05 = mb_convert_encoding(htmlspecialchars_decode(pg_result($rtn,0,17)),"UTF-8","EUC-JP"); //本文5 $strings05 = str_replace('target="_blank"', 'onClick="ga(\'send\',\'event\',\'link\',\'click\',\'link_' . $code.'\');" target="_blank"', $strings05); $strings05_line= $strings05; if(stristr($strings05, 'ad.jp.ap.valuecommerce.com') or stristr($strings05, 'px.a8.net') or stristr($strings05, 'linksynergy') ){ $afi_flg05=1; } $img01 = pg_result($rtn,0,18); //挿絵1 $img02 = pg_result($rtn,0,19); //挿絵2 $img03 = pg_result($rtn,0,20); //挿絵3 $img04 = pg_result($rtn,0,21); //挿絵4 $img05 = pg_result($rtn,0,22); //挿絵5 $img_text01 = mb_convert_encoding(pg_result($rtn,0,23),"UTF-8","EUC-JP"); //キャプション1 $img_text02 = mb_convert_encoding(pg_result($rtn,0,24),"UTF-8","EUC-JP"); //キャプション2 $img_text03 = mb_convert_encoding(pg_result($rtn,0,25),"UTF-8","EUC-JP"); //キャプション3 $img_text04 = mb_convert_encoding(pg_result($rtn,0,26),"UTF-8","EUC-JP"); //キャプション4 $img_text05 = mb_convert_encoding(pg_result($rtn,0,27),"UTF-8","EUC-JP"); //キャプション5 $strings_flg = pg_result($rtn,0,28); //記事、お知らせ、SNSなどをチェックして番号を格納 $global_section = pg_result($rtn,0,29); //全体の区分け(1:イース新書、2:イースト新書Q、3:人文書籍、4:コラム、5:お知らせ など) switch ($global_section){ case 0: $section_line ="選択なし"; //SNS、およびアフィリエイト $category = ""; break; case 1: $section_line ="新刊情報"; $category = "cate1"; break; case 2: $section_line ="ニュース"; $category = "cate2"; break; case 3: $section_line ="コラム・連載"; $category = "cate3"; break; case 4: $section_line ="その他"; $category = "cate4"; break; case 5: $section_line ="他の書籍"; $category = "cate5"; break; case 6: $section_line ="コラム"; $category = "cate6"; break; case 7: $section_line ="連載"; $category = "cate7"; break; case 8: $section_line ="インタビュー"; $category = "cate8"; break; case 9: $section_line ="お知らせ"; $category = "cate9"; break; case 10: $section_line ="編集部"; $category = "cate10"; break; case 11: $section_line ="メディア"; $category = "cate11"; break; case 12: $section_line ="その他"; $category = "cate12"; break; } $image_top_flg = pg_result($rtn,0,30); //【30】書籍画像の表示位置(記事の最初:0、記事の最後:1) $relation_id = pg_result($rtn,0,31); //関連記事 $relation_book = pg_result($rtn,0,32); //関連書籍 $yondemill_url = pg_result($rtn,0,35); //試し読みYONDEMILL URL $amazon_url = pg_result($rtn,0,36); //Amazonリンク(紙) $honto_url = pg_result($rtn,0,37); //hontoリンク(紙) $seven_url = pg_result($rtn,0,38); //セブンネットリンク(紙) $rakuten_url = pg_result($rtn,0,39); //楽天リンク(紙) $kinokuniya_url = pg_result($rtn,0,40); //【40】紀伊国屋用URL(紙) $tsutaya_url = pg_result($rtn,0,41); //TSUTAYA用URL(紙) $honyaclub_url = pg_result($rtn,0,42); //honyaclubリンク(紙) //書店フラグ if(!empty($amazon_url) or !empty($honto_url) or !empty($seven_url) or !empty($rakuten_url)){ $tgl1_chk=1; } if(!empty($kinokuniya_url) or !empty($tsutaya_url) or !empty($honyaclub_url)){ $tgl1_chk=1; } $kindle_url = pg_result($rtn,0,43); //Amazonリンク(kindle)(電子) $kobo_url = pg_result($rtn,0,44); //楽天koboリンク(電子) $booklive_url = pg_result($rtn,0,45); //BookLiveリンク(電子) $ehonto_url = pg_result($rtn,0,46); //hontoリンク(電子) $e7net_url = pg_result($rtn,0,47); //セブンネットリンク(電子) $ebookjapan_url = pg_result($rtn,0,48); //ebookjapanリンク(電子) $ibooks_url = pg_result($rtn,0,49); //ibooks用リンク(電子) $bookwalker_url = pg_result($rtn,0,50); //【50】bookwalker用リンク(電子) $renta_url = pg_result($rtn,0,51); //renta用URL(電子) $papy_url = pg_result($rtn,0,52); //パピレス用URL(電子) //電子書籍書店フラグ if(!empty($kindle_url) or !empty($kobo_url) or !empty($booklive_url) or !empty($ehonto_url)){ $tgl2_chk=1; } if(!empty($e7net_url) or !empty($ebookjapan_url) or !empty($ibooks_url) or !empty($bookwalker_url)){ $tgl2_chk=1; } if(!empty($renta_url) or !empty($papy_url)){ $tgl2_chk=1; } $open_date = pg_result($rtn,0,53); //公開日 $open_date = date('Y.m.d', strtotime($open_date)); $close_date = pg_result($rtn,0,54); //掲載終了日 $close_date = date('Y.m.d', strtotime($close_date)); $valid = pg_result($rtn,0,57); //有効無効フラグ(有効:1、無効:0) //トップバナー部分 if(!empty($banner)){ $top_main_line .="
"; $top_main_line .="
\"\"
"; $top_main_line .="
"; } //タイトル部分 $cont_hd_line .="
"; $cont_hd_line .=""; $cont_hd_line .="

". $title_line ."

"; $cont_hd_line .="
"; //プロフィール部分 $profile_line .="
"; $profile_line .=""; $profile_line .="
"; if(!empty($image)){ $cont_book_line .="
"; if(!empty($image)){ $cont_book_line .="
"; } $cont_book_line .="
"; $cont_book_line .=""; if($writer !=""){ $cont_book_line .=""; $cont_book_line .=""; $cont_book_line .=""; $cont_book_line .=""; } if($illustrator !=""){ $cont_book_line .=""; $cont_book_line .=""; $cont_book_line .=""; $cont_book_line .=""; } if(!empty($image) and $date_pubulished !=""){ $cont_book_line .=""; $cont_book_line .=""; $cont_book_line .=""; $cont_book_line .=""; } if($publisher !=""){ $cont_book_line .=""; $cont_book_line .=""; $cont_book_line .=""; $cont_book_line .=""; } if($int_price !="" or $int_price >0){ $int_tax_price = round($int_price * 1.08); $cont_book_line .=""; $cont_book_line .=""; $cont_book_line .=""; $cont_book_line .=""; } if($isbn !=""){ $cont_book_line .=""; $cont_book_line .=""; $cont_book_line .=""; $cont_book_line .=""; } $cont_book_line .="
著者名". $writer ."
イラストレーター" . $illustrator ."
発売日". $date_pubulished ."
出版" . $publisher ."
定価". $int_tax_price ."円(本体". $int_price ."円+税8%)
ISBN". $isbn ."
"; if($yondemill_url !=""){ $cont_book_line .="

\"YONDEMILLで試し読み\"

"; } $cont_book_line .="
"; $cont_book_line .="
"; }elseif(empty($image) and !empty($yondemill_url)){ $cont_book_line .="
\"YONDEMILLで試し読み\"


"; }else{ } //ページボタン生成 $page_line=""; //1ページが存在 if(!empty($strings01) and ($strings_flg =="0" or $strings_flg =="1")){ if($page=="1" or $page==""){ $content_line .="
"; $content_line .="
"; $content_line .=$strings01_line; $content_line .="
"; if(!empty($img01)){ $content_line .="
\"\""; if(!empty($img_text01)){ $content_line .="

" . $img_text01 ."

"; } $content_line .="
"; } $content_line .="
"; $page_line .="
  • 1
  • "; }else{ $page_line .="
  • 1
  • "; } $maxpage++; } //2ページが存在 if(!empty($strings02) and $afi_flg02==0 and ($strings_flg =="0" or $strings_flg =="1")){ if($page=="2"){ $content_line .="
    "; $content_line .="
    "; $content_line .=$strings02_line; $content_line .="
    "; if(!empty($img02)){ $content_line .="
    \"\""; if(!empty($img_text02)){ $content_line .="

    ". $img_text02 ."

    "; } $content_line .="
    "; } $content_line .="
    "; $page_line .="
  • 2
  • "; }else{ $page_line .="
  • 2
  • "; } $maxpage++; } //3ページが存在 if(!empty($strings03) and $afi_flg03==0 and ($strings_flg =="0" or $strings_flg =="1")){ if($page=="3"){ $content_line .="
    "; $content_line .="
    "; $content_line .=$strings03_line; $content_line .="
    "; if(!empty($img03)){ $content_line .="
    \"\""; if(!empty($img_text03)){ $content_line .="

    ". $img_text03 ."

    "; } $content_line .="
    "; } $content_line .="
    "; $page_line .="
  • 3
  • "; }else{ $page_line .="
  • 3
  • "; } $maxpage++; } //4ページが存在 if(!empty($strings04) and $afi_flg04==0 and ($strings_flg =="0" or $strings_flg =="1")){ if($page=="4"){ $content_line .="
    "; $content_line .="
    "; $content_line .=$strings04_line; if(!empty($img04)){ $content_line .="
    \"\""; if(!empty($img_text04)){ $content_line .="

    ". $img_text04 ."

    "; } $content_line .="
    "; } $content_line .="
    "; $page_line .="
  • 4
  • "; }else{ $page_line .="
  • 4
  • "; } $maxpage++; } //5ページが存在 if(!empty($strings05) and $afi_flg05==0 and ($strings_flg =="0" or $strings_flg =="1")){ if($page=="5"){ $content_line .="
    "; $content_line .="
    "; $content_line .=$strings05_line; if(!empty($img05)){ $content_line .="
    \"\""; if(!empty($img_text05)){ $content_line .="

    ". $img_text05 ."

    "; } $content_line .="
    "; } $content_line .="
    "; $page_line .="
  • 5
  • "; }else{ $page_line .="
  • 5
  • "; } $maxpage++; } //ページ生成始 //$page_main ="
    "; $page_main ="

    "; if($epage=="1" or $page=="1" or $page=="" ){ $page_main .=""; $page_main .=""; }else{ $spage = $page -1; $page_main .=""; $page_main .=""; $page_main .=""; $page_main .=""; } $page_main .="

    "; $page_main .="
      "; $page_end ="
    "; $page_end .="

    "; if($epage == $maxpage or $maxpage == $page){ $page_end .=""; $page_end .=""; }elseif($maxpage > 1 and $page==""){ $page=2; $page_end .=""; $page_end .=""; $page_end .=""; $page_end .=""; }else{ $epage = $page +1; $page_end .=""; $page_end .=""; $page_end .=""; $page_end .=""; } $page_end .="

    "; //$page_end .="
    "; //ページ生成終 $relation_id = pg_result($rtn,0,31); //関連記事 $relation_book = pg_result($rtn,0,32); //関連書籍 //関連記事 if($relation_id !=""){ //関連記事ID $arr_relation_id = explode(',',$relation_id); $relation_id_line ="
    "; $relation_id_line .="

    関連記事

    "; $relation_id_line .="
      "; foreach ($arr_relation_id as $key=>$itemValue_relation_id) { //関連記事情報取得 $query_relation_id = "select id,code,title from jinbun where "; $query_relation_id .= " valid=1 and close_date > '". $date_now . "' and open_date < '". $date_now . "' "; $query_relation_id .= " and global_section in('1','2','3','4','5','6','7','8','9','10','11','12') and id = " .$itemValue_relation_id . " "; $rtn_relation_id = pg_exec($con,$query_relation_id); $relation_id_num = pg_numrows($rtn_relation_id); $kanren_title = str_replace('
      ', '', mb_convert_encoding(pg_result($rtn_relation_id,0, 2 ),"UTF-8","EUC-JP")); $relation_id_line .="
    • ". $kanren_title ."
    • "; } $relation_id_line .="
    "; $relation_id_line .="
    "; } //関連書籍 if($relation_book !=""){ $relation_book_line ="
    "; $relation_book_line .="

    関連書籍

    "; $relation_book_line .="
      "; //関連書籍画像 $arr_relation_book = explode(',',$relation_book); foreach ($arr_relation_book as $key=>$itemValue_relation_book) { //関連書籍シリアル取得 $query_relation_book = "select serial,title,image from book where isbn = '" . trim($itemValue_relation_book) . "' "; $query_relation_book .= " and isvalid =1 and showhide=1 and magazin_flg=0 and category not like '%40%'"; $rtn_relation_book = pg_exec($con,$query_relation_book); $relation_book_num = pg_numrows($rtn_relation_book); $relation_book_line .=""; } $relation_book_line .="
    "; $relation_book_line .="
    "; } if(!empty($amazon_url) and strlen($amazon_url)==10){ $url_amazon = "http://www.amazon.co.jp/exec/obidos/ASIN/$amazon_url/eastpress-22"; $tgl1_line .="
  • "; }elseif(!empty($amazon_url)){ $tgl1_line .="
  • "; } if(!empty($rakuten_url) and strlen($rakuten_url)==8){ $url_rakuten = "https://rpx.a8.net/svt/ejp?a8mat=2BTXYP+F6JY42+2HOM+BW8O1&rakuten=y&a8ejpredirect=http%3A%2F%2Fhb.afl.rakuten.co.jp%2Fhgc%2F0eac8dc2.9a477d4e.0eac8dc3.0aa56a48%2Fa14080549489_2BTXYP_F6JY42_2HOM_BW8O1%3Fpc%3Dhttp%253A%252F%252Fbooks.rakuten.co.jp%252Frb%252F$rakuten_url%252F%26m%3Dhttp%253A%252F%252Fbooks.rakuten.co.jp%252Frb%252F$rakuten_url%252F"; $tgl1_line .="
  • \"\"
  • "; }elseif(!empty($rakuten_url)){ $tgl1_line .="
  • "; } if(!empty($honto_url) and strlen($honto_url)==8){ $url_honto = "//ck.jp.ap.valuecommerce.com/servlet/referral?sid=3147617&pid=882830749&vc_url=https%3A%2F%2Fhonto.jp%2Fnetstore%2Fpd-book_$honto_url.html%3F%2F%3Fcid%3Deu_hb_af_vc"; $tgl1_line .="
  • "; }elseif(!empty($honto_url)){ $tgl1_line .="
  • "; } if(!empty($seven_url) and strlen($seven_url)==10){ $url_seven = "//ck.jp.ap.valuecommerce.com/servlet/referral?sid=3147617&pid=883748864&vc_url=http%3A%2F%2F7net.omni7.jp%2Fdetail%2F$seven_url"; $tgl1_line .="
  • "; }elseif(!empty($seven_url)){ $tgl1_line .="
  • "; } if(!empty($honyaclub_url) and strlen($honyaclub_url)==8){ $url_honyaclub = "http://linksynergy.jrs5.com/link?id=4R0ZtFW*5Cc&offerid=236754.$honyaclub_url&type=2&murl=http%3A%2F%2Fwww.honyaclub.com%2Fshop%2Fgoods%2Fgoods.aspx%3Fgoods%3D$honyaclub_url%26etcaff%3DAFI-LS"; $tgl1_line .="
  • "; }elseif(!empty($honyaclub_url)){ $tgl1_line .="
  • "; } if(!empty($kinokuniya_url) and strlen($kinokuniya_url)==13){ $url_kinokuniya = "//ck.jp.ap.valuecommerce.com/servlet/referral?sid=3147617&pid=883012722&vc_url=https%3A%2F%2Fwww.kinokuniya.co.jp%2Ff%2Fdsg-01-$kinokuniya_url"; $tgl1_line .="
  • "; }elseif(!empty($kinokuniya_url)){ $tgl1_line .="
  • "; } if(!empty($tsutaya_url) and strlen($tsutaya_url)==13){ $url_tsutaya = "//ck.jp.ap.valuecommerce.com/servlet/referral?sid=3147617&pid=883012857&vc_url=http%3A%2F%2Fshop.tsutaya.co.jp%2Fbook%2Fproduct%2F$tsutaya_url%2F"; $tgl1_line .="
  • "; }elseif(!empty($tsutaya_url)){ $tgl1_line .="
  • "; } if(!empty($kindle_url) and strlen($kindle_url)==10){ $url_kindle = "https://www.amazon.co.jp/ebook/dp/$kindle_url/ref=as_li_ss_tl?ie=UTF8&linkCode=ll1&tag=eastpress-22&linkId=e10996d73e1722440f809bb0b12599ff"; $tgl2_line .="
  • "; }elseif(!empty($kindle_url)){ $tgl2_line .="
  • "; } if(!empty($kobo_url) and strlen($kobo_url)==32){ $url_kobo = "https://rpx.a8.net/svt/ejp?a8mat=2BTXYP+F6JY42+2HOM+BW8O1&rakuten=y&a8ejpredirect=http%3A%2F%2Fhb.afl.rakuten.co.jp%2Fhgc%2F0eac8dc2.9a477d4e.0eac8dc3.0aa56a48%2Fa14080549489_2BTXYP_F6JY42_2HOM_BW8O1%3Fpc%3Dhttp%253A%252F%252Fbooks.rakuten.co.jp%252Frk%252F$kobo_url%252F%26m%3Dhttp%253A%252F%252Fbooks.rakuten.co.jp%252Frk%252F$kobo_url%252F"; $tgl2_line .="
  • \"\"
  • "; }elseif(!empty($kobo_url)){ $tgl2_line .="
  • "; } if(!empty($booklive_url) and strlen($booklive_url)==6){ $url_booklive = "//ck.jp.ap.valuecommerce.com/servlet/referral?sid=3147617&pid=883684808&vc_url=https%3A%2F%2Fbooklive.jp%2Fproduct%2Findex%2Ftitle_id%2F$booklive_url%2Fvol_no%2F001%3Futm_campaign%3Dcampaign-003%26utm_source%3Dvc%26utm_content%3DMyLink%26utm_medium%3Daff"; $tgl2_line .="
  • "; }elseif(!empty($booklive_url)){ $tgl2_line .="
  • "; } if(!empty($ehonto_url) and strlen($ehonto_url)==8){ $url_ehonto = "//ck.jp.ap.valuecommerce.com/servlet/referral?sid=3147617&pid=882830749&vc_url=https%3A%2F%2Fhonto.jp%2Febook%2Fpd_$ehonto_url.html%3F%2F%3Fcid%3Deu_hb_af_vc"; $tgl2_line .="
  • "; }elseif(!empty($ehonto_url)){ $tgl2_line .="
  • "; } if(!empty($ebookjapan_url) and strlen($ebookjapan_url)==6){ $url_ebookjapan = "//ck.jp.ap.valuecommerce.com/servlet/referral?sid=3147617&pid=883029011&vc_url=http%3A%2F%2Fwww.ebookjapan.jp%2Febj%2F$ebookjapan_url%2Fvolume1%2F%3Fdealerid%3D40001"; $tgl2_line .="
  • "; }elseif(!empty($ebookjapan_url)){ $tgl2_line .="
  • "; } if(!empty($ibooks_url) and strlen($ibooks_url)==10){ $url_ibooks = "https://itunes.apple.com/jp/book/mangadewakarureikino-jiao/id$ibooks_url?mt=11&ign-mpt=uo%3D8"; $tgl2_line .="
  • "; }elseif(!empty($ibooks_url)){ $tgl2_line .="
  • "; } if(!empty($bookwalker_url) and strlen($bookwalker_url)==38){ $url_bookwalker = "//ck.jp.ap.valuecommerce.com/servlet/referral?sid=3147617&pid=883425368&vc_url=https%3A%2F%2Fbookwalker.jp%2F$bookwalker_url%2F"; $tgl2_line .="
  • "; }elseif(!empty($bookwalker_url)){ $tgl2_line .="
  • "; } if(!empty($e7net_url) and strlen($e7net_url)==10){ $url_e7net = "//ck.jp.ap.valuecommerce.com/servlet/referral?sid=3147617&pid=883748864&vc_url=http%3A%2F%2F7net.omni7.jp%2Fdetail%2F$e7net_url"; $tgl2_line .="
  • "; }elseif(!empty($e7net_url)){ $tgl2_line .="
  • "; } if(!empty($papy_url) and strlen($papy_url)==8){ $url_papy = "http://www.papy.co.jp/act/books/$papy_url"; $tgl2_line .="
  • "; }elseif(!empty($papy_url)){ $tgl2_line .="
  • "; } if(!empty($renta_url) and strlen($renta_url)==6){ $url_renta = "//ck.jp.ap.valuecommerce.com/servlet/referral?sid=3147617&pid=882867884&vc_url=http%3A%2F%2Frenta.papy.co.jp%2Frenta%2Fsc%2Ffrm%2Fitem%2F$renta_url%2F"; $tgl2_line .="
  • "; }elseif(!empty($renta_url)){ $tgl2_line .="
  • "; } if($tgl1_chk==1){ $cont_shopping_line .="
    "; $cont_shopping_line .="
    "; $cont_shopping_line .="

    この書籍を購入する

    "; $cont_shopping_line .="

    "; $cont_shopping_line .="
    "; $cont_shopping_line .="
      "; $cont_shopping_line .=$tgl1_line; $cont_shopping_line .="
    "; $cont_shopping_line .="
    "; } if($tgl2_chk==1){ $cont_shopping_line .="
    "; $cont_shopping_line .="
    "; $cont_shopping_line .="

    この書籍の電子版を購入する

    "; $cont_shopping_line .="

    "; $cont_shopping_line .="
    "; $cont_shopping_line .="
      "; $cont_shopping_line .=$tgl2_line; $cont_shopping_line .="
    "; $cont_shopping_line .="
    "; } }else{ header("Location: http://www.eastpress.co.jp/jn/"); exit(); } $link_line=""; $footer_banner =""; if($afi_flg02 <> 0 or $afi_flg03 <> 0 or $afi_flg04 <> 0 or $afi_flg05 <> 0){ $footer_banner .="
    "; $footer_banner .="
      "; if($afi_flg02==1){ $footer_banner .="
    • ". $strings02_line ."
    • "; } if($afi_flg03==1){ $footer_banner .="
    • ". $strings03_line ."
    • "; } if($afi_flg04==1){ $footer_banner .="
    • ". $strings04_line ."
    • "; } if($afi_flg05==1){ $footer_banner .="
    • ". $strings05_line ."
    • "; } $footer_banner .="
    "; $footer_banner .="
    "; } strip_tags($strings_json, '

    '); ?> <? print($title_line); ?>| イースト・プレスの人文・ノンフィクション