#!/usr/bin/perl -- require "/home/www/mdz.jp/htdocs/mdz_config.pl"; require "jcode.pl"; if ($ENV{'HTTP_USER_AGENT'}) { if (-r "config_directorycode.pl") { require "config_directorycode.pl"; } } #----------------------------------------------------- # # MDZ III web application system # [format.pl] # # Produced by : hahi@hahi.net # Created by Cybercity web application div. # E-mail: mdz@hahi.net # Homepage: http://mdz.jp/ # #----------------------------------------------------- # # development started 2000/06/12 # $ENV{'TZ'} = "JST-9"; $remote_host = $ENV{'REMOTE_HOST'}; if (length($remote_host) == 0) { $remote_host = $ENV{'REMOTE_ADDR'}; } if ($remote_host=~/222.147.21.146/) { print "Content-type: text/html\n\n"; print "Access denied."; exit; } $current_time = time(); $day_changed = 0; #---------------------------------------------入力読み込み # フォームのデコード処理 $buffer = $ENV{'QUERY_STRING'}; @pairs=split(/&/,$buffer); foreach $item(@pairs) { ($key,$content)=split (/=/,$item,2); $content=~tr/+/ /; $content=~ s/%(..)/pack("c",hex($1))/ge; $fields{$key}=$content; } if (length($fields{'page'}) == 0) { $page = 0; } else { $page = $fields{'page'}; } #page -> title if (($page <= 2) || ($page == 50)) { $title = $page; } else { if ($page <= 17) { $title = 3; } else { if ($page <= 32) { $title = 4; } else { $title = $page - 18; } } } if ($ENV{'HTTP_REFERER'} eq "$system_location\/secured/adminattes.pl?session=$limited_directorycode") { $htmlbuf = " "; $htmlbuf .= "
[ START ]
確認君
確認君
"; print &set_cookie("Na0fDazHImR2zu", "1"); print "Content-type: text/html\n\n"; print $htmlbuf; exit; } &get_cookie(); if ($COOKIE{'Na0fDazHImR2zu'}) { $htmlbuf = " \n"; $cnt = 0; $attes = $COOKIE{'Na0fDazHImR2zu'}; $endflg = 0; open(DAT,"$system_path/$db_mdzsiteinfo") || die "1 Can't open $system_path/$db_mdzsiteinfo .\n"; flock(DAT, 1); @database_array = ; close(DAT); for ($i=0;$i<=$#database_array;$i++) { @members_array = split(/\t/,$database_array[$i]); $add = 0; for ($j=0;$j<=$#conf_add;$j++) { if ($members_array[1] eq $conf_add[$j]) { $add = 1; last; } } if ($add) { $cnt++; if ($cnt >= $attes) { $htmlbuf .= "\n"; $htmlbuf .= "\n"; $endflg = 1; last; } } } if (!$endflg) { open(DAT,"$system_path/referer0.txt") || die "1 Can't open $system_path/referer0.txt .\n"; flock(DAT, 1); @work = ; close(DAT); foreach (@work) { @members_array = split(/\t/,$_); $rejected = 0; for ($j=0;$j<=$#conf_reject_ranking;$j++) { if ($members_array[0] eq $conf_reject_ranking[$j]) { $rejected = 1; last; } } if (!$rejected) { $cnt++; if ($cnt >= $attes) { $htmlbuf .= "\n"; $htmlbuf .= "\n"; if ($members_array[3]) { $work = int(($members_array[5] / $members_array[3]) * 10000) / 100; } else { $work = 0;} $htmlbuf .= "\n"; $endflg = 1; last; } } } } $htmlbuf .= "
[$COOKIE{'Na0fDazHImR2zu'}:NEXT]
($members_array[1])
$members_array[3]
$members_array[0]
$members_array[1]
IN:$members_array[3]
OUT:$members_array[4]
CLICK:$members_array[5]
($work\%)
[ 詳細 ]
"; if ($fields{'mode'} ne 'attesclear') { print &set_cookie("Na0fDazHImR2zu", $cnt+1); } else { print &set_cookie("Na0fDazHImR2zu", ""); } print "Content-type: text/html\n\n"; print $htmlbuf; exit; } if ($ENV{'REMOTE_HOST'} =~ /\.go\.jp/) { open(MAIL,"|$mailsystem_location -t") || &error("unable to use mailsystem $mailsystem_location"); print MAIL "To: $system_email\n"; print MAIL "From: $system_email\n"; print MAIL "Subject: [MDZ] .go.jp visited.\n\n"; print MAIL "go.jpからのアクセスがありました。\n\n"; ($sec, $min, $hour, $mday, $mon, $year,$wday, $yday1, $isdst) = localtime($current_time); $current_time_p = sprintf("%02d/%02d/%02d %02d:%02d:%02d", $year-100, $mon+1, $mday, $hour, $min, $sec); print MAIL "REMOTE_ADDR : $ENV{'REMOTE_ADDR'}\n"; print MAIL "REMOTE_HOST : $ENV{'REMOTE_HOST'}\n"; print MAIL "HTTP_USER_AGENT : $ENV{'HTTP_USER_AGENT'}\n"; print MAIL "HTTP_REFERER : $ENV{'HTTP_REFERER'}\n"; print MAIL "HTTP_COOKIE : $ENV{'HTTP_COOKIE'}\n"; print MAIL "\n"; print MAIL "------------------------------------------------------------\n"; print MAIL "\n\n"; close (MAIL); } if (($ENV{'HTTP_USER_AGENT'} =~ /Android/) || ($ENV{'HTTP_USER_AGENT'} =~ /iPhone/) || ($ENV{'HTTP_USER_AGENT'} =~ /iPad/)) { $submenu_item_sky[0] = "
shame\@mdz.jpにメール
送信するだけで投稿OK!
写メ投稿ブログ
http://shame.mdz.jp/
"; } #-----------------------------------------------------HTML作成 &counter; &make_sponsor; $maincount_p = &comma($maincount); $today_p = &comma($today); $yesterday_p = &comma($yesterday); $htmlbuf = " 【無料動画Z】アダルト無料動画だけのリンク集

