128 lines
3.8 KiB
Plaintext
128 lines
3.8 KiB
Plaintext
<%
|
|
'response.write "test"
|
|
site_name = "문자전송 시스템"
|
|
site_root_dir_path = Server.MapPath("\") '프로그램 시작디렉토리 절대경로
|
|
include_dir_path = site_root_dir_path&"\include" 'Include디렉토리 절대경로
|
|
|
|
site_root_dir_url = "" '프로그램 시작디렉토리 url
|
|
include_dir_url = site_root_dir_url&"/include" 'Include디렉토리 url
|
|
common_image_url = site_root_dir_url&"/imgs" '공통 이미지디렉토리 url
|
|
|
|
main_url = site_root_dir_url&"/"
|
|
|
|
|
|
'//---------스킨--------------------
|
|
skin = Request.Cookies("skin_ck")
|
|
If skin <> "blue" And skin<>"orange" And skin<>"sky" And skin<>"green" And skin<>"gray" then
|
|
skin = "blue"
|
|
End if
|
|
|
|
|
|
'//파일명앞자리2개가져와서 서브메뉴 체크온표시
|
|
menu_chk_tmp = Split( Request.ServerVariables("path_info"), "/" )
|
|
menu_chk = Left(menu_chk_tmp(UBound(menu_chk_tmp)),2) ' 페이지 명의 앞 2글자 ( 01_02.asp 에서 "01" )
|
|
menu_chk2 = Left(menu_chk_tmp(UBound(menu_chk_tmp)),5) ' 페이지 명의 앞 5글자 ( 01_02.asp 에서 "01_02" )
|
|
menu_chk3 = Left(menu_chk_tmp(UBound(menu_chk_tmp)),7) ' 페이지 명의 앞 5글자 ( 01_02.asp 에서 "01_0200" )
|
|
menu_dir = menu_chk_tmp(UBound(menu_chk_tmp)-1) ' 폴더명 ( "01intro" )
|
|
|
|
menu_chk_on = menu_chk
|
|
If Left(menu_chk_on,1)="0" Then menu_chk_on = Mid(menu_chk_on,2)
|
|
|
|
|
|
If menu_dir = "01message" Then
|
|
menu_loc = "1"
|
|
|
|
if menu_chk2 = "01_01" Then
|
|
tit_name = "단문전송 | "
|
|
elseif menu_chk2 = "02_01" Then tit_name = "예약문자확인 | "
|
|
elseif menu_chk2 = "03_01" Then tit_name = "보낸문자함 | "
|
|
End if
|
|
|
|
ElseIf menu_dir = "02address" Then
|
|
menu_loc = "2"
|
|
if menu_chk2 = "01_01" Then
|
|
tit_name = "주소록 | "
|
|
elseif menu_chk2 = "02_01" Then tit_name = "그룹관리 | "
|
|
End if
|
|
|
|
ElseIf menu_dir = "03schedule" Then
|
|
menu_loc = "3"
|
|
if menu_chk2 = "01_01" Then
|
|
tit_name = "일정관리 | "
|
|
elseif menu_chk2 = "02_01" Then tit_name = "일정쓰기 | "
|
|
End if
|
|
|
|
|
|
ElseIf menu_dir = "04advice" Then
|
|
menu_loc = "4"
|
|
if menu_chk2 = "01_01" Then
|
|
tit_name = "도움말 | "
|
|
End if
|
|
|
|
|
|
ElseIf menu_dir = "05mypage" Then
|
|
menu_loc = "5"
|
|
if menu_chk2 = "01_01" Then
|
|
tit_name = "개인정보수정 | "
|
|
elseif menu_chk2 = "02_01" Then tit_name = "발송현황 | "
|
|
End if
|
|
|
|
|
|
response.write tit_name_yes
|
|
End if
|
|
|
|
|
|
|
|
'/* 게시판 */
|
|
a_num = Request.QueryString("a_num")
|
|
|
|
If a_num = "71074505" Then
|
|
menu_loc = "1" : menu_chk_on = "2" : tit_name = "공지사항"
|
|
ElseIf a_num = "7569561" Then
|
|
menu_loc = "1" : menu_chk_on = "2" : tit_name = "행사앨범"
|
|
End If
|
|
|
|
If a_num <>"" Then
|
|
If menu_chk2 = "write" Then
|
|
board_name = " (글쓰기) | "
|
|
elseIf menu_chk2 = "list." Then
|
|
board_name = " (목록) | "
|
|
elseIf menu_chk2 = "view." Then
|
|
board_name = " (글내용) | "
|
|
Else
|
|
board_name = " | "
|
|
End If
|
|
|
|
tit_name = tit_name & board_name
|
|
End if
|
|
|
|
|
|
'문자메시지
|
|
menu01_0101 = "href=""/content/01message/01_01.asp"" " '//단문전송
|
|
menu01_0201 = "href=""/content/01message/02_01.asp"" " '//예약문자확인
|
|
menu01_0301 = "href=""/content/01message/03_01.asp"" " '//보낸문자함
|
|
menu01_0401 = "href=""/content/01message/04_01.asp"" " '//보낸문자함(장문)
|
|
|
|
'주소록
|
|
menu02_0101 = "href=""/content/02address/01_01.asp"" " '//주소록
|
|
menu02_0201 = "href=""/content/02address/02_01.asp"" " '//그룹관리
|
|
|
|
'일정관리
|
|
menu03_0101 = "href=""/content/03schedule/01_01.asp"" " '//일정관리
|
|
menu03_0201 = "href=""/content/03schedule/02_01.asp"" " '//일정쓰기
|
|
|
|
'도움말
|
|
menu04_0101 = "href=""/content/04advice/01_01.asp"" " '//도움말
|
|
|
|
'마이페이지
|
|
menu05_0101 = "href=""/content/05mypage/01_01.asp"" " '//개인정보수정
|
|
menu05_0201 = "href=""/content/05mypage/02_01.asp"" " '//발송현황
|
|
|
|
|
|
|
|
|
|
' 회원관련 페이지 선언
|
|
Const LOGIN_URL = "/content/member/login.php"
|
|
Const MODIFY_URL = "/content/memeber/modify.php"
|
|
|
|
%> |