최초커밋
This commit is contained in:
119
project/punching_user_man_ck.asp
Normal file
119
project/punching_user_man_ck.asp
Normal file
@@ -0,0 +1,119 @@
|
||||
<!-- #include virtual = "include/header.asp" -->
|
||||
<!-- #include virtual = "include/left.asp" -->
|
||||
<%
|
||||
dim ptype : ptype=request.item("ptype")
|
||||
dim tgubn : tgubn=request.form("tgubn")
|
||||
dim tsearchtxt : tsearchtxt=replace(replace(replace(replace(request.form("tsearchtxt"),"'",""),"""","")," ","")," ","")
|
||||
%>
|
||||
<!-- Content Wrapper. Contains page content -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<div class="content-header">
|
||||
<h1></h1>
|
||||
</div>
|
||||
<!-- /.content-header -->
|
||||
<!-- Main content -->
|
||||
<div class="content-body">
|
||||
<div class="content">
|
||||
<div class="container-fluid">
|
||||
<div class="row m-0">
|
||||
<div class="col-12">
|
||||
<form name="xform" method="post">
|
||||
<input type="hidden" name="modeYN" value="" />
|
||||
<input type="hidden" name="ptype" value="<%=ptype%>" />
|
||||
|
||||
<table class="table table-sm table-sm2 table-bordered table-head tr-colors">
|
||||
<tr>
|
||||
<td align=right>
|
||||
<font color=blue><3E><> Ȱ<><C8B0><EFBFBD>ϴ<EFBFBD> <20><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>˻<EFBFBD><CBBB>ϽǼ<CFBD> <20>ֽ<EFBFBD><D6BD>ϴ<EFBFBD></font>
|
||||
<select name="tgubn">
|
||||
<option value="m_name" <%if tgubn="m_name" then %> selected <%end if%> ><3E≯<EFBFBD></option>
|
||||
<option value="new_id" <%if tgubn="new_id" then %> selected <%end if%> ><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ID</option>
|
||||
</select>
|
||||
<input type="text" style="width:100px;" name="tsearchtxt" id="tsearchtxt" value='<%=tsearchtxt%>'/>
|
||||
<img src="/images/common/btn_smallsrch2.gif" align="absmiddle" onclick="javascript:js_search(xform);" style="CURSOR:pointer;">
|
||||
</td>
|
||||
<tr>
|
||||
</table>
|
||||
<table class="table table-sm table-sm2 table-bordered table-head tr-colors" >
|
||||
<tr>
|
||||
<td width="101px" align="center" style='word-break:break-all' ><b><3E><><EFBFBD><EFBFBD>No</b></td>
|
||||
<td width="177px" align="center" style='word-break:break-all' ><b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ID</b></td>
|
||||
<td align="center" style='word-break:break-all' ><b><3E≯<EFBFBD></b></td>
|
||||
<td width="182px" align="center" style='word-break:break-all' ><b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></b></td>
|
||||
</tr>
|
||||
<%
|
||||
ck=0
|
||||
query = " select top 15 "
|
||||
query = query & " id, isnull(new_id,'') as new_id, m_name ,m_jumin "
|
||||
query = query & " from project2.dbo.man "
|
||||
query = query & " where m_activity='Ȱ<><C8B0>' "
|
||||
if tsearchtxt<>"" then
|
||||
query = query & " and "&tgubn&" like '%"&tsearchtxt&"%' "
|
||||
end if
|
||||
query = query & " order by id desc "
|
||||
adoRs.Open query, adoconn, 1' adOpenForwardOnly
|
||||
do while not adoRs.eof
|
||||
ck=1
|
||||
%>
|
||||
<tr style="cursor:pointer;" onclick="js_user_select(xform,'<%=adoRs("id")%>','<%=adoRs("new_id")%>','<%=adoRs("m_name")%>','<%=left(adoRs("m_jumin"),6)%>');" >
|
||||
<td align="center" ><%=adoRs("id")%></td>
|
||||
<td align="center" ><%=adoRs("new_id")%></td>
|
||||
<td align="center" ><%=adoRs("m_name")%></td>
|
||||
<td align="center" ><%=left(adoRs("m_jumin"),6)%>*******</td>
|
||||
</tr>
|
||||
<%
|
||||
adoRs.movenext
|
||||
loop
|
||||
adoRs.close
|
||||
%>
|
||||
</table>
|
||||
<% if tsearchtxt<>"" then %>
|
||||
<% if ck=0 then %>
|
||||
<br><br><br><center><font color=blue>----- <20>˻<EFBFBD><CBBB><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD> -----</font></center>
|
||||
<% else %>
|
||||
<br><br><br><center><font color=blue>----- <20>ֱٵ<D6B1><D9B5><EFBFBD><EFBFBD><EFBFBD> 15<31><35><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>˴ϴ<CBB4> -----</font></center>
|
||||
<% end if%>
|
||||
<% end if %>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.content -->
|
||||
<!-- REQUIRED SCRIPTS -->
|
||||
<script>
|
||||
$(function(){
|
||||
cutmenu();
|
||||
});
|
||||
|
||||
function js_search(x){
|
||||
if(x.tsearchtxt.value==""){
|
||||
alert("<22>˻<EFBFBD><CBBB> <20>Է<EFBFBD><D4B7>Ͽ<EFBFBD> <20>ּ<EFBFBD><D6BC><EFBFBD> ");
|
||||
return;
|
||||
}
|
||||
|
||||
x.target="";
|
||||
x.action="punching_user_man_ck.asp";
|
||||
x.submit();
|
||||
}
|
||||
|
||||
function js_user_select(x,xid,xnid,xname,xjumin){
|
||||
if((xid=="")||(xnid=="")||(xname=="")||(xjumin=="")){
|
||||
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>ϵ<EFBFBD> <20><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ƴմϴ<D5B4>.\n[<5B><><EFBFBD><EFBFBD>No][<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ID][<5B≯<EFBFBD>][<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ִ<EFBFBD><D6B4><EFBFBD>\nȮ<6E><C8AE><EFBFBD>ϼ<EFBFBD><CFBC><EFBFBD> ");
|
||||
return;
|
||||
}
|
||||
|
||||
if(confirm("<22><><EFBFBD><EFBFBD><EFBFBD>Ͻ<EFBFBD> <20><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [<5B≯<EFBFBD>]<5D><> [<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]<5D><> <20><><EFBFBD>̵<EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ͻðڽ<C3B0><DABD>ϱ<EFBFBD>? ")){
|
||||
x.modeYN.value="1"
|
||||
}
|
||||
|
||||
opener.js_set_user(xid,xnid,xname,xjumin,xform.ptype.value,xform.modeYN.value);
|
||||
window.open('about:blank','_parent').parent.close();
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
<!-- /.content-wrapper -->
|
||||
<!-- #include virtual = "include/footer.asp" -->
|
||||
Reference in New Issue
Block a user