#! /bin/sh # Disclaimer: ugly as fook but I just wanted to try how this could be done # in sh. It's a database for my movie collection with fancy thumbnails # and codec information printed on the page. Now that you know how it looks, # go use another language. SQL="/usr/bin/sqlite3" DB="movie.db" echo 'Content-type: text/html' echo '' echo '' echo '' echo '' echo '' echo '
' echo '| '
echo " ${TITLE}"
echo ' ('${YEAR}')'
echo ' '
echo ' '
echo " ${VCODEC}, ${RES}, ${FPS} fps '
echo ' " echo " ${ACODEC}" echo ' ' echo " PLAY" echo ' ' echo ''
echo " "
echo " '
echo ' | '
echo '