#!/bin/sh

echo "Content-Type: text/html"
echo
echo "<html>"
echo "<head><title>Random fortune for YOU only</title></head>"
echo "<body bgcolor=\"#ffffff\" text=\"#000000\">"
echo "<center>"
echo "<h1>Random fortune for <em>YOU</em> only</h1>"
echo "</center>"
echo "<br><br><br>"
echo "<center>"
echo "<table border=0>"
echo "<tr><td>"
echo "<font size=+1>"
echo "<pre>"
/usr/games/fortune
echo "</pre>"
echo "</font>"
echo "</td></tr></table>"
echo "</center>"
echo "<br><br><br>"
echo "<center>"
echo "To get another one, <a href=\"fortune.cgi\">click here</a><br>"
echo "<font size=-2>(although you may need to click the RELOAD button to get a new one)</font>."
echo "</center>"
echo
echo "<img src=\"/cgi-bin/nph-count?link=/people/Metod.Kozelj/fun/fortune.cgi&show=NO\" alt=\"\">"
echo "</body></html>"
