alert('ºÒ¹ý È£ÃâÀÔ´Ï´Ù');"; print "self.close();"; exit; } $cp = fopen("config_list.php", "r"); while(!feof($cp)) { $first_arg = trim(fgets($cp, 4096)); $second_arg = trim(fgets($cp, 4096)); $config_list[$first_arg] = $second_arg; } fclose($cp); $cp = fopen("option_list.php", "r"); while(!feof($cp)) { $first_arg = trim(fgets($cp, 4096)); $second_arg = trim(fgets($cp, 4096)); $option_list[$first_arg] = $second_arg; } fclose($cp); if ($action == "cfgsav") { if (ereg("[^[:digit:]]", $cfg_piclimit)) { print "


\n"; print "ÆäÀÌÁö ÃÖ´ë ÀúÀåÇѵµ¿¡´Â 0-9 »çÀÌÀÇ ¼ýÀÚ¸¸ »ç¿ëÇÒ¼ö ÀÖ½À´Ï´Ù"; print "
\n"; exit; } while($temp = each($config_list)) { $mentecc[] = "\$".$temp[key]."='".$$temp[key]."'"; } while($temp = each($option_list)) { $mentecc2[] = "\$".$temp[key]."='".$$temp[key]."'"; } //exit; if($cp = fopen("config_data.php", "w")){ fwrite($cp, "\n"); } else $errcnt++; fclose($cp); if($cp = fopen("option_data.php", "w")){ fwrite($cp, "\n"); } else $errcnt++; fclose($cp); if($errcnt > 0) alt("¼³Á¤ÀúÀå ½ÇÆÐ"); else{ alt("¼³Á¤ÀúÀå ¼º°ø"); echo(''); } // header ("Location: $php_url?passwd=$masterpasd"); } else { include "config_data.php"; include "option_data.php"; print "\n"; print "\n"; print "M-BTool BBS ȯ°æ¼³Á¤\n"; print "\n"; print "\n"; print "

\n"; print "M-BTool BBS ȯ°æ¼³Á¤\n"; print "
\n"; print "
\n"; print "\n\n"; print "
\n"; print "
\n"; print "\n"; print "¼³Á¤

\n"; print "\n"; while($temp = each($config_list)) { $name = $temp[key]; $value = $$temp[key]; print "\n"; } print "\n"; $roop = 0; $onoffary = array("on","off"); while($choice_option_list = each($option_list)) { $option_select = connect_chk($$choice_option_list["key"], $onoffary); print "\n"; } print "
¢Â $temp[value]£º$space
¢Â Ç¥½Ã ¿É¼Ç ON/OFF
- ".$choice_option_list["value"]."£º

\n"; print "\n"; print "
\n"; } function connect_chk($temp, $connect_list) { $temp_cont = ""; $connect_size = sizeof($connect_list); for($ct=0; $ct < $connect_size; $ct++){ $option_end = ($temp and $temp==$connect_list[$ct]) ? " selected>" : ">"; $temp_cont = $temp_cont."