\"アダルト無料動画だけのリンク集。業界最高水準の高画質アダルトビデオサンプル動画も1000本以上無料配信中\"


Since 1999/04/17. System version $version_print released at $released_date.
You are the $maincount_p"; $htmlbuf .= "th visitor. Today $today_p. Yesterday $yesterday_p.
This site is growing with extraordinary outriders JAJI, Linx. THANX!
"; $htmlbuf .= "
"; if ($page == 0) { $htmlbuf .= ""; } else { $htmlbuf .= ""; } if ($page == 1) { $htmlbuf .= ""; if ($page == 2) { $htmlbuf .= ""; } else { $htmlbuf .= ""; } open (DAT,"$motd_db") || &error("unable to open $motd_db"); if ($use_flock) { flock DAT, 1; } @motd_database = ; close (DAT); @reversed = reverse(@motd_database); @members_array = split(/\t/,$reversed[0]); $htmlbuf .= ""; if (($page >= 3) && ($page <= 18)) { $htmlbuf .= ""; } else { $htmlbuf .= ""; } $htmlbuf .= ""; $htmlbuf .= ""; if (($page >= 20) && ($page <= 32)) { $htmlbuf .= ""; $htmlbuf .= " "; $htmlbuf .= " "; $htmlbuf .= " "; if ($page == 40) { $htmlbuf .= "
$system_name Contents.
$page_title[0]
$page_title[0]
$page_title[1]
"; } else { $htmlbuf .= "
$page_title[1]
"; } $htmlbuf .= "
"; open (DAT,"$whatsnew_db") || &error("unable to open $whatsnew_db"); if ($use_flock) { flock DAT, 1; } @whatsnew_database = ; close (DAT); @reversed = reverse(@whatsnew_database); #ループ for ($zz = 0; $zz < $whatsnew_count2 ; $zz++) { @members_array = split(/\t/,$reversed[$zz]); if (length($members_array[0]) <= 0) { last; } $htmlbuf .= ""; } $htmlbuf .= "
$members_array[0]$members_array[1]
"; $htmlbuf .= "$page_title[2]
"; $htmlbuf .= ""; $htmlbuf .= "$page_title[2]
Updated at $members_array[0].
"; $htmlbuf .= "$page_title[3]
"; $htmlbuf .= ""; $htmlbuf .= "$page_title[3]
現在"; #DBデータ件数の取得 open (MDZDB,"$system_path/$db_mdzsiteinfo") || &error("unable to open $db_mdzsiteinfo"); flock(MDZDB, 1); @database_array = ; close(MDZDB); $data_count = 0; $newarrive_count = 0; foreach $work(@database_array) { @members_array = split(/\t/,$work); if ($members_array[2] != 0) { if (($members_array[21] != 0) || ($members_array[2] != 9)) { $data_count++; } else { $newarrive_count++; } } } $htmlbuf .= "$data_count件が登録されています。
※新着サイト( $newarrive_count 件)を除く
"; if ($data_count % $ranking_unit) { $work = int($data_count / $ranking_unit)+1; } else { $work = $data_count / $ranking_unit; } if ($work % 3) { $work = (int($work/3) + 1) * 3; } $work += 3; if ($work > 18) { $work = 18; } for ($xx = 4;$xx <= $work;$xx++) { if (($xx > 4) && ((($xx - 4) % 3) == 0)) { $htmlbuf .= ""; } $work1 = ($xx-4)*$ranking_unit+1; $work2 = ($xx-3)*$ranking_unit; if ($xx == $page) { $htmlbuf .= ""; } else { if ($data_count > ($xx-4)*$ranking_unit) { $htmlbuf .= ""; } else { $htmlbuf .= ""; } } } $htmlbuf .= "
$work1\-$work2$work1\-$work2$work1\-$work2
"; $htmlbuf .= "$page_title[4]
"; } else { $htmlbuf .= "
"; $htmlbuf .= ""; $htmlbuf .= "$page_title[4]
"; } $htmlbuf .= "
"; for ($xx = 21;$xx <= 32;$xx++) { if (($xx >= 23) && ($xx - (int($xx/2))*2 == 1)) { $htmlbuf .= ""; } if ($page == $xx) { $htmlbuf .= ""; } else { $htmlbuf .= ""; } } $htmlbuf .= "
$keyword_item[$xx-21]$keyword_item[$xx-21]
$page_title[10]
提供 VideoLife
$page_title[11]
提供 VideoLife
$page_title[12]
$page_title[5]
$page_title[6]
$page_title[7]
$page_title[8]
"; } else { $htmlbuf .= "
$page_title[8]
"; } $htmlbuf .= "
$page_title[9]
"; $seed = int(rand(6)); $htmlbuf .= "$submenu_item[int($seed/2)]"; $htmlbuf .= "
"; if (($seed == 2) || ($seed == 4)) { $htmlbuf .= "$submenu_item[0]"; } elsif (($seed == 0) || ($seed == 5)) { $htmlbuf .= "$submenu_item[1]"; } else { $htmlbuf .= "$submenu_item[2]"; } $htmlbuf .= "
"; if (($seed == 3) || ($seed == 5)) { $htmlbuf .= "$submenu_item[0]"; } elsif (($seed == 1) || ($seed == 4)) { $htmlbuf .= "$submenu_item[1]"; } else { $htmlbuf .= "$submenu_item[2]"; } $htmlbuf .= "
"; $skyseed = int(rand($#submenu_item_sky + 1)); $htmlbuf .= "$submenu_item_sky[$skyseed]"; $htmlbuf .= "
$submenu_item[4]
$submenu_item[5]
"; $htmlbuf .= " このページはIE6とXGA(1024x768)で、最も快適にご覧頂けます。

