#!/usr/local/bin/perl #オリジナル #┌───────────────────────────────── #│ JOYFUL NOTE v1.33 (2002/06/06) #│ Copyright(C) Kent Web 2002 #│ webmaster@kent-web.com #│ http://www.kent-web.com/ #└───────────────────────────────── #カスタマイズ #┌───────────────────────────────── #│ ROCO ALBUM v1.20 (2003/05/28) #│ Copyright(C) Rocomotion 2002-2003 #│ webmaster@rocomotion.net #│ http://www.rocomotion.net #└───────────────────────────────── $ver = 'ROCO ALBUM v1.20'; #┌───────────────────────────────── #│ [注意事項] #│ 1. このスクリプトはフリーソフトです。このスクリプトを使用した #│ いかなる損害に対して作者は一切の責任を負いません。 #│ 2. 設置に関する質問はサポート掲示板にお願いいたします。 #│ 直接メールによる質問は一切お受けいたしておりません。 #│ 3. 添付の home.gif は L.O.V.E の mayuRin さんによる画像です。 #└───────────────────────────────── #--------- #設定開始 #--------- # 管理者用マスタパスワード (英数字で8文字以内) $pass = 'ceracera'; #--------- #設定完了 #--------- # ライブラリ取込 require './jcode.pl'; require './cgi-lib.pl'; require './ralbum.ini'; # メイン処理 &decode; &axs_check; if ($mode eq "howto") { &howto; } elsif ($mode eq "write") { &form; } elsif ($mode eq "usr_del") { &usr_del; } elsif ($mode eq "usr_edt") { &usr_edt; } elsif ($mode eq "regist") { ®ist; } elsif ($mode eq "past") { &past; } elsif ($mode eq "check") { ✓ } &html_log; #----------------# # アクセス制限 # #----------------# sub axs_check { # ホスト名を取得 &get_host; local($flag)=0; foreach (split(/\s+/, $deny)) { s/\*/\.\*/g; if ($host =~ /$_/i) { $flag=1; last; } } if ($flag) { &error("アクセスを許可されていません"); } } #--------------# # 記事表示部 # #--------------# sub html_log { local($wh,$i,$flag); # ヘッダを出力 &header; # タイトル部 print "
\n"; }
if ($t_img eq '') {
print "$title\n";
} else {
print "\n";
}
print "
\n";
if ($in{'action'} eq "view") {
print "
| \n"; print "<< back \n"; print " |
| <<top | \n"; #カウンター処理 if ($in{'action'} ne "view") { if ($counter) { print "VIEW : \n"; &counter; } } print " |
| \n";
print " \n"; print " $sub\n"; print " \n"; print " $year1/$month1/$day1 〜 $year2/$month2/$day2 \n";
print "\n"; print " \n"; print " comment ";
print "$$comno \n";
print "\n"; print " \n"; print "\n"; print " | \n";
print "