최초커밋
This commit is contained in:
199
other/official_no_gen.asp
Normal file
199
other/official_no_gen.asp
Normal file
@@ -0,0 +1,199 @@
|
||||
<!-- #include virtual = "include/header.asp" -->
|
||||
<!-- #include virtual = "include/left.asp" -->
|
||||
<%
|
||||
dim query
|
||||
dim official_no
|
||||
official_no = request("official_no")
|
||||
|
||||
dim official_title
|
||||
dim official_client
|
||||
dim official_date
|
||||
dim official_etc
|
||||
%>
|
||||
<!-- Content Wrapper. Contains page content -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<div class="content-header">
|
||||
<h1><3E><><EFBFBD><EFBFBD> <20><>ȣ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h1>
|
||||
</div>
|
||||
<!-- /.content-header -->
|
||||
<!-- Main content -->
|
||||
<div class="content-body">
|
||||
<div class="content">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<form name="official" method="post">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td style="padding:0 0 5 0;">
|
||||
<font class="brown"><3E><><EFBFBD><EFBFBD> <20><>ȣ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>Դϴ<D4B4>. <20><>ȣ<EFBFBD><C8A3> KRI-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>˴ϴ<CBB4>. (<28><> : 2018<31><38> 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD> -> KRI-20161128-01, 2019<31><39> 02<30><32> <20><><EFBFBD><EFBFBD> -> KRI-20190220-01) </font><br />
|
||||
<font color="red"><b><3E><> <20><>ȣ<EFBFBD><C8A3> <20><><EFBFBD><EFBFBD><EFBFBD>ϱ<EFBFBD> <20><>ư Ŭ<><C5AC> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>˴ϴ<CBB4>.</b></font><br />
|
||||
<font color="red"><b><3E><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>纻<EFBFBD><E7BABB> <20>濵<EFBFBD><E6BFB5><EFBFBD><EFBFBD><EFBFBD>ǿ<EFBFBD> <20><><EFBFBD><EFBFBD> <20>ٶ<EFBFBD><D9B6>ϴ<EFBFBD>.</b></font><br />
|
||||
<font color="red"><b><3E><> [<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]<5D><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ڰ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ<EFBFBD><C8A3> <20><><EFBFBD><EFBFBD><EFBFBD>۸<EFBFBD>ũ<EFBFBD><C5A9> Ŭ<><C5AC><EFBFBD>Ͽ<EFBFBD> [<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>] ó<><C3B3><EFBFBD><EFBFBD> <20><> <20><> <20>ֽ<EFBFBD><D6BD>ϴ<EFBFBD>.</b></font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table class="table table-sm table-sm2 table-bordered table-head tr-colors">
|
||||
<tr height="24">
|
||||
<td align="center" colspan="4"><3E><><EFBFBD><EFBFBD> <20><>ȣ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||||
</tr>
|
||||
<%
|
||||
official_title = ""
|
||||
official_client = ""
|
||||
official_date = ""
|
||||
official_etc = ""
|
||||
|
||||
If official_no <> "" Then
|
||||
%>
|
||||
<tr>
|
||||
<td align="center" ><3E><><EFBFBD><EFBFBD> <20><>ȣ</td>
|
||||
<td colspan="3" >
|
||||
<input type="text" style="width:100%;" value='<%=official_no %>' readonly />
|
||||
</td>
|
||||
</tr>
|
||||
<%
|
||||
query = ""
|
||||
query = query & " SELECT official_date, official_client, official_title, official_etc "
|
||||
query = query & " FROM T_OFFICIAL_NO "
|
||||
query = query & " WHERE official_no = '" & official_no & "' "
|
||||
query = query & " AND use_div = '1' "
|
||||
|
||||
adors.open query, adoConn, adopenstatic, adlockreadonly
|
||||
If adors.recordCount = 1 Then
|
||||
official_title = adors("official_title")
|
||||
official_client = adors("official_client")
|
||||
official_date = adors("official_date")
|
||||
official_etc = adors("official_etc")
|
||||
End If
|
||||
adors.close
|
||||
End If
|
||||
%>
|
||||
<tr>
|
||||
<td align="center" ><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD></td>
|
||||
<td colspan="3" >
|
||||
<input type="text" style="width:100%;" name="official_title" id="official_title" value='<%=official_title %>' <% If official_date <> "" Then %> readonly <% End If %> />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%" align="center" >Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ<EFBFBD><C6AE></td>
|
||||
<td width="35%" >
|
||||
<%
|
||||
If official_date = "" Then
|
||||
%>
|
||||
<input type="hidden" name="official_div" id="official_div" value="" />
|
||||
<input type="hidden" name="official_cli_prj" id="official_cli_prj" value="" />
|
||||
<%
|
||||
End If
|
||||
%>
|
||||
<input type="text" style="<% If official_date <> "" Then %>width:100%;<% Else %>width:90%;cursor:pointer;<% End If %>" name="official_client" id="official_client" value='<%=official_client %>' <% If official_client = "" Then %> onclick="c_prj_sel('official_div', 'official_cli_prj', 'official_client');" <% End If %> readonly />
|
||||
<%
|
||||
If official_date = "" Then
|
||||
%>
|
||||
<img src="/images/common/btn_smallsrch2.gif" style="vertical-align:top;cursor:pointer;" onclick="c_prj_sel('official_div', 'official_cli_prj', 'official_client');" />
|
||||
<%
|
||||
End If
|
||||
%>
|
||||
</td>
|
||||
<td width="15%" align="center" ><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||||
<td width="35%" >
|
||||
<input type="text" style="width:100%;cursor:pointer;text-align:right;" name="official_date" id="official_date" value='<%=official_date %>' <% If official_date = "" Then %> class='selectDate' <% End If %> readonly />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" ><3E><> <20><></td>
|
||||
<td colspan="3" >
|
||||
<input type="text" style="width:100%;" name="official_etc" id="official_etc" value='<%=official_etc %>' <% If official_date <> "" Then %> readonly <% End If %> />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<%
|
||||
If official_no = "" Then
|
||||
%>
|
||||
<tr>
|
||||
<td style="padding:0 0 5px 0;" align="center">
|
||||
<img src="/images/common/btn_create.jpg" onclick="c_official();" style="CURSOR:pointer;" title='<27><><EFBFBD><EFBFBD><EFBFBD>ϱ<EFBFBD>'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div id="official_list">
|
||||
<iframe name="official_frame" src="./official_list.asp" style="width:100%; height:480px; border:0;"></iframe>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<%
|
||||
Else
|
||||
%>
|
||||
<tr>
|
||||
<td style="padding:5 0 0 0;" align="center">
|
||||
<img src="/images/common/btn_return.jpg" onclick="c_return();" style="CURSOR:pointer;" title='<27><><EFBFBD>ư<EFBFBD><C6B0><EFBFBD>'>
|
||||
</td>
|
||||
</tr>
|
||||
<%
|
||||
End If
|
||||
%>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.content -->
|
||||
<!-- REQUIRED SCRIPTS -->
|
||||
<script>
|
||||
$(function(){
|
||||
$(".selectDate").datepicker();
|
||||
});
|
||||
|
||||
function c_official() {
|
||||
var spec_str = /[$\\@\\\#%\^\&\{\}\`\-\=\|\/\;\"\']/;
|
||||
if (document.official.official_title.value.trim() == "") {
|
||||
alert("<22><> <20><><EFBFBD><EFBFBD> <20>ۼ<EFBFBD><DBBC><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
document.official.official_title.focus();
|
||||
return;
|
||||
} else if (document.official.official_title.value.search(spec_str) != -1) {
|
||||
alert("Ư<><C6AF><EFBFBD><EFBFBD><EFBFBD>ڸ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20>ٽ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϱ<EFBFBD> <20><>ư<EFBFBD><C6B0> <20><><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
document.official.official_title.focus();
|
||||
return;
|
||||
}
|
||||
if (document.official.official_client.value.trim() == "") {
|
||||
alert("<22><>ü <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
document.official.official_client.focus();
|
||||
return;
|
||||
} else if (document.official.official_client.value.search(spec_str) != -1) {
|
||||
alert("Ư<><C6AF><EFBFBD><EFBFBD><EFBFBD>ڸ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20>ٽ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϱ<EFBFBD> <20><>ư<EFBFBD><C6B0> <20><><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
document.official.official_client.focus();
|
||||
return;
|
||||
}
|
||||
if (document.official.official_date.value.trim() == "") {
|
||||
alert("<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
return;
|
||||
}
|
||||
if (document.official.official_etc.value.trim() != "") {
|
||||
if (document.official.official_etc.value.search(spec_str) != -1) {
|
||||
alert("Ư<><C6AF><EFBFBD><EFBFBD><EFBFBD>ڸ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20>ٽ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϱ<EFBFBD> <20><>ư<EFBFBD><C6B0> <20><><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>.");
|
||||
document.official.official_etc.focus();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
document.official.action = "./official_no_gen_ok.asp";
|
||||
document.official.submit();
|
||||
}
|
||||
|
||||
function c_return() {
|
||||
location.href = "./official_no_gen.asp";
|
||||
}
|
||||
function c_prj_sel(obj_type, obj_prj, obj_cli) {
|
||||
var url = "/project_list/project_other_list.asp?obj_type=" + obj_type + "&obj_prj=" + obj_prj + "&obj_cli=" + obj_cli;
|
||||
window.open(url, "wins", "left=50, top=50, menubar=no, location=no, status=no, toolbar=no, width=850, height=600, scrollbars=yes ,resizable=no");
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
<!-- /.content-wrapper -->
|
||||
<!-- #include virtual = "include/footer.asp" -->
|
||||
Reference in New Issue
Block a user