prepare($sql); $stmh->bindValue(1, $num, PDO::PARAM_INT); $stmh->execute(); $row = $stmh->fetch(PDO::FETCH_ASSOC); // _row.php를 통해 $row의 모든 컬럼이 변수로 할당됩니다. // (사용자가 제공한 _row.php에는 $bending_components가 포함되어 있습니다) if ($row) { include '_row.php'; } if ($mode === 'copy') { $registration_date = date('Y-m-d'); $num_display = ''; // 복사 모드에서는 번호 비움 $author = isset($user_name) ? $user_name : ''; } } catch (PDOException $Exception) { echo "오류: " . $Exception->getMessage(); exit; } } else { // 신규(insert) 모드 include '_request.php'; // 혹시 모를 파라미터 처리 $mode = 'insert'; $registration_date = date('Y-m-d'); $author = isset($user_name) ? $user_name : ''; } $title_message = ($mode === 'view') ? "레일 조회 (#{$num_display})" : '레일 등록'; $title_message = ($mode === 'modify') ? "레일 수정 (#{$num_display})" : $title_message; $title_message = ($mode === 'copy') ? '레일 (데이터 복사)' : $title_message; // 기존에 저장된 값이 있는 경우 해당 값을 설정, 없으면 기본값 if(empty($firstitem)) { $firstitem = '스크린'; } if(empty($model_UA)) { $model_UA = '비인정'; } $check_type = isset($row['check_type']) ? $row['check_type'] : '벽면형'; $finishing_type = isset($row['finishing_type']) ? $row['finishing_type'] : 'SUS마감'; $is_assembly_model = !empty($bending_components); // 조립 모델 여부 판단 ?>
| 등록일 | 작성자 | 비고 | |||
| 외형치수 |
가로(너비)
X
세로(폭)
|
||||
|
대분류:
>
>
모델 유형:
= htmlspecialchars($model_UA, ENT_QUOTES, 'UTF-8') ?>
>
>
형태 :
= htmlspecialchars($check_type, ENT_QUOTES, 'UTF-8') ?>
>
>
모델
마감
품목검색어:
|
|||||
이미지가 없습니다.