"); fclose($fp); @chmod($_tmpvfile,0707); if ($_join_menu == 'settings-config') { $mfile = $g['path_module'].$m.'/var/job.txt'; $fp = fopen($mfile,'w'); fwrite($fp,trim(stripslashes($job))); fclose($fp); @chmod($mfile,0707); $lfile = $g['path_module'].$m.'/var/location.txt'; $fp = fopen($lfile,'w'); fwrite($fp,trim(stripslashes($location))); fclose($fp); @chmod($lfile,0707); } if ($_join_menu == 'signup-form-add') { $mfile = $g['path_var'].'site/'.$r.'/'.$m.'.add_field.txt'; if(!is_array($addFieldMembers)) { $addFieldMembers = array(); } $fp = fopen($mfile,'w'); foreach($addFieldMembers as $val) { fwrite($fp,$val.'|'.${'add_name_'.$val}.'|'.${'add_type_'.$val}.'|'.${'add_value_'.$val}.'|'.${'add_size_'.$val}.'|'.${'add_pilsu_'.$val}.'|'.${'add_hidden_'.$val}."\n"); } if ($add_name) { fwrite($fp,$date['totime'].'|'.$add_name.'|'.$add_type.'|'.$add_value.'|'.$add_size.'|'.$add_pilsu.'|'.$add_hidden."\n"); } fclose($fp); @chmod($mfile,0707); } $_SESSION['_join_menu'] = $_join_menu; setrawcookie('member_config_result', rawurlencode('설정이 변경 되었습니다.|success')); // 처리여부 cookie 저장 getLink('reload','parent.','',''); ?>