77 lines
2.2 KiB
Plaintext
77 lines
2.2 KiB
Plaintext
<!-- #include virtual = "lib/config.asp" -->
|
|
<%
|
|
p_sn = request("p_sn")
|
|
state = request("state")
|
|
drop_reason = request("drop_reason")
|
|
|
|
if drop_reason <> "" then
|
|
query = ""
|
|
query = query & " UPDATE T_PROJECT_BASE "
|
|
query = query & " SET p_drop_reason = '" & CheckWord(drop_reason) & "' "
|
|
query = query & " WHERE p_sn = '" & p_sn & "' "
|
|
|
|
adoConn.execute query
|
|
end if
|
|
%>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
|
|
<LINK rel="stylesheet" type="text/css" href="/lib/text.css">
|
|
<script src="/lib/function.js" type="text/javascript1.3"></script>
|
|
<title>
|
|
탈락 사유 입력
|
|
</title>
|
|
<script language=javascript>
|
|
|
|
|
|
function clsit() {
|
|
self.close();
|
|
}
|
|
|
|
function upit() {
|
|
if (document.p_drop.drop_reason.value == "") {
|
|
alert("사유를 입력해주세요.");
|
|
return false;
|
|
}
|
|
|
|
document.p_drop.action = "./project_contact_drop_reason.asp";
|
|
document.p_drop.submit();
|
|
}
|
|
|
|
function focusit() {
|
|
document.p_drop.drop_reason.focus();
|
|
}
|
|
function stateit() {
|
|
opener.document.pms.action = 'project_contact_change_2014.asp?state=X';
|
|
opener.document.pms.submit();
|
|
self.close();
|
|
}
|
|
</script>
|
|
</head>
|
|
<body <%if drop_reason <> "" then %> onLoad="stateit();" <% else %> onLoad="focusit()" <%end if %>>
|
|
<form name="p_drop" method="post">
|
|
<input type="hidden" name="state" value="<%=state%>">
|
|
<input type="hidden" name="p_sn" value="<%=p_sn%>">
|
|
<table border="0" cellspacing="1" cellpadding="5" width="380">
|
|
<tr>
|
|
<td align="center"><b>탈락 사유 입력</b></td>
|
|
</tr>
|
|
<tr align="center" height="35">
|
|
<td>
|
|
<textarea name="drop_reason" cols="50" rows="18"></textarea>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<p style="margin-top:2.0pt;margin-bottom:3.0pt;"></p>
|
|
<center><font color=red>※ 탈락 사유를 필수적으로 입력하여 주세요!</font></center>
|
|
<p style="margin-top:2.0pt;margin-bottom:3.0pt;"></p>
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0" width="380" bgcolor="white">
|
|
<tr align="center">
|
|
<td colspan="99">
|
|
<img src="/images/common/btn_write.jpg" border="0" onClick="upit();" style="CURSOR:pointer;">
|
|
|
|
<img src="/images/common/btn_cancel2.jpg" border="0" onClick="clsit();" style="CURSOR:pointer;">
|
|
</td>
|
|
</tr>
|
|
</table> |