#!/usr/bin/perl use vars qw(%config %category %form); use strict; require "vars.cgi"; require "password.cgi"; #-########################################################################### # # 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/ # # * MM/YYYY # Name (email) - Modification # Availability # #-############################# # MAKE YOUR CATEGORIES BELOW # #-############################# # Configuration Section # Edit these variables! %category = ( antique => 'Asian Antiques', arts => 'Asian Arts', books => 'Asian Books', games => 'Games', software => 'Software', go => 'Weiqi (Go Game)', xiangqi => 'Xiangqi (Chinese Chess)', other => 'Others', ); ############################### $config{'header'} =<<"EOF";
![]() Online Auction |
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";

[Category List]"; print " [Post New Item]" if ($config{'newokay'}); print " [New Registration] [Change Registration]" if ($config{'regdir'}); print " [Closed Auctions]" 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 | Items |
| $category{$key} | $numfiles |
| Item | Closes | Num Bids | High Bid |
| $title"; print " [PIC]" if ($image); print " | $closetime[4]/$closetime[3] | $#bids | \$$bid |
|