#!/usr/local/bin/bash

cd /httpd/htdocs/en/werbung

if [ $# -eq 1 ] ; then 
  PARAM=$1
else
  PARAM="start"
fi

echo "Kopiere nicht auf $PARAM.htm"

if test -e kw.htm; then

  if [ $PARAM != "bio" ] ; then cp kw.htm bio.htm; fi
  if [ $PARAM != "reise" ] ; then cp kw.htm reise.htm; fi
  if [ $PARAM != "infoseek" ] ; then cp kw.htm infoseek.htm; fi
  if [ $PARAM != "sz" ] ; then cp kw.htm sz.htm; fi
  if [ $PARAM != "tonline" ] ; then cp kw.htm tonline.htm; fi
  if [ $PARAM != "profi" ] ; then cp kw.htm profi.htm; fi
  if [ $PARAM != "forum" ] ; then cp kw.htm forum.htm; fi
  if [ $PARAM != "home" ] ; then cp kw.htm home.htm; fi
  if [ $PARAM != "ski" ] ; then cp kw.htm ski.htm; fi
  if [ $PARAM != "euro" ] ; then cp kw.htm euro.htm; fi
  if [ $PARAM != "segel" ] ; then cp kw.htm segel.htm; fi
  if [ $PARAM != "astro" ] ; then cp kw.htm astro.htm; fi
  if [ $PARAM != "ad500" ] ; then cp kw.htm ad500.htm; fi
  if [ $PARAM != "pollen" ] ; then cp kw.htm pollen.htm; fi
  if [ $PARAM != "dldl" ] ; then cp kw.htm dldl.htm; fi
  if [ $PARAM != "start" ] ; then cp kw.htm start.htm; fi

  wocopyy www-en dldl.htm
  wocopyy www-en infoseek.htm
  wocopyy www-en sz.htm
  wocopyy www-en tonline.htm
  wocopyy www-en reise.htm
  wocopyy www-en profi.htm
  wocopyy www-en forum.htm
  wocopyy www-en home.htm
  wocopyy www-en ski.htm
  wocopyy www-en euro.htm
  wocopyy www-en segel.htm
  wocopyy www-en astro.htm
  wocopyy www-en bio.htm
  wocopyy www-en ad500.htm
  wocopyy www-en dldl.htm
  wocopyy www-en start.htm

  mv kw.htm kw.sik

fi
