\n
";
$output_navi .= "$title_str とは | ";
$output_main .= $output_intro;
}
/* DISCOGRAPHY */
if($disco_ary = file('component/discography.txt')){
array_shift($disco_ary);
$output_disco = "\n
- ";
foreach($intro_ary as $row){
$output_intro .= "
- $row "; } $output_intro .= "
\n
";
$output_navi .= "$title_str 出演作品 | ";
$output_main .= $output_disco;
}
/* IMAGE */
if($image_ary = file('component/image.txt')){
$cnt = 0;
array_shift($image_ary);
$output_image = "\n";
foreach($disco_ary as $row){
$cnt++;
$disco_link ="";
$row_ary = explode("\t",$row);
if($row_ary[5]){
if(preg_match("/dmm\.co\.jp/",$row_ary[5],$match)) $img_url = $row_ary[5].$dmm_id;
$disco_link .= "DVDを購入 ";
}
if($row_ary[4]){
if(preg_match("/dmm\.co\.jp/",$row_ary[4],$match)) $img_url = $row_ary[4].$dmm_id;
$disco_link .= "DVDをレンタル ";
}
if($row_ary[3]){
if(preg_match("/dmm\.co\.jp/",$row_ary[3],$match)) $img_url = $row_ary[3].$dmm_id;
$disco_link .= "いますぐ観る ";
}
$output_disco .= "";
if($cnt % 3 == 0) $output_disco.= "";
}
$output_disco .= "
\n
";
$output_navi .= "$title_str 画像 | ";
$output_main .= $output_image;
}
/* MOVIE */
if($movie_ary = file('component/movie.txt')){
$cnt = 0;
array_shift($movie_ary);
$output_movie = "\n
";
$output_navi .= "$title_str 動画 | ";
$output_main .= $output_movie;
}
/* LINKS */
if($links_ary = file('component/links.txt')){
array_shift($links_ary);
$output_links = "\n";
foreach($movie_ary as $row){
$row_ary = explode("\t", $row);
$output_movie .= "$row_ary[1]\n";
if($row_ary[2]) $output_movie.= "
\n"; else $output_movie .= "
"; } $output_movie .= "
\n"; else $output_movie .= "
"; } $output_movie .= "
\n
";
$output_navi .= " リンク | ";
$output_main .= $output_links;
}
/* ADblock */
$output_ad = "\n";
/* Footer */
$output_footer = "\n$analytics_str\n";
/* Output */
$output = $output_meta.$output_body.$output_navi."\n
- ";
foreach($links_ary as $row){
$row_ary = explode("\t", $row);
$output_links .= "
- $row_ary[0] "; } $output_links .= "