#!/bin/sh . /www/cgi-bin/functions.sh if [ -f /tmp/lock_show_refreshpage ];then lock_cgiwait_show fi thank_for=$($nvram get thank_login) print_cgi_header print_http_header "/funcs.js" echo "" echo "
" echo "" $nvram set time_stamp_thank="$time_stamp_dni" echo "" cat < var time_stamp_dni="$time_stamp_dni"; function enableFwCheck() { var cf = document.forms[0]; cf.time_stamp_dni.value=time_stamp_dni; if (cf.enable.checked) cf.firstTime.value="1"; else cf.firstTime.value="0"; cf.submit(); } function loadvalue() { var cf = document.forms[0]; if('$thank_for'=='0') cf.enable.checked=false; else cf.enable.checked=true; }

EOF print_http_footer_show