#! /bin/sh
# 310597: Daniel Goetz, DL3NEU
# dpprefix
echo "Content-type: text/html"
echo
echo "<HTML><HEAD>"
echo "<TITLE>DPBOX search engine</TITLE>"
echo "</HEAD><BODY>"
echo '<BODY BGCOLOR="#ffffff">'

cat dptop.html

echo "<PRE>"
call=$(echo ${QUERY_STRING} | sed -e s,'^call=',,)
/pbulk/work/ham/dpbox/work/.destdir/usr/pkg/bin/dphttp "PREFIX ${call}" | \
 /pbulk/work/ham/dpbox/work/.destdir/usr/pkg/bin/dpcodeconv
echo "</PRE>"

cat dpbottom.html

echo "</BODY></HTML>"
