#!/bin/sh #------------------------------------------------------------------------------ # /usr/local/htdocs/sitecopy/sitecopy.cgi - smart copy of local site to remote # site via ftp # # Copyright (c) 2003-2010 Andreas Pohl, apohl(at)ibp-consult(dot)com # Copyright (c) 2011-2018 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 2003-12-30 ap # Last Update: $Id$ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version.. #------------------------------------------------------------------------------ myname=`basename $0` # HTML-Header echo "Content-Type: text/html; charset=iso-8859-1" echo "Cache-control: no-store" # HTTP/1.1 (or no-cache?) echo "Pragma: no-cache" # HTTP/1.0 echo echo "
" echo "All Sites | ' echo ""
echo " "
echo ' | '
echo '
${pfad} | " echo "" echo " " echo " " echo " " echo " " echo " | " echo '
' echo "" idx=1 while [ ${idx} -le ${SITECOPY_LINK_N} ] do eval l_active='$SITECOPY_LINK_'${idx}'_ACTIVE' if [ "${l_active}" = "yes" ] then eval l_name='$SITECOPY_LINK_'${idx}'_NAME' eval l_href='$SITECOPY_LINK_'${idx}'_HREF' eval l_target='$SITECOPY_LINK_'${idx}'_TARGET' echo " | ${l_name}" fi idx=`expr ${idx} + 1` done echo "
" eval `echo "${QUERY_STRING}" |tr '&' '\n'` ./upload.sh "${path}" "${param}" echo "" echo "