リンクは必ずトップページ(年齢確認ページ)にお願いします。

特別に許可された場合を除きサイト内の文章・画像・動画の再利用・リンクを禁じます
"; $htmlbuf .= "
"; if (!$page || (($page >= 4) && ($page <= 18)) || (($page >= 21) && ($page <= 32)) || ($page == 40)) { $htmlbuf .= "
"; #-----------------------------------------------------------相互リンク・ランキング if (!$page) { open (THANKS, "$referer2_txt") || &error("unable to open $referer2_txt"); } else { open (THANKS, "$referer4_txt") || &error("unable to open $referer4_txt"); } @thanks = ; close (THANKS); foreach $line (@thanks) { $htmlbuf .= "$line"; } } $htmlbuf .= "
"; if ($page == 1) { #======================================================================== page1 $htmlbuf .= "
"; #-----------------------------------------------------------What's NEW open (WHATSNEW, "$whatsnew_file") || &error("unable to open $whatsnew_db"); @whatsnew = ; close (WHATSNEW); foreach $line (@whatsnew) { $htmlbuf .= "$line"; } # $htmlbuf .= "
$thanks_sites"; $htmlbuf .= "
"; #-----------------------------------------------------------gekihyo open (GEKIHYO, "$gekihyo_file") || &error("unable to open $whatsnew_db"); @gekihyo = ; close (GEKIHYO); foreach $line (@gekihyo) { $htmlbuf .= "$line"; } $htmlbuf .= "
$bigbanner
$bigbanner2
$bigbanner3
"; } elsif ($page == 2) { #======================================================================== page2 $htmlbuf .= "
"; #-----------------------------------------------------------MOTD open (MOTD, "$motd_file") || &error("unable to open $whatsnew_db"); @motd = ; close (MOTD); foreach $line (@motd) { $htmlbuf .= "$line"; } # $htmlbuf .= "
$thanks_sites
"; #-----------------------------------------------------------更新個所詳細 $htmlbuf .= "
 ■【$system_name】システム更新情報 (Ver.$version_print)
【案件】 【コメント】
上下のフレーム分けをやめた。 カウンターの関係で意外とこれが大変だった。
新着・更新情報BBS機能\をつけた。 想像どおり大変だった。
パーソ\ナルリンク機能\をつけた。 まさに思いつき。割に実現は簡単だった。
意外と使えるっぽいのが一番意外(笑)。
検索機能\をつけた 遅れ馳せながら…。今最も満足していない機能\のひとつ。
更新情報の登録機能\をつけた。 やり方は他にもありそうですが、今はとりあえず。
管理者の方ご利用下さい。m(__)m
サンプル動画など登録項目を増やした。 これぞ他力本願(笑)。そこをなんとかひとつ。
キーワードを追加した これが一番閲覧者の方からの要望が多かった。
ランキング表\示可能\数を増やした。 とりあえず180…。2秒でいくらでも増やせますじょ(笑)
キーワード表\示を番号から文字に変更した。 「わかりづらい」(by SIRO氏\@初心者の館)
見やすくなったかどうかはちょっと疑問(^。^;)
相互リンクランキングの更新が定期になった。 今までも定期だったんですけど、あまりに
間隔がありすぎて、意味が無かったのを改善しました。
広告がランダム表\示になり、
クリックカウントも強化した。
閲覧者の方にはあんまり関係無いですけど。
コンテンツの英語対応(未完成) 多言語化を念頭において開発を始めたが、
途中で飽きた(爆)

【今後の開発予\定】
総合 死ぬほどあるバグの修正(-_-;)
$bigbanner
"; } elsif ($page == 3) { #======================================================================== page3 $htmlbuf .= "
"; &make_sponsor_header; $htmlbuf .= " $sponsor_header
$discribe
"; for ($xx = 4;$xx <= 18;$xx++) { if (($xx > 4) && ((($xx - 4) % 3) == 0)) { $htmlbuf .= ""; } $work1 = ($xx-4)*$ranking_unit+1; $work2 = ($xx-3)*$ranking_unit; if ($xx == $page) { $htmlbuf .= ""; } else { if ($data_count > ($xx-4)*$ranking_unit) { $htmlbuf .= ""; } else { $htmlbuf .= ""; } } } $htmlbuf .= "
 ■総合ランキングメニュー   現在 $data_count 件の情報が登録されています。
