$sock=""; $db=""; $sock=mysql_connect($db_hostname,$db_username,$db_password) or die("데이타베이스 연결에 실패했습니다"); $db=mysql_select_db($dbname,$sock) or die("데이타베이스 연결에 실패했습니다"); mysql_query("set names utf8"); ?> ######################################################################################### ##################### 인자로받은 테이블에서 정보 가져옴 ############### ######################################################################################### function f_get_afTABLE($tbl,$field,$kw,$odFld,$desc,$limit) { global $DBconn; if($field and $kw) $where = "where $field='$kw'"; else $where = ""; $where .= " order by $odFld $desc"; $where .= " limit $limit"; $res=$DBconn->f_selectDB("*",$tbl,$where); //필드, 테이블, 조건절 $html = array(); $html["res_count"]=mysql_num_rows($res[result]); //리턴된 행의 개수 for($i=0;$i < $html["res_count"];$i++) { $html["row"][$i] = mysql_fetch_array($res[result]); //데이타 배열 } return $html; } ?> ######################################################################################### ##################### 애드폼 관리자테이블에서 정보 가져옴 ############### ######################################################################################### function f_get_afTABLE1($fld,$kw) { global $DBconn; $where="where $fld='$kw'"; $re=$DBconn->f_selectDB("*",TABLE1,$where); $result = $re[result]; $row = mysql_fetch_array($result); $html = array(); $html["no"] = htmlspecialchars(stripslashes($row["no"])); //고유번호 $html["level"] = htmlspecialchars(stripslashes($row["level"])); //레벨 $html["user_id"] = htmlspecialchars(stripslashes($row["user_id"])); //아이디 $html["password"] = htmlspecialchars(stripslashes($row["password"])); //비밀번호 $html["name"] = htmlspecialchars(stripslashes($row["name"])); //이름 $html["email_address"] = htmlspecialchars(stripslashes($row["email_address"])); //이메일 $html["tel"] = htmlspecialchars(stripslashes($row["tel"])); //전화번호 $html["hp"] = htmlspecialchars(stripslashes($row["hp"])); // $html["fax"] = htmlspecialchars(stripslashes($row["fax"])); // $html["supply_name"] = htmlspecialchars(stripslashes($row["supply_name"])); //폼추가시 자동입력 상호 $html["supply_num"] = htmlspecialchars(stripslashes($row["supply_num"])); //폼추가시 자동입력 사업자번호 $html["supply_man"] = htmlspecialchars(stripslashes($row["supply_man"])); //폼추가시 자동입력 대표 $html["supply_address"] = htmlspecialchars(stripslashes($row["supply_address"])); //폼추가시 자동입력 주소 $html["supply_conditions"] = htmlspecialchars(stripslashes($row["supply_conditions"])); //폼추가시 업태 $html["supply_item"] = htmlspecialchars(stripslashes($row["supply_item"])); //폼추가시 자동입력 종목 $html["sell_num"] = htmlspecialchars(stripslashes($row["sell_num"])); //통신판매번호 $html["banking"] = htmlspecialchars(stripslashes($row["banking"])); //폼추가시 자동입력 은행정보 $html["join_date"] = htmlspecialchars(stripslashes($row["join_date"])); //가입시각 $html["edit_date"] = htmlspecialchars(stripslashes($row["edit_date"])); //수정시각 $html["dummy1"] = htmlspecialchars(stripslashes($row["dummy1"])); $html["dummy2"] = htmlspecialchars(stripslashes($row["dummy2"])); $html["dummy3"] = htmlspecialchars(stripslashes($row["dummy3"])); $html["dummy4"] = htmlspecialchars(stripslashes($row["dummy4"])); $html["dummy5"] = htmlspecialchars(stripslashes($row["dummy5"])); $html["dummy6"] = htmlspecialchars(stripslashes($row["dummy6"])); $html["dummy7"] = htmlspecialchars(stripslashes($row["dummy7"])); $html["dummy8"] = htmlspecialchars(stripslashes($row["dummy8"])); $html["dummy9"] = htmlspecialchars(stripslashes($row["dummy9"])); $html["dummy10"] = htmlspecialchars(stripslashes($row["dummy10"])); $html["dummy11"] = htmlspecialchars(stripslashes($row["dummy11"])); $html["dummy12"] = htmlspecialchars(stripslashes($row["dummy12"])); $html["dummy13"] = htmlspecialchars(stripslashes($row["dummy13"])); $html["dummy14"] = htmlspecialchars(stripslashes($row["dummy14"])); $html["dummy15"] = htmlspecialchars(stripslashes($row["dummy15"])); $html["dummy16"] = htmlspecialchars(stripslashes($row["dummy16"])); $html["dummy17"] = htmlspecialchars(stripslashes($row["dummy17"])); $html["dummy18"] = htmlspecialchars(stripslashes($row["dummy18"])); $html["dummy19"] = htmlspecialchars(stripslashes($row["dummy19"])); $html["dummy20"] = htmlspecialchars(stripslashes($row["dummy20"])); $html["dummy21"] = htmlspecialchars(stripslashes($row["dummy21"])); $html["dummy22"] = htmlspecialchars(stripslashes($row["dummy22"])); $html["dummy23"] = htmlspecialchars(stripslashes($row["dummy23"])); $html["dummy24"] = htmlspecialchars(stripslashes($row["dummy24"])); $html["dummy25"] = htmlspecialchars(stripslashes($row["dummy25"])); $html["dummy26"] = htmlspecialchars(stripslashes($row["dummy26"])); $html["dummy27"] = htmlspecialchars(stripslashes($row["dummy27"])); $html["dummy28"] = htmlspecialchars(stripslashes($row["dummy28"])); $html["dummy29"] = htmlspecialchars(stripslashes($row["dummy29"])); $html["dummy30"] = htmlspecialchars(stripslashes($row["dummy30"])); return $html; } ?> ######################################################################################### ##################### 애드폼 접수테이블에서 정보 가져옴 ############### ######################################################################################### function f_get_afTABLE2($fld,$kw) { global $DBconn; $where="where $fld='$kw'"; $re=$DBconn->f_selectDB("*",TABLE2,$where); $result = $re[result]; $row = mysql_fetch_array($result); $html = array(); $html["no"] = htmlspecialchars(stripslashes($row["no"])); //고유번호 $html["lang"] = htmlspecialchars(stripslashes($row["lang"])); //언어 $html["od_unit"] = htmlspecialchars(stripslashes($row["od_unit"])); //규격/단위 $html["coin_unit"] = htmlspecialchars(stripslashes($row["coin_unit"])); //통화단위 $html["upload_space"] = htmlspecialchars(stripslashes($row["upload_space"])); //업로드폴드용량설정 $html["upload_space_per"] = htmlspecialchars(stripslashes($row["upload_space_per"]));//경고시점 % $html["upload_use_alert"] = htmlspecialchars(stripslashes($row["upload_use_alert"]));//경고 사용여부 0,1 $html["dummy1"] = htmlspecialchars(stripslashes($row["dummy1"])); //처리상황배열 $html["dummy2"] = htmlspecialchars(stripslashes($row["dummy2"])); $html["dummy3"] = htmlspecialchars(stripslashes($row["dummy3"])); $html["dummy4"] = htmlspecialchars(stripslashes($row["dummy4"])); $html["dummy5"] = htmlspecialchars(stripslashes($row["dummy5"])); $html["dummy6"] = htmlspecialchars(stripslashes($row["dummy6"])); $html["dummy7"] = htmlspecialchars(stripslashes($row["dummy7"])); $html["dummy8"] = htmlspecialchars(stripslashes($row["dummy8"])); $html["dummy9"] = htmlspecialchars(stripslashes($row["dummy9"])); $html["dummy10"] = htmlspecialchars(stripslashes($row["dummy10"])); $html["dummy11"] = htmlspecialchars(stripslashes($row["dummy11"])); $html["dummy12"] = htmlspecialchars(stripslashes($row["dummy12"])); $html["dummy13"] = htmlspecialchars(stripslashes($row["dummy13"])); $html["dummy14"] = htmlspecialchars(stripslashes($row["dummy14"])); $html["dummy15"] = htmlspecialchars(stripslashes($row["dummy15"])); $html["dummy16"] = htmlspecialchars(stripslashes($row["dummy16"])); $html["dummy17"] = htmlspecialchars(stripslashes($row["dummy17"])); $html["dummy18"] = htmlspecialchars(stripslashes($row["dummy18"])); $html["dummy19"] = htmlspecialchars(stripslashes($row["dummy19"])); $html["dummy20"] = htmlspecialchars(stripslashes($row["dummy20"])); $html["dummy21"] = htmlspecialchars(stripslashes($row["dummy21"])); $html["dummy22"] = htmlspecialchars(stripslashes($row["dummy22"])); $html["dummy23"] = htmlspecialchars(stripslashes($row["dummy23"])); $html["dummy24"] = htmlspecialchars(stripslashes($row["dummy24"])); $html["dummy25"] = htmlspecialchars(stripslashes($row["dummy25"])); $html["dummy26"] = htmlspecialchars(stripslashes($row["dummy26"])); $html["dummy27"] = htmlspecialchars(stripslashes($row["dummy27"])); $html["dummy28"] = htmlspecialchars(stripslashes($row["dummy28"])); $html["dummy29"] = htmlspecialchars(stripslashes($row["dummy29"])); $html["dummy30"] = htmlspecialchars(stripslashes($row["dummy30"])); return $html; } ?> ######################################################################################### ##################### 애드폼 테이블에서 정보 가져옴 ############### ######################################################################################### function f_get_afTABLE5($fld,$kw) { global $DBconn; $where="where $fld='$kw'"; $re=$DBconn->f_selectDB("*",TABLE5,$where); $result = $re[result]; $row = mysql_fetch_array($result); $html = array(); $html["no"] = htmlspecialchars(stripslashes($row["no"])); //고유번호 $html["no_group"] = htmlspecialchars(stripslashes($row["no_group"])); //속할 그룹번호 $html["form_type"] = htmlspecialchars(stripslashes($row["form_type"])); //폼형식 $html["input_date"] = htmlspecialchars(stripslashes($row["input_date"])); //생성시각 $html["edit_date"] = htmlspecialchars(stripslashes($row["edit_date"])); //수정시각 $html["name"] = htmlspecialchars(stripslashes($row["name"])); //폼이름 $html["title_text"] = htmlspecialchars(stripslashes($row["title_text"])); //제 목 $html["msg_top"] = stripslashes($row['msg_top']); //상단 메시지 $html["msg_bottom"] = stripslashes($row['msg_bottom']); //하단 메시지 $html["top_img"] = htmlspecialchars(stripslashes($row['top_img'])); //상단 배너 이미지 $html["bottom_img"] = htmlspecialchars(stripslashes($row['bottom_img'])); //하단 배너 이미지 $html["width"] = htmlspecialchars(stripslashes($row['width'])); //너 비 $html["coin_unit"] = htmlspecialchars(stripslashes($row["coin_unit"])); //통화단위 $html["secret_price"] = htmlspecialchars(stripslashes($row["secret_price"])); //산출금액 비밀 여부 $html["email_address"] = htmlspecialchars(stripslashes($row["email_address"])); //관리자 이메일 $html["tel"] = htmlspecialchars(stripslashes($row["tel"])); //전화번호(공급자) $html["supply_name"] = htmlspecialchars(stripslashes($row["supply_name"])); //사업자상호(공급자) $html["supply_num"] =htmlspecialchars(stripslashes( $row["supply_num"])); //사업자등록번호(공급자) $html["supply_man"] = htmlspecialchars(stripslashes($row["supply_man"])); //사업자대표(공급자) $html["supply_address"] = htmlspecialchars(stripslashes($row["supply_address"])); //사업장주소(공급자) $html["supply_conditions"] = htmlspecialchars(stripslashes($row["supply_conditions"])); //업태(공급자) $html["supply_item"] = htmlspecialchars(stripslashes($row["supply_item"])); //종목(공급자) $html["sell_num"] = htmlspecialchars(stripslashes($row["sell_num"])); //통신판매번호 $html["skin_name"] = htmlspecialchars(stripslashes($row["skin_name"])); //스킨이름 $html["use_report_email"] = htmlspecialchars(stripslashes($row["use_report_email"])); //관리자에게 이메일 전송여부 $html["banking"] = htmlspecialchars(stripslashes($row["banking"])); //공급자 무통장입금 은행 $html["count_field"] = htmlspecialchars(stripslashes($row["count_field"])); //접속통계 $html["etc"] = htmlspecialchars(stripslashes($row["etc"])); //비 고 $html["max_file_size"] = htmlspecialchars(stripslashes($row["max_file_size"])); //html 폼 첨부파일용량 $html["attachFormat"] = htmlspecialchars(stripslashes($row["attachFormat"])); //첨부파일 허용 확장자 $html["client_items"] = htmlspecialchars(stripslashes($row["client_items"])); //고객모듈 항목들 $html["client_text_name"] = htmlspecialchars(stripslashes($row["client_text_name"])); $html["client_text_email"] = htmlspecialchars(stripslashes($row["client_text_email"])); $html["client_text_hp"] = htmlspecialchars(stripslashes($row["client_text_hp"])); $html["client_text_tel"] = htmlspecialchars(stripslashes($row["client_text_tel"])); $html["client_text_fax"] = htmlspecialchars(stripslashes($row["client_text_fax"])); $html["client_text_address"] = htmlspecialchars(stripslashes($row["client_text_address"])); $html["client_text_memo"] = htmlspecialchars(stripslashes($row["client_text_memo"])); $html["sign_img"] = htmlspecialchars(stripslashes($row["sign_img"])); //견적서 도장 이미지 $html["font_family"] = htmlspecialchars(stripslashes($row["font_family"])); $html["font_size"] = htmlspecialchars(stripslashes($row["font_size"])); $html["font_color"] = htmlspecialchars(stripslashes($row["font_color"])); $html["layout"] = htmlspecialchars(stripslashes($row["layout"])); $html["return_url"] = htmlspecialchars(stripslashes($row["return_url"])); //전송 후 리턴페이지 $html["return_type"] = htmlspecialchars(stripslashes($row["return_type"])); //전송 후 리턴방법 auto,click $html["yesorno_pay"] = htmlspecialchars(stripslashes($row["yesorno_pay"])); //신용카드 결제여부 $html["res_name"] = htmlspecialchars(stripslashes($row["res_name"])); //예약상품이름 $html["res_mny"] = htmlspecialchars(stripslashes($row["res_mny"])); //예약비용 $html["res_dummy1"] = htmlspecialchars(stripslashes($row["res_dummy1"])); $html["res_dummy2"] = htmlspecialchars(stripslashes($row["res_dummy2"])); $html["res_dummy3"] = htmlspecialchars(stripslashes($row["res_dummy3"])); $html["site_cd"] = htmlspecialchars(stripslashes($row["site_cd"])); //전자결제 사이트코드 $html["site_key"] = htmlspecialchars(stripslashes($row["site_key"])); //전자결제사이트키 $html["quotaopt"] = htmlspecialchars(stripslashes($row["quotaopt"])); //할부개월수 0~12 $html["sms_msg"] = htmlspecialchars(stripslashes($row["sms_msg"])); //문자메시시 제목 $html["dummy1"] = htmlspecialchars(stripslashes($row["dummy1"])); //파일첨부기능 여부 $html["dummy2"] = htmlspecialchars(stripslashes($row["dummy2"])); //유효일 $html["dummy3"] = htmlspecialchars(stripslashes($row["dummy3"])); //주문/견적서항목 표시법 $html["dummy4"] = htmlspecialchars(stripslashes($row["dummy4"])); //견적서 합계표시방법 $html["dummy5"] = htmlspecialchars(stripslashes($row["dummy5"])); //SMS $html["dummy6"] = htmlspecialchars(stripslashes($row["dummy6"])); //부가세 반영여부(아니오0,예1) $html["dummy7"] = htmlspecialchars(stripslashes($row["dummy7"])); //첨부파일개수 $html["dummy8"] = htmlspecialchars(stripslashes($row["dummy8"])); //폼메일 계산기능(아니오0,예1) $html["dummy9"] = htmlspecialchars(stripslashes($row["dummy9"])); //폼 구간카운터(ver 5.3) $html["dummy10"] = stripslashes($row["dummy10"]); //기본고객정보 타이틀(ver 5.4) $html["dummy11"] = htmlspecialchars(stripslashes($row["dummy11"])); $html["dummy12"] = htmlspecialchars(stripslashes($row["dummy12"])); $html["dummy13"] = htmlspecialchars(stripslashes($row["dummy13"])); $html["dummy14"] = htmlspecialchars(stripslashes($row["dummy14"])); $html["dummy15"] = htmlspecialchars(stripslashes($row["dummy15"])); $html["dummy16"] = htmlspecialchars(stripslashes($row["dummy16"])); $html["dummy17"] = htmlspecialchars(stripslashes($row["dummy17"])); $html["dummy18"] = htmlspecialchars(stripslashes($row["dummy18"])); $html["dummy19"] = htmlspecialchars(stripslashes($row["dummy19"])); $html["dummy20"] = htmlspecialchars(stripslashes($row["dummy20"])); $html["dummy21"] = htmlspecialchars(stripslashes($row["dummy21"])); $html["dummy22"] = htmlspecialchars(stripslashes($row["dummy22"])); $html["dummy23"] = htmlspecialchars(stripslashes($row["dummy23"])); $html["dummy24"] = htmlspecialchars(stripslashes($row["dummy24"])); $html["dummy25"] = htmlspecialchars(stripslashes($row["dummy25"])); $html["dummy26"] = htmlspecialchars(stripslashes($row["dummy26"])); $html["dummy27"] = htmlspecialchars(stripslashes($row["dummy27"])); $html["dummy28"] = htmlspecialchars(stripslashes($row["dummy28"])); $html["dummy29"] = htmlspecialchars(stripslashes($row["dummy29"])); $html["dummy30"] = htmlspecialchars(stripslashes($row["dummy30"])); return $html; } ?> ######################################################################################### ##################### 애드폼 테이블에서 정보 가져옴 ############### ######################################################################################### function f_get_afTABLE7($fld,$kw) { global $DBconn; $where="where $fld='$kw'"; $re=$DBconn->f_selectDB("*",TABLE7,$where); $result = $re[result]; $row = mysql_fetch_array($result); $html = array(); $html["no"] = htmlspecialchars(stripslashes($row["no"])); //고유번호 $html["logo_link"] = htmlspecialchars(stripslashes($row["logo_link"])); //로고클릭시 url $html["yn_topmenu"] = htmlspecialchars(stripslashes($row["yn_topmenu"])); //상단메뉴 사용여부 $html["yn_top_custom"] = htmlspecialchars(stripslashes($row["yn_top_custom"])); //상단 사용자코딩 사용여부 $html["topmenu_idx"] = stripslashes($row["topmenu_idx"]); //상단메뉴코딩 $html["top_custom"] = stripslashes($row["top_custom"]); //상단 사용자코딩 $html["left_width"] = htmlspecialchars(stripslashes($row["left_width"])); //좌측너비 $html["left_wUnit"] = htmlspecialchars(stripslashes($row["left_wUnit"])); //좌측높이 $html["yn_leftmenu"] = htmlspecialchars(stripslashes($row["yn_leftmenu"])); //좌측메뉴사용여부 $html["yn_thumblist"] = htmlspecialchars(stripslashes($row["yn_thumblist"])); //썸네일리스트 사용여부 $html["yn_lastest"] = htmlspecialchars(stripslashes($row["yn_lastest"])); //최근폼 사용여부 $html["yn_best"] = htmlspecialchars(stripslashes($row["yn_best"])); //인기폼사용여부 $html["yn_tel"] = htmlspecialchars(stripslashes($row["yn_tel"])); //전화번호안내 사용여부 $html["yn_bank"] = htmlspecialchars(stripslashes($row["yn_bank"])); //은행정보 사용여부 $html["yn_left_custom"] = htmlspecialchars(stripslashes($row["yn_left_custom"])); //좌측사용자코딩 사용여부 $html["leftmenu_idx"] = stripslashes($row["leftmenu_idx"]); //좌측메뉴 코딩 $html["thumb_width"] = htmlspecialchars(stripslashes($row["thumb_width"])); //썸네일 너비 $html["thumb_height"] = htmlspecialchars(stripslashes($row["thumb_height"])); //썸네일 높이 $html["lastestN"] = htmlspecialchars(stripslashes($row["lastestN"])); //최근폼 개수 $html["bestN"] = htmlspecialchars(stripslashes($row["bestN"])); //인기폼개수 $html["left_custom"] = stripslashes($row["left_custom"]); //좌측사용자 코딩 $html["right_width"] = htmlspecialchars(stripslashes($row["right_width"])); //우측너비 $html["right_wUnit"] = htmlspecialchars(stripslashes($row["right_wUnit"])); //우측높이 $html["yn_dokdo"] = htmlspecialchars(stripslashes($row["yn_dokdo"])); //독도홍보 사용여부 $html["yn_lastestR"] = htmlspecialchars(stripslashes($row["yn_lastestR"])); //최근폼 사용여부(우) $html["yn_bestR"] = htmlspecialchars(stripslashes($row["yn_bestR"])); //인기폼 사용여부(우) $html["yn_right_custom"] = htmlspecialchars(stripslashes($row["yn_right_custom"])); //우측 사용자코딩 사용여부 $html["lastestRN"] = htmlspecialchars(stripslashes($row["lastestRN"])); //최근폼 개수(우) $html["bestRN"] = htmlspecialchars(stripslashes($row["bestRN"])); //인기폼 개수(우) $html["right_custom"] = stripslashes($row["right_custom"]); //우측 사용자코딩 $html["yn_companydata"] = htmlspecialchars(stripslashes($row["yn_companydata"])); //하단 사업자정도 출력여부 $html["yn_footer_custom"] = htmlspecialchars(stripslashes($row["yn_footer_custom"])); //하단 사용자코딩 사용여부 $html["footer_custom"] = stripslashes($row["footer_custom"]); //하단 사용자코딩 $html["dummy1"] = htmlspecialchars(stripslashes($row["dummy1"])); $html["dummy2"] = htmlspecialchars(stripslashes($row["dummy2"])); $html["dummy3"] = htmlspecialchars(stripslashes($row["dummy3"])); $html["dummy4"] = htmlspecialchars(stripslashes($row["dummy4"])); $html["dummy5"] = htmlspecialchars(stripslashes($row["dummy5"])); $html["dummy6"] = htmlspecialchars(stripslashes($row["dummy6"])); $html["dummy7"] = htmlspecialchars(stripslashes($row["dummy7"])); $html["dummy8"] = htmlspecialchars(stripslashes($row["dummy8"])); $html["dummy9"] = htmlspecialchars(stripslashes($row["dummy9"])); $html["dummy10"] = htmlspecialchars(stripslashes($row["dummy10"])); $html["dummy11"] = htmlspecialchars(stripslashes($row["dummy11"])); $html["dummy12"] = htmlspecialchars(stripslashes($row["dummy12"])); $html["dummy13"] = htmlspecialchars(stripslashes($row["dummy13"])); $html["dummy14"] = htmlspecialchars(stripslashes($row["dummy14"])); $html["dummy15"] = htmlspecialchars(stripslashes($row["dummy15"])); $html["dummy16"] = htmlspecialchars(stripslashes($row["dummy16"])); $html["dummy17"] = htmlspecialchars(stripslashes($row["dummy17"])); $html["dummy18"] = htmlspecialchars(stripslashes($row["dummy18"])); $html["dummy19"] = htmlspecialchars(stripslashes($row["dummy19"])); $html["dummy20"] = htmlspecialchars(stripslashes($row["dummy20"])); $html["dummy21"] = htmlspecialchars(stripslashes($row["dummy21"])); $html["dummy22"] = htmlspecialchars(stripslashes($row["dummy22"])); $html["dummy23"] = htmlspecialchars(stripslashes($row["dummy23"])); $html["dummy24"] = htmlspecialchars(stripslashes($row["dummy24"])); $html["dummy25"] = htmlspecialchars(stripslashes($row["dummy25"])); $html["dummy26"] = htmlspecialchars(stripslashes($row["dummy26"])); $html["dummy27"] = htmlspecialchars(stripslashes($row["dummy27"])); $html["dummy28"] = htmlspecialchars(stripslashes($row["dummy28"])); $html["dummy29"] = htmlspecialchars(stripslashes($row["dummy29"])); $html["dummy30"] = htmlspecialchars(stripslashes($row["dummy30"])); return $html; } ?> $af_TABLE1 = f_get_afTABLE1("no","1"); //관리자 테이블에서 가져오기 $af_TABLE2 = f_get_afTABLE2("no","1"); //전체폼기본환경 테이블에서 가져오기 $af_TABLE5 = f_get_afTABLE5("name",$af_fname); $af_TABLE7 = f_get_afTABLE7("no","1"); /////// 폼 접속 카운터 업테이트(구간카운터가 null 일 때, ++ 해 주기 위해 이 위치로 버전5.2 일 때 옮겼음) /////// mysql_query("update ".db_tblname."_table set count_field=count_field+1 where name='$af_fname'"); if(!$af_TABLE5["dummy9"]) $sector_count = "1"; else $sector_count = $af_TABLE5["dummy9"]+1; mysql_query("update ".db_tblname."_table set dummy9=$sector_count where name='$af_fname'"); ////// 폼유효기간 설정일 때 //////////////////////////////////////////////////////////// if($_GET["mode"] != "admine") { if($af_TABLE5["dummy17"] == "1") { $startD = date("Y년m월d일",$af_TABLE5["dummy15"]); $endD = date("Y년m월d일",$af_TABLE5["dummy16"]); if($af_TABLE5["dummy15"] > time()) { die("