#!/bin/bash
SMA="/usr/sbin/sendmail"
grep="grep"
#AL="website122503@radparker.com"
AL="may2008contact@aliverson.com"
#code,name,email,url
LIST="al,Al Iverson,$AL,http://www.aliverson.com
aq,the AQ Webmaster,$AL,http://www.mnjazz.com
wombatlink,Al Iverson,$AL,http://www.wombatlink.com
blog,Al Iverson,$AL,http://www.aliverson.com
spamr,Al Iverson,$AL,http://www.spamresource.com
dnsbl,Al Iverson,$AL,http://www.dnsbl.com
coi,Al Iverson,$AL,http://nct.digitalriver.com/fulfill/0010.019
rdt,Al Iverson,$AL,http://www.radparker.com
brad,Brad Bellows,bbellows@pconline.com,http://www.mnjazz.com/brad/
don,Don Berryman,don@berryman.com,http://don.berryman.com
pat,Pat Cannon,goon@skypoint.com,http://www.skypoint.com/~goon/
laurel,Laurel Krahn,laurel@windowseat.org,http://www.windowseat.org
billy,Billy Peterson,planetwillard@gmail.com,http://www.billypeterson.com
peter,Peter Schimke,peter@peterschimke.com,http://www.peterschimke.com
davis,Davis Wilson,davis@daviswilson.com,http://www.procrasto.org
zagozen,Michelle Zagozen,zagozen@hotmail.com,http://www.zagozen.com
larry,Larry Lucio,larry@amplifiedlife.com,http://www.amplifiedlife.com
phil,Phil Hey,philhey@msn.com,http://www.philhey.com
paula,Paula Cisewski,paula@greenfincheditions.com,http://www.greenfincheditions.com
brian,Brian McNett,bmcnett@spamresource.com,http://consult.spamresource.com
philhey,Phil Hey,philhey@mnjazz.com,http://www.philhey.com
philaaron,Phil Aaron,philaaron@mnjazz.com,http://www.philhey.com
davehagedorn,Dave Hagedorn,davehagedorn@mnjazz.com,http://www.philhey.com
tomlewis,Tom Lewis,tomlewis@mnjazz.com,http://www.philhey.com
aldr,Al Iverson,aiverson@digitalriver.com,http://www.digitalriver.com
nanabl,NANABL Moderators,moderators@blocklisting.com,http://www.blocklisting.com"
cat << EOF
Content-type: text/html
wombatmail | chicago
EOF
eval "`/usr/bin/proccgi $*`"
function display_error {
ERR=`echo "$1" | sed "s/_/ /g"`
cat << EOF
Error: $ERR.
EOF
#set
footer
exit 0;
}
function decode_code {
DATA=`echo "$LIST" | grep "^$CODE," | head -1`
NAME=`echo "$DATA" | cut -d"," -f2`
EMAIL=`echo "$DATA" | cut -d"," -f3 | tr [A-Z] [a-z]`
URL=`echo "$DATA" | cut -d"," -f4`
WACKY=`echo "$EMAIL" | sed -f /var/www/letterimages.sed`
TABLE=""
}
function display_navbar {
cat << EOF
EOF
}
function footer {
cat << EOF
|
|
EOF
}
function display_form {
cat << EOF