$work1〜$work2位$work1〜$work2位$work1〜$work2位
$bigbanner
$bigbanner2
$bigbanner3
$bigbanner4
"; } elsif (($page >= 4) && ($page <= 18)) { #======================================================================== page4-18 $htmlbuf .= "
$sponsor_center
"; #-----------------------------------------------------------総合ランキング open (RANKING, "$ranking_file[($page-1)]") || &error("unable to open $ranking_file[($page-1)]"); @ranking = ; close (RANKING); foreach $line (@ranking) { $htmlbuf .= "$line"; } # $htmlbuf .= "
$sponsor_center2
$discribe
$bigbanner
$bigbanner2
"; } elsif ($page == 20) { #======================================================================== page20 &make_sponsor_header; $htmlbuf .= "
$sponsor_header
$discribe
$ranking_sites
"; for ($xx = 21;$xx <= 32;$xx++) { if (($xx >= 23) && ($xx - (int($xx/2))*2 == 1)) { $htmlbuf .= ""; } $htmlbuf .= ""; } $htmlbuf .= "
 ■キーワード別ランキングメニュー
$keyword_item[$xx-21]
$bigbanner
$bigbanner2
$bigbanner3
$bigbanner4
"; } elsif (($page >= 21) && ($page <= 32)) { #======================================================================== page21-32 $htmlbuf .= "
$sponsor_center
"; #-----------------------------------------------------------キーワード別ランキング open (RANKING, "$keyword_file[($page-21)]") || &error("unable to open $keyword_file[($page-21)]"); @ranking = ; close (RANKING); foreach $line (@ranking) { $htmlbuf .= "$line"; } # $htmlbuf .= "
$sponsor_center2
$discribe
$bigbanner
$bigbanner2
$bigbanner3
$bigbanner4
"; } elsif ($page == 40) { #======================================================================== page40 $htmlbuf .= "
$thanks_sites
"; #-----------------------------------------------------------相互リンク・ランキング open (THANKS, "$referer3_txt") || &error("unable to open $referer3_txt"); @thanks = ; close (THANKS); foreach $line (@thanks) { $htmlbuf .= "$line"; } # $htmlbuf .= "
"; #-----------------------------------------------------------バナー open (BANNERS, "$banners_file") || &error("unable to open $banners_file"); @banners = ; close (BANNERS); foreach $line (@banners) { $htmlbuf .= "$line"; } # $htmlbuf .= "
"; } elsif ($page == 50) { #======================================================================== page50 &make_sponsor_header; $htmlbuf .= " "; $dummy .= " "; $htmlbuf .= " "; } } else { #======================================================================== page0 &make_sponsor_header; $htmlbuf .= "
$sponsor_header
※標準広告プランの募集を再開致しました。お気軽にメールにてお問合わせ下さい。
"; #-----------------------------------------------------------スペシャル if (length($sponsor_big_1)) { $htmlbuf .= "$sponsor_big_1"; $htmlbuf .= "
"; } if (1) { if (-f "$system_path/fc2movie.dat") { open(FC2DB, "$system_path/fc2movie.dat") || die "Can't open $system_path/fc2movie.dat\n"; flock(FC2DB, 1); @fc2data = ; close (FC2DB); $last_id = $fc2data[0]; $last_id =~ s/\n//; } $htmlbuf .= " "; } if (1) { if ($last_id > 25) { $last_id = 25; } for ($i=$last_id;$i>=1;$i--) { $work_id = $fc2data[$i*5-5]; $work_id =~ s/\n//; if ($work_id) { $work_thumbnail_link = $fc2data[$i*5-3]; $work_thumbnail_link =~ s/\n//; $work_text_link = $fc2data[$i*5-2]; $work_text_link =~ s/\n//; $htmlbuf .= " "; } } } if (1) { $htmlbuf .= "
 ■FC2動画ピックアップ 最近噂\のFC動画から公開許可されている長時間動画をご紹介
$work_thumbnail_link
ウィンドウで再生
(時間帯や条件によって再生できない場合があります。)

再生できない場合はこちらをクリック
$work_text_link
"; } if(1) { $htmlbuf .= "
 ■AV D:E:L:I スマホ対応 スマホなら高画質無料動画。あの毛の一本一本まで見えます。

