#!/usr/bin/perl -- use vars qw(%config %category %form); use strict; use MIME::Base64; #require 'mimew.pl'; require 'jcode.pl'; #-########################################################################### # # EveryAuction Release Version 1.51 (5/13/00) # Copyright (C) 2000 EverySoft # http://www.everysoft.com/ # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # #-########################################################################### # # Modification Log (please add new entries to bottom): # # * 02/2000 # Matt Hahnfeld (matth@everysoft.com) - Original Concept and Design # Version available from http://www.everysoft.com/ # # * 06/2000 # Yukiyasu Murakami (yukiyasu.murakami@zebec.co.jp) - Japanese(EUC) version. # please refer to a readme file or http://www.zebec.co.jp/ # # * MM/YYYY # Name (email) - Modification # Availability # #-########################################################################### #-############################################# # Configuration Section # Edit these variables! local %config; # The Base Directory. We need an # absolute path for the base directory. # Include the trailing slash. THIS SHOULD # NOT BE WEB-ACCESSIBLE! # 以下のディレクトリはWebで参照付加であること。また、httpサーバが書き込めること。 $config{'basepath'} = '/home/www/auctiondata/'; # # その他のディレクトリはデフォルトのままで十分です。 # # Closed Auction Directory # This is where closed auction items are stored. # Leave this blank if you don't want to store # closed auctions. It can potentially take # up quite a bit of disk space. # オークション終了したものが格納されるディレクトリ # 保存しない場合は空白にする。 $config{'closedir'} = 'closed'; # User Registration Directory # This is where user registrations are stored. # Leave this blank if you don't want to # require registration. It can potentially # take up quite a bit of disk space. # ユーザ情報用のディレクトリ # 保存しない場合は空白にする。 $config{'regdir'} = 'reg'; # List each directory and its associated # category name. These directories should # be subdirectories of the base directory. # カテゴリに関連付けられたディレクトリの一覧 # BASE Directoryに作られます。 %category = ( computer => '木のおもちゃ', # elec => '家電製品', # other => 'その他', ); # This is the password for deleting auction # items. $config{'adminpass'} = 'asobigokoroauc'; # You need to assign either a mail program or # a mail host so confirmation e-mails can # be sent out. # Leave one commented and one uncommented. # # YOU NEED EITHER A MAIL PROGRAM $config{'mailprog'} = '/usr/sbin/sendmail -t'; # # OR YOU NEED A MAIL HOST (SMTP) #$config{'mailhost'} = 'localhost'; # This line should be your e-mail address $config{'admin_address'} = 'asobigokoro@lifestamp.com'; # This line should point to the URL of # your server. It will be used for sending # "you have been outbid" e-mail. The script # name and auction will be appended to the # end automatically, so DO NOT use a trailing # slash. If you do not want to send outbid # e-mail, leave this blank. $config{'scripturl'} = 'www.lifestamp.com'; # This will let you define colors for the # tables that are generated and the # other page colors. The default colors # create a nice "professional" look. Must # be in hex format. $config{'colortablehead'} = '#FFCC00'; $config{'colortablebody'} = '#FFFF99'; # Site Name (will appear at the top of each page) $config{'sitename'} = '「遊び心」店長の気まぐれオークション'; # You can configure your own header which will # be appended to the top of each page. $config{'header'} =<<"EOF";
|
$config{'sitename'}
珍品・逸品・一点モノをぼちぼち?出品致します |
EOF # You can configure your own footer which will # be appended to the bottom of each page. # Although not required, a link back to # everysoft.com will help to support future # development. $config{'footer'} =<<"EOF";
[カテゴリ一覧]"; #print " [新規商品登録]" if ($config{'newokay'}); print " [新規ユーザ登録] [ユーザ登録変更]" if ($config{'regdir'}); print " [終了したオークション]" if ($config{'regdir'}) and ($config{'closedir'}); print "
\n"; print $config{'footer'}; # #-############################################# #-############################################# # Sub: Display List Of Categories # This creates a "nice" list of categories. sub dispcat { print "| カテゴリ | 商品 |
| $category{$key} | $numfiles |
| 商品 | 終了 | 入札数 | 最高入札額 |
| $title"; print " [写真]" if ($image); print " | $closetime[4]/$closetime[3] | $#bids | \\$bid |
|