5) { sleep(1); header("Location:" . $WebSite . "login/login_form.php"); exit; } include $_SERVER['DOCUMENT_ROOT'] . '/load_header.php'; // 첫 화면 표시 문구 $title_message = '발주처 주소록'; ?> <?=$title_message?> 0) { try{ $sql = "select * from ". $DB . "." . $tablename . " where num=?"; $stmh = $pdo->prepare($sql); $stmh->bindValue(1, $num, PDO::PARAM_STR); $stmh->execute(); $row = $stmh->fetch(PDO::FETCH_ASSOC); include '_row.php'; }catch (PDOException $Exception) { print "오류: ".$Exception->getMessage(); } if($option !=='add') { $mode = 'update'; } else { $mode = 'insert'; $manager_name = ''; $contact_info = '010-'; $represent = ''; // 대표자가 아닌 경우 직원추가인 경우 해당됨 $title_message = '업체 담당자 추가화면 '; // 부모코드 넣어줌 $parentnum = $num; $secondordnum = $num; } } else { include '_request.php'; $mode = 'insert'; $representative_name = $search; $manager_name = $search; $phone = '010-'; $represent = '대표코드'; // 대표코드 $registdate = date('Y-m-d'); // 현재일자 기록 } ?>
> > > > >
CODE    
CODE    
거래처코드(사업자번호)
거래처 명 대표자 성함
주소
업태 종목
전화 모바일
이메일 팩스
담당자명 담당자Tel
비고