"; $dummy .= " "; $htmlbuf .= " # # #
$sponsor_header
※標準広告プランの募集を再開致しました。お気軽にメールにてお問合わせ下さい。
"; #-----------------------------------------------------------スペシャル if (length($sponsor_big_1)) { $htmlbuf .= "$sponsor_big_1"; $htmlbuf .= "
"; } $htmlbuf .= " $specialthanks
"; # if ($maincount == 50000000) { # # open(MAIL,"|$mailsystem_location -t") || &error("unable to use mailsystem $mailsystem_location"); # print MAIL "To: $system_email\n"; # print MAIL "From: $system_email\n"; # print MAIL "Subject: [MDZ] Congraturation! 10,000,000 access reached.\n\n"; # print MAIL "$system_nameに更新情報の登録がありました。\n\n"; # # ($sec, $min, $hour, $mday, $mon, $year,$wday, $yday1, $isdst) = localtime($current_time); # $current_time_p = sprintf("%02d/%02d/%02d %02d:%02d:%02d", $year-100, $mon+1, $mday, $hour, $min, $sec); # # print MAIL "無料動画Zが50,000,000アクセスを達成しました。\n"; # print MAIL "達成時刻:$current_time_p\n"; # print MAIL "達成時閲覧者IPアドレス:$remote_host\n"; # print MAIL "\n"; # print MAIL "------------------------------------------------------------\n"; # print MAIL "\n\n"; # # close (MAIL); # # } # # if ($maincount >= 50000000) { # #$htmlbuf .= " # # # # #
#
#50,000,000アクセス ありがとうございました。
# #
# #お蔭様で大台達成致しました。諸先輩方、スポンサー様、相互リンクサイト様、
#そして閲覧下さった皆様のおかげです。ありがとうございました。
#こんな数字を迎える日が来るとは当初は全く予\想しておりませんでした。
#今後ともご指導、ご利用、何卒宜しくお願い申\し上げます。m(__)m 管理人
#
#
#
#
# #
# #"; # # } #-----------------------------------------------------------相互リンク・ランキング open (THANKS, "$referer1_txt") || &error("unable to open $whatsnew_db"); @thanks = ; close (THANKS); foreach $line (@thanks) { $htmlbuf .= "$line"; } $htmlbuf .= "
"; $htmlbuf .= " $sponsor_center
"; if (0) { #-----------------------------------------------------------スペシャル open (SPECIAL, "$ranking_file[2]"); @special = ; close (SPECIAL); foreach $line (@special) { $htmlbuf .= "$line"; } # $htmlbuf .= "
"; } if (0) { $htmlbuf .= " $discribe
"; } #だめならs001180 if ($sponsor_big_2) { $htmlbuf .= " $sponsor_big_2
"; } if (1) { #-----------------------------------------------------------BBS open (BBSPAGE, "./$mdzbbs_txt") || &error("unable to open $mdzbbs_txt"); @bbspage = ; close (BBSPAGE); foreach $line (@bbspage) { $htmlbuf .= "$line"; } $htmlbuf .= "
"; } if (-r "./todaymovie.dat") { open(FILE, "./todaymovie.dat") || die "2 Can't open ./todaymovie.dat \n"; flock(FILE, 1); $todaymovie = ; ($datapos,$todaymovie,$dummy) = split (/\t/,$todaymovie); close (FILE); } if (-r "./mdzmovie.db") { open(FILE2, "./mdzmovie.db") || die "2 Can't open ./mdzmovie.db \n"; flock(FILE2, 1); @db = ; close (FILE2); $work = $#db/20; $movienumber = $db[0]; $movienumber =~ s/\n//g; $point=0; if ($todaymovie) { $point=$datapos; # for($i=0;$i<=$#db;$i++) { # if ($db[$i] == $todaymovie) { # $point= $i-1; # } # } } $id = $db[$point+1]; $id =~ s/\n//g; $title = $db[$point+3]; $title =~ s/\n//g; # $actress = $db[$point+4]; # $actress =~ s/\n//g; $maker = $db[$point+5]; $maker =~ s/\n//g; $makerurl = $db[$point+6]; $makerurl =~ s/\n//g; # $work_keyword = $db[$point+7]; # $work_keyword =~ s/\n//g; # @work = split(/\|/, $work_keyword); # for($j=0;$j<=$#work;$j++) { # $keyword[$work[$j]]= 1; # } # $thumbnail = $db[$point+9]; # $thumbnail =~ s/\n//g; $flash = $db[$point+10]; $flash =~ s/\n//g; # $movie = $db[$point+11]; # $movie =~ s/\n//g; # $filesize = $db[$point+12]; # $filesize =~ s/\n//g; # $time = $db[$point+13]; # $time =~ s/\n//g; # $rate = $db[$point+14]; # $rate =~ s/\n//g; $registereddate = $db[$point+18]; $registereddate =~ s/\n//g; ($work_sec, $work_min, $work_hour, $work_mday, $work_mon, $work_year, $work_wday, $work_yday) = localtime($registereddate); $work_year = $work_year + 1900; $work_mon++; $work_yday++; $work_registereddate = sprintf("%02d/%02d", $work_mon, $work_mday); # $work_registeredtime = sprintf("%02d:%02d:%02d", $work_hour, $work_min, $work_sec); $movieid = $db[$point+1]; $movieid =~ s/\n//; $movieid = sprintf("%04d", $movieid); } if (1) { if (-f "$system_path/fc2movie.dat") { open(FC2DB, "$system_path/fc2movie.dat") || die "Can't open $system_path/fc2movie.dat\n"; flock(FC2DB, 1); @fc2data = ; close (FC2DB); } $htmlbuf .= " "; } if (1) { for ($i=4;$i>=1;$i--) { $work_id = $fc2data[$i*5-5]; $work_id =~ s/\n//; if ($work_id) { $work_thumbnail_link = $fc2data[$i*5-3]; $work_thumbnail_link =~ s/\n//; $work_text_link = $fc2data[$i*5-2]; $work_text_link =~ s/\n//; $htmlbuf .= " "; } } } if (1) { $htmlbuf .= "
 ■FC2動画ピックアップ 最近噂\のFC動画から公開許可されている長時間動画をご紹介
$work_thumbnail_link
ウィンドウで再生
(時間帯や条件によって再生できない場合があります。)

再生できない場合はこちらをクリック
$work_text_link
[ バックナンバーはこちら ]
"; } if(0) { $htmlbuf .= "
 ■風俗動画サイト紹介 新企画!。安心安全で楽しめる優良サイト様を一挙ご紹介
