#!/bin/sh
#This script is created by ssparser automatically. The parser first created by MaoShouyan
printf "Content-type: text/html
Cache-Control: no-cache

"
echo -n "";
. ../common/common.sh
AIDE_NATPROXY=${PGPATH}/admin/cgi-bin/common/aide_natproxy
CURRENTCFGFILE=${TMPPATH}/natproxy.conf

echo -n "
<body>
";
cgi_show_title "ӿ·->·" 
if [ -f ${PGETC}/panabit.conf ]; then
        ${AIDE_NATPROXY} -f ${PGETC}/panabit.conf > ${CURRENTCFGFILE}
else
        echo "# ·ɵ" > ${CURRENTCFGFILE}
fi

echo -n "
<br>
<table width=\"700\" border=0 cellspacing=1 cellpadding=3 style=\"font-bold:true;font-size:15px\">
<tr>
    <td width=20></td>
    <td width=*>ڴ˴&nbsp;<a style=\"color:#ff0000;font-size:15px;\" href=\"/tmp/natproxy.conf\"><b>Ҽѡ\"Ϊ...\"</b></a>&nbsp;ǰļ</td>
</tr>
</table>
</body>
</html>
";