#!/bin/sh

# kevin-and-kell.cgi - Construit une page Web pour reprsenter la
#   dernire bande dessine de Kevin et Kell, par Bill Holbrook
#   <le dessinateur a donn son autorisation pour ceci>

month="$(date +%m)"
  day="$(date +%d)"
 year="$(date +%y)"

echo "Content-type: text/html"
echo ""

echo "<html><body bgcolor=white><center>"
echo "<title>Kevin &amp; Kell</title>"
echo "<table border=\"1\" cellpadding=\"2\" cellspacing=\"1\">"
echo "<tr bgcolor=\"#000099\">"
echo "<th><font color=white>Kevin et Kell, par Bill Holbrook</font></th></tr>"
echo "<tr><td><img "

# URL reprsentative: http://www.kevinandkell.com/2003/strips/kk20031009.gif

echo -n " src=\"http://www.kevinandkell.com/20${year}/"  
echo "strips/kk20${year}${month}${day}.gif\">"  

echo "</td></tr><tr><td align=\"center\">"
echo "&copy; Bill Holbrook. Voyez "
echo "<a href=\"http://www.kevinandkell.com/\">kevinandkell.com</a>"
echo "pour d'autres bandes dessines, des livres, etc."
echo "</td></tr></table></center></body></html>"

exit 0
