#!/bin/bash echo $header [ "$1" ] && SHOW_BANNERS="$1" [ "$SHOW_BANNERS" ] || SHOW_BANNERS=6 . ../banners/auto/settings.inc [ "$HORIZONTAL_BANNERS" ] && echo "" for i in `seq 1 $SHOW_BANNERS`; do number=$RANDOM let number="$number % $banner_count" [ "$HORIZONTAL_BANNERS" ] && echo "" done [ "$HORIZONTAL_BANNERS" ] && echo "
" cat ../banners/auto/$number.html [ "$HORIZONTAL_BANNERS" ] && echo "
"