최초등록
This commit is contained in:
@@ -0,0 +1,476 @@
|
||||
<!--#include virtual="/common/file/inc_head.asp"-->
|
||||
<%
|
||||
|
||||
dim v_search, v_keyword, table, Query_Fields, Query_Where, Query_OrderBy
|
||||
Dim recordcount
|
||||
dim pagesize, v_totalpage, v_page, TotalCnt, v_block
|
||||
|
||||
Dim nameSort1, nameSort2
|
||||
|
||||
nameSort1 = inputValue( Request.QueryString("nameSort1") )
|
||||
nameSort2 = inputValue( Request.QueryString("nameSort2") )
|
||||
sh_bdm_idx = inputValue( Request.QueryString("sh_bdm_idx") )
|
||||
|
||||
v_search = inputValue( Request.QueryString("p_search") ) '검색조건
|
||||
v_keyword = inputValue( Request.QueryString("p_keyword") ) '검색어
|
||||
oreder_filed = inputValue( Request.QueryString("oreder_filed") ) '검색어
|
||||
If oreder_filed = "" Then oreder_filed = "adr_name asc, adr_idx asc"
|
||||
|
||||
prepage = Request.ServerVariables("path_info") & "?" & Request.ServerVariables("query_string") '현재페이지경로
|
||||
|
||||
table = "view_address_member" '테이블
|
||||
idx_field = "adr_idx" '기본키
|
||||
'oreder_filed = "adr_name asc, adr_idx asc" '정렬기준 필드
|
||||
Query_Fields = "adr_idx, bdm_idx, adr_m_id, adr_name, adr_mobile1, adr_mobile2, adr_mobile3, adr_c_memo, bdm_menuname" '불러올 필드
|
||||
pagesize = 10 '목록개수
|
||||
v_block = 10 '페이지개수
|
||||
|
||||
'==================조합 쿼리문=======================
|
||||
If v_keyword <> "" then
|
||||
Query_Where = " where adr_m_id = '" & session("ss_m_id") & "' and " & v_search & " like '%" & v_keyword & "%'"
|
||||
andOrWhere = " and "
|
||||
Else
|
||||
Query_Where = " where adr_m_id = '" & session("ss_m_id") & "'"
|
||||
andOrWhere = " and "
|
||||
End If
|
||||
|
||||
If nameSort1 <> "" And nameSort2 <> "" Then
|
||||
Query_Where = Query_Where & andOrWhere & " adr_name between '" & nameSort1 & "' and '" & nameSort2 & "'"
|
||||
End if
|
||||
If sh_bdm_idx <> "" Then
|
||||
Query_Where = Query_Where & andOrWhere & " bdm_idx = '" & sh_bdm_idx & "'"
|
||||
End if
|
||||
|
||||
Query_OrderBy = " ORDER BY "&oreder_filed
|
||||
'==================조합 쿼리문=======================
|
||||
|
||||
'==================전체 레코드 수 뽑기===============
|
||||
sql="select count("&idx_field&") from " & table & Query_Where
|
||||
'Response.write sql
|
||||
'Response.end
|
||||
set rs = DbCon.execute(sql)
|
||||
recordcount=CInt( rs(0) ) '이 전체레코드갯수를 이용해서 페이지갯수를 뽑아 낼것이다.
|
||||
Set rs = nothing
|
||||
'==================전체 레코드 수 뽑기===============
|
||||
|
||||
v_totalpage=fix((recordcount-1)/pagesize)+1 '전체덩어리갯수
|
||||
v_page = Request.QueryString("p_page")
|
||||
|
||||
if v_page="" then
|
||||
v_page = 1
|
||||
elseif cint(v_page) < 1 then
|
||||
v_page = 1
|
||||
elseif cint(v_page)>cint(v_totalpage) then
|
||||
v_page=cint(v_totalpage)
|
||||
end if
|
||||
|
||||
'========================리스트 출력 쿼리문 생성======================
|
||||
'MS-SQL
|
||||
sql = "select Top " & pagesize& " " & Query_Fields & " from " & table
|
||||
sql = sql & Query_Where & andOrWhere & " "&idx_field&" not in"
|
||||
sql = sql & "(select top " & pagesize * (v_page - 1) & " "&idx_field&" from " & table
|
||||
sql = sql & Query_Where & Query_OrderBy & ")"
|
||||
sql = sql & Query_OrderBy
|
||||
'========================리스트 출력 쿼리문 생성 끝======================
|
||||
'response.write sql
|
||||
|
||||
|
||||
Set rs = Dbcon.Execute( sql )
|
||||
If rs.bof Or rs.eof Then
|
||||
List_data = Null
|
||||
TotalCnt = 0
|
||||
else
|
||||
List_data = rs.getrows
|
||||
TotalCnt = recordcount
|
||||
End if
|
||||
|
||||
|
||||
'=======================주소그룹============================
|
||||
sql = "select a.bdm_idx, bdm_menuname, b.Cnt from bd_address as a left outer join view_bd_memTotal as b on a.bdm_idx = b.bdm_idx where bdm_id = '"&session("ss_m_id")&"' order by bdm_code"
|
||||
Set rs = DbCon.Execute( sql )
|
||||
If rs.bof Or rs.eof Then
|
||||
addr_list = Null
|
||||
Else
|
||||
addr_list = rs.getrows
|
||||
End If
|
||||
'=======================주소그룹============================
|
||||
|
||||
|
||||
Set rs = Nothing
|
||||
DbCon.close
|
||||
Set DbCon = Nothing
|
||||
|
||||
|
||||
|
||||
sortkeyword = "가;나;다;라;마;바;사;아;자;차;카;타;파;하;히"
|
||||
sortkeyword2 = "ㄱ;ㄴ;ㄷ;ㄹ;ㅁ;ㅂ;ㅅ;ㅇ;ㅈ;ㅊ;ㅋ;ㅌ;ㅍ;ㅎ;"
|
||||
sortkeyword_arr = Split(sortkeyword, ";")
|
||||
sortkeyword2_arr = Split(sortkeyword2, ";")
|
||||
%>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
//정렬
|
||||
function doSort(nameSort1, nameSort2){
|
||||
location.href="?nameSort1="+encodeURIComponent(nameSort1)+"&nameSort2="+encodeURIComponent(nameSort2);
|
||||
}
|
||||
|
||||
|
||||
|
||||
function checkAll(){
|
||||
var eForm = document.getElementById('mem_List');
|
||||
if(eForm.chk_all.value == "") {
|
||||
eForm.chk_all.value="Y";
|
||||
checkboxChk(eForm.adr_idx, true);
|
||||
}else {
|
||||
eForm.chk_all.value="";
|
||||
checkboxChk(eForm.adr_idx, false);
|
||||
}
|
||||
}
|
||||
|
||||
function checkboxChk(chkObj, type){
|
||||
var field = chkObj;//buseo_mem.document.mem_list.check;
|
||||
if(field.length == null){
|
||||
field.checked = type;
|
||||
}else{
|
||||
for (i = 0; i < field.length; i++){
|
||||
field[i].checked = type;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//삭제
|
||||
function DelOk(){
|
||||
if (confirm("삭제하시겠습니까?")){
|
||||
document.getElementById("mem_List").submit();
|
||||
}return;
|
||||
}
|
||||
|
||||
//그룹이동
|
||||
function grpChange(){
|
||||
var obj = document.getElementById("bdm_idx_select");
|
||||
var eForm = document.getElementById("mem_List");
|
||||
|
||||
eForm.bdm_idx.value = obj.value;
|
||||
|
||||
if (confirm("선택된 주소록을 그룹이동 하시겠습니까?")){
|
||||
eForm.action = "addr_grp_change_ok.asp";
|
||||
eForm.submit();
|
||||
}return;
|
||||
}
|
||||
|
||||
|
||||
function reSend(num){
|
||||
if(confirm("이 연락처로 문자를 발송하시겠습니까?")){
|
||||
var eForm = document.getElementById("resendFrm");
|
||||
var number = document.getElementById("number_"+num).value;
|
||||
//var message = document.getElementById("message_"+num).value;
|
||||
|
||||
eForm.number.value = number;
|
||||
//eForm.message.value = message;
|
||||
eForm.submit();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function sendit(eForm){
|
||||
if(!valueChk(eForm.adr_name, "이름")){return false;}
|
||||
if(!valueChk(eForm.adr_mobile, "휴대폰번호")){return false;}
|
||||
if(CheckLen( eForm.adr_mobile, 10, 11 )){return false;}
|
||||
//alert("OK");
|
||||
}
|
||||
|
||||
function valueChk(obj, objName){ //text필드
|
||||
if(obj.value.split(" ").join("") == ""){
|
||||
alert(objName+"을(를) 입력하세요");
|
||||
try{
|
||||
obj.focus();
|
||||
return false;
|
||||
}catch(e){
|
||||
return false;
|
||||
}
|
||||
}else{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
function SetNum(obj){ //숫자만 입력
|
||||
val=obj.value;
|
||||
re=/[^0-9]/gi;
|
||||
obj.value=val.replace(re,"");
|
||||
}
|
||||
|
||||
|
||||
function addrModify( adr_idx ){
|
||||
$("#detaillayer10 div.popct").load("ajax_addr_modify.asp?adr_idx="+adr_idx);
|
||||
}
|
||||
|
||||
function orderByChange( oreder_filed ){
|
||||
var query_string = "nameSort1=<%=server.urlencode(nameSort1)%>";
|
||||
query_string += "&nameSort2=<%=server.urlencode(nameSort2)%>";
|
||||
query_string += "&oreder_filed="+encodeURIComponent(oreder_filed);
|
||||
location.href = "?"+query_string;
|
||||
}
|
||||
|
||||
function setGroupChange(){
|
||||
var cnt = $("table.table1 tbody tr td input[name='adr_idx']:checked").size();
|
||||
$("#detaillayer8 div.popct p strong").text("‘"+cnt+"건’");
|
||||
clickArea(detaillayer8,0);
|
||||
}
|
||||
//]]>
|
||||
</script>
|
||||
<!-- 타이틀 -->
|
||||
<div id="cont_head">
|
||||
<h2>주소록</h2>
|
||||
<p class="imp">기본적으로 가나다 순으로 나오며, 정렬설정은 아래의 선택으로 지정하실 수 있습니다.</p>
|
||||
</div>
|
||||
<!-- //타이틀 -->
|
||||
<!-- 내용 -->
|
||||
<div id="cont_wrap">
|
||||
<!-- 주소록 -->
|
||||
<div class="s0201">
|
||||
<div class="h_board">
|
||||
<div class="float_l">
|
||||
<select class="select_basic" style="width:140px;" id="oreder_filed" name="oreder_filed" onchange="orderByChange(this.value);">
|
||||
<option value="">정렬기준</option>
|
||||
<option value="adr_name asc, adr_idx asc" <%=chkSelect(oreder_filed, "adr_name asc, adr_idx asc")%>>가나다순</option>
|
||||
<option value="adr_idx desc" <%=chkSelect(oreder_filed, "adr_idx desc")%>>등록순</option>
|
||||
</select>
|
||||
<ul class="k_alpa">
|
||||
<li><a href="#all" onclick="doSort('','');" <%If nameSort1 = "" Then Response.write "class='active'"%>>전체</a></li><%
|
||||
For i = 1 To 14
|
||||
%><li><a href="#sort" onclick="doSort('<%=sortkeyword_arr(i-1)%>','<%=sortkeyword_arr(i)%>');" <%If nameSort1 = sortkeyword_arr(i-1) Then Response.write "class='active'"%>><%=sortkeyword2_arr(i-1)%></a></li><%
|
||||
next
|
||||
%><li><a href="#sort" onclick="doSort('A','Z');" <%If nameSort1 = "A" Then Response.write "class='active'"%>>A-Z</a></li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<div class="float_r">
|
||||
<a href="excelprint.asp" class="c_gray">엑셀저장</a>
|
||||
<a href="excelinput.asp" onclick="window.open(this.href,'','fullscreen=no, width=580, height=450');return false;" class="c_gray">엑셀등록</a>
|
||||
<a href="#input" onclick="clickArea(detaillayer9,0);" class="c_mint">주소록 등록</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form id="mem_List" name="mem_List" method="post" action="del_ok.asp">
|
||||
<div>
|
||||
<input type="hidden" name="chk_all" value="" />
|
||||
<input type="hidden" name="table" value="<%=table%>" />
|
||||
<input type="hidden" name="prepage" value="<%=prepage%>" />
|
||||
<input type="hidden" name="bdm_idx" value="" />
|
||||
</div>
|
||||
<table class="table1" summary="주소록">
|
||||
<colgroup>
|
||||
<col width="5%" />
|
||||
<col width="8%" />
|
||||
<col width="15%" />
|
||||
<col width="20%" />
|
||||
<col width="12%" />
|
||||
<col width="20%" />
|
||||
<col width="*" />
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">선택</th>
|
||||
<th scope="col">번호</th>
|
||||
<th scope="col">이름</th>
|
||||
<th scope="col">연락처</th>
|
||||
<th scope="col">문자보내기</th>
|
||||
<th scope="col">소속그룹</th>
|
||||
<th scope="col">메모</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<%
|
||||
If isnull( list_data ) Then
|
||||
%>
|
||||
<%
|
||||
Else
|
||||
For i = 0 To Ubound(list_data, 2)
|
||||
num = (TotalCnt - pagesize * (v_page - 1)) - i
|
||||
Call arr2Value(Query_Fields, "List_data", i)
|
||||
If bdm_menuname = "" Or isnull(bdm_menuname) Then bdm_menuname = "그룹미지정"
|
||||
%>
|
||||
<tr>
|
||||
<td><input type="checkbox" name="adr_idx" value="<%=adr_idx%>" /></td>
|
||||
<td><%=num%></td>
|
||||
<td><a href="#modify" onclick="addrModify('<%=adr_idx%>');"><%=adr_name%></a></td>
|
||||
<td><a href="#modify" onclick="addrModify('<%=adr_idx%>');"><%=adr_mobile1&"-"&adr_mobile2&"-"&adr_mobile3%></a></td>
|
||||
<td>
|
||||
<div class="btngroup">
|
||||
<input type="hidden" id="number_<%=num%>" value="<%=adr_mobile1 & adr_mobile2 & adr_mobile3%>" />
|
||||
<ul class="btn_sm">
|
||||
<li><a href="#resend" onclick="reSend(<%=num%>);" class="sm1">발송</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<td><%=bdm_menuname%></td>
|
||||
<td><%=adr_c_memo%></td>
|
||||
</tr>
|
||||
<%
|
||||
next
|
||||
End if
|
||||
%>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
<div class="paginate">
|
||||
<%
|
||||
query_string = "?nameSort1=" & server.urlencode( nameSort1 )
|
||||
query_string = query_string & "&nameSort2=" & server.urlencode( nameSort2 )
|
||||
query_string = query_string & "&oreder_filed=" & server.urlencode( oreder_filed )
|
||||
query_string = query_string & "&sh_bdm_idx=" & server.urlencode( sh_bdm_idx )
|
||||
url = "01_01.asp" & query_string
|
||||
pageStyle2(url)
|
||||
%>
|
||||
</div>
|
||||
<div class="f_board">
|
||||
<div class="btngroup">
|
||||
<ul class="btn_nrm_bor column3">
|
||||
<li><a href="#chk" onclick="checkAll();" >전체선택/해제</a></li>
|
||||
<li><a href="#del" onclick="DelOk();">선택삭제</a></li>
|
||||
<li><a href="javascript:;" onclick="setGroupChange();">선택 주소록 그룹설정</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<form id="frm_sch" action="<%=Request.ServerVariables("path_info")%>" method="get">
|
||||
<div class="search_frm">
|
||||
<ul>
|
||||
<li class="s_month">
|
||||
<select style="width:150px;" id="bdmSearch" name="sh_bdm_idx">
|
||||
<option value="">그룹전체</option>
|
||||
<option value="0">그룹미지정</option>
|
||||
<%
|
||||
If Not(IsNull(addr_list)) then
|
||||
For i = 0 To UBound(addr_list, 2)
|
||||
If IsNull(addr_list(2,i)) Or addr_list(2,i) = "" Then addr_list(2,i) = 0
|
||||
%>
|
||||
<option value="<%=addr_list(0,i)%>" <%=chkSelect( addr_list(0,i), sh_bdm_idx )%>><%=addr_list(1,i) & "("&addr_list(2,i)&"명)"%></option>
|
||||
<%
|
||||
next
|
||||
End If
|
||||
%>
|
||||
</select>
|
||||
</li>
|
||||
<li class="s_word">
|
||||
|
||||
<select style="width:100px;" id="p_search" name="p_search">
|
||||
<option value="adr_name" <%=chkSelect(v_search, "adr_name")%>>이름</option>
|
||||
<option value="adr_c_memo" <%=chkSelect(v_search, "adr_c_memo")%>>메모</option>
|
||||
</select>
|
||||
<input type="text" class="w_text" id="p_keyword" name="p_keyword" value="<%=v_keyword%>" placeholder="검색어를 입력하세요." />
|
||||
<input type="image" src="/img/sub/btn_search.png" title="검색" class="btn_search" />
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //주소록 -->
|
||||
</div>
|
||||
<!-- //내용 -->
|
||||
|
||||
<!-- 그룹설정 -->
|
||||
<div id="detaillayer8" class="maskpopbox" style="display:none;">
|
||||
<div class="popbox">
|
||||
<div class="poptit">
|
||||
<h4>그룹설정</h4>
|
||||
<span class="popcls"><img src="/img/sub/btn_popcls.gif" alt="닫기" /></span>
|
||||
</div>
|
||||
<div class="popct">
|
||||
<p>선택한 <strong> </strong> 주소록을<br/>아래의 그룹으로 이동합니다.</p>
|
||||
<div class="sl_box">
|
||||
<select id="bdm_idx_select">
|
||||
<option value="0">그룹미지정</option>
|
||||
<%
|
||||
If Not(IsNull(addr_list)) then
|
||||
For i = 0 To UBound(addr_list, 2)
|
||||
If IsNull(addr_list(2,i)) Or addr_list(2,i) = "" Then addr_list(2,i) = 0
|
||||
%>
|
||||
<option value="<%=addr_list(0,i)%>"><%=addr_list(1,i)%></option>
|
||||
<%
|
||||
next
|
||||
End If
|
||||
%>
|
||||
</select>
|
||||
</div>
|
||||
<div class="btngroup">
|
||||
<ul class="btn_nrm column2">
|
||||
<li><a href="#change" onclick="grpChange();" class="nrm1">그룹이동</a></li>
|
||||
<li><a href="#close" onclick="closeArea();" class="nrm2">취소</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //그룹설정 -->
|
||||
|
||||
<!-- 주소록등록 -->
|
||||
<div id="detaillayer9" class="maskpopbox" style="display:none;">
|
||||
<div class="popbox">
|
||||
<div class="poptit">
|
||||
<h4>주소록등록</h4>
|
||||
<span class="popcls"><img src="/img/sub/btn_popcls.gif" alt="닫기" /></span>
|
||||
</div>
|
||||
<form action="addr_write_ok.asp" method="post" id="frm_pw" name="frm_pw" onsubmit="return sendit(this);">
|
||||
<div>
|
||||
<input type="hidden" name="prepage" value="<%=NOWPAGE%>" />
|
||||
</div>
|
||||
<div class="popct">
|
||||
<p class="essential"><strong>필수항목</strong></p>
|
||||
<ul class="frm">
|
||||
<li><input type="text" id="adr_name" name="adr_name" maxlength="30" class="inp_basic ess" placeholder="이름"/></li>
|
||||
<li><input type="text" class="inp_basic ess" id="adr_mobile" name="adr_mobile" placeholder="연락처" maxlength="12" onkeyup="SetNum(this);" /></li>
|
||||
<li><input type="text" class="inp_basic" id="adr_c_memo" name="adr_c_memo" placeholder="메모" maxlength="100" /></li>
|
||||
<li>
|
||||
<select class="select_basic ess" id="bdm_idx" name="bdm_idx">
|
||||
<option value="0">그룹미지정</option>
|
||||
<%
|
||||
If Not(IsNull(addr_list)) then
|
||||
For i = 0 To UBound(addr_list, 2)
|
||||
%>
|
||||
<option value="<%=addr_list(0,i)%>"><%=addr_list(1,i)%></option>
|
||||
<%
|
||||
Next
|
||||
End if
|
||||
%>
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="btngroup">
|
||||
<ul class="btn_nrm column2">
|
||||
<li><input type="submit" class="nrm1" value="저장" style="width:160px;" /></li>
|
||||
<li><a href="#close" onclick="closeArea();" class="nrm2">취소</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //주소록등록 -->
|
||||
|
||||
<!-- 주소록수정 -->
|
||||
<div id="detaillayer10" class="maskpopbox" style="display:none;">
|
||||
<div class="poptit">
|
||||
<h4>주소록수정</h4>
|
||||
<span class="popcls"><img src="/img/sub/btn_popcls.gif" alt="닫기" /></span>
|
||||
</div>
|
||||
<div class="popbox">
|
||||
<form action="addr_write_ok.asp" method="post" id="frm_pw" name="frm_pw" onsubmit="return sendit(this);">
|
||||
<div>
|
||||
<input type="hidden" name="prepage" value="<%=NOWPAGE%>" />
|
||||
</div>
|
||||
<div class="popct">
|
||||
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //주소록수정 -->
|
||||
|
||||
|
||||
<form id="resendFrm" method="post" action="/content/01message/01_01.asp">
|
||||
<input type="hidden" name="number" value="" />
|
||||
<input type="hidden" name="message" value="" />
|
||||
</form>
|
||||
|
||||
<!--#include virtual="/common/file/bottom.asp"-->
|
||||
@@ -0,0 +1,484 @@
|
||||
<!--#include virtual="/common/file/inc_head.asp"-->
|
||||
<%
|
||||
|
||||
dim v_search, v_keyword, table, Query_Fields, Query_Where, Query_OrderBy
|
||||
Dim recordcount
|
||||
dim pagesize, v_totalpage, v_page, TotalCnt, v_block
|
||||
|
||||
Dim nameSort1, nameSort2
|
||||
|
||||
nameSort1 = inputValue( Request.QueryString("nameSort1") )
|
||||
nameSort2 = inputValue( Request.QueryString("nameSort2") )
|
||||
|
||||
v_search = inputValue( Request.QueryString("p_search") ) '검색조건
|
||||
v_keyword = inputValue( Request.QueryString("p_keyword") ) '검색어
|
||||
prepage = Request.ServerVariables("path_info") & "?" & Request.ServerVariables("query_string") '현재페이지경로
|
||||
|
||||
table = "view_address_member" '테이블
|
||||
idx_field = "adr_idx" '기본키
|
||||
oreder_filed = "adr_name asc, adr_idx asc" '정렬기준 필드
|
||||
Query_Fields = "adr_idx, bdm_idx, adr_m_id, adr_name, adr_mobile1, adr_mobile2, adr_mobile3, adr_c_memo, bdm_menuname" '불러올 필드
|
||||
pagesize = 10 '목록개수
|
||||
v_block = 10 '페이지개수
|
||||
|
||||
'==================조합 쿼리문=======================
|
||||
If v_keyword <> "" then
|
||||
Query_Where = " where adr_m_id = '" & session("ss_m_id") & "' and " & v_search & " like '%" & v_keyword & "%'"
|
||||
andOrWhere = " and "
|
||||
Else
|
||||
Query_Where = " where adr_m_id = '" & session("ss_m_id") & "'"
|
||||
andOrWhere = " and "
|
||||
End If
|
||||
|
||||
If nameSort1 <> "" And nameSort2 <> "" Then
|
||||
Query_Where = Query_Where & andOrWhere & " adr_name between '" & nameSort1 & "' and '" & nameSort2 & "'"
|
||||
End if
|
||||
|
||||
|
||||
Query_OrderBy = " ORDER BY "&oreder_filed
|
||||
'==================조합 쿼리문=======================
|
||||
|
||||
'==================전체 레코드 수 뽑기===============
|
||||
sql="select count("&idx_field&") from " & table & Query_Where
|
||||
'Response.write sql
|
||||
'Response.end
|
||||
set rs = DbCon.execute(sql)
|
||||
recordcount=CInt( rs(0) ) '이 전체레코드갯수를 이용해서 페이지갯수를 뽑아 낼것이다.
|
||||
Set rs = nothing
|
||||
'==================전체 레코드 수 뽑기===============
|
||||
|
||||
v_totalpage=fix((recordcount-1)/pagesize)+1 '전체덩어리갯수
|
||||
v_page = Request.QueryString("p_page")
|
||||
|
||||
if v_page="" then
|
||||
v_page = 1
|
||||
elseif cint(v_page) < 1 then
|
||||
v_page = 1
|
||||
elseif cint(v_page)>cint(v_totalpage) then
|
||||
v_page=cint(v_totalpage)
|
||||
end if
|
||||
|
||||
'========================리스트 출력 쿼리문 생성======================
|
||||
'MS-SQL
|
||||
sql = "select Top " & pagesize& " " & Query_Fields & " from " & table
|
||||
sql = sql & Query_Where & andOrWhere & " "&idx_field&" not in"
|
||||
sql = sql & "(select top " & pagesize * (v_page - 1) & " "&idx_field&" from " & table
|
||||
sql = sql & Query_Where & Query_OrderBy & ")"
|
||||
sql = sql & Query_OrderBy
|
||||
'========================리스트 출력 쿼리문 생성 끝======================
|
||||
'response.write sql
|
||||
|
||||
|
||||
Set rs = Dbcon.Execute( sql )
|
||||
If rs.bof Or rs.eof Then
|
||||
List_data = Null
|
||||
TotalCnt = 0
|
||||
else
|
||||
List_data = rs.getrows
|
||||
TotalCnt = recordcount
|
||||
End if
|
||||
|
||||
|
||||
'=======================주소그룹============================
|
||||
sql = "select a.bdm_idx, bdm_menuname, b.Cnt from bd_address as a left outer join view_bd_memTotal as b on a.bdm_idx = b.bdm_idx where bdm_id = '"&session("ss_m_id")&"' order by bdm_code"
|
||||
Set rs = DbCon.Execute( sql )
|
||||
If rs.bof Or rs.eof Then
|
||||
addr_list = Null
|
||||
Else
|
||||
addr_list = rs.getrows
|
||||
End If
|
||||
'=======================주소그룹============================
|
||||
|
||||
|
||||
Set rs = Nothing
|
||||
DbCon.close
|
||||
Set DbCon = Nothing
|
||||
|
||||
|
||||
|
||||
sortkeyword = "가;나;다;라;마;바;사;아;자;차;카;타;파;하;히"
|
||||
sortkeyword_arr = Split(sortkeyword, ";")
|
||||
%>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
//정렬
|
||||
function doSort(nameSort1, nameSort2){
|
||||
location.href="?nameSort1="+nameSort1+"&nameSort2="+nameSort2;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function checkAll(){
|
||||
var eForm = document.getElementById('mem_List');
|
||||
if(eForm.chk_all.value == "") {
|
||||
eForm.chk_all.value="Y";
|
||||
checkboxChk(eForm.adr_idx, true);
|
||||
}else {
|
||||
eForm.chk_all.value="";
|
||||
checkboxChk(eForm.adr_idx, false);
|
||||
}
|
||||
}
|
||||
|
||||
function checkboxChk(chkObj, type){
|
||||
var field = chkObj;//buseo_mem.document.mem_list.check;
|
||||
if(field.length == null){
|
||||
field.checked = type;
|
||||
}else{
|
||||
for (i = 0; i < field.length; i++){
|
||||
field[i].checked = type;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//삭제
|
||||
function DelOk(){
|
||||
if (confirm("삭제하시겠습니까?")){
|
||||
document.getElementById("mem_List").submit();
|
||||
}return;
|
||||
}
|
||||
|
||||
//그룹이동
|
||||
function grpChange(){
|
||||
var obj = document.getElementById("bdm_idx_select");
|
||||
var eForm = document.getElementById("mem_List");
|
||||
|
||||
eForm.bdm_idx.value = obj.value;
|
||||
|
||||
if (confirm("선택된 주소록을 그룹이동 하시겠습니까?")){
|
||||
eForm.action = "addr_grp_change_ok.asp";
|
||||
eForm.submit();
|
||||
}return;
|
||||
}
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
<!-- 타이틀 -->
|
||||
<div id="cont_head">
|
||||
<h2>주소록</h2>
|
||||
<p class="imp">기본적으로 가나다 순으로 나오며, 정렬설정은 아래의 선택으로 지정하실 수 있습니다.</p>
|
||||
</div>
|
||||
<!-- //타이틀 -->
|
||||
<!-- 내용 -->
|
||||
<div id="cont_wrap">
|
||||
<!-- 주소록 -->
|
||||
<div class="s0201">
|
||||
<div class="h_board">
|
||||
<div class="float_l">
|
||||
<select class="select_basic" style="width:140px;">
|
||||
<option>정렬기준</option>
|
||||
<option>가나다순</option>
|
||||
<option>등록순</option>
|
||||
</select>
|
||||
<ul class="k_alpa">
|
||||
<li><a href="#" class="active">ㄱ</a></li>
|
||||
<li><a href="#">ㄴ</a></li>
|
||||
<li><a href="#">ㄷ</a></li>
|
||||
<li><a href="#">ㄹ</a></li>
|
||||
<li><a href="#">ㅁ</a></li>
|
||||
<li><a href="#">ㅂ</a></li>
|
||||
<li><a href="#">ㅅ</a></li>
|
||||
<li><a href="#">ㅇ</a></li>
|
||||
<li><a href="#">ㅈ</a></li>
|
||||
<li><a href="#">ㅊ</a></li>
|
||||
<li><a href="#">ㅋ</a></li>
|
||||
<li><a href="#">ㅌ</a></li>
|
||||
<li><a href="#">ㅍ</a></li>
|
||||
<li><a href="#">ㅎ</a></li>
|
||||
<li><a href="#">A-Z</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="float_r">
|
||||
<a href="#" class="c_gray">엑셀저장</a>
|
||||
<a href="#" class="c_gray">엑셀등록</a>
|
||||
<a href="javascript:;" onclick="clickArea(detaillayer9,0);" class="c_mint">주소록 등록</a>
|
||||
</div>
|
||||
</div>
|
||||
<table class="table1" summary="주소록">
|
||||
<colgroup>
|
||||
<col width="5%" />
|
||||
<col width="15%" />
|
||||
<col width="20%" />
|
||||
<col width="12%" />
|
||||
<col width="20%" />
|
||||
<col width="*" />
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><input type="checkbox" /></th>
|
||||
<th scope="col">이름</th>
|
||||
<th scope="col">연락처</th>
|
||||
<th scope="col">문자보내기</th>
|
||||
<th scope="col">소속그룹</th>
|
||||
<th scope="col">메모</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><input type="checkbox" /></td>
|
||||
<td>홍길동</td>
|
||||
<td><a href="javascript:;" onclick="clickArea(detaillayer10,0);">010-1234-5463</a></td>
|
||||
<td>
|
||||
<div class="btngroup">
|
||||
<ul class="btn_sm">
|
||||
<li><a href="#" class="sm1">발송</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<td>나눔아이앤씨</td>
|
||||
<td>메모메모</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="checkbox" /></td>
|
||||
<td>홍길동</td>
|
||||
<td><a href="javascript:;" onclick="clickArea(detaillayer10,0);">010-1234-5463</a></td>
|
||||
<td>
|
||||
<div class="btngroup">
|
||||
<ul class="btn_sm">
|
||||
<li><a href="#" class="sm1">발송</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<td>나눔아이앤씨</td>
|
||||
<td>메모메모</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="checkbox" /></td>
|
||||
<td>홍길동</td>
|
||||
<td><a href="javascript:;" onclick="clickArea(detaillayer10,0);">010-1234-5463</a></td>
|
||||
<td>
|
||||
<div class="btngroup">
|
||||
<ul class="btn_sm">
|
||||
<li><a href="#" class="sm1">발송</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<td>나눔아이앤씨</td>
|
||||
<td>메모메모</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="checkbox" /></td>
|
||||
<td>홍길동</td>
|
||||
<td><a href="javascript:;" onclick="clickArea(detaillayer10,0);">010-1234-5463</a></td>
|
||||
<td>
|
||||
<div class="btngroup">
|
||||
<ul class="btn_sm">
|
||||
<li><a href="#" class="sm1">발송</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<td>나눔아이앤씨</td>
|
||||
<td>메모메모</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="checkbox" /></td>
|
||||
<td>홍길동</td>
|
||||
<td><a href="javascript:;" onclick="clickArea(detaillayer10,0);">010-1234-5463</a></td>
|
||||
<td>
|
||||
<div class="btngroup">
|
||||
<ul class="btn_sm">
|
||||
<li><a href="#" class="sm1">발송</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<td>나눔아이앤씨</td>
|
||||
<td>메모메모</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="checkbox" /></td>
|
||||
<td>홍길동</td>
|
||||
<td><a href="javascript:;" onclick="clickArea(detaillayer10,0);">010-1234-5463</a></td>
|
||||
<td>
|
||||
<div class="btngroup">
|
||||
<ul class="btn_sm">
|
||||
<li><a href="#" class="sm1">발송</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<td>나눔아이앤씨</td>
|
||||
<td>메모메모</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="checkbox" /></td>
|
||||
<td>홍길동</td>
|
||||
<td><a href="javascript:;" onclick="clickArea(detaillayer10,0);">010-1234-5463</a></td>
|
||||
<td>
|
||||
<div class="btngroup">
|
||||
<ul class="btn_sm">
|
||||
<li><a href="#" class="sm1">발송</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<td>나눔아이앤씨</td>
|
||||
<td>메모메모</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="checkbox" /></td>
|
||||
<td>홍길동</td>
|
||||
<td><a href="javascript:;" onclick="clickArea(detaillayer10,0);">010-1234-5463</a></td>
|
||||
<td>
|
||||
<div class="btngroup">
|
||||
<ul class="btn_sm">
|
||||
<li><a href="#" class="sm1">발송</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<td>나눔아이앤씨</td>
|
||||
<td>메모메모</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="checkbox" /></td>
|
||||
<td>홍길동</td>
|
||||
<td><a href="javascript:;" onclick="clickArea(detaillayer10,0);">010-1234-5463</a></td>
|
||||
<td>
|
||||
<div class="btngroup">
|
||||
<ul class="btn_sm">
|
||||
<li><a href="#" class="sm1">발송</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<td>나눔아이앤씨</td>
|
||||
<td>메모메모</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="checkbox" /></td>
|
||||
<td>홍길동</td>
|
||||
<td><a href="javascript:;" onclick="clickArea(detaillayer10,0);">010-1234-5463</a></td>
|
||||
<td>
|
||||
<div class="btngroup">
|
||||
<ul class="btn_sm">
|
||||
<li><a href="#" class="sm1">발송</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<td>나눔아이앤씨</td>
|
||||
<td>메모메모</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="paginate">
|
||||
<a href="#" class="prev">이전</a>
|
||||
<ul>
|
||||
<li><a href="#" class="active">1</a></li>
|
||||
<li><a href="#">2</a></li>
|
||||
<li><a href="#">3</a></li>
|
||||
<li><a href="#">4</a></li>
|
||||
<li><a href="#">5</a></li>
|
||||
</ul>
|
||||
<a href="#" class="next">다음</a>
|
||||
</div>
|
||||
<div class="f_board">
|
||||
<div class="btngroup">
|
||||
<ul class="btn_nrm_bor column3">
|
||||
<li><a href="#">전체선택/해제</a></li>
|
||||
<li><a href="#">선택삭제</a></li>
|
||||
<li><a href="javascript:;" onclick="clickArea(detaillayer8,0);">선택 주소록 그룹설정</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="search_frm">
|
||||
<ul>
|
||||
<li class="s_month">
|
||||
<select style="width:150px;">
|
||||
<option>그룹전체</option>
|
||||
</select>
|
||||
</li>
|
||||
<li class="s_word">
|
||||
<select style="width:100px;">
|
||||
<option>검색</option>
|
||||
</select>
|
||||
<input type="text" class="w_text" placeholder="검색어를 입력하세요." />
|
||||
<input type="image" src="/img/sub/btn_search.png" title="검색" class="btn_search" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //주소록 -->
|
||||
</div>
|
||||
<!-- //내용 -->
|
||||
|
||||
<!-- 그룹설정 -->
|
||||
<div id="detaillayer8" class="maskpopbox" style="display:none;">
|
||||
<div class="popbox">
|
||||
<div class="poptit">
|
||||
<h4>그룹설정</h4>
|
||||
<span class="popcls"><img src="/img/sub/btn_popcls.gif" alt="닫기" /></span>
|
||||
</div>
|
||||
<div class="popct">
|
||||
<p>선택한 <strong>‘5건’</strong> 주소록을<br/>아래의 그룹으로 이동합니다.</p>
|
||||
<div class="sl_box">
|
||||
<select>
|
||||
<option>영업팀</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="btngroup">
|
||||
<ul class="btn_nrm column2">
|
||||
<li><a href="#" class="nrm1">그룹이동</a></li>
|
||||
<li><a href="#" class="nrm2">취소</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //그룹설정 -->
|
||||
|
||||
<!-- 주소록등록 -->
|
||||
<div id="detaillayer9" class="maskpopbox" style="display:none;">
|
||||
<div class="popbox">
|
||||
<div class="poptit">
|
||||
<h4>주소록등록</h4>
|
||||
<span class="popcls"><img src="/img/sub/btn_popcls.gif" alt="닫기" /></span>
|
||||
</div>
|
||||
<div class="popct">
|
||||
<p class="essential"><strong>필수항목</strong></p>
|
||||
<ul class="frm">
|
||||
<li><input type="text" class="inp_basic ess" placeholder="이름"/></li>
|
||||
<li><input type="text" class="inp_basic ess" placeholder="연락처"/></li>
|
||||
<li><input type="text" class="inp_basic" placeholder="메모"/></li>
|
||||
<li>
|
||||
<select class="select_basic ess">
|
||||
<option>영업팀</option>
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="btngroup">
|
||||
<ul class="btn_nrm column2">
|
||||
<li><a href="#" class="nrm1">저장</a></li>
|
||||
<li><a href="#" class="nrm2">취소</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //주소록등록 -->
|
||||
|
||||
<!-- 주소록수정 -->
|
||||
<div id="detaillayer10" class="maskpopbox" style="display:none;">
|
||||
<div class="popbox">
|
||||
<div class="poptit">
|
||||
<h4>주소록수정</h4>
|
||||
<span class="popcls"><img src="/img/sub/btn_popcls.gif" alt="닫기" /></span>
|
||||
</div>
|
||||
<div class="popct">
|
||||
<ul class="frm">
|
||||
<li><input type="text" class="inp_basic" value="홍길동"/></li>
|
||||
<li><input type="text" class="inp_basic" value="010-1234-5678" /></li>
|
||||
<li><input type="text" class="inp_basic" value="나눔아이앤씨" /></li>
|
||||
<li>
|
||||
<select class="select_basic">
|
||||
<option>영업팀</option>
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="btngroup">
|
||||
<ul class="btn_nrm column2">
|
||||
<li><a href="#" class="nrm1">수정</a></li>
|
||||
<li><a href="#" class="nrm2">취소</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //주소록수정 -->
|
||||
|
||||
<!--#include virtual="/common/file/bottom.asp"-->
|
||||
@@ -0,0 +1,254 @@
|
||||
<!--#include virtual="/common/file/inc_head.asp"-->
|
||||
<%
|
||||
Dim bdm_idx, info_url, bdm_depth, bdm_code, bdm_ref, bdm_menuname, bdm_t_clr, bdm_ro_clr, bdm_chk, bdm_type, bdm_target, bdm_bbs, bdm_editor, bdm_url, bdm_wdate, bdm_id
|
||||
Dim orderby_sel
|
||||
Dim prepage
|
||||
|
||||
orderby_sel = InputValue( request("orderby_sel") )
|
||||
If orderby_sel = "" Then orderby_sel = "bdm_menuname asc"
|
||||
prepage = NOWPAGE
|
||||
|
||||
set ST = New SelectTable
|
||||
|
||||
r_fields_s = "(select count(*) from bd_address_page where bdm_idx = a.bdm_idx) as cnt, bdm_idx, info_url, bdm_depth, bdm_code, bdm_ref, bdm_menuname, bdm_t_clr, bdm_ro_clr, bdm_chk, bdm_type, bdm_target, bdm_bbs, bdm_editor, bdm_url, bdm_wdate, bdm_id, bdm_color"
|
||||
table = "bd_address a"
|
||||
Where = " where bdm_id = '" & session("ss_m_id") & "'"
|
||||
Orderby = " order by " & orderby_sel
|
||||
|
||||
sql = "select " & r_fields_s & " from " & table & Where & Orderby
|
||||
'Response.write sql
|
||||
list_data = ST.selectQueryTable( sql )
|
||||
%>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
|
||||
function sendit(eForm){
|
||||
//var eForm = document.frm;
|
||||
if(!valueChk(eForm.bdm_menuname, "그룹명")){return false;}
|
||||
//alert("OK");
|
||||
}
|
||||
function valueChk(obj, objName){ //text필드
|
||||
if(obj.value.split(" ").join("") == ""){
|
||||
alert(objName+"을(를) 입력하세요");
|
||||
try{
|
||||
obj.focus();
|
||||
return false;
|
||||
}catch(e){
|
||||
return false;
|
||||
}
|
||||
}else{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function checkAll(){
|
||||
var eForm = document.getElementById('frm_grp');
|
||||
if(eForm.chk_all.value == "") {
|
||||
eForm.chk_all.value="Y";
|
||||
checkboxChk(eForm.bdm_idx, true);
|
||||
}else {
|
||||
eForm.chk_all.value="";
|
||||
checkboxChk(eForm.bdm_idx, false);
|
||||
}
|
||||
}
|
||||
|
||||
function checkboxChk(chkObj, type){
|
||||
var field = chkObj;//buseo_mem.document.mem_list.check;
|
||||
if(field.length == null){
|
||||
field.checked = type;
|
||||
}else{
|
||||
for (i = 0; i < field.length; i++){
|
||||
field[i].checked = type;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//삭제
|
||||
function DelOk(){
|
||||
if (confirm("주소록 그룹을 삭제하면 하위 주소록까지 삭제됩니다.\n\n삭제하시겠습니까?")){
|
||||
document.getElementById("frm_grp").submit();
|
||||
}return;
|
||||
}
|
||||
|
||||
|
||||
function delCount( num ){
|
||||
$("input[name='bdm_idx']").attr("checked", false);
|
||||
$("#bdm_idx_"+num).attr("checked", true);
|
||||
if(confirm("주소록 그룹을 삭제하면 하위 주소록까지 삭제됩니다.\n\n해당 그룹을 삭제하시겠습니까?")){
|
||||
document.getElementById("frm_grp").submit();
|
||||
}else{
|
||||
$("#bdm_idx_"+num).attr("checked", false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//수정
|
||||
function groupModify(bdm_idx){
|
||||
var url = "ajax_addr_grp_modify.asp?bdm_idx="+bdm_idx;
|
||||
$("#detaillayer13 div.popct").load( url );
|
||||
}
|
||||
|
||||
//구성원보기
|
||||
function groupMemberList(bdm_idx){
|
||||
var url = "ajax_addr_memlist.asp?bdm_idx="+bdm_idx;
|
||||
$("#detaillayer12 div.popct").load( url );
|
||||
}
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
|
||||
<!-- 타이틀 -->
|
||||
<div id="cont_head">
|
||||
<h2>그룹관리</h2>
|
||||
</div>
|
||||
<!-- //타이틀 -->
|
||||
<!-- 내용 -->
|
||||
<div id="cont_wrap">
|
||||
<!-- 그룹관리 -->
|
||||
<div class="s0202">
|
||||
<div class="h_board">
|
||||
<div class="float_l">
|
||||
<select id="orderby_sel" class="select_basic" style="width:140px;" onchange="location.href='?orderby_sel='+this.value">
|
||||
<option value="bdm_menuname asc" <%=chkSelect(orderby_sel, "bdm_menuname asc")%>>가나다순</option>
|
||||
<option value="bdm_idx desc" <%=chkSelect(orderby_sel, "bdm_idx desc")%>>등록순</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="float_r">
|
||||
<a href="javascript:;" onclick="clickArea(detaillayer11,0);" class="c_gray">그룹등록</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form id="frm_grp" name="frm_grp" method="post" action="addr_grp_delete_ok.asp">
|
||||
<div>
|
||||
<input type="hidden" name="chk_all" value="" />
|
||||
<input type="hidden" name="table" value="<%=table%>" />
|
||||
<input type="hidden" name="prepage" value="<%=prepage%>" />
|
||||
</div>
|
||||
<div class="group_section">
|
||||
<ul>
|
||||
<%
|
||||
If Not( isnull( list_data ) ) Then
|
||||
For i = 0 To Ubound(list_data)
|
||||
ST.arr2Value( list_data(i) )
|
||||
%>
|
||||
<li>
|
||||
<div class="g_box">
|
||||
<dl class="g<%=bdm_color%>">
|
||||
<dt><%=bdm_menuname%></dt>
|
||||
<dd>등록 주소록 <span><a href="javascript:;" onclick="groupMemberList('<%=bdm_idx%>');"><%=cnt%></a>건</span></dd>
|
||||
</dl>
|
||||
<div class="btnarea">
|
||||
<input type="checkbox" class="vam" id="bdm_idx_<%=bdm_idx%>" name="bdm_idx" value="<%=bdm_idx%>" />
|
||||
<div class="btngroup">
|
||||
<ul class="btn_sm">
|
||||
<li><a href="#modify" onclick="groupModify('<%=bdm_idx%>');" class="sm1">수정</a></li>
|
||||
<li><a href="#del" onclick="delCount( '<%=bdm_idx%>' )" class="sm2">삭제</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<%
|
||||
next
|
||||
End if
|
||||
%>
|
||||
</ul>
|
||||
</div>
|
||||
</form>
|
||||
<div class="paginate">
|
||||
|
||||
</div>
|
||||
<div class="f_board">
|
||||
<div class="btngroup">
|
||||
<ul class="btn_nrm_bor column2">
|
||||
<li><a href="#chk" onclick="checkAll();" >전체선택/해제</a></li>
|
||||
<li><a href="#del" onclick="DelOk();">선택삭제</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="search_frm">
|
||||
<!-- <ul>
|
||||
<li class="s_word">
|
||||
<select style="width:100px;">
|
||||
<option>검색</option>
|
||||
</select>
|
||||
<input type="text" class="w_text" placeholder="검색어를 입력하세요." />
|
||||
<input type="image" src="/img/sub/btn_search.png" title="검색" class="btn_search" />
|
||||
</li>
|
||||
</ul> -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
<!-- //그룹관리 -->
|
||||
</div>
|
||||
<!-- //내용 -->
|
||||
|
||||
<!-- 그룹등록 -->
|
||||
<div id="detaillayer11" class="maskpopbox" style="display:none;">
|
||||
<div class="popbox">
|
||||
<div class="poptit">
|
||||
<h4>그룹등록</h4>
|
||||
<span class="popcls"><img src="/img/sub/btn_popcls.gif" alt="닫기" /></span>
|
||||
</div>
|
||||
<div class="popct">
|
||||
<form id="frm_write" name="frm_write" method="post" action="addr_grp_write_ok.asp" onsubmit="return sendit(this);">
|
||||
<input type="hidden" name="prepage" value="<%=prepage%>" />
|
||||
<input type="text" name="bdm_menuname" class="inp_basic" placeholder="그룹명" maxlength="50" />
|
||||
<div class="group_color">
|
||||
<ul>
|
||||
<li><input type="radio" id="radio-2-1" name="bdm_color" value="1" checked="checked" /><label for="radio-2-1"></label></li>
|
||||
<li><input type="radio" id="radio-2-2" name="bdm_color" value="2" /><label for="radio-2-2"></label></li>
|
||||
<li><input type="radio" id="radio-2-3" name="bdm_color" value="3" /><label for="radio-2-3"></label></li>
|
||||
<li><input type="radio" id="radio-2-4" name="bdm_color" value="4" /><label for="radio-2-4"></label></li>
|
||||
<li><input type="radio" id="radio-2-5" name="bdm_color" value="5" /><label for="radio-2-5"></label></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="btngroup">
|
||||
<ul class="btn_nrm column2">
|
||||
<li><input type="submit" value="저장" class="nrm1" style="width:160px;" /></li>
|
||||
<li><a href="#close" onclick="closeArea();" class="nrm2">취소</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //그룹등록 -->
|
||||
|
||||
|
||||
|
||||
<!-- 그룹수정 -->
|
||||
<div id="detaillayer13" class="maskpopbox" style="display:none;">
|
||||
<div class="popbox">
|
||||
<div class="poptit">
|
||||
<h4>그룹수정</h4>
|
||||
<span class="popcls"><img src="/img/sub/btn_popcls.gif" alt="닫기" /></span>
|
||||
</div>
|
||||
<form id="frm_modify" name="frm_modify" method="post" action="addr_grp_write_ok.asp" onsubmit="return sendit(this);">
|
||||
<input type="hidden" name="prepage" value="<%=prepage%>" />
|
||||
<div class="popct">
|
||||
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //그룹수정 -->
|
||||
|
||||
|
||||
<!-- 그룹주소록 -->
|
||||
<div id="detaillayer12" class="maskpopbox" style="display:none;">
|
||||
<div class="popbox">
|
||||
<div class="poptit">
|
||||
<h4>그룹 주소록</h4>
|
||||
<span class="popcls"><img src="/img/sub/btn_popcls.gif" alt="닫기" /></span>
|
||||
</div>
|
||||
<div class="popct">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //그룹주소록 -->
|
||||
|
||||
<!--#include virtual="/common/file/bottom.asp"-->
|
||||
@@ -0,0 +1,26 @@
|
||||
<!--#include virtual="/common/lib/dbcon.asp"-->
|
||||
<!-- #Include virtual = "/common/lib/func.asp" -->
|
||||
<%
|
||||
Dim bdm_idx, prepage
|
||||
bdm_idx = inputValue( request.form("bdm_idx") )
|
||||
prepage = request.form("prepage")
|
||||
|
||||
|
||||
'Response.write prepage & ", " & request.form("adr_idx")
|
||||
'Response.end
|
||||
|
||||
if request.form("adr_idx") = "" or Isnull(request.form("adr_idx")) then
|
||||
call Back_back2("리스트를 선택해주세요.", request.servervariables("http_referer"))
|
||||
end If
|
||||
|
||||
cart_num = Request.Form("adr_idx").count
|
||||
for j = 1 to cart_num
|
||||
|
||||
num = inputValue( Request.Form("adr_idx")(j) )
|
||||
sql = "update bd_address_page set bdm_idx = '" & bdm_idx & "' where adr_idx = '" & num & "'"
|
||||
Dbcon.execute sql
|
||||
|
||||
next
|
||||
|
||||
Call loding(0, prepage)
|
||||
%>
|
||||
@@ -0,0 +1,21 @@
|
||||
<!--#include virtual="/common/lib/dbcon.asp"-->
|
||||
<!-- #Include virtual = "/common/lib/func.asp" -->
|
||||
<%
|
||||
member_login_chk("/index.asp")
|
||||
|
||||
prepage = request.form("prepage")
|
||||
|
||||
if request.form("bdm_idx") = "" or Isnull(request.form("bdm_idx")) then
|
||||
call Back_back2("리스트를 선택해주세요.", request.servervariables("http_referer"))
|
||||
end If
|
||||
|
||||
cart_num = Request.Form("bdm_idx").count
|
||||
for j = 1 to cart_num
|
||||
num = inputValue( Request.Form("bdm_idx")(j) )
|
||||
Dbcon.execute "delete from bd_address where bdm_idx=" & num
|
||||
Dbcon.execute "delete from bd_address_page where bdm_idx=" & num
|
||||
next
|
||||
|
||||
Call Back_back2("주소록 그룹이 삭제되었습니다.", prepage)
|
||||
|
||||
%>
|
||||
@@ -0,0 +1,190 @@
|
||||
<!--#include virtual="/common/file/head_03address.asp"-->
|
||||
<%
|
||||
Dim bdm_idx, info_url, bdm_depth, bdm_code, bdm_ref, bdm_menuname, bdm_t_clr, bdm_ro_clr, bdm_chk, bdm_type, bdm_target, bdm_bbs, bdm_editor, bdm_url, bdm_wdate, bdm_id
|
||||
Dim prepage
|
||||
|
||||
prepage = Request.ServerVariables("path_info") & "?" & Request.ServerVariables("query_string")
|
||||
|
||||
r_fields_s = "bdm_idx, info_url, bdm_depth, bdm_code, bdm_ref, bdm_menuname, bdm_t_clr, bdm_ro_clr, bdm_chk, bdm_type, bdm_target, bdm_bbs, bdm_editor, bdm_url, bdm_wdate, bdm_id"
|
||||
table = "bd_address"
|
||||
Where = " where bdm_id = '" & session("ss_m_id") & "'"
|
||||
Orderby = " order by bdm_code asc "
|
||||
|
||||
sql = "select " & r_fields_s & " from " & table & Where & Orderby
|
||||
Set rs = dbcon.execute( sql )
|
||||
|
||||
If rs.bof Or rs.eof Then
|
||||
list_data = null
|
||||
Else
|
||||
list_data = rs.getrows
|
||||
End if
|
||||
|
||||
Set rs = nothing
|
||||
|
||||
|
||||
%>
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
|
||||
function sendit(eForm){
|
||||
//var eForm = document.frm;
|
||||
if(!valueChk(eForm.bdm_menuname, "그룹명")){return false;}
|
||||
//alert("OK");
|
||||
}
|
||||
function valueChk(obj, objName){ //text필드
|
||||
if(obj.value.split(" ").join("") == ""){
|
||||
alert(objName+"을(를) 입력하세요");
|
||||
try{
|
||||
obj.focus();
|
||||
return false;
|
||||
}catch(e){
|
||||
return false;
|
||||
}
|
||||
}else{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
function SetNum(obj){ //숫자만 입력
|
||||
val=obj.value;
|
||||
re=/[^0-9]/gi;
|
||||
obj.value=val.replace(re,"");
|
||||
}
|
||||
|
||||
//삭제
|
||||
function DelOk(bdm_idx){
|
||||
if (confirm("주소록 그룹을 삭제하면 하위 주소록까지 삭제됩니다.\n\n삭제하시겠습니까?")){
|
||||
location.href="addr_grp_delete_ok.asp?bdm_idx="+bdm_idx;
|
||||
}return;
|
||||
}
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<!-- 컨텐츠 부분-->
|
||||
<td width="720" align="left" valign="top">
|
||||
<table width="720" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td width="560" align="left" valign="top" style="padding-bottom:30px;"><img src="/sms_img/sub/stit_03.gif" height="69" /></td>
|
||||
<td width="300" align="right" valign="bottom" style="padding-bottom:30px;"><img src="/sms_img/sub/home.gif" width="14" height="10" /><img src="/sms_img/sub/arrow.gif" width="14" height="10" /><span class="style11">주소록</span></td>
|
||||
</tr>
|
||||
|
||||
<!-- 핸드폰 전송 부분-->
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
|
||||
|
||||
<link rel="Stylesheet" type="text/css" href="/manager/common/css/sub_layout.css" />
|
||||
<link rel="Stylesheet" type="text/css" href="/manager/common/css/all.css" />
|
||||
|
||||
<link rel="Stylesheet" type="text/css" href="/content/board/nninc_simple/css/common.css" />
|
||||
|
||||
|
||||
<!-- 내용들어가는곳 -->
|
||||
<div id="board">
|
||||
|
||||
<div>
|
||||
|
||||
|
||||
|
||||
<form id="frm_list" name="frm_list" method="post" action="addr_grp_write_ok.asp" onsubmit="return sendit(this);">
|
||||
<input type="hidden" id="chk_all" name="chk_all" />
|
||||
<input type="hidden" id="prepage" name="prepage" value="<%=prepage%>" />
|
||||
<div class="write_info">
|
||||
|
||||
<div class="write_form pt7" style="width:700px;">
|
||||
|
||||
<ul>
|
||||
<li class="text"><label for="bdm_menuname">그룹등록</label> :</li>
|
||||
|
||||
<li><input type="text" size="68" title="그룹명 입력" id="bdm_menuname" name="bdm_menuname" class="input_box input" value="" maxlength="50" /></li>
|
||||
|
||||
<li><div id="blue_bt"><span class="button"><input type="submit" value="등록" /></span></div></li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div class="table_blist">
|
||||
|
||||
|
||||
<table cellspacing="0" summary="주소록에 사용하는 그룹를 관리합니다.">
|
||||
<caption>그룹관리 서식</caption>
|
||||
<colgroup>
|
||||
<col width="60" />
|
||||
<col />
|
||||
<col width="60" />
|
||||
<col width="60" />
|
||||
</colgroup>
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" style="border-left:1px solid #E5E5E5;">순서</th>
|
||||
<th scope="col">그룹</th>
|
||||
<th scope="col">수정</th>
|
||||
<th scope="col" style="background:none;border-right:1px solid #E5E5E5;">삭제</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<%
|
||||
If Not( isnull( list_data ) ) Then
|
||||
For i = 0 To Ubound(list_data, 2)
|
||||
Call arr2Value(r_fields_s, "list_data", i)
|
||||
%>
|
||||
<form id="editfrm_<%=i%>" name="editfrm_<%=i%>" method="post" action="addr_grp_write_ok.asp" onsubmit="return sendit(this);">
|
||||
<input type="hidden" name="bdm_idx" value="<%=bdm_idx%>" />
|
||||
<tr>
|
||||
<td scope="row" class="center">
|
||||
<a href="move.asp?move=up&s_num=9&s_code=1" title="순서 위로 이동" tabindex="5046"><img src="/manager/img/ic_up.gif" width="10" height="9" alt="순서 위로 이동" /></a><a href="move.asp?move=down&s_num=9&s_code=1" title="순서 아래로 이동" tabindex="5047"><img src="/manager/img/ic_down.gif" width="10" height="9" alt="순서 아래로 이동" /></a>
|
||||
</td>
|
||||
<td scope="row" class="left" style="text-align:left;">
|
||||
<input type="text" size="98" title="메뉴 입력" id="bdm_menuname" name="bdm_menuname" class="input_box" value="<%=bdm_menuname%>" maxlength="50" />
|
||||
</td>
|
||||
<td scope="row" class="center"><input type="submit" value="수정" class="ct_bt01" />
|
||||
</td>
|
||||
<td scope="row" class="center">
|
||||
<input type="button" value="삭제" class="ct_bt01" onclick="DelOk('<%=bdm_idx%>');" />
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</form>
|
||||
|
||||
<%
|
||||
next
|
||||
End if
|
||||
%>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<!-- <div class="contoll_box2">
|
||||
<ul>
|
||||
<li class="pt7"><div class="bt01"><a href="./index.asp"><span>주소록보기</span></a></div></li>
|
||||
</ul>
|
||||
</div> -->
|
||||
|
||||
</div>
|
||||
<!-- 내용들어가는곳 -->
|
||||
|
||||
</div>
|
||||
<!-- //내용영역 -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--#include virtual="/common/file/bottom.asp"-->
|
||||
@@ -0,0 +1,52 @@
|
||||
<!--#include virtual="/common/lib/dbcon.asp"-->
|
||||
<!-- #Include virtual = "/common/lib/func.asp" -->
|
||||
<%
|
||||
Dim bdm_idx, info_url, bdm_depth, bdm_code, bdm_ref, bdm_menuname, bdm_t_clr, bdm_ro_clr, bdm_chk, bdm_type, bdm_target, bdm_bbs, bdm_editor, bdm_url, bdm_wdate, bdm_id, bdm_color
|
||||
Dim r_fields
|
||||
|
||||
r_fields = "bdm_idx, info_url, bdm_depth, bdm_code, bdm_ref, bdm_menuname, bdm_t_clr, bdm_ro_clr, bdm_chk, bdm_type, bdm_target, bdm_bbs, bdm_editor, bdm_url, bdm_wdate, bdm_id, bdm_color"
|
||||
Call requestAll(r_fields, "request.form")
|
||||
|
||||
prepage = InputValue( request.form("prepage") )
|
||||
|
||||
If bdm_idx = "" Then
|
||||
|
||||
sql = "select max(bdm_code) from bd_address"
|
||||
Set rs = dbcon.execute( sql )
|
||||
If rs.bof Or rs.eof Then
|
||||
bdm_code_max = 1
|
||||
Else
|
||||
bdm_code_max = rs(0) + 1
|
||||
End If
|
||||
|
||||
Set rs = nothing
|
||||
|
||||
bdm_depth = 1
|
||||
bdm_code = bdm_code_max
|
||||
bdm_ref = 0
|
||||
bdm_t_clr = "#ffffff"
|
||||
bdm_ro_clr = "#f4f4f4"
|
||||
bdm_wdate = Date() & " " & Right("0" & hour(now), 2) & ":" & Right("0" & minute(now), 2)
|
||||
bdm_id = session("ss_m_id")
|
||||
|
||||
r_fields_s = "bdm_depth, bdm_code, bdm_ref, bdm_menuname, bdm_t_clr, bdm_ro_clr, bdm_wdate, bdm_id, bdm_color"
|
||||
Call InsertQuery(r_fields_s, "bd_address")
|
||||
|
||||
msg = "주소록 그룹이 등록되었습니다."
|
||||
|
||||
Else
|
||||
|
||||
r_fields_u = "bdm_menuname, bdm_color"
|
||||
Call UpdateQuery(r_fields_u, "bd_address", "where bdm_idx = '" & bdm_idx & "'")
|
||||
|
||||
msg = "주소록 그룹이 수정되었습니다."
|
||||
|
||||
|
||||
End if
|
||||
|
||||
|
||||
If prepage = "" Then prepage = "./addr_grp_write.asp"
|
||||
Call Back_back2(msg, prepage)
|
||||
|
||||
|
||||
%>
|
||||
@@ -0,0 +1,186 @@
|
||||
<!--#include virtual="/common/file/head_03address.asp"-->
|
||||
<%
|
||||
Dim adr_idx
|
||||
|
||||
adr_idx = inputValue( request.queryString("adr_idx") )
|
||||
|
||||
'현재경로
|
||||
prepage = Request.ServerVariables("path_info") & "?" & Request.ServerVariables("query_string")
|
||||
|
||||
'그룹리스트
|
||||
sql = "select bdm_idx, bdm_menuname from bd_address where bdm_id = '" & session("ss_m_id") & "'"
|
||||
Set bdmRs = Dbcon.Execute( sql )
|
||||
If bdmRs.bof Or bdmRs.eof Then
|
||||
bdm_data = Null
|
||||
Else
|
||||
bdm_data = bdmRs.getrows
|
||||
End If
|
||||
Set bdmRs = Nothing
|
||||
|
||||
|
||||
'수정
|
||||
If adr_idx <> "" Then
|
||||
|
||||
r_fields_s = "bdm_idx,adr_m_id, adr_name, adr_email, adr_mobile1, adr_mobile2, adr_mobile3, adr_adr1, adr_adr2, adr_phone1, adr_phone2, adr_phone3, adr_homepage, adr_b_day, adr_company, adr_jikgub, adr_c_homepage, adr_c_phone1, adr_c_phone2, adr_c_phone3, adr_c_fax1, adr_c_fax2, adr_c_fax3, adr_c_memo"
|
||||
Call SelectQuery(r_fields_s, "bd_address_page", "where adr_idx = '" & adr_idx & "'")
|
||||
|
||||
End if
|
||||
|
||||
|
||||
%>
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
|
||||
function sendit(eForm){
|
||||
if(!valueChk(eForm.adr_name, "이름")){return false;}
|
||||
if(!valueChk(eForm.adr_mobile1, "휴대폰 첫번째번호")){return false;}
|
||||
if(!valueChk(eForm.adr_mobile2, "휴대폰 두번째번호")){return false;}
|
||||
if(!valueChk(eForm.adr_mobile3, "휴대폰 세번째번호")){return false;}
|
||||
//alert("OK");
|
||||
}
|
||||
|
||||
function valueChk(obj, objName){ //text필드
|
||||
if(obj.value.split(" ").join("") == ""){
|
||||
alert(objName+"을(를) 입력하세요");
|
||||
try{
|
||||
obj.focus();
|
||||
return false;
|
||||
}catch(e){
|
||||
return false;
|
||||
}
|
||||
}else{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
function SetNum(obj){ //숫자만 입력
|
||||
val=obj.value;
|
||||
re=/[^0-9]/gi;
|
||||
obj.value=val.replace(re,"");
|
||||
}
|
||||
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<!-- 컨텐츠 부분-->
|
||||
<td width="720" align="left" valign="top">
|
||||
<table width="720" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td width="560" align="left" valign="top" style="padding-bottom:30px;"><img src="/sms_img/sub/stit_03.gif" height="69" /></td>
|
||||
<td width="300" align="right" valign="bottom" style="padding-bottom:30px;"><img src="/sms_img/sub/home.gif" width="14" height="10" /><img src="/sms_img/sub/arrow.gif" width="14" height="10" /><span class="style11">주소록</span></td>
|
||||
</tr>
|
||||
|
||||
<!-- 핸드폰 전송 부분-->
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 쓰기 -->
|
||||
<link rel="Stylesheet" type="text/css" href="/content/board/nninc_simple/css/common.css" />
|
||||
<div id="board" style="width:100%;">
|
||||
|
||||
<form action="addr_write_ok.asp" method="post" id="frm_pw" name="frm_pw" onsubmit="return sendit(this);">
|
||||
<div>
|
||||
<input type="hidden" name="adr_idx" value="<%=adr_idx%>" />
|
||||
<input type="hidden" name="prepage" value="<%=prepage%>" />
|
||||
</div>
|
||||
|
||||
|
||||
<div class="guide">
|
||||
<span><img src="/content/board/nninc_simple/img/ic_vcheck.gif" width="7" height="10" alt="*" /> 표시가 된 곳은 필수 항목입니다.</span>
|
||||
</div>
|
||||
|
||||
<!-- 쓰기 테이블 -->
|
||||
<div class="table_bwrite">
|
||||
|
||||
<table cellspacing="0" >
|
||||
<caption> 주소록 등록</caption>
|
||||
<colgroup>
|
||||
<col width="130" />
|
||||
<col width="" />
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="th_end" colspan="2">주소록 등록</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="adr_name"><img height="10" width="7" alt="*" src="/content/board/nninc_simple/img/ic_vcheck.gif"/> 이름</label></th>
|
||||
<td>
|
||||
<input type="text" size="20" id="adr_name" name="adr_name" class="board_input" value="<%=adr_name%>" maxlength="30" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="adr_mobile1"><img height="10" width="7" alt="*" src="/content/board/nninc_simple/img/ic_vcheck.gif"/> 휴대폰</label></th>
|
||||
<td>
|
||||
<input type="text" size="4" id="adr_mobile1" name="adr_mobile1" class="board_input" value="<%=adr_mobile1%>" maxlength="4" /> -
|
||||
<input type="text" size="4" id="adr_mobile2" name="adr_mobile2" class="board_input" value="<%=adr_mobile2%>" maxlength="4" /> -
|
||||
<input type="text" size="4" id="adr_mobile3" name="adr_mobile3" class="board_input" value="<%=adr_mobile3%>" maxlength="4" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="adr_c_memo">메모</label></th>
|
||||
<td>
|
||||
<input type="text" size="60" id="adr_c_memo" name="adr_c_memo" class="board_input" value="<%=adr_c_memo%>" maxlength="100" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row"><img height="10" width="7" alt="*" src="/content/board/nninc_simple/img/ic_vcheck.gif"/> <label for="bdm_idx">그룹</label></th>
|
||||
<td>
|
||||
<select id="bdm_idx" name="bdm_idx">
|
||||
<option value="0">그룹미지정</option>
|
||||
<%
|
||||
If Not(IsNull(bdm_data)) then
|
||||
For i = 0 To UBound(bdm_data, 2)
|
||||
%>
|
||||
<option value="<%=bdm_data(0,i)%>" <%=chkSelect( bdm_data(0,i), bdm_idx )%>><%=bdm_data(1,i)%></option>
|
||||
<%
|
||||
Next
|
||||
End if
|
||||
%>
|
||||
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
<!-- //쓰기 테이블 -->
|
||||
|
||||
<!-- 버튼 -->
|
||||
<div class="board_button2">
|
||||
<span><input id="submitbtn" type="image" src="/content/board/nninc_simple/img/save_bt.gif" alt="저장" /></span>
|
||||
<span><a href="index.asp" ><img src="/content/board/nninc_simple/img/list_bt.gif" width="62" height="23" alt="목록" /></a></span>
|
||||
</div>
|
||||
<!-- //버튼 -->
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<!-- //쓰기 -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--#include virtual="/common/file/bottom.asp"-->
|
||||
@@ -0,0 +1,50 @@
|
||||
<!--#include virtual="/common/lib/dbcon.asp"-->
|
||||
<!--#Include virtual="/common/lib/func.asp"-->
|
||||
<%
|
||||
member_login_chk("/index.asp")
|
||||
|
||||
|
||||
Dim adr_idx, bdm_idx,adr_m_id, adr_name, adr_email, adr_mobile1, adr_mobile2, adr_mobile3, adr_adr1, adr_adr2, adr_phone1, adr_phone2, adr_phone3, adr_homepage, adr_b_day, adr_company, adr_jikgub, adr_c_homepage, adr_c_phone1, adr_c_phone2, adr_c_phone3, adr_c_fax1, adr_c_fax2, adr_c_fax3, adr_c_memo
|
||||
|
||||
Dim prepage
|
||||
|
||||
prepage = request("prepage")
|
||||
|
||||
r_fields = "adr_idx, bdm_idx, adr_name, adr_email, adr_mobile, adr_c_memo, adr_adr1, adr_adr2, adr_phone1, adr_phone2, adr_phone3, adr_homepage, adr_b_day, adr_company, adr_jikgub, adr_c_homepage, adr_c_phone1, adr_c_phone2, adr_c_phone3, adr_c_fax1, adr_c_fax2, adr_c_fax3, adr_c_memo"
|
||||
|
||||
Call requestAll(r_fields, "")
|
||||
|
||||
adr_m_id = session("ss_m_id")
|
||||
|
||||
adr_mobile = phoneValue( adr_mobile )
|
||||
adr_mobile_arr = Split(adr_mobile, "-")
|
||||
|
||||
adr_mobile1 = adr_mobile_arr(0)
|
||||
adr_mobile2 = adr_mobile_arr(1)
|
||||
adr_mobile3 = adr_mobile_arr(2)
|
||||
|
||||
|
||||
If adr_idx = "" Then
|
||||
|
||||
r_fields_i = "bdm_idx,adr_m_id, adr_name, adr_email, adr_mobile1, adr_mobile2, adr_mobile3, adr_adr1, adr_adr2, adr_phone1, adr_phone2, adr_phone3, adr_homepage, adr_b_day, adr_company, adr_jikgub, adr_c_homepage, adr_c_phone1, adr_c_phone2, adr_c_phone3, adr_c_fax1, adr_c_fax2, adr_c_fax3, adr_c_memo"
|
||||
|
||||
Call InsertQuery(r_fields_i, "bd_address_page")
|
||||
|
||||
msg = "주소록이 등록되었습니다."
|
||||
else
|
||||
|
||||
r_fields_u = "bdm_idx, adr_name, adr_email, adr_mobile1, adr_mobile2, adr_mobile3, adr_adr1, adr_adr2, adr_phone1, adr_phone2, adr_phone3, adr_homepage, adr_b_day, adr_company, adr_jikgub, adr_c_homepage, adr_c_phone1, adr_c_phone2, adr_c_phone3, adr_c_fax1, adr_c_fax2, adr_c_fax3, adr_c_memo"
|
||||
|
||||
Call UpdateQuery(r_fields_u, "bd_address_page", "Where adr_idx = "&adr_idx)
|
||||
|
||||
msg = "주소록이 수정되었습니다."
|
||||
|
||||
End if
|
||||
|
||||
|
||||
Dbcon.close
|
||||
set Dbcon=Nothing
|
||||
|
||||
If prepage = "" Then prepage = "./addr_write.asp"
|
||||
Call Back_back2(msg, prepage)
|
||||
%>
|
||||
@@ -0,0 +1,156 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
|
||||
<title>대구유아교육진흥원 직원전용문자전송시스템</title>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
body {margin-left: 0px; margin-top: 0px;}
|
||||
.style1 {font-family: "돋움"; font-size: 11px;color: #FFFFFF;}
|
||||
.style4 { font-family: "돋움"; font-size: 11px; color: #FFFFFF}
|
||||
.style5 {font-family: "돋움"; font-size: 11px; color: #ffe50c;font-weight: bold;}
|
||||
.style7 {font-family: "돋움"; font-size: 11px; color: #2865ae;font-weight: bold;}
|
||||
.style9 {font-family: "돋움"; font-size: 11px; color: #666666; }
|
||||
.style11 {font-family: "돋움"; font-size: 11px; color: #4888a0; font-weight: bold;}
|
||||
.style12 {font-family: "돋움"; font-size: 11px; color: #333333; font-weight: bold;}
|
||||
.style13 {font-family: "돋움"; font-size: 12px; color: #FFFFFF;}
|
||||
-->
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function MM_preloadImages() { //v3.0
|
||||
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
|
||||
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
|
||||
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
|
||||
}
|
||||
|
||||
function MM_swapImgRestore() { //v3.0
|
||||
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
|
||||
}
|
||||
|
||||
function MM_findObj(n, d) { //v4.01
|
||||
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
|
||||
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
|
||||
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
|
||||
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
|
||||
if(!x && d.getElementById) x=d.getElementById(n); return x;
|
||||
}
|
||||
|
||||
function MM_swapImage() { //v3.0
|
||||
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
|
||||
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body style="background:url(/sms_img/common/bg.jpg) no-repeat" onload="MM_preloadImages('/sms_img/common/lmenu_0102_on.gif','/sms_img/common/lmenu_0103_on.gif','/sms_img/common/lmenu_b01_on.gif','/sms_img/common/lmenu_b02_on.gif','/sms_img/common/lmenu_b03_on.gif','/sms_img/common/lmenu_b04_on.gif','/sms_img/common/menu01_on.gif','/sms_img/common/menu02_on.gif','/sms_img/common/menu03_on.gif','/sms_img/common/menu04_on.gif','/sms_img/common/menu05_on.gif')">
|
||||
|
||||
<!-- 상단 부분-->
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="976" border="0" align="center" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td height="115" colspan="2" align="left" valign="top" style="background:url(/sms_img/common/navi_bg.jpg) no-repeat;">
|
||||
<table width="976" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td width="275" rowspan="2" style="padding:25px 0 0 26px;"><a href="sms.html"><img src="/sms_img/common/logo.gif" width="212" height="41" border="0" /></a></td>
|
||||
<td>
|
||||
<table width="669" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td style="padding-top:26px;" height="27" width="75"><span class="style5">전지은</span> <span class="style4">님 </span></td>
|
||||
<td style="padding-top:31px;" width="75"><span class="style1">남은 문자수</span></td>
|
||||
<td style="padding-top:26px;" width="60"><span class="style7">99건</span> </td>
|
||||
<td style="padding-top:26px;"><span class="style1">개인정보수정</span> <img src="/sms_img/common/icon.gif" width="4" height="10" border="0" /></td>
|
||||
<td> </td>
|
||||
<td width="92" align="right" valign="top" style="padding-top:26px;"><a href="#"><img src="/sms_img/common/top_btn01.gif" border="0" /></a></td>
|
||||
<td width="89" align="right" valign="top" style="padding-top:26px;"><a href="#"><img src="/sms_img/common/top_btn02.gif" border="0" /></a></td>
|
||||
<td width="75" align="right" valign="top" style="padding-top:26px;"><a href="advice.html"><img src="/sms_img/common/top_btn03.gif" border="0" /></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<table width="454" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td align="left" valign="top" ><a href="sms.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image21','','/sms_img/common/menu01_on.gif',1)"><img src="/sms_img/common/menu01.gif" name="Image21" width="120" height="62" border="0" id="Image21" /></a></td>
|
||||
<td><a href="schedule.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image22','','/sms_img/common/menu02_on.gif',1)"><img src="/sms_img/common/menu02.gif" name="Image22" width="119" height="62" border="0" id="Image22" /></a></td>
|
||||
<td><a href="address.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image23','','/sms_img/common/menu03_on.gif',1)"><img src="/sms_img/common/menu03.gif" name="Image23" width="96" height="62" border="0" id="Image23" /></a></td>
|
||||
<!--<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image24','','/sms_img/common/menu04_on.gif',1)"><img src="/sms_img/common/menu04.gif" name="Image24" width="105" height="62" border="0" id="Image24" /></a></td>-->
|
||||
<td><a href="notice.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image25','','/sms_img/common/menu05_on.gif',1)"><img src="/sms_img/common/menu05.gif" name="Image25" width="120" height="62" border="0" id="Image25" /></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="left" valign="top"><img src="/sms_img/common/visual.jpg" width="976" height="92" /></td>
|
||||
</tr>
|
||||
|
||||
<!-- left menu 부분-->
|
||||
<tr>
|
||||
<td width="198" align="left" valign="top">
|
||||
<table width="226" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td style="background:url(/sms_img/common/lmenu_bg.gif) repeat-y">
|
||||
<table width="182" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td width="156" align="left" valign="top"><img src="/sms_img/common/lmenu_top03.gif" width="156" height="169" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image8','','/sms_img/common/lmenu_0301_on.gif',0)"><img src="/sms_img/common/lmenu_0301.gif" name="Image8" width="156" height="36" border="0" id="Image8" /></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-top:67px;">
|
||||
<table width="156" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td><a href="notice.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image11','','/sms_img/common/lmenu_b01_on.gif',1)"><img src="/sms_img/common/lmenu_b01.gif" name="Image11" width="78" height="49" border="0" id="Image11" /></a></td>
|
||||
<td><a href="sms.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image12','','/sms_img/common/lmenu_b02_on.gif',1)"><img src="/sms_img/common/lmenu_b02.gif" name="Image12" width="78" height="49" border="0" id="Image12" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="schedule.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image13','','/sms_img/common/lmenu_b03_on.gif',1)"><img src="/sms_img/common/lmenu_b03.gif" name="Image13" width="78" height="49" border="0" id="Image13" /></a></td>
|
||||
<td><a href="address.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image14','','/sms_img/common/lmenu_b04_on.gif',1)"><img src="/sms_img/common/lmenu_b04.gif" name="Image14" width="78" height="49" border="0" id="Image14" /></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-top:20px;"><a href="advice.html"><img src="/sms_img/common/lmenu_ban01.jpg" width="156" height="63" border="0" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-top:15px;"><a href="/" target="_blank"><img src="/sms_img/common/lmenu_ban02.gif" width="156" height="36" border="0" /></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
|
||||
<!-- 컨텐츠 부분-->
|
||||
<td width="720" align="left" valign="top">
|
||||
<table width="720" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td width="560" align="left" valign="top" style="padding-bottom:30px;"><img src="/sms_img/sub/stit_03.gif" height="69" /></td>
|
||||
<td width="300" align="right" valign="bottom" style="padding-bottom:30px;"><img src="/sms_img/sub/home.gif" width="14" height="10" /><img src="/sms_img/sub/arrow.gif" width="14" height="10" /><span class="style11">주소록</span></td>
|
||||
</tr>
|
||||
|
||||
<!-- 핸드폰 전송 부분-->
|
||||
<tr>
|
||||
<td>
|
||||
<span class="style9">현재 준비중입니다.</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,43 @@
|
||||
<!--#include virtual="/common/lib/dbcon.asp"-->
|
||||
<!-- #Include virtual = "/common/lib/func.asp" -->
|
||||
<%
|
||||
|
||||
bdm_idx = InputValue( request.querystring("bdm_idx") )
|
||||
|
||||
If bdm_idx <> "" then
|
||||
|
||||
Set ST = New SelectTable
|
||||
s_fields = "bdm_menuname, bdm_color"
|
||||
sql = "select " & s_fields & " from bd_address where bdm_idx = '" & bdm_idx & "' "
|
||||
Set rs = ST.selectQueryRecord( sql )
|
||||
ST.arr2Value( rs )
|
||||
|
||||
%>
|
||||
<input type="hidden" name="bdm_idx" value="<%=bdm_idx%>" />
|
||||
<input type="text" name="bdm_menuname" value="<%=bdm_menuname%>" class="inp_basic" placeholder="그룹명" maxlength="50" />
|
||||
<div class="group_color">
|
||||
<ul>
|
||||
<li><input type="radio" id="radio-2-6" name="bdm_color" value="1" <%=chkRadio(bdm_color, "1")%> /><label for="radio-2-6"></label></li>
|
||||
<li><input type="radio" id="radio-2-7" name="bdm_color" value="2" <%=chkRadio(bdm_color, "2")%> /><label for="radio-2-7"></label></li>
|
||||
<li><input type="radio" id="radio-2-8" name="bdm_color" value="3" <%=chkRadio(bdm_color, "3")%> /><label for="radio-2-8"></label></li>
|
||||
<li><input type="radio" id="radio-2-9" name="bdm_color" value="4" <%=chkRadio(bdm_color, "4")%> /><label for="radio-2-9"></label></li>
|
||||
<li><input type="radio" id="radio-2-10" name="bdm_color" value="5" <%=chkRadio(bdm_color, "5")%> /><label for="radio-2-10"></label></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="btngroup">
|
||||
<ul class="btn_nrm column2">
|
||||
<li><input type="submit" value="수정" class="nrm1" style="width:160px;" /></li>
|
||||
<li><a href="#close" onclick="closeArea();" class="nrm2">취소</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<%
|
||||
|
||||
End if
|
||||
%>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
$(function(){
|
||||
clickArea(detaillayer13,0);
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
@@ -0,0 +1,113 @@
|
||||
<!--#include virtual="/common/lib/dbcon.asp"-->
|
||||
<!-- #Include virtual = "/common/lib/func.asp" -->
|
||||
<%
|
||||
bdm_idx = InputValue( request.querystring("bdm_idx") )
|
||||
|
||||
dim v_search, v_keyword, table, Query_Fields, Query_Where, Query_OrderBy
|
||||
Dim recordcount
|
||||
dim v_pagesize, v_totalpage, v_page, TotalCnt, v_block
|
||||
|
||||
Set ST = New SelectTable
|
||||
|
||||
table = "bd_address_page" '테이블
|
||||
idx_field = "adr_idx" '기본키
|
||||
oreder_filed = "adr_name asc, adr_idx asc" '정렬기준 필드
|
||||
Query_Fields = "adr_idx, bdm_idx, adr_m_id, adr_wdate, adr_name, adr_mobile1, adr_mobile2, adr_mobile3, adr_c_memo" '불러올 필드
|
||||
v_pagesize = 10 '목록개수
|
||||
v_block = 10 '페이지개수
|
||||
|
||||
'==================조합 쿼리문=======================
|
||||
Query_Where = " where bdm_idx = '" & bdm_idx & "'"
|
||||
andOrWhere = " and "
|
||||
|
||||
Query_OrderBy = " ORDER BY "&oreder_filed
|
||||
'==================조합 쿼리문=======================
|
||||
|
||||
'==================전체 레코드 수 뽑기===============
|
||||
sql="select count(*) from " & table & Query_Where
|
||||
set rs = DbCon.execute(sql)
|
||||
recordcount=CInt( rs(0) ) '이 전체레코드갯수를 이용해서 페이지갯수를 뽑아 낼것이다.
|
||||
Set rs = nothing
|
||||
'==================전체 레코드 수 뽑기===============
|
||||
|
||||
v_totalpage=fix((recordcount-1)/v_pagesize)+1 '전체덩어리갯수
|
||||
v_page = Request.QueryString("p_page")
|
||||
|
||||
if v_page="" then
|
||||
v_page = 1
|
||||
elseif cint(v_page) < 1 then
|
||||
v_page = 1
|
||||
elseif cint(v_page)>cint(v_totalpage) then
|
||||
v_page=cint(v_totalpage)
|
||||
end if
|
||||
|
||||
'========================리스트 출력 쿼리문 생성======================
|
||||
'MS-SQL
|
||||
sql = "select Top " & v_pagesize& " " & Query_Fields & " from " & table
|
||||
sql = sql & Query_Where & andOrWhere & " "&idx_field&" not in"
|
||||
sql = sql & "(select top " & v_pagesize * (v_page - 1) & " "&idx_field&" from " & table
|
||||
sql = sql & Query_Where & Query_OrderBy & ")"
|
||||
sql = sql & Query_OrderBy
|
||||
'========================리스트 출력 쿼리문 생성 끝======================
|
||||
'response.write sql
|
||||
|
||||
list_data = ST.selectQueryTable( sql )
|
||||
If isnull(list_data) Then
|
||||
TotalCnt = 0
|
||||
Else
|
||||
TotalCnt = ubound( list_data ) + 1
|
||||
End if
|
||||
|
||||
'글번호 num = (TotalCnt - v_pagesize * (v_page - 1)) - i
|
||||
%>
|
||||
<table class="table1" summary="주소록">
|
||||
<colgroup>
|
||||
<col width="30%" />
|
||||
<col width="30%" />
|
||||
<col width="*" />
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">이름</th>
|
||||
<th scope="col">연락처</th>
|
||||
<th scope="col">메모</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<%
|
||||
If TotalCnt = 0 Then
|
||||
Else
|
||||
For i = 0 To ubound( list_data )
|
||||
ST.arr2Value( list_data(i) )
|
||||
%>
|
||||
<tr>
|
||||
<td><%=adr_name%></td>
|
||||
<td><%=adr_mobile1%>-<%=adr_mobile2%>-<%=adr_mobile3%></td>
|
||||
<td><%=adr_c_memo%></td>
|
||||
</tr>
|
||||
<%
|
||||
Next
|
||||
End if
|
||||
%>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="paginate">
|
||||
<%
|
||||
query_string = "?bdm_idx=" & server.urlencode( bdm_idx )
|
||||
url = "ajax_addr_memlist.asp" & query_string
|
||||
pageStyle2(url)
|
||||
%>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
$(function(){
|
||||
$("div.paginate a").click(function(){
|
||||
var url = $(this).attr("href");
|
||||
$("#detaillayer12 div.popct").load( url );
|
||||
return false;
|
||||
});
|
||||
clickArea(detaillayer12,0);
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
@@ -0,0 +1,53 @@
|
||||
<!--#include virtual="/common/lib/dbcon.asp"-->
|
||||
<!--#Include virtual="/common/lib/func.asp"-->
|
||||
<%
|
||||
Dim adr_idx, sql
|
||||
adr_idx = InputValue( request.querystring("adr_idx") )
|
||||
|
||||
'그룹리스트
|
||||
sql = "select bdm_idx, bdm_menuname from bd_address where bdm_id = '" & session("ss_m_id") & "'"
|
||||
Set bdmRs = Dbcon.Execute( sql )
|
||||
If bdmRs.bof Or bdmRs.eof Then
|
||||
bdm_data = Null
|
||||
Else
|
||||
bdm_data = bdmRs.getrows
|
||||
End If
|
||||
Set bdmRs = Nothing
|
||||
|
||||
|
||||
r_fields_s = "bdm_idx,adr_m_id, adr_name, adr_email, adr_mobile1, adr_mobile2, adr_mobile3, adr_adr1, adr_adr2, adr_phone1, adr_phone2, adr_phone3, adr_homepage, adr_b_day, adr_company, adr_jikgub, adr_c_homepage, adr_c_phone1, adr_c_phone2, adr_c_phone3, adr_c_fax1, adr_c_fax2, adr_c_fax3, adr_c_memo"
|
||||
Call SelectQuery(r_fields_s, "bd_address_page", "where adr_idx = '" & adr_idx & "'")
|
||||
|
||||
|
||||
%>
|
||||
<input type="hidden" name="adr_idx" value="<%=adr_idx%>" />
|
||||
<ul class="frm">
|
||||
<li><input type="text" class="inp_basic" name="adr_name" value="<%=adr_name%>" maxlength="30" /></li>
|
||||
<li><input type="text" class="inp_basic" value="<%=adr_mobile1 & adr_mobile2 & adr_mobile3%>" name="adr_mobile" placeholder="연락처" maxlength="12" onkeyup="SetNum(this);" /></li>
|
||||
<li><input type="text" class="inp_basic" name="adr_c_memo" value="나눔아이앤씨" /></li>
|
||||
<li>
|
||||
<select class="select_basic" id="bdm_idx" name="bdm_idx">
|
||||
<option value="0">그룹미지정</option>
|
||||
<%
|
||||
If Not(IsNull(bdm_data)) then
|
||||
For i = 0 To UBound(bdm_data, 2)
|
||||
%>
|
||||
<option value="<%=bdm_data(0,i)%>" <%=chkSelect( bdm_data(0,i), bdm_idx )%>><%=bdm_data(1,i)%></option>
|
||||
<%
|
||||
Next
|
||||
End if
|
||||
%>
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="btngroup">
|
||||
<ul class="btn_nrm column2">
|
||||
<li><input type="submit" class="nrm1" value="수정" style="width:160px;" /></li>
|
||||
<li><a href="#close" onclick="closeArea();" class="nrm2">취소</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
clickArea(detaillayer10,0);
|
||||
});
|
||||
</script>
|
||||
@@ -0,0 +1,15 @@
|
||||
<!--#include virtual="/common/lib/dbcon.asp"-->
|
||||
<!-- #Include virtual = "/common/lib/func.asp" -->
|
||||
<%
|
||||
if request.form("adr_idx") = "" or Isnull(request.form("adr_idx")) then
|
||||
call Back_back2("리스트를 선택해주세요.", request.servervariables("http_referer"))
|
||||
end If
|
||||
|
||||
cart_num = Request.Form("adr_idx").count
|
||||
for j = 1 to cart_num
|
||||
num = inputValue( Request.Form("adr_idx")(j) )
|
||||
Dbcon.execute "delete from bd_address_page where adr_idx=" & num
|
||||
next
|
||||
|
||||
Call loding(0,request.servervariables("http_referer"))
|
||||
%>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,105 @@
|
||||
|
||||
|
||||
|
||||
<table border="1" cellspacing="0" class="bbs_blue" summary="사이트의 회원을 관리합니다.">
|
||||
<caption></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">번호</th>
|
||||
<th scope="col">분류</th>
|
||||
<th scope="col">프로그램명</th>
|
||||
<th scope="col">신청자</th>
|
||||
<th scope="col">연락처</th>
|
||||
<th scope="col">학교</th>
|
||||
<th scope="col">학년</th>
|
||||
<th scope="col">신청일</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td scope="row" class="center">1</td>
|
||||
<td scope="col"></td>
|
||||
<td scope="col">리코더 합주</td>
|
||||
<td scope="col">장나영</td>
|
||||
<td scope="col">010-8894-2844</td>
|
||||
<td scope="col">용산 초등학교</td>
|
||||
<td scope="col">6</td>
|
||||
<td scope="col">2015-03-12 13:00:22</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td scope="row" class="center">2</td>
|
||||
<td scope="col"></td>
|
||||
<td scope="col">리코더 합주</td>
|
||||
<td scope="col">송지현</td>
|
||||
<td scope="col">010-8661-5994</td>
|
||||
<td scope="col">용산 초등학교</td>
|
||||
<td scope="col">6</td>
|
||||
<td scope="col">2015-03-12 12:56:04</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td scope="row" class="center">3</td>
|
||||
<td scope="col"></td>
|
||||
<td scope="col">리코더 합주</td>
|
||||
<td scope="col">김민서</td>
|
||||
<td scope="col">010-3188-2029</td>
|
||||
<td scope="col">용산 초등학교</td>
|
||||
<td scope="col">6</td>
|
||||
<td scope="col">2015-03-12 12:53:36</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td scope="row" class="center">4</td>
|
||||
<td scope="col"></td>
|
||||
<td scope="col">리코더 합주</td>
|
||||
<td scope="col">안영은</td>
|
||||
<td scope="col">010-9507-1565</td>
|
||||
<td scope="col">용산 초등학교</td>
|
||||
<td scope="col">6</td>
|
||||
<td scope="col">2015-03-12 12:50:08</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td scope="row" class="center">5</td>
|
||||
<td scope="col"></td>
|
||||
<td scope="col">리코더 합주</td>
|
||||
<td scope="col">안혜진</td>
|
||||
<td scope="col">010-9908-2077</td>
|
||||
<td scope="col">용산 초등학교</td>
|
||||
<td scope="col">6</td>
|
||||
<td scope="col">2015-03-12 12:48:36</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td scope="row" class="center">6</td>
|
||||
<td scope="col"></td>
|
||||
<td scope="col">리코더 합주</td>
|
||||
<td scope="col">이종하</td>
|
||||
<td scope="col">010-7209-8228</td>
|
||||
<td scope="col">성서 중학교</td>
|
||||
<td scope="col">1</td>
|
||||
<td scope="col">2015-03-10 09:43:44</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td scope="row" class="center">7</td>
|
||||
<td scope="col"></td>
|
||||
<td scope="col">리코더 합주</td>
|
||||
<td scope="col">조채원</td>
|
||||
<td scope="col">010-2959-2400</td>
|
||||
<td scope="col">대구동도 초등학교</td>
|
||||
<td scope="col">6</td>
|
||||
<td scope="col">2015-03-10 09:05:33</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,324 @@
|
||||
<html xmlns:v="urn:schemas-microsoft-com:vml"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||
xmlns="http://www.w3.org/TR/REC-html40">
|
||||
|
||||
<head>
|
||||
<meta name="Excel Workbook Frameset">
|
||||
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
|
||||
<meta name=ProgId content=Excel.Sheet>
|
||||
<meta name=Generator content="Microsoft Excel 12">
|
||||
<link rel=File-List href="2015%201학기%20토요아트-수채화.files/filelist.xml">
|
||||
<![if !supportTabStrip]>
|
||||
<link id="shLink" href="2015%201학기%20토요아트-수채화.files/sheet001.htm">
|
||||
|
||||
<link id="shLink">
|
||||
|
||||
<script language="JavaScript">
|
||||
<!--
|
||||
var c_lTabs=1;
|
||||
|
||||
var c_rgszSh=new Array(c_lTabs);
|
||||
c_rgszSh[0] = "2015 1학기 토요아트-수채화";
|
||||
|
||||
|
||||
|
||||
var c_rgszClr=new Array(8);
|
||||
c_rgszClr[0]="window";
|
||||
c_rgszClr[1]="buttonface";
|
||||
c_rgszClr[2]="windowframe";
|
||||
c_rgszClr[3]="windowtext";
|
||||
c_rgszClr[4]="threedlightshadow";
|
||||
c_rgszClr[5]="threedhighlight";
|
||||
c_rgszClr[6]="threeddarkshadow";
|
||||
c_rgszClr[7]="threedshadow";
|
||||
|
||||
var g_iShCur;
|
||||
var g_rglTabX=new Array(c_lTabs);
|
||||
|
||||
function fnGetIEVer()
|
||||
{
|
||||
var ua=window.navigator.userAgent
|
||||
var msie=ua.indexOf("MSIE")
|
||||
if (msie>0 && window.navigator.platform=="Win32")
|
||||
return parseInt(ua.substring(msie+5,ua.indexOf(".", msie)));
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
function fnBuildFrameset()
|
||||
{
|
||||
var szHTML="<frameset rows=\"*,18\" border=0 width=0 frameborder=no framespacing=0>"+
|
||||
"<frame src=\""+document.all.item("shLink")[0].href+"\" name=\"frSheet\" noresize>"+
|
||||
"<frameset cols=\"54,*\" border=0 width=0 frameborder=no framespacing=0>"+
|
||||
"<frame src=\"\" name=\"frScroll\" marginwidth=0 marginheight=0 scrolling=no>"+
|
||||
"<frame src=\"\" name=\"frTabs\" marginwidth=0 marginheight=0 scrolling=no>"+
|
||||
"</frameset></frameset><plaintext>";
|
||||
|
||||
with (document) {
|
||||
open("text/html","replace");
|
||||
write(szHTML);
|
||||
close();
|
||||
}
|
||||
|
||||
fnBuildTabStrip();
|
||||
}
|
||||
|
||||
function fnBuildTabStrip()
|
||||
{
|
||||
var szHTML=
|
||||
"<html><head><style>.clScroll {font:8pt Courier New;color:"+c_rgszClr[6]+";cursor:default;line-height:10pt;}"+
|
||||
".clScroll2 {font:10pt Arial;color:"+c_rgszClr[6]+";cursor:default;line-height:11pt;}</style></head>"+
|
||||
"<body onclick=\"event.returnValue=false;\" ondragstart=\"event.returnValue=false;\" onselectstart=\"event.returnValue=false;\" bgcolor="+c_rgszClr[4]+" topmargin=0 leftmargin=0><table cellpadding=0 cellspacing=0 width=100%>"+
|
||||
"<tr><td colspan=6 height=1 bgcolor="+c_rgszClr[2]+"></td></tr>"+
|
||||
"<tr><td style=\"font:1pt\"> <td>"+
|
||||
"<td valign=top id=tdScroll class=\"clScroll\" onclick=\"parent.fnFastScrollTabs(0);\" onmouseover=\"parent.fnMouseOverScroll(0);\" onmouseout=\"parent.fnMouseOutScroll(0);\"><a>«</a></td>"+
|
||||
"<td valign=top id=tdScroll class=\"clScroll2\" onclick=\"parent.fnScrollTabs(0);\" ondblclick=\"parent.fnScrollTabs(0);\" onmouseover=\"parent.fnMouseOverScroll(1);\" onmouseout=\"parent.fnMouseOutScroll(1);\"><a><</a></td>"+
|
||||
"<td valign=top id=tdScroll class=\"clScroll2\" onclick=\"parent.fnScrollTabs(1);\" ondblclick=\"parent.fnScrollTabs(1);\" onmouseover=\"parent.fnMouseOverScroll(2);\" onmouseout=\"parent.fnMouseOutScroll(2);\"><a>></a></td>"+
|
||||
"<td valign=top id=tdScroll class=\"clScroll\" onclick=\"parent.fnFastScrollTabs(1);\" onmouseover=\"parent.fnMouseOverScroll(3);\" onmouseout=\"parent.fnMouseOutScroll(3);\"><a>»</a></td>"+
|
||||
"<td style=\"font:1pt\"> <td></tr></table></body></html>";
|
||||
|
||||
with (frames['frScroll'].document) {
|
||||
open("text/html","replace");
|
||||
write(szHTML);
|
||||
close();
|
||||
}
|
||||
|
||||
szHTML =
|
||||
"<html><head>"+
|
||||
"<style>A:link,A:visited,A:active {text-decoration:none;"+"color:"+c_rgszClr[3]+";}"+
|
||||
".clTab {cursor:hand;background:"+c_rgszClr[1]+";font:9pt 굴림;padding-left:3px;padding-right:3px;text-align:center;}"+
|
||||
".clBorder {background:"+c_rgszClr[2]+";font:1pt;}"+
|
||||
"</style></head><body onload=\"parent.fnInit();\" onselectstart=\"event.returnValue=false;\" ondragstart=\"event.returnValue=false;\" bgcolor="+c_rgszClr[4]+
|
||||
" topmargin=0 leftmargin=0><table id=tbTabs cellpadding=0 cellspacing=0>";
|
||||
|
||||
var iCellCount=(c_lTabs+1)*2;
|
||||
|
||||
var i;
|
||||
for (i=0;i<iCellCount;i+=2)
|
||||
szHTML+="<col width=1><col>";
|
||||
|
||||
var iRow;
|
||||
for (iRow=0;iRow<6;iRow++) {
|
||||
|
||||
szHTML+="<tr>";
|
||||
|
||||
if (iRow==5)
|
||||
szHTML+="<td colspan="+iCellCount+"></td>";
|
||||
else {
|
||||
if (iRow==0) {
|
||||
for(i=0;i<iCellCount;i++)
|
||||
szHTML+="<td height=1 class=\"clBorder\"></td>";
|
||||
} else if (iRow==1) {
|
||||
for(i=0;i<c_lTabs;i++) {
|
||||
szHTML+="<td height=1 nowrap class=\"clBorder\"> </td>";
|
||||
szHTML+=
|
||||
"<td id=tdTab height=1 nowrap class=\"clTab\" onmouseover=\"parent.fnMouseOverTab("+i+");\" onmouseout=\"parent.fnMouseOutTab("+i+");\">"+
|
||||
"<a href=\""+document.all.item("shLink")[i].href+"\" target=\"frSheet\" id=aTab> "+c_rgszSh[i]+" </a></td>";
|
||||
}
|
||||
szHTML+="<td id=tdTab height=1 nowrap class=\"clBorder\"><a id=aTab> </a></td><td width=100%></td>";
|
||||
} else if (iRow==2) {
|
||||
for (i=0;i<c_lTabs;i++)
|
||||
szHTML+="<td height=1></td><td height=1 class=\"clBorder\"></td>";
|
||||
szHTML+="<td height=1></td><td height=1></td>";
|
||||
} else if (iRow==3) {
|
||||
for (i=0;i<iCellCount;i++)
|
||||
szHTML+="<td height=1></td>";
|
||||
} else if (iRow==4) {
|
||||
for (i=0;i<c_lTabs;i++)
|
||||
szHTML+="<td height=1 width=1></td><td height=1></td>";
|
||||
szHTML+="<td height=1 width=1></td><td></td>";
|
||||
}
|
||||
}
|
||||
szHTML+="</tr>";
|
||||
}
|
||||
|
||||
szHTML+="</table></body></html>";
|
||||
with (frames['frTabs'].document) {
|
||||
open("text/html","replace");
|
||||
charset=document.charset;
|
||||
write(szHTML);
|
||||
close();
|
||||
}
|
||||
}
|
||||
|
||||
function fnInit()
|
||||
{
|
||||
g_rglTabX[0]=0;
|
||||
var i;
|
||||
for (i=1;i<=c_lTabs;i++)
|
||||
with (frames['frTabs'].document.all.tbTabs.rows[1].cells[fnTabToCol(i-1)])
|
||||
g_rglTabX[i]=offsetLeft+offsetWidth-6;
|
||||
}
|
||||
|
||||
function fnTabToCol(iTab)
|
||||
{
|
||||
return 2*iTab+1;
|
||||
}
|
||||
|
||||
function fnNextTab(fDir)
|
||||
{
|
||||
var iNextTab=-1;
|
||||
var i;
|
||||
|
||||
with (frames['frTabs'].document.body) {
|
||||
if (fDir==0) {
|
||||
if (scrollLeft>0) {
|
||||
for (i=0;i<c_lTabs&&g_rglTabX[i]<scrollLeft;i++);
|
||||
if (i<c_lTabs)
|
||||
iNextTab=i-1;
|
||||
}
|
||||
} else {
|
||||
if (g_rglTabX[c_lTabs]+6>offsetWidth+scrollLeft) {
|
||||
for (i=0;i<c_lTabs&&g_rglTabX[i]<=scrollLeft;i++);
|
||||
if (i<c_lTabs)
|
||||
iNextTab=i;
|
||||
}
|
||||
}
|
||||
}
|
||||
return iNextTab;
|
||||
}
|
||||
|
||||
function fnScrollTabs(fDir)
|
||||
{
|
||||
var iNextTab=fnNextTab(fDir);
|
||||
|
||||
if (iNextTab>=0) {
|
||||
frames['frTabs'].scroll(g_rglTabX[iNextTab],0);
|
||||
return true;
|
||||
} else
|
||||
return false;
|
||||
}
|
||||
|
||||
function fnFastScrollTabs(fDir)
|
||||
{
|
||||
if (c_lTabs>16)
|
||||
frames['frTabs'].scroll(g_rglTabX[fDir?c_lTabs-1:0],0);
|
||||
else
|
||||
if (fnScrollTabs(fDir)>0) window.setTimeout("fnFastScrollTabs("+fDir+");",5);
|
||||
}
|
||||
|
||||
function fnSetTabProps(iTab,fActive)
|
||||
{
|
||||
var iCol=fnTabToCol(iTab);
|
||||
var i;
|
||||
|
||||
if (iTab>=0) {
|
||||
with (frames['frTabs'].document.all) {
|
||||
with (tbTabs) {
|
||||
for (i=0;i<=4;i++) {
|
||||
with (rows[i]) {
|
||||
if (i==0)
|
||||
cells[iCol].style.background=c_rgszClr[fActive?0:2];
|
||||
else if (i>0 && i<4) {
|
||||
if (fActive) {
|
||||
cells[iCol-1].style.background=c_rgszClr[2];
|
||||
cells[iCol].style.background=c_rgszClr[0];
|
||||
cells[iCol+1].style.background=c_rgszClr[2];
|
||||
} else {
|
||||
if (i==1) {
|
||||
cells[iCol-1].style.background=c_rgszClr[2];
|
||||
cells[iCol].style.background=c_rgszClr[1];
|
||||
cells[iCol+1].style.background=c_rgszClr[2];
|
||||
} else {
|
||||
cells[iCol-1].style.background=c_rgszClr[4];
|
||||
cells[iCol].style.background=c_rgszClr[(i==2)?2:4];
|
||||
cells[iCol+1].style.background=c_rgszClr[4];
|
||||
}
|
||||
}
|
||||
} else
|
||||
cells[iCol].style.background=c_rgszClr[fActive?2:4];
|
||||
}
|
||||
}
|
||||
}
|
||||
with (aTab[iTab].style) {
|
||||
cursor=(fActive?"default":"hand");
|
||||
color=c_rgszClr[3];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function fnMouseOverScroll(iCtl)
|
||||
{
|
||||
frames['frScroll'].document.all.tdScroll[iCtl].style.color=c_rgszClr[7];
|
||||
}
|
||||
|
||||
function fnMouseOutScroll(iCtl)
|
||||
{
|
||||
frames['frScroll'].document.all.tdScroll[iCtl].style.color=c_rgszClr[6];
|
||||
}
|
||||
|
||||
function fnMouseOverTab(iTab)
|
||||
{
|
||||
if (iTab!=g_iShCur) {
|
||||
var iCol=fnTabToCol(iTab);
|
||||
with (frames['frTabs'].document.all) {
|
||||
tdTab[iTab].style.background=c_rgszClr[5];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function fnMouseOutTab(iTab)
|
||||
{
|
||||
if (iTab>=0) {
|
||||
var elFrom=frames['frTabs'].event.srcElement;
|
||||
var elTo=frames['frTabs'].event.toElement;
|
||||
|
||||
if ((!elTo) ||
|
||||
(elFrom.tagName==elTo.tagName) ||
|
||||
(elTo.tagName=="A" && elTo.parentElement!=elFrom) ||
|
||||
(elFrom.tagName=="A" && elFrom.parentElement!=elTo)) {
|
||||
|
||||
if (iTab!=g_iShCur) {
|
||||
with (frames['frTabs'].document.all) {
|
||||
tdTab[iTab].style.background=c_rgszClr[1];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function fnSetActiveSheet(iSh)
|
||||
{
|
||||
if (iSh!=g_iShCur) {
|
||||
fnSetTabProps(g_iShCur,false);
|
||||
fnSetTabProps(iSh,true);
|
||||
g_iShCur=iSh;
|
||||
}
|
||||
}
|
||||
|
||||
window.g_iIEVer=fnGetIEVer();
|
||||
if (window.g_iIEVer>=4)
|
||||
fnBuildFrameset();
|
||||
//-->
|
||||
</script>
|
||||
<![endif]><!--[if gte mso 9]><xml>
|
||||
<x:ExcelWorkbook>
|
||||
<x:ExcelWorksheets>
|
||||
<x:ExcelWorksheet>
|
||||
<x:Name>2015 1학기 토요아트-수채화</x:Name>
|
||||
<x:WorksheetSource HRef="2015%201학기%20토요아트-수채화.files/sheet001.htm"/>
|
||||
</x:ExcelWorksheet>
|
||||
</x:ExcelWorksheets>
|
||||
<x:Stylesheet HRef="2015%201학기%20토요아트-수채화.files/stylesheet.css"/>
|
||||
<x:WindowHeight>10530</x:WindowHeight>
|
||||
<x:WindowWidth>13995</x:WindowWidth>
|
||||
<x:WindowTopX>240</x:WindowTopX>
|
||||
<x:WindowTopY>75</x:WindowTopY>
|
||||
<x:ProtectStructure>False</x:ProtectStructure>
|
||||
<x:ProtectWindows>False</x:ProtectWindows>
|
||||
</x:ExcelWorkbook>
|
||||
</xml><![endif]-->
|
||||
</head>
|
||||
|
||||
<frameset rows="*,39" border=0 width=0 frameborder=no framespacing=0>
|
||||
<frame src="2015%201학기%20토요아트-수채화.files/sheet001.htm" name="frSheet">
|
||||
<frame src="2015%201학기%20토요아트-수채화.files/tabstrip.htm" name="frTabs" marginwidth=0 marginheight=0>
|
||||
<noframes>
|
||||
<body>
|
||||
<p>이 페이지에는 프레임이 있지만 사용 중인 브라우저에서 프레임을 지원하지 않습니다.</p>
|
||||
</body>
|
||||
</noframes>
|
||||
</frameset>
|
||||
</html>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user