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_INT);
$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-';
$title_message = '업체 담당자 추가화면 ';
$parentnum = $num;
}
} else {
include '_request.php';
$mode = 'insert';
$representative_name = $search;
$manager_name = $search;
$phone = '010-';
}
?>