#! /bin/sh
# dpdir

echo "Content-type: text/html"
echo
echo "<HTML><HEAD>"
echo "<TITLE>DPBOX directory list</TITLE>"
echo "</HEAD><BODY>"
echo '<BODY BGCOLOR="#ffffff">'

cat dptop.html

echo "<PRE>"
/tmp/pkgbuild/ham/dpbox/work/.destdir/usr/pkg/bin/dphttp "D $QUERY_STRING" | \
  /tmp/pkgbuild/ham/dpbox/work/.destdir/usr/pkg/bin/dpcodeconv | \
  /tmp/pkgbuild/ham/dpbox/work/.destdir/usr/pkg/bin/dpputlinks -dir
echo "</PRE>"

cat dpbottom.html

echo "</BODY></HTML>"