風俗動画サイト紹介 全国 100人以上 顔出し wmv 最長60分弱
総合 過激度:◎ 画質:◎ 保存:◎ 楽しめます

安心!新鮮!。今オススメのジャンル「風俗紹介動画」一挙ご紹介!

風俗動画サイト紹介ページはこちらからご覧下さい
"; } $htmlbuf .= "
 ■無料動画ページ 2007年2月リニューアルしました。さらに高画質化&高音質化。是非お楽しみ下さい!
各メーカー様と実力派レビューサイト VideoLife様のご協力の元
最新AVサンプルを、業界最高水準の高画質でお送りします。
また、バックナンバーもジャンルや女優名から検索出来ます。

$title"; if (length($title) >30) { $htmlbuf .= "
"; } else { $htmlbuf .= " "; } $htmlbuf .= "<メーカー:$conf_maker[$maker]>

無料動画ページはこちらからご覧下さい
"; if(1) { $htmlbuf .= "
 ■AV D:E:L:I スマホ対応 スマホなら高画質無料動画。あの毛の一本一本まで見えます。

"; } if (1) { $htmlbuf .= "
 ■風俗リアルタイムニュース レンタル出勤表\システムと連動して配信しています。参加希望の風俗店様はこちらをご覧下さい
"; } $htmlbuf .= " $sponsor_center2
"; #-----------------------------------------------------------パーソナルリンク $htmlbuf .= " "; $plink = $COOKIE{'plink'}; if (length($plink) == 0) { $htmlbuf .= ""; } else { $plink_cnt =0; @plink = split(/\t/,$plink); foreach $item(@plink) { for ($i=0 ; $i <= $#database_array ; $i++){ @members_array = split("\t", $database_array[$i]); if ($members_array[1] == $item) { last; } } if ($members_array[1] == $item) { $plink_cnt++; #詳細テーブル作成 #文字列編集 $id = $members_array[1]; $work = $members_array[2]; $rk = $rank[$work]; $rksz = $rank_size[$work]; $rkcl = $rank_color[$work]; $sn = $members_array[3]; #リンク先url if ($members_array[26] == 1) { $su = "$members_array[5]"; } else { $su = $members_array[5]; } #表示用url if (length($members_array[6]) > 3) { $sup = $members_array[6]; } else { $sup = $members_array[5]; } if (length($sup) > 23) { $sup = substr($sup,0,23); $sup .= "\~"; } $nmsz = $name_size[$work]; #キーワードの編集 $keyword_p = ""; for ($xx = 31; $xx <= 42; $xx++) { if ($xx == 37) { $keyword_p .= "
"; } if ($members_array[$xx] == 1) { $keyword_p .= "$mark[$xx - 31]"; } else { $keyword_p .= "   "; } } #支持率計算 $a=$members_array[24]; $b=$members_array[25]; if ($a == 0) { $siji = "0"; } else { $siji = int(($a / ($a + $b)) *100) ; } #(DMM)----------------------------------------- if ($su =~/www.dmm.co.jp/) { $su = "$dmm_home"; } #----------------------------------------------- $htmlbuf .= ""; $htmlbuf .= "\n"; } else { $htmlbuf .= "$rk\n"; } $htmlbuf .= "\n"; $htmlbuf .= "\n"; $htmlbuf .= "\n"; $htmlbuf .= "\n"; $htmlbuf .= "\n"; $htmlbuf .= "\n"; $htmlbuf .= "\n"; $htmlbuf .= "\n"; $htmlbuf .= "\n"; if (length($members_array[14]) > 3) { $htmlbuf .= "\n"; } else { $htmlbuf .= "\n"; } $htmlbuf .= "\n"; $htmlbuf .= "\n"; $htmlbuf .= "\n"; $htmlbuf .= "\n"; $htmlbuf .= "\n"; } } } if ($plink_cnt < 2) { $htmlbuf .= " "; } } $htmlbuf .= "
 ■パー\ソ\ナルリンク  ( あなたのお気に入りのサイトをカスタマイズ表\示できます。 )

現在、登録されているサイトはありません。

\n"; if (($members_array[21] == 0) && ($members_array[2] != 9)) { $htmlbuf .= "$rk"; $htmlbuf .= ""; $htmlbuf .= "$sn$members_array[8]$item_data_number[$members_array[9]]$item_data_time[$members_array[10]]
($item_data_average[$members_array[11]])
$keyword_p $a/$b
($siji\%)
\n"; $htmlbuf .= "機能\
\n"; $htmlbuf .= "サンプル\n"; $htmlbuf .= "サンプル\n"; $htmlbuf .= "$sup$item_site_kind[$members_array[7]]$members_array[12]

※このスペースには、$system_nameに登録されているサイトの中から、あなたのお気に入りの
   サイトへのリンクを表\示することが可能\です。お気に入りのサイトの情報から「機能\」をクリック
   し「パーソ\ナ\ルリンク」をチェックして下さい。次回よりそのサイトへの情報が表\示されます。
   (Cookieを使用しています。ブラウザの設定によってはご利用頂けない場合もあります。)

