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();
}
$mode = 'update';
}
else
{
include '_request.php';
$mode = 'insert';
$representative_name = $search;
$manager_name = $search;
$phone = '';
$represent = '대표코드'; // 대표코드
$registdate = date('Y-m-d'); // 현재일자 기록
}
?>