119 lines
4.3 KiB
Plaintext
119 lines
4.3 KiB
Plaintext
<!-- #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>※ 활동하는 내근/면접원을 검색하실수 있습니다</font>
|
|
<select name="tgubn">
|
|
<option value="m_name" <%if tgubn="m_name" then %> selected <%end if%> >이름</option>
|
|
<option value="new_id" <%if tgubn="new_id" then %> selected <%end if%> >내근직/면접원 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>고유No</b></td>
|
|
<td width="177px" align="center" style='word-break:break-all' ><b>내근직/면접원 ID</b></td>
|
|
<td align="center" style='word-break:break-all' ><b>이름</b></td>
|
|
<td width="182px" align="center" style='word-break:break-all' ><b>생년월일</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='활동' "
|
|
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>----- 검색된 내용이 없습니다 -----</font></center>
|
|
<% else %>
|
|
<br><br><br><center><font color=blue>----- 최근등록자 15명까지 출력 됩니다 -----</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("검색어를 입력하여 주세요 ");
|
|
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("정상적으로 등록된 내근/면접원이 아닙니다.\n[고유No][내근직/면접원 ID][이름][생년월일] 정보가 있는지\n확인하세요 ");
|
|
return;
|
|
}
|
|
|
|
if(confirm("선택하신 면접/내근직의 [이름]과 [생년월일]을 아이디/비번으로 사용하시겠습니까? ")){
|
|
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" --> |