"; #---------------------------------------------------------- $htmlbuf .= "
"; if ($page == 0) { $htmlbuf .= ""; } else { $htmlbuf .= ""; } if ($page == 1) { $htmlbuf .= ""; } else { $htmlbuf .= ""; } if ($page == 2) { $htmlbuf .= ""; } else { $htmlbuf .= ""; } if (($page >= 3) && ($page <= 18)) { $htmlbuf .= ""; } else { $htmlbuf .= ""; } if (($page >= 20) && ($page <= 32)) { $htmlbuf .= ""; } else { $htmlbuf .= ""; } $htmlbuf .= " "; if ($page == 40) { $htmlbuf .= ""; } else { $htmlbuf .= ""; } $htmlbuf .= "
$page_title[0]
$page_title[0]
$page_title[1]
$page_title[1]
$page_title[2]
$page_title[2]
$page_title[3]
$page_title[3]
$page_title[4]
$page_title[4]
$page_title[5]
$page_title[6]
$page_title[7]
$page_title[8]
$page_title[8]

$sponsor_footer
"; print &set_cookie("count", $maincount); print &set_cookie("date", $date); print &set_cookie("today", $today); print &set_cookie("yesterday", $yesterday); print "Content-type: text/html\n\n"; #$htmlbuf =~ s/[\r\n]//g; print $htmlbuf; exit; #------------------------------------------スポンサー作成(ヘッダ部) sub make_sponsor_header{ #-----------------------------------------------------シャッフル部の作成 if ($sponsor_shuffle == 1) { srand(); for ($xx = 1;$xx <= $sponsor_max;$xx++) { $numcheck[$xx] = $xx; } $work = int(rand($sponsor_max)) + 1; for ($i = 1; $i <= $sponsor_max; $i++) { until ($numcheck[$work] != 0) { $work = int(rand($sponsor_max)) + 1; } $numcheck[$work] = 0; $root[$i] = $work; } } else { for ($i = 1; $i <= $sponsor_max; $i++) { $root[$i] = $i; } } #----------------------------------------------------- $sponsor_header = " "; $pos = 0; for ($xx = 1; $xx <= $sponsor_max; $xx++) { $zz = $root[$xx]; if ($pos == 0) { $sponsor_header .= ""; } if ($sponsor_href[$zz] eq "1") { $sponsor_header .= " "; } if ($sponsor_href[$zz] eq "2") { $sponsor_header .= " "; } if ($sponsor_href[$zz] eq "3") { $sponsor_header .= " "; } if (length($sponsor_href[$zz]) > 1) { if ($sponsor_alt[$zz] eq "-") { $sponsor_alt[$zz] = $sponsor_comment[$zz]; } $sponsor_header .= ""; } else { if ($sponsor_outcount[$zz]) { $sponsor_header .= ""; } else { $sponsor_header .= ""; } $sponsor_header .= "\"$sponsor_alt[$zz]\"
$sponsor_comment[$zz]
"; } } if ($pos == 1) { $sponsor_header .= ""; $pos = 0; } else { $pos = 1; } } $sponsor_header .= "
 $sponsor_title $sponsor_subtitle
広告募集中
予\約\済\
調整中
"; if ($sponsor_image[$zz] =~ /\.swf/) { $sponsor_header .= "
$sponsor_comment[$zz]
"; } #------------------------------------------スポンサー作成(フッタ部&中央部用) sub make_sponsor{ #-----------------------------------------------------シャッフル部の作成 for ($xx = 1;$xx <= $sponsor_max;$xx++) { $numcheck[$xx] = $xx; } $work = int(rand($sponsor_max)) + 1; for ($i = 1; $i <= 6; $i++) { until ($numcheck[$work] != 0) { $work = int(rand($sponsor_max)) + 1; } $numcheck[$work] = 0; $root[$i] = $work; } $sponsor_center = " "; for ($xx = 1; $xx <= 2; $xx++) { $zz = $root[$xx]; if ($sponsor_href[$zz] eq "1") { $sponsor_center .= ""; } if ($sponsor_href[$zz] eq "2") { $sponsor_center .= " "; } if ($sponsor_href[$zz] eq "3") { $sponsor_center .= " "; } if (length($sponsor_href[$zz]) > 1) { if ($sponsor_alt[$zz] eq "-") { $sponsor_alt[$zz] = $sponsor_comment[$zz]; } $sponsor_center .= ""; } else { if ($sponsor_outcount[$zz]) { $sponsor_center .= ""; } else { $sponsor_center .= ""; } $sponsor_center .= "\"$sponsor_alt[$zz]\"
"; } } } $sponsor_center .= "
 $sponsor_title $sponsor_subtitle
広告募集中
予\約\済\
調整中
"; if ($sponsor_image[$zz] =~ /\.swf/) { $sponsor_center .= "
"; $sponsor_footer = ""; for ($xx = 3; $xx <= 4; $xx++) { $zz = $root[$xx]; if ($sponsor_href[$zz] eq "1") { $sponsor_footer .= ""; } if ($sponsor_href[$zz] eq "2") { $sponsor_footer .= ""; } if ($sponsor_href[$zz] eq "3") { $sponsor_footer .= ""; } if (length($sponsor_href[$zz]) > 1) { if ($sponsor_alt[$zz] eq "-") { $sponsor_alt[$zz] = $sponsor_comment[$zz]; } $sponsor_footer .= ""; } else { if ($sponsor_outcount[$zz]) { $sponsor_footer .= ""; } else { $sponsor_footer .= ""; } $sponsor_footer .= "\"$sponsor_alt[$zz]\"
"; } } } $sponsor_footer .= "
広告募集中
予\約\済\
調整中
"; if ($sponsor_image[$zz] =~ /\.swf/) { $sponsor_footer .= "
"; $sponsor_center2 = ""; for ($xx = 5; $xx <= 6; $xx++) { $zz = $root[$xx]; if ($sponsor_href[$zz] eq "1") { $sponsor_center2 .= ""; } if ($sponsor_href[$zz] eq "2") { $sponsor_center2 .= ""; } if ($sponsor_href[$zz] eq "3") { $sponsor_center2 .= ""; } if (length($sponsor_href[$zz]) > 1) { if ($sponsor_alt[$zz] eq "-") { $sponsor_alt[$zz] = $sponsor_comment[$zz]; } $sponsor_center2 .= ""; } else { if ($sponsor_outcount[$zz]) { $sponsor_center2 .= ""; } else { $sponsor_center2 .= ""; } $sponsor_center2 .= "\"$sponsor_alt[$zz]\"
"; } } } $sponsor_center2 .= "
 $sponsor_title $sponsor_subtitle
広告募集中
予\約\済\
調整中
"; if ($sponsor_image[$zz] =~ /\.swf/) { $sponsor_center2 .= "
"; } #------------------------------------------カウンター関連 sub counter { #--------------------------------------------------------------------- Cookieの値を得る $maincount = $COOKIE{'count'}; if ($maincount eq "") { $maincount = -1; $maincountsw = 1; } $date = $COOKIE{'date'}; if ($date eq "") { $date = 0; $maincount = -1; $maincountsw = 1; } else { if (( $current_time - $date) > 3600 ) { $maincount = -1; $maincountsw = 1; } } $today = $COOKIE{'today'}; $yesterday = $COOKIE{'yesterday'}; $seed = rand(1); # if ($maincount == -1) { if (1) { $date = $current_time; #------------------------------------------------------------------------------------- if (-f "$system_path/$mdz_count_dat") { open(MAIN, "+< $system_path/$mdz_count_dat") || die "1 Can't open the counter file to write.\n"; flock(MAIN, 2); $maincount =
; truncate(MAIN, 0); seek(MAIN, 0, 0); $maincount++; if ($seed < 0.8) { $maincount++; $maincount++; $maincount++; } elsif ($seed < 0.9) { $maincount++; } print MAIN $maincount; close(MAIN); } else { $maincount = 0; open(MAIN, "> $system_path/$mdz_count_dat") || die "2 Can't open the counter file to write.\n"; flock(MAIN, 2); print MAIN $maincount; close(MAIN); chmod(0666,""); } #--------------------------------------------------------------------------- $count_basedir = "$system_path\/"; #一昨日(48時間前)のファイル名(削除するファイル名) ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time - 48*60*60); $date2 = sprintf("%02d%02d",$mon +1,$mday); $delfile = $count_basedir . $date2; #必要なくなった一昨日のファイルを削除する unlink("$delfile"); #昨日(24時間前)のファイル名 ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time - 24*60*60); $date1 = sprintf("%02d%02d",$mon +1,$mday); $yesterday_file = $count_basedir . $date1; #本日のファイル名 ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); $date0 = sprintf("%02d%02d",$mon +1,$mday); $today_file = $count_basedir . $date0; #本日のファイルに改行(1バイト)を1つ追加する open(NEW,">>$today_file"); if ($seed < 0.8) { print NEW "\n\n\n\n"; } elsif ($seed < 0.9) { print NEW "\n\n"; } else { print NEW "\n"; } close NEW; #FTPで編集できるようにモード変更しておく chmod(0666,$today_file); #本日のカウント数(サイズ)を取得 if (!-z $today_file && -e $today_file) { $today = -s $today_file; } else { $today = 1; } #昨日のカウント数(サイズ)を取得 if (!-z $yesterday_file && -e $yesterday_file) { $yesterday = -s $yesterday_file; } else { $yesterday = 0; } if (!$maincountsw) { $maincount = $COOKIE{'count'}; $today = $COOKIE{'today'}; $yesterday = $COOKIE{'yesterday'}; } &set_cookie; } } # # Cookieの値を読み出す # sub get_cookie { local($xx, $name, $value); for $xx (split(/; */, $ENV{'HTTP_COOKIE'})) { ($name, $value) = split(/=/, $xx); $value =~ s/%([0-9A-Fa-f][0-9A-Fa-f])/pack("C", hex($1))/eg; $COOKIE{$name} = $value; } } # # Cookieに値を書き込むためのSet-Cookie:ヘッダを生成する # sub set_cookie { local($tmp, $val); $expires = &get_time_GMT($^T + 60 * 60); $val = $_[1]; $val =~ s/(\W)/sprintf("%%%02X", unpack("C", $1))/eg; $tmp = "Set-Cookie: "; $tmp .= "$_[0]=$val; "; $tmp .= "path=/; "; # $tmp .= "expires=$expires;\n"; $tmp .= "\n"; return($tmp); } ##### GMTを得る(クッキー用) sub get_time_GMT{ local($tsec) = @_; local($sec, $min, $hour, $mday, $mon, $year, $wday) = gmtime($tsec); $wday = ('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat')[$wday]; $mon = ('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec')[$mon]; $year += 2000; return sprintf("$wday, %02d-$mon-$year %02d:%02d:%02d GMT", $mday, $hour, $min, $sec); } sub comma { local($_) = $_[0]; 1 while s/(.*\d)(\d\d\d)/$1,$2/; $_; } #------------------------------------------エラールーティン sub error{ print "Content-type: text/html\n\n"; $errors = $_[0] ; print <