Compare commits

...
1394 Commits
Author SHA1 Message Date
thisgun 28d079e83f 5.2.9.3 버전 수정 2017-09-11 11:00:14 +09:00
thisgun 5970f2a577 5.2.9.3 버전 수정 2017-09-11 10:50:58 +09:00
thisgun 9dea1a40db ip 차단시 접근불가 글씨 깨지는 현상 수정 2017-09-11 10:47:50 +09:00
thisgun dbe131633a 관리자 하단에 버전 정보 표시 2017-09-07 10:36:38 +09:00
thisgun 277ce801e6 원격 코드 실행 취약점 수정 ( 17-0524,525 ) 2017-09-07 10:05:35 +09:00
thisgun 7e5e973d09 영카트 다중 취약점( 17-0556 ) 수정 2017-09-06 17:07:11 +09:00
thisgun 36fff814bf get_sock 함수 수정 2017-09-06 16:38:23 +09:00
thisgun 94cb7f7956 lgu 본인확인 코드 일부 수정 2017-09-06 14:30:55 +09:00
thisgun edbefc256b 휴대폰본인확인 lg 모듈 최근 버전으로 수정 2017-09-06 11:58:51 +09:00
thisgun 8af8e13686 페이스북 연결 구문 수정 2017-08-25 09:29:35 +09:00
thisgun 3d2d3b9948 오픈 리다이렉트 유저 패스워드 Leak 취약점 수정 adm1nkyj@UpRoot님이 알려주심 2017-08-22 16:46:36 +09:00
thisgun 91f60763d8 IOS 10.3.x 버전대에서 다음 우편주소 오류 수정 2017-08-21 19:38:14 +09:00
thisgun 54401165e8 5.2.9.2 버전 정보 수정 2017-08-16 10:52:49 +09:00
thisgun b99efb8fc8 1:1 문의 및 내용관리 상단 하단 경로 수정 2017-08-16 10:43:24 +09:00
thisgun ad102421cb Stored XSS 취약점 수정 (17-557) 2017-08-16 10:43:21 +09:00
thisgun 9be00683d9 433 포트번호 처리 수정 2017-08-16 10:43:18 +09:00
thisgun e76f36a1be 최고관리자 정보수정 문제 ( 17-00465 취약점 관련 ) 2017-08-16 10:43:15 +09:00
thisgun 70b62a6c6a 패스워드 찾기 https url 처리 2017-08-16 10:43:12 +09:00
thisgun 61b3fe4ebd 쪽지 보낼때 차감 포인트도 표시하기 2017-08-16 10:43:08 +09:00
thisgun 30a93dbef7 아이코드 충전하기 버튼 링크 태그 수정 2017-08-16 10:43:05 +09:00
thisgun b6956bd6fd 모바일 댓글 https 미처리 수정 2017-08-16 10:43:03 +09:00
thisgun 7a4b7e23c5 include path 체크함수 수정 2017-08-16 10:42:47 +09:00
thisgun b34a7610f5 인스톨시 필터링 단어 수정 2017-08-16 10:42:40 +09:00
thisgun cf680e43d8 5.2.9.2 버전 수정 2017-08-16 09:30:52 +09:00
thisgun 3a311906bf 1:1 문의 및 내용관리 상단 하단 경로 수정 2017-08-16 09:24:15 +09:00
thisgun d9789a636e Stored XSS 취약점 수정 (17-557) 2017-08-14 17:23:23 +09:00
thisgun cd8a9078d5 433 포트번호 처리 수정 2017-08-14 17:04:11 +09:00
thisgun 121d369ab8 최고관리자 정보수정 문제 ( 17-00465 취약점 관련 ) 2017-07-20 19:52:00 +09:00
thisgun 1a0eb48b97 패스워드 찾기 https url 처리 2017-07-13 09:17:47 +09:00
thisgun 14e863930c 쪽지 보낼때 차감 포인트도 표시하기 2017-07-12 10:39:36 +09:00
thisgun 6f5775381a 아이코드 충전하기 버튼 링크 태그 수정 2017-07-10 17:53:16 +09:00
thisgun ee9f85628d 모바일 댓글 https 미처리 수정 2017-07-06 11:00:20 +09:00
thisgun 3000fc0b35 include path 체크함수 수정 2017-07-06 10:27:45 +09:00
thisgun bab7fa1f39 인스톨시 필터링 단어 수정 2017-07-06 09:22:24 +09:00
thisgun 0d19b01229 5.2.9 버전 변경 2017-07-03 19:58:40 +09:00
thisgun 2b2d558c87 게시판 본문의 url 자동 링크 소스 수정 2017-07-03 19:41:44 +09:00
thisgun 94f25f73fa 그누보드 글 수정 XSS 취약점 수정 ( 17-454 ) 2017-07-03 19:41:38 +09:00
thisgun 5bd16c0e77 kcaptcha https 적용이 안되는 오류 수정 2017-07-03 19:41:33 +09:00
thisgun 7bb40dd882 코멘트 폼 및 게시판 패스워드 action url에 https 처리 2017-07-03 19:41:26 +09:00
thisgun bb99c050b6 게시판 글쓰기시 버튼도 토큰 적용되도록 수정 2017-07-03 19:41:20 +09:00
thisgun 31cdf10011 스마트에디터 2.9.0 버전으로 수정 2017-07-03 19:41:13 +09:00
thisgun 02c29c137c cheditor js 업로드 수정 2017-07-03 19:41:09 +09:00
thisgun e9afe3fdae 1:1 문의 페이징 오류 수정 2017-07-03 19:41:05 +09:00
thisgun ce9517885b 그누보드 AND 검색을 이용한 취약점 수정 (17-455) 2017-07-03 19:40:57 +09:00
thisgun 6a41d655de 게시판에서 특수문자 일부 입력시 캐쉬 파일 생성 오류 수정 2017-07-03 19:40:50 +09:00
thisgun 9b8588df79 5.2.9 버전 수정 2017-07-03 19:09:40 +09:00
thisgun df97fa71a0 게시판 본문의 url 자동 링크 소스 수정 2017-07-03 19:03:05 +09:00
thisgun b9f1b4e170 그누보드 글 수정 XSS 취약점 수정 ( 17-454 ) 2017-07-03 18:18:50 +09:00
thisgun d89acfd01d kcaptcha https 적용이 안되는 오류 수정 2017-07-03 14:39:20 +09:00
thisgun 3ea7b8e03e 코멘트 폼 및 게시판 패스워드 action url에 https 처리 2017-07-03 14:25:59 +09:00
thisgun 59881232bf 게시판 글쓰기시 버튼도 토큰 적용되도록 수정 2017-07-03 10:19:38 +09:00
thisgun 0575cdab18 스마트에디터 2.9.0 버전으로 수정 2017-07-03 10:06:52 +09:00
thisgun 7f6b5d1b58 cheditor js 업로드 수정 2017-07-03 09:50:13 +09:00
thisgun f365e8abe1 1:1 문의 페이징 오류 수정 2017-06-28 14:33:28 +09:00
thisgun b7edd3fa26 그누보드 AND 검색을 이용한 취약점 수정 (17-455) 2017-06-23 12:26:34 +09:00
thisgun 367a210996 게시판에서 특수문자 일부 입력시 캐쉬 파일 생성 오류 수정 2017-06-14 15:48:22 +09:00
thisgun c2a4a39ea0 에디터 이미지 업로드 부분 정규식 수정 2017-06-14 11:22:05 +09:00
thisgun e056323677 에디터 이미지 업로드 부분 정규식 수정 2017-06-14 11:14:12 +09:00
thisgun b8759e4acd 5.2.8 버젼변경 2017-06-14 10:35:04 +09:00
thisgun e6a3df6f08 그누보드 파일 삭제 취약점 17-282 수정 2017-06-14 10:32:43 +09:00
thisgun 617dfbf0e2 그누보드 원격 취약점 17-259 수정 2017-06-14 10:32:35 +09:00
thisgun e4c9bf5ba4 g5_path 함수 수정 2017-06-14 10:32:29 +09:00
thisgun 910091b6c6 모바일 크롬 브라우저에서 캡챠 조회수 버그 수정 2017-06-14 10:32:23 +09:00
thisgun 92b8ce3a89 게시판 검색시 필드 소문자로 변경 2017-06-14 10:32:13 +09:00
thisgun 8a276fc073 install 파일에 utf-8 헤더 추가 2017-06-14 10:32:08 +09:00
thisgun baa2e890ba 기타 오류 수정 2017-06-14 10:32:04 +09:00
thisgun a9f4aee93f 메뉴 추가 대상에서 게시판일 경우 게시판 그룹 표시하기 #73 2017-06-14 10:31:59 +09:00
thisgun 144926774d 이메일 복화화 문자열이 깨지는 현상 수정 2017-06-14 10:31:53 +09:00
thisgun 3ee82c38d5 5.2.8 버전변경 2017-06-14 09:48:02 +09:00
thisgun c9e85d3159 그누보드 파일 삭제 취약점 17-282 수정 2017-06-13 16:06:12 +09:00
thisgun d755a42530 그누보드 원격 취약점 17-259 수정 2017-06-13 15:20:28 +09:00
thisgun 674a7f3f57 g5_path 함수 수정 2017-05-31 15:42:51 +09:00
thisgun f70df1fff2 모바일 크롬 브라우저에서 캡챠 조회수 버그 수정 2017-05-19 18:15:35 +09:00
thisgun 2553e6464b 게시판 검색시 필드 소문자로 변경 2017-05-19 16:03:40 +09:00
thisgun 746e04cf23 install 파일에 utf-8 헤더 추가 2017-05-19 15:57:27 +09:00
thisgun cecc163230 기타 오류 수정 2017-05-19 14:52:47 +09:00
thisgun edef3b961a 메뉴 추가 대상에서 게시판일 경우 게시판 그룹 표시하기 #73 2017-05-17 14:09:05 +09:00
thisgun 254583a135 이메일 복화화 문자열이 깨지는 현상 수정 2017-04-12 16:22:59 +09:00
thisgun 435da08a02 5.2.7 버전변경 2017-03-20 17:45:21 +09:00
thisgun 945c060b67 썸네일 파일 수정 2017-03-20 17:45:17 +09:00
thisgun 83fd4bf68a cheditor 소스 수정 2017-03-20 17:45:09 +09:00
thisgun f11c4531e9 원격코드 실행 취약점(17-00160) 수정 2017-03-20 17:45:05 +09:00
thisgun f36c24e5d0 오타 수정 (왕대인님 제보) 2017-03-20 17:45:00 +09:00
thisgun 23a91b346d LFI to RCE 취약점 수정 2017-03-20 17:44:56 +09:00
thisgun 08b8d1e3e2 썸네일 파일 수정 2017-03-20 17:25:23 +09:00
thisgun c2a2a11be3 5.2.7 버전변경 2017-03-20 16:06:10 +09:00
thisgun 54abbddbe5 cheditor 소스 수정 2017-03-20 15:46:58 +09:00
thisgun c6425adffc 원격코드 실행 취약점(17-00160) 수정 2017-03-14 12:30:58 +09:00
thisgun 20f658ffbb 오타 수정 (왕대인님 제보) 2017-02-09 11:10:22 +09:00
thisgun ed957cf6b3 LFI to RCE 취약점 수정 2017-02-06 20:00:18 +09:00
thisgun 8eb465d26f 5.2.6 버전변경 2017-01-18 19:59:42 +09:00
thisgun 6ff06d4609 글쓰기시 page 중복 소스 삭제 2017-01-18 19:58:35 +09:00
thisgun c817b1edb7 PHPMailer 5.2.22 버전 적용 2017-01-18 19:58:31 +09:00
thisgun f7c6a52f6d cheditor5 추가 2017-01-18 19:58:20 +09:00
thisgun ce03af265e 5.2.6 버전변경 2017-01-18 18:09:12 +09:00
thisgun 5ba87d9933 글쓰기시 page 중복 소스 삭제 2017-01-18 10:56:01 +09:00
thisgun db32bcfc06 PHPMailer 5.2.22 버전 적용 2017-01-18 10:44:03 +09:00
thisgun 11038348a3 cheditor5 추가 2017-01-18 10:30:17 +09:00
thisgun 3e343bdf66 5.2.5 버전변경 2017-01-09 14:33:20 +09:00
thisgun e131563c8f XSS 취약점(16-1008) 수정 2017-01-09 14:30:47 +09:00
thisgun 0094cc9afe 스마트에디터 업로드 방식 수정 2017-01-09 14:30:39 +09:00
thisgun 5fde923aa0 PHPMailer 5.2.19 버전 적용 2017-01-09 14:30:33 +09:00
thisgun ac780beb2c 5.2.5 버전변경 2017-01-09 10:07:34 +09:00
thisgun 4d4c781a8e XSS 취약점(16-1008) 수정 2017-01-05 17:54:32 +09:00
thisgun 85ace455da 스마트에디터 업로드 방식 수정 2017-01-05 17:52:53 +09:00
thisgun 8e09983805 PHPMailer 5.2.19 버전 적용 2016-12-27 11:56:11 +09:00
chicpro 1e3a4f2657 KCP 본인확인 모바일 관련 수정 2016-12-21 09:56:32 +09:00
chicpro 0991adb756 KCP 본인확인 모바일 관련 수정 2016-12-21 09:50:07 +09:00
chicpro 0693fde962 5.2.4 버전변경 2016-11-22 11:34:16 +09:00
chicpro c1008c87a7 5.2.4 버전변경 2016-11-22 11:29:04 +09:00
chicpro 7fb5f92200 <?php 수정 2016-11-22 10:47:31 +09:00
chicpro 02e4ec4584 <?php 수정 2016-11-22 10:46:03 +09:00
chicpro 50c8207fed 컬럼 정렬 함수에 sca 변수 추가 (sir ko님 제안) 2016-10-20 09:30:42 +09:00
chicpro 3e707708ec 컬럼 정렬 함수에 sca 변수 추가 (sir ko님 제안) 2016-10-20 09:26:47 +09:00
chicpro 6dbfa73461 5.2.3 버전변경 2016-10-19 10:26:05 +09:00
chicpro 727eeb74fe 5.2.3 버전변경 2016-10-19 10:19:25 +09:00
chicpro 76ecc6efe8 XSS 취약점(16-781) 수정 2016-10-17 16:57:04 +09:00
chicpro ecc7690046 XSS 취약점(16-781) 수정 2016-10-17 16:55:07 +09:00
chicpro f4b0737178 개인정보처리방침 명칭 변경 2016-10-17 14:48:00 +09:00
chicpro e99c7a81db 게시글 CSRF 취약점(16-749 16-750) 수정 2016-10-17 14:47:45 +09:00
chicpro ce0a6dc3af js css 버전 상수 추가 2016-10-17 14:47:30 +09:00
chicpro 1f5e3e0daa 개인정보처리방침 명칭 변경 2016-10-13 09:42:11 +09:00
chicpro b69720836b 게시글 CSRF 취약점(16-749 16-750) 수정 2016-10-05 10:34:07 +09:00
chicpro 468cca81d1 js css 버전 상수 추가 2016-10-05 09:48:29 +09:00
chicpro f3e428ea1e 모바이 FAQ 하단 내용 출력 오류 수정 2016-09-21 11:41:04 +09:00
chicpro 5c866ae133 모바이 FAQ 하단 내용 출력 오류 수정 2016-09-21 11:35:16 +09:00
chicpro 9b422b38c5 5.2.2 버전변경 2016-09-20 09:59:04 +09:00
chicpro 2401620dc6 5.2.2 버전변경 2016-09-20 09:24:33 +09:00
chicpro f6056b2d37 오픈 리다이렉트 취약점(16-603) 수정 2016-09-06 14:47:35 +09:00
chicpro 2457b96f7d 오픈 리다이렉트 취약점(16-603) 수정 2016-09-06 10:06:41 +09:00
chicpro a560fc353c htmlpurifier 4.8 업데이트 2016-08-29 13:48:02 +09:00
chicpro 9655c53a3b htmlpurifier 4.8 업데이트 2016-08-29 11:03:17 +09:00
chicpro e2c67e854f 5.2.1 버전변경 2016-08-22 09:56:47 +09:00
chicpro 3b382c0642 5.2.1 버전변경 2016-08-22 09:51:02 +09:00
thisgunandchicpro 3e7617e825 스마트에디터 2.8.2.3 보안패치 #63 2016-08-17 14:37:23 +09:00
thisgun a4ffdb0316 스마트에디터 2.8.2.3 보안패치 #63 2016-08-12 18:24:14 +09:00
chicpro 4515f11169 토큰 초기화 코드 추가 2016-08-10 10:02:04 +09:00
chicpro ec32f64bc4 댓글 수정 CSRF 취약점 수정 2016-08-10 10:01:49 +09:00
chicpro 15bd8b9632 파일경로 필터링 코드 추가 2016-08-10 10:01:35 +09:00
chicpro ef013e0827 wr_id_list 필터링 코드 추가 2016-08-10 09:56:03 +09:00
chicpro 08fc272f1b 토큰 초기화 코드 추가 2016-08-09 09:16:16 +09:00
chicpro c23f6c0161 댓글 수정 CSRF 취약점 수정 2016-08-08 17:44:29 +09:00
chicpro c1eab8e3c7 파일경로 필터링 코드 추가 2016-08-01 09:32:52 +09:00
chicpro fbe30c7ad6 wr_id_list 필터링 코드 추가 2016-07-29 10:21:09 +09:00
chicpro b3773217e9 5.2.0 버전변경 2016-07-25 10:44:58 +09:00
chicpro acc3ede87d 5.2.0 버전변경 2016-07-25 10:33:46 +09:00
chicpro 70f6d92e87 XSS 취약점 수정 16-480 2016-07-21 10:25:46 +09:00
chicpro a79def43c5 XSS 취약점 수정 16-480 2016-07-15 09:25:39 +09:00
chicpro 042695af55 5.1.19 버전변경 2016-07-05 11:01:48 +09:00
chicpro b5592b8466 5.1.19 버전변경 2016-07-05 10:53:16 +09:00
chicpro 85f9523b30 댓글 삭제 토큰 코드 수정 2016-06-28 13:33:28 +09:00
chicpro cb327e902f 댓글 삭제 토큰 코드 수정 2016-06-28 10:25:55 +09:00
chicpro 8c1d6266af 게시글 댓글 삭제 때 토큰 체크 추가 2016-06-24 17:22:29 +09:00
chicpro 30009dba6f 커맨드 인젝션 취약점(16-418 419) 수정 2016-06-24 17:22:14 +09:00
chicpro 2a9e72da41 게시글 댓글 삭제 때 토큰 체크 추가 2016-06-24 17:17:02 +09:00
chicpro e724ef7291 커맨드 인젝션 취약점(16-418 419) 수정 2016-06-13 17:47:41 +09:00
chicpro 24e7e8823e 가입축하 메일의 메일인증코드 수정 2016-05-24 17:46:02 +09:00
chicpro dfc2c110d6 가입축하 메일의 메일인증코드 수정 2016-05-24 17:34:01 +09:00
chicpro 42fb4b71a6 5.1.18 버전변경 2016-05-17 10:05:35 +09:00
chicpro f0134b610b 누락된 필드 추가 2016-05-17 10:05:06 +09:00
chicpro c2cf34392a 1:1문의 등록 오류 수정 2016-05-17 10:04:53 +09:00
chicpro 32235cfd9d 5.1.18 버전변경 2016-05-17 09:58:59 +09:00
chicpro 6457eded48 누락된 필드 추가 2016-05-17 09:54:23 +09:00
chicpro 5cc41e8455 1:1문의 등록 오류 수정 2016-05-17 09:48:08 +09:00
chicpro 20dc859436 5.1.17 버전변경 2016-05-16 15:21:55 +09:00
chicpro cb51396c80 5.1.17 버전변경 2016-05-16 15:06:04 +09:00
chicpro f5ec4d60c0 기본환경설정 NHN KCP 사명변경 2016-05-13 12:03:02 +09:00
chicpro 2a6e2c0450 기본환경설정 NHN KCP 사명변경 2016-05-13 11:56:44 +09:00
chicpro de00b4e9d3 1:1문의 파일업로드 분류 체크 추가 2016-05-04 13:36:31 +09:00
chicpro 8c67945c64 파일 업로드 개수 코드 수정 2016-05-04 13:36:20 +09:00
chicpro e22b4ec085 1:1문의 파일업로드 분류 체크 추가 2016-05-04 13:31:42 +09:00
chicpro 71efd5c97f 파일 업로드 개수 코드 수정 2016-05-04 10:42:59 +09:00
chicpro e5889df761 게시글 카테고리 체크 수정 2016-05-03 17:33:53 +09:00
chicpro 624e3d74a6 파일 업로드 개수 체크 추가 2016-05-03 17:33:37 +09:00
chicpro b4a83c1969 게시글 카테고리 체크 수정 2016-05-03 17:31:10 +09:00
chicpro ee35ce9839 파일 업로드 개수 체크 추가 2016-05-03 16:53:52 +09:00
chicpro 30815f71e0 폼메일에서의 이메일주소 노출 수정 2016-05-03 14:16:38 +09:00
chicpro 949a73b468 1:1문의 이메일 체크 수정 2016-05-03 14:16:23 +09:00
chicpro 24d57cdd4b 스크랩 게시글 체크 추가 2016-05-03 14:16:09 +09:00
chicpro 191f3d2f97 1:1문의 삭제 오류 수정 2016-05-03 14:15:55 +09:00
chicpro 4973714e2f 이메일인증 프로세스 개선 2016-05-03 14:15:40 +09:00
chicpro 7a8a4fe71d 폼메일에서의 이메일주소 노출 수정 2016-05-02 16:53:37 +09:00
chicpro 2e36c0a662 1:1문의 이메일 체크 수정 2016-04-29 15:30:05 +09:00
chicpro 71b403bbe1 스크랩 게시글 체크 추가 2016-04-29 15:26:21 +09:00
chicpro c5d22ace25 1:1문의 삭제 오류 수정 2016-04-29 14:46:59 +09:00
chicpro 81671abd01 이메일인증 프로세스 개선 2016-04-29 14:20:59 +09:00
chicpro 70bfeefb3b 댓글 등록 오류 수정 2016-04-28 09:49:14 +09:00
chicpro da1b302a34 댓글 등록 오류 수정 2016-04-28 09:46:48 +09:00
chicpro e8b83f3a33 비밀글 등록 버그 수정 2016-04-27 10:44:37 +09:00
chicpro 3f7068541f 비밀글 등록 버그 수정 2016-04-26 17:56:14 +09:00
chicpro c6bdc172ee 5.1.16 버전변경 2016-04-20 11:08:39 +09:00
sora90224andchicpro c3cf74f0c5 관리자 부가서비스 kcp 로고 변경 2016-04-20 11:07:58 +09:00
chicpro 52db203ecd 필터링 특수문자 추가 2016-04-20 11:07:23 +09:00
chicpro 6e05353f31 sst 변수 필터링 특수문자 추가 2016-04-20 11:07:12 +09:00
chicpro 2fdc93b3fd 5.1.16 버전변경 2016-04-20 11:03:43 +09:00
sora90224 907dcd829a 관리자 부가서비스 kcp 로고 변경 2016-04-18 09:21:33 +09:00
chicpro b2ef314960 필터링 특수문자 추가 2016-04-05 10:08:28 +09:00
chicpro 6af75013d4 sst 변수 필터링 특수문자 추가 2016-04-04 14:28:18 +09:00
chicpro 7f6a9a090a 5.1.15 버전변경 2016-03-21 09:50:06 +09:00
chicpro fd381a9a93 5.1.15 버전변경 2016-03-21 09:44:36 +09:00
sora90224andchicpro 1825830c3d 모바일 쪽지함 이름겹침수정 2016-03-09 15:03:14 +09:00
sora90224andchicpro e29ea66e41 모바일 쪽지함 이름겹침수정 2016-03-09 14:59:59 +09:00
chicpro 3047e09f88 5.1.14 버전변경 2016-03-07 10:41:33 +09:00
chicpro d7e218350c 5.1.14 버전변경 2016-03-07 10:35:42 +09:00
chicpro 990af076af 커맨드 인젝션 취약점(16-164, 16-165) 수정 2016-02-29 15:14:15 +09:00
chicpro 569dfb5502 커맨드 인젝션 취약점(16-164, 16-165) 수정 2016-02-29 14:39:48 +09:00
chicpro b1f0342921 5.1.13 버전변경 2016-02-22 09:48:17 +09:00
chicpro a14689f66b 5.1.13 버전변경 2016-02-22 09:43:47 +09:00
chicpro 63f9e4c8df SIR 도메인 변경 2016-02-19 11:22:17 +09:00
chicpro ee702ff641 SIR 도메인 변경 2016-02-19 11:16:11 +09:00
chicpro 6b43e67c40 비밀 댓글 노출 취약점(16-067) 수정 2016-02-11 11:01:04 +09:00
chicpro 9a870506ab Reflected XSS 취약점(16-036) 수정 2016-02-11 11:00:30 +09:00
chicpro 008ae978dd XSS 취약점(16-060) 수정 2016-02-11 10:58:45 +09:00
chicpro 20b1d8c7e5 XSS 취약점(16-059) 수정 2016-02-11 10:58:31 +09:00
thisgunandchicpro 1e011ba56d 스마트 에디터 2.8.2 에 추가된 파일 적용 2016-02-04 17:31:09 +09:00
thisgunandchicpro a73e48c3e2 스마트에디터 2.8.2 적용 및 에디터 업로드 보안 수정 2016-02-04 17:30:53 +09:00
chicpro 1a142e5250 Merge branch 'master' into kisa 2016-02-04 17:27:16 +09:00
thisgun c9a4697473 Merge branch 'master' of github.com:gnuboard/g5 2016-02-04 10:30:00 +09:00
thisgun 4b38d93aa9 스마트 에디터 2.8.2 에 추가된 파일 적용 2016-02-04 10:29:44 +09:00
thisgun 5d2851de36 스마트에디터 2.8.2 적용 및 에디터 업로드 보안 수정 2016-02-04 10:28:23 +09:00
chicpro e9fd9f03fd g5_admin_url 코드 수정 2016-02-03 10:42:50 +09:00
chicpro f6e6a73b4d Merge branch 'master' into kisa 2016-02-03 10:40:53 +09:00
chicpro 3674acc4f1 g5_admin_url 코드 수정 2016-02-03 10:37:58 +09:00
chicpro 4913da0a1d g5_admin_url 변수 설정 코드 변경 2016-02-01 11:56:15 +09:00
chicpro 18ef4b0767 메일인증 기능 수정 2016-02-01 11:55:57 +09:00
chicpro ab5365423b Merge branch 'master' into kisa 2016-01-28 17:32:21 +09:00
chicpro e5aedd5cb1 g5_admin_url 변수 설정 코드 변경 2016-01-28 17:31:58 +09:00
chicpro 60ea7fde8a Merge branch 'master' into kisa 2016-01-28 17:05:10 +09:00
chicpro 7db9a33cef 메일인증 기능 수정 2016-01-28 17:02:08 +09:00
chicpro 88c95375f0 비밀 댓글 노출 취약점(16-067) 수정 2016-01-27 14:59:49 +09:00
chicpro d0e368fe2a sca 필터링 코드 수정 2016-01-21 16:00:54 +09:00
chicpro d2785543b4 Merge branch 'master' into kisa 2016-01-21 15:59:09 +09:00
chicpro 9df86d771e sca 필터링 코드 수정 2016-01-21 15:58:32 +09:00
chicpro 714d64afb6 Reflected XSS 취약점(16-036) 수정 2016-01-20 16:23:38 +09:00
chicpro f3abd57925 XSS 취약점(15-727) 수정 2016-01-20 14:51:16 +09:00
chicpro e9023340dd XSS 취약점(16-060) 수정 2016-01-20 14:46:13 +09:00
chicpro 43f4b2c5fb XSS 취약점(16-059) 수정 2016-01-20 14:29:32 +09:00
chicpro 5185f0c12a 5.1.12 버전변경 2016-01-20 10:03:25 +09:00
chicpro cd72e1c06b 5.1.12 버전변경 2016-01-20 09:59:57 +09:00
chicpro f5f4925d4e sca 필터링 코드 추가 2016-01-12 11:08:58 +09:00
chicpro 92210edc16 sca 필터링 코드 추가 2016-01-12 09:59:04 +09:00
chicpro bd3fd20630 게시글 등록 메일 이미지 출력 오류 수정 2016-01-07 10:55:25 +09:00
chicpro 5111f026e6 게시글 등록 메일 이미지 출력 오류 수정 2016-01-06 09:05:07 +09:00
chicpro 6797c85480 5.1.11 버전변경 2016-01-05 09:44:47 +09:00
chicpro 6327e2a5dc 버전변경 5.1.11 2016-01-05 09:32:06 +09:00
chicpro 2c9ff2bb52 모바일 그룹 정렬 필드 수정 2015-12-23 16:43:20 +09:00
chicpro 604f007a30 모바일 그룹 정렬 필드 수정 2015-12-23 16:39:13 +09:00
chicpro cc2b5c246d PHPMailer 5.2.14 버전 적용 2015-12-22 15:27:18 +09:00
chicpro 38596ca77f PHPMailer 5.2.14 버전 적용 2015-12-22 10:06:34 +09:00
chicpro c337bfdf88 5.1.10 버전변경 2015-12-21 11:00:46 +09:00
chicpro c0a2a13efe 5.1.10 버전변경 2015-12-21 10:53:59 +09:00
chicpro cb5603008a 분류 사용할 때 분류선택 여부 체크 추가 2015-12-14 11:08:39 +09:00
chicpro 35c2bac898 분류 사용할 때 분류선택 여부 체크 추가 2015-12-14 11:06:14 +09:00
chicpro 9d147b5e6c 태그 오류 수정 2015-12-10 16:33:15 +09:00
chicpro fb3f11a93f 태그 오류 수정 2015-12-10 15:17:34 +09:00
chicpro 8629b0418d 5.1.9 버전변경 2015-12-07 11:17:12 +09:00
chicpro af4e5ae9de 캡챠 폰트 변경 2015-12-07 11:16:44 +09:00
thisgun 1f951556fc 엑셀 라이브러리 php7 버젼에서 난 오류 수정 2015-11-30 17:27:40 +09:00
chicpro 87446cfcb3 new.php XSS 취약점 수정 2015-11-27 11:47:43 +09:00
chicpro 943e9994c8 토큰 오류 알림 후 이동 url 지정 2015-11-25 14:05:11 +09:00
chicpro bd57ac57a5 5.1.8 버전변경 2015-11-25 09:50:56 +09:00
chicpro db3519a559 1:1문의 SMS 발신번호 사전등록제 관련 코드 수정 2015-11-25 09:45:36 +09:00
chicpro 33e9d1e1d0 관리자 CSRF 취약점 수정2 2015-11-24 11:09:54 +09:00
chicpro 32d09cff7d 관리자 CSRF 취약점 수정 2015-11-23 18:22:10 +09:00
chicpro 976c9d0f9b 모바일 제목 설정 적용되도록 수정 2015-11-18 12:03:15 +09:00
sora90224 b261465599 기본 css 캡챠 기기에 맞게 수정 2015-11-17 16:05:01 +09:00
sora90224 67a0d97f60 캡챠 기기에 맞게 수정 2015-11-17 15:58:04 +09:00
sora90224 5ebd5632c4 Merge branch 'master' of github.com:gnuboard/g5 2015-11-17 14:41:54 +09:00
sora90224 141c9f8986 모바일 캡챠 2015-11-17 14:41:01 +09:00
chicpro dbb6ab7fdf 파일명 변경 2015-11-17 14:38:31 +09:00
chicpro 8cf09955fc 삭제된 캡챠 코드 복원 2015-11-17 14:38:16 +09:00
chicpro 19cde16194 누락된 캡챠 코드 복원 2015-11-17 14:00:07 +09:00
sora90224 6a7659b59e 모바일 검색 수정 2015-11-17 11:22:02 +09:00
sora90224 31349a62b6 Merge branch 'master' of github.com:gnuboard/g5 2015-11-17 08:58:53 +09:00
sora90224 d8995d15f7 캡챠 수정 2015-11-17 08:58:19 +09:00
chicpro 2f822d4ee4 5.1.7 버전변경 2015-11-16 16:41:57 +09:00
chicpro 02cfe7a453 오타 수정 2015-11-16 16:37:51 +09:00
chicpro 8ea57846fa Merge branch 'master' of github.com:gnuboard/g5 2015-11-16 16:32:22 +09:00
sora90224 f704fd7ea4 캡챠 수정 2015-11-16 16:31:58 +09:00
chicpro bb3167d5c4 Merge branch 'master' of github.com:gnuboard/g5 2015-11-16 16:28:43 +09:00
sora90224 235f196152 캡챠 수정 2015-11-16 16:27:57 +09:00
chicpro adbc9b1a22 Merge branch 'master' of github.com:gnuboard/g5 2015-11-16 16:25:11 +09:00
sora90224 cd445a2acd 캡챠 수정 2015-11-16 16:23:56 +09:00
chicpro 210ee5285c 회원가입 값 체크 코드 수정 2015-11-16 15:57:32 +09:00
chicpro 644250f3f3 캡챠 노이즈 추가 2015-11-16 14:01:03 +09:00
chicpro 34c633ebb9 사용하지 않는 함수 삭제 2015-11-12 18:12:12 +09:00
chicpro c5da8c4a5a agent 없을 때 예외처리 추가 2015-11-12 17:55:52 +09:00
chicpro 6aeb32bf3f 안내 문구 및 코드 정리 2015-11-12 17:44:20 +09:00
chicpro 531817f553 Browscap 관련 코드 수정2 2015-11-12 17:38:19 +09:00
chicpro 80d72627b0 Browscap 관련 코드 수정 2015-11-12 16:49:32 +09:00
sora90224 37e45d81be 불필요한 소스 삭제 2015-11-12 09:31:39 +09:00
chicpro 7324ab1060 업로드 파일명 코드 변경 2015-11-10 14:26:17 +09:00
chicpro 2c866ef2bb 5.1.6 버전변경 2015-11-09 09:28:33 +09:00
chicpro 9ed1ecfcb4 php7 대응 코드 수정 2015-11-04 17:12:28 +09:00
chicpro e93cc1c920 sql_set_charset 함수 코드 수정 2015-11-04 10:10:55 +09:00
chicpro d77231ae1a 관리자 접속자 기능 개선 2015-11-02 13:41:31 +09:00
chicpro 5bd41ba2f4 5.1.5 버전 변경 2015-11-02 09:52:18 +09:00
chicpro b29af7898a 회원가입 개인정보취급방침 안내 수정 2015-10-29 09:54:16 +09:00
sora90224 03e129618d 기본 스킨 회원가입 개인정보동의 2015-10-29 09:16:45 +09:00
sora90224 f0ae5ffeef 모바일 회원가입개인정보약관 2015-10-29 09:09:57 +09:00
sora90224 a80e634776 모바일 회원가입 개인정보동의 2015-10-28 17:55:36 +09:00
sora90224 96612f11e1 회원가입 개입정보처리방침 수정 2015-10-28 17:14:47 +09:00
chicpro c465c860ca 게시판 복사 중 따옴표로 인한 오류 수정 2015-10-28 14:15:09 +09:00
chicpro db1d1d26fc 5.1.4 버전변경 2015-10-26 10:05:47 +09:00
chicpro 6a2cbbe075 누락된 닫음태그 추가 2015-10-20 11:41:46 +09:00
chicpro 7d132fdbfa post 값 필터링 코드 위치 변경 2015-10-20 11:19:21 +09:00
chicpro 0b66b11ae0 htmlpurifier 4.7 버전 적용 2015-10-20 11:06:15 +09:00
chicpro 8566183f0d XSS취약점관련 object 태그 허용설정 변경 2015-10-20 11:05:30 +09:00
chicpro f755f96cb1 버전 변경 2015-10-16 10:03:07 +09:00
chicpro 341f599840 발신번호 유효성 체크 추가 2015-10-15 11:38:13 +09:00
chicpro c1842b0155 sms5 발송 기능 수정 2015-10-15 11:17:36 +09:00
chicpro 8bbf5bcc1c mysqli 사용여부 상수 추가 2015-10-15 10:50:30 +09:00
chicpro 1febdfd7a8 불필요한 코드 및 파일 제거 2015-10-13 11:16:14 +09:00
chicpro 481174b1d2 sms5 회원간 문자전송 기능 제거 2015-10-13 11:13:38 +09:00
chicpro 724a15866c sql_error_info 함수 추가 2015-10-12 15:31:03 +09:00
chicpro f1c56fe70c MySQLi 지원 추가 2015-10-12 14:12:45 +09:00
chicpro e016679e67 트위터 공유 기능 url 수정 2015-10-08 16:53:38 +09:00
chicproandchicpro 5073f57167 썸네일 생성 코드 중 코드 오류 수정 2015-10-08 14:28:03 +09:00
sora90224 e8dede3910 모바일 피시버젼 캡챠 2015-10-05 18:04:09 +09:00
chicpro 47433e4b42 모바일기기에서의 캡챠 처리를 위해 스타일 class 추가 2015-10-05 17:51:24 +09:00
sora90224 0618fd53dc 모바일 단축키 2015-10-05 12:07:01 +09:00
sora90224 799e0ee367 모바일 캡차 숫자음성 2015-10-05 11:49:43 +09:00
chicpro c29dfab48f 반응형 대비 캡챠 출력 코드 수정 2015-10-05 11:24:28 +09:00
chicpro 44fc7a257b 따옴표로 인한 오류 수정 2015-10-02 17:50:57 +09:00
chicpro dc8fbb05ef 폼메일 이름 표시 오류 수정 2015-10-02 16:24:10 +09:00
chicpro 41ee457cc7 폼메일 이름 표시 오류 수정 2015-10-02 11:34:48 +09:00
chicpro b14facc9dc 주소 따옴표 출력 관련 코드 추가 2015-10-02 11:29:29 +09:00
chicpro 6e24064711 자기소개 페이지 따옴표로 인한 페이지 오류 수정 2015-10-02 11:08:47 +09:00
chicpro 66d2401494 LMS 건당 가격 추가 2015-10-01 13:30:06 +09:00
chicpro 93d0220517 버전 변경 2015-10-01 13:16:36 +09:00
chicpro 311867f730 선택삭제 접근 제한 코드 추가 2015-10-01 13:15:26 +09:00
sora90224 b38cbf8ae5 Merge branch 'master' of github.com:gnuboard/g5 2015-09-30 11:22:36 +09:00
chicpro ba186254fd 충돌 수정 2015-09-25 15:23:16 +09:00
chicpro 517e5d117b 모바일 글쓰기 에디터 출력 코드 수정 2015-09-25 15:12:28 +09:00
chicpro 20302f8312 sms5 LMS 모듈 적용 2015-09-25 09:38:56 +09:00
sora90224 b5ccb5448b Merge branch 'master' of github.com:gnuboard/g5 2015-09-24 17:11:59 +09:00
chicpro 7d3b6d12c0 LMS 모듈 port 설정 코드 변경 2015-09-23 14:57:17 +09:00
chicpro fc2fb92d7b 변수명 변경 2015-09-23 10:09:25 +09:00
chicpro 795b5bdf55 아이코드 LMS 모듈 추가 2015-09-22 17:24:41 +09:00
chicpro e2aec15879 xss 취약점 수정 2015-09-22 10:49:56 +09:00
chicpro 3741c53e8b input 필드 따옴표 대응 코드 추가 2015-09-21 10:26:02 +09:00
chicpro 5b6d99a126 잘못된 수정된 부분 복구 2015-09-18 16:28:09 +09:00
chicpro 688bc53da9 XSS 취약점 및 특수문자 치환오류 수정 2015-09-18 16:25:01 +09:00
chicpro b456c0feae 1:1문의 XSS 취약점 수정 2015-09-18 14:17:24 +09:00
chicpro 69e068f80b 큰 따옴표 치환하도록 수정 2015-09-18 12:19:26 +09:00
chicpro d11f67ba2e 다운로드 때 한글파일명 오류 수정 2015-09-18 10:28:25 +09:00
chicpro 921fa1ec08 수정전 코드가 다시 적용된 오류 수정 2015-09-11 17:23:28 +09:00
chicpro 0a4a9e3f47 자동저장 기능을 추가된 에디터에서도 사용할 수 있도록 수정 2015-09-11 16:42:20 +09:00
chicpro 5cf2074338 Merge branch 'master' into patch 2015-09-11 13:58:12 +09:00
chicpro 0bad4aa1c0 LFI(Local File Inclusion) 취약점 수정 2015-09-08 15:47:13 +09:00
chicpro dfd0c5f758 모바일 캡챠 체크 스크립트 중복 호출 수정 2015-09-02 17:40:16 +09:00
chicpro 0bf1f545c1 master merge 충돌 수정 2015-09-02 17:24:07 +09:00
chicpro 85d00b6aca 테마설정 서브메뉴 코드 수정 2015-09-01 11:19:58 +09:00
chicpro b90672ae0e 아이핀 테스트 서비스 url 변경 2015-08-28 16:21:31 +09:00
chicpro ccd04e73b1 버전변경 2015-08-28 11:40:34 +09:00
chicpro 5321ce17d4 관리자 글현황 기능 추가 2015-08-28 11:31:45 +09:00
chicpro 9337c6d7aa 모바일 쪽지 리스트 내용표시 수정 2015-08-26 10:47:11 +09:00
sora90224 3b0744dcd3 Merge branch 'master' of github.com:gnuboard/g5 2015-08-26 10:23:22 +09:00
kaglaandchicpro 36e88a6a2d 썸네일의 오리지널 이미지 경로를 ori 로 넘기는 코드 추가 2015-08-26 10:04:06 +09:00
kaglaandchicpro 58902f97c4 escapeshellarg 함수에서 일부서버의 경우 빈값일때 '' 결과가 넘어오지 않는 버그가 있습니다. 2015-08-26 10:03:22 +09:00
chicpro e1ef69a0c4 sql_mode 체크 후 대응하도록 코드 수정 2015-08-26 10:03:03 +09:00
chicpro 46fa0f3cd0 SMS 사용 설정 적용되도록 수정 2015-08-26 10:02:43 +09:00
chicpro 1d3edaf62e parse_url 함수에 발생할 수 있는 오류 대응 코드 추가 2015-08-26 10:01:31 +09:00
chicpro adeb007cb0 parse_url 함수에 발생할 수 있는 오류 대응 코드 추가 2015-08-04 10:41:16 +09:00
chicpro 45e6bcf26f 투포 테마 스킨 적용 오류 수정 2015-08-04 09:00:32 +09:00
chicpro 5ba1a602fe 버전변경 2015-08-03 15:36:15 +09:00
chicpro 7d4d645935 kcp 본인인증 up_hash 누락 오류 수정 2015-07-31 16:55:48 +09:00
chicpro 23f56520e2 오타 수정 2015-07-31 10:08:41 +09:00
chicpro ee8e184c10 베이직 테마 uri 변경 2015-07-30 10:57:22 +09:00
chicpro db83fba992 사용하지 않는 추가 레이아웃 설정 제거 2015-07-29 10:48:38 +09:00
chicpro c103b9e6f3 테마의 1:1문의 스킨 등의 설정 항목 추가 2015-07-29 09:50:04 +09:00
chicpro a757c437e2 테마 미리보기 예외처리 코드 추가 2015-07-28 18:14:36 +09:00
chicpro 49a07c4ea0 테마기능 추가 2015-07-28 16:01:03 +09:00
chicpro 41a2f6803d 버전변경 2015-07-27 14:04:45 +09:00
thisgun d7e3d03c73 sms5 로그 기록 한글 깨짐 오류 수정 2015-07-24 15:57:29 +09:00
chicpro 4c999721bb XSS 취약점 수정 2015-07-24 09:53:40 +09:00
sungkyuchunandchicpro f5ad535387 empty_mb_name checks mb_id, not mb_name
empty_mb_name is a function checking name from user input form. But it
was not checked by empty_mb_name function. So I fix it.
2015-07-21 09:51:12 +09:00
chicpro f79ca0f232 버전변경 2015-07-20 11:47:54 +09:00
sora90224 8da71f60ed 메일인증 메일변경 2015-07-20 10:51:12 +09:00
chicpro ecd4a337ff 이메일 재인증 메일 발송 오류 수정 2015-07-20 10:34:39 +09:00
chicpro 04d8d9b704 이메일 재인증 정보 로드 코드 위치 수정 2015-07-20 10:27:52 +09:00
chicpro 01bc89dd04 G5_LINK_COUNT 0으로 설정 때 오류 수정 2015-07-20 10:07:49 +09:00
chicpro 4d619286c3 우편번호 label 지정 오류 수정 2015-07-17 11:38:29 +09:00
chicpro 22a3c1c4db 새 우편번호 적용 2015-07-17 11:35:58 +09:00
chicpro b61dced93b 새 우편번호 적용 2015-07-17 11:35:27 +09:00
chicpro 346a049c18 Merge branch 'master' into patch 2015-07-17 10:23:49 +09:00
chicpro bc65502fe9 모바일 갤러리 스킨 검색 스타일 정리 2015-07-14 14:21:45 +09:00
iz4blueandchicpro aa1c155123 이미지 width 계산 이후 빠진 attributes 추가 2015-07-14 14:10:57 +09:00
chicpro b2bfe11743 XSS 취약점 수정 2015-07-14 13:58:19 +09:00
chicpro 164944dd0c XSS 취약점 수정 2015-07-14 12:10:44 +09:00
chicpro 9356fdfaa8 팝업레이어 중복 쿼리 수정 2015-07-14 12:09:59 +09:00
chicpro 27cd6e6e5b 불필요한 코드 삭제 2015-07-14 12:04:04 +09:00
chicpro f74e8f7250 XSS 취약점 수정 2015-07-14 12:01:21 +09:00
chicpro aa140eb846 팝업레이어 중복 쿼리 수정 2015-07-13 17:20:00 +09:00
chicpro 54aa905699 버전변경 2015-07-13 10:54:32 +09:00
chicpro 2fc315c51e 중복 urlencode 오류 수정 2015-07-09 16:25:20 +09:00
chicpro 45244de78e XSS 취약점 수정 2015-07-09 13:46:17 +09:00
chicpro 99137d8fef 버전변경 2015-07-07 13:47:45 +09:00
chicpro 0735847508 Merge branch 'master' of github.com:gnuboard/g5 into g5 2015-07-03 17:16:00 +09:00
chicpro e8ea8c8da3 PHP short_open_tag=0 에러 방지 2015-07-03 17:15:27 +09:00
chicpro d50d618e01 Blind SQL Injection 취약점 수정 2015-07-03 11:40:54 +09:00
chicpro 02310f2319 XSS 취약점 수정 2015-07-02 14:09:58 +09:00
chicpro f23f0d259c Merge branch 'master' into mbleave 2015-07-02 09:31:15 +09:00
chicpro 327369a761 버전변경 2015-06-29 10:21:26 +09:00
chicpro c56498a529 CSRF 취약점 수정 2015-06-29 10:20:59 +09:00
chicpro 16114cb3bd Merge branch 'master' into mbleave 2015-06-25 09:26:40 +09:00
chicpro 808ac0f0e6 PHP_SELF 를 SCRIPT_NAME 으로 변경 2015-06-24 17:02:29 +09:00
chicpro b4b24aadfd PHP_SELF 를 이용한 XSS 취약점 수정 2015-06-23 11:01:07 +09:00
chicpro cbe9c53262 버전변경 2015-06-22 17:27:16 +09:00
chicpro 4c2591af36 xss 관련 태그 제거 함수 추가 2015-06-19 09:48:28 +09:00
chicpro 1b8069eec8 cf_include_head 설정 적용 코드 위치 변경 2015-06-18 17:45:00 +09:00
chicpro 52a03dadbe Merge branch 'master' of github.com:gnuboard/g5 2015-06-18 17:33:28 +09:00
chicpro 4d9e6be394 XSS 취약점 수정 2015-06-18 17:33:21 +09:00
kagla cc91e49f7b Merge branch 'master' of github.com:gnuboard/g5 2015-06-18 15:49:09 +09:00
kagla 605933c516 lo_url 의 XSS 취약점 해결 2015-06-18 15:49:04 +09:00
chicpro 7ed4c7fac9 탈퇴 회원 중복 삭제 오류 수정 2015-06-17 14:30:47 +09:00
chicpro 7224f97781 버전변경 2015-06-11 09:52:12 +09:00
chicpro 1a2f4251ed Reflected XSS 취약점 수정 2015-06-10 13:54:53 +09:00
chicpro ab30d5981d 모바일 회원탈퇴 비밀번호 확인 문구 변경 2015-06-05 11:53:42 +09:00
chicpro 458aecdf7b url 변수 체크 코드 수정 2015-06-05 11:53:27 +09:00
chicpro 78bcc97591 버전 수정 2015-05-29 10:57:19 +09:00
chicpro 029444f7be 불필요한 코드 제거 2015-05-28 18:11:16 +09:00
thisgun d3fdc11e56 Merge branch 'master' of github.com:gnuboard/g5 2015-05-28 18:05:39 +09:00
thisgun b5dd51a579 다음 우편 주소 버젼 v2로 변경 2015-05-28 18:04:48 +09:00
chicpro 1e13e8f8a3 check_url_host 함수 코드 수정 2015-05-28 17:10:14 +09:00
sora90224 c9b8d1a11a 부가서비스 아사달 제거 2015-05-27 17:55:42 +09:00
chicpro 5932aefdb0 서비스 신청 url 변경 2015-05-27 13:47:33 +09:00
chicpro 53e921dc7f check_url_host 함수 수정 2015-05-18 17:31:22 +09:00
chicpro 0835753299 안전하지 않는 사이트 리다이렉션 취약점 수정 2015-05-18 17:29:01 +09:00
chicpro d701f840db AGENT를 이용한 XSS 취약점 수정 2015-05-18 14:37:02 +09:00
chicpro 08f7c21fc2 사용하지 않는 코드 삭제 2015-05-15 16:47:49 +09:00
chicpro 5dfdcb1d85 경로 오타 수정 2015-05-14 08:49:04 +09:00
chicpro 049b5d8039 #46 회원가입폼 label 너비 변경 2015-05-14 08:47:41 +09:00
chicpro 3923dc9a33 오타 수정 2015-05-13 17:59:55 +09:00
chicpro b6d84674f6 비밀번호 체크관련 코드 수정 2015-05-13 16:39:13 +09:00
chicpro 9cb8f73738 그누보드5 버전 정보 상수 추가 2015-05-13 11:51:22 +09:00
chicpro cb1b15dbcc Magic Hash 취약점 오류 수정 2015-05-13 11:33:28 +09:00
kagla 6020933f6d mb_tel 전화번호에 <!-- 코드가 있다면 관리자 회원목록에서 제대로 출력되지 않는 버그 수정 ... 팔팔이님 2015-05-13 09:37:12 +09:00
chicpro ae583aea1e #44 메뉴설정에서 따옴표로 인한 오류 수정 2015-05-08 15:17:07 +09:00
sora90224 8cd37c5c61 관리자 부가서비스 키워드광고 빠진 디자인 2015-05-06 14:47:39 +09:00
chicpro 36427eb4b7 부가서비스 페이지 수정 2015-05-06 13:42:11 +09:00
chicpro 1e6f22ce59 투표시작일 표기 수정 2015-05-06 10:54:47 +09:00
thisgun 8584d710c0 임시 저장된글 자바스크립트 조건문 일부 수정 2015-04-29 10:36:41 +09:00
chicpro 90440786b8 1:1문의 하단 내용 출력 오류 수정 2015-04-27 09:30:12 +09:00
chicpro f97a26c6cb 구글 짧은 주소 오류 수정 2015-04-13 14:23:18 +09:00
chicpro 8d342c099e 구글 짧은 주소 오류 수정 2015-04-13 14:19:28 +09:00
thisgun bed3d9982c SMS5 회신 번호 체크하는 자바스크립트 정규식 추가 2015-04-08 11:54:59 +09:00
chicpro 588a1a7c9d sms5 sql injection 취약점 수정 2015-04-07 09:50:14 +09:00
chicpro e28acc8495 관리자 게시판 리스트 정렬 필드 용어 오류 수정 2015-03-30 09:21:09 +09:00
chicpro 3ee5fa6d86 union이 포함된 쿼리 사용할 수 있도록 수정 2015-03-23 09:00:46 +09:00
chicpro 2717346e9d 세미콜론 빠진 것 추가 2015-03-13 11:26:25 +09:00
chicpro 31d5e384e2 ie6 스타일 오류 수정 2015-03-10 13:37:54 +09:00
Mabinandchicpro 13cf64cf2e RSS 헤더 오류 수정 (phpxml -> xml) 2015-03-04 17:21:48 +09:00
chicpro 4bd82f7b01 Merge branch 'master' of github.com:gnuboard/g5 into g5 2015-03-04 17:20:18 +09:00
chicpro efe7855776 gif 썸네일 생성 때 발생할 수 있는 오류 수정 2015-03-03 16:46:35 +09:00
chicpro dca1e67105 도메인에 port 있을 때 대응코드 추가 2015-03-03 09:50:00 +09:00
chicpro 6695abda2f iOS8 환경에서 접속자 수 표시 오류 수정 2015-02-23 16:16:55 +09:00
chicpro ae3601af92 사용하지 않는 기능 제거 2015-02-23 14:19:14 +09:00
chicpro b25ec93d14 sql 에러 표시하지 않도록 기본 설정값 변경 2015-02-23 11:30:41 +09:00
chicpro bd557fbdb4 쿼리문에서 따옴표 제대로 제거되지 않는 오류 수정 2015-02-23 11:02:48 +09:00
chicpro 4b8485b087 Merge branch 'master' of github.com:gnuboard/g5 into g5 2015-02-09 09:55:54 +09:00
chicpro 89dd109a18 게시글 리스트 검색 maxlength 변경 2015-02-05 10:07:46 +09:00
chicpro 846c4500f7 검색 때 게시글 카운트 속도 개선 2015-02-05 09:51:03 +09:00
chicpro 445da5447d XSS 취약점 수정 2015-02-05 09:43:58 +09:00
chicpro 78afba5c29 레이아웃 include 코드에 G5_PATH 상수 추가 2015-02-04 09:22:19 +09:00
chicpro 46c6001c9d 게시글 이동 때 정렬 초기화되는 문제 수정 2015-02-02 18:09:57 +09:00
chicpro 3b365d330a Merge branch 'master' of github.com:gnuboard/g5 into g5 2015-02-02 13:33:23 +09:00
chicpro a9bdc255df gitattributes 추가 2015-02-02 13:24:11 +09:00
thisgun 4fb32fad37 SMS5에서 그룹보기 페이지 ajax 파라미터 동작 오류 수정 2015-01-30 13:55:24 +09:00
chicpro b34d31f6a7 경로 코드 오류 수정 2015-01-28 10:35:36 +09:00
chicpro 78d87038aa 초기화면 등의 파일 설정 기능 수정 2015-01-28 10:01:36 +09:00
chicpro be27a72d86 본인확인 사용안함일 때 인증 설정 초기화되도록 수정 2015-01-28 08:54:11 +09:00
chicpro aa86158caf head.sub.php 파일 등을 사용자가 설정할 수 있도록 상수 추가 2015-01-23 09:48:36 +09:00
chicpro de00ac1622 1:1문의 모바일 스킨 적용 오류 수정 2015-01-22 17:51:24 +09:00
chicpro ed41272e81 기본환경 설정 포인트 입력필드 크기 변경 2015-01-22 09:26:38 +09:00
chicpro 7af0db9631 비밀번호 확인없이 회원정보 수정할 수 있는 오류 수정 2015-01-15 15:16:02 +09:00
chicpro 799ba3bc46 Merge branch 'master' of github.com:gnuboard/g5 into g5 2015-01-14 09:12:22 +09:00
chicpro 60f378839c mb_tel 필드를 이용한 xss 취약점 수정 2015-01-12 18:09:48 +09:00
chicpro 72fa34a5cf Merge branch 'master' of github.com:gnuboard/g5 into g5 2015-01-12 14:58:54 +09:00
chicpro e7521f0246 관리자 부가서비스 페이지 추가 2015-01-07 18:06:41 +09:00
chicpro bb4dff1caa get_cookie 함수에 unescape 추가 2015-01-07 13:58:34 +09:00
chicpro 7312385dd6 Merge branch 'master' of github.com:gnuboard/g5 into g5 2015-01-05 10:16:59 +09:00
chicpro 8bd4f8b23c mb_icon 필드 관련 코드 삭제 2014-12-30 09:00:22 +09:00
chicpro e80f294e80 kcp 휴대폰 인증 64비트 시스템에서의 오류 수정 2014-12-29 15:06:11 +09:00
chicpro b57e70ad30 스크랩 로그인 안내 후 이동 url 오류 수정 2014-12-29 10:11:26 +09:00
chicpro 9ac651afd5 음성 캡차 파일 삭제 코드 수정 2014-12-26 13:01:53 +09:00
chicpro 00a8dee744 Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-12-18 10:08:25 +09:00
chicpro 63270d9a4e 입력 금지 메일 도메인 체크 코드 수정 2014-12-18 10:04:40 +09:00
chicpro f1242397be Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-12-18 09:50:44 +09:00
chicpro 7957f8553c 입력 금지 메일 도메인 체크 코드 수정 2014-12-18 09:45:57 +09:00
chicpro c4967cf252 Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-12-17 10:13:04 +09:00
chicpro af3da468ee 게시글 복사 때 따옴표로 인해 발생하는 오류 수정 2014-12-17 09:54:42 +09:00
chicpro a722af88e0 REQUEST_URI를 이용한 SQL Injection 오류 수정 2014-12-16 16:07:00 +09:00
chicpro 525117f3fd 가입금이 이메일 중 숫자도메인 체크되지 않는 오류 수정 2014-12-16 09:36:46 +09:00
chicpro f35bf05726 사용하지 않는 파일 삭제 2014-12-11 09:24:26 +09:00
chicpro 01902c981c 게시판 복사 때 실명사용 설정 복사되도록 수정 2014-12-10 09:30:34 +09:00
chicpro 72489b0979 Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-12-08 11:21:30 +09:00
chicpro fa793a828b ckeditor4 배포판에서 제외 2014-12-08 11:09:06 +09:00
chicpro d2a1501e82 ckeditor 제외 2014-12-08 11:07:01 +09:00
chicpro 892c67bae5 게시글 정렬 기본값 지정 2014-12-08 09:54:49 +09:00
chicpro fe35a8c782 SQL Injection 취약점 수정 2014-12-05 17:13:10 +09:00
chicpro b608efa5da 게시글 작성 때 필터링 대소문자 구분하지 않도록 수정 2014-12-05 09:29:13 +09:00
chicpro 8c0b7e45de 오타 수정 2014-12-03 10:07:58 +09:00
chicpro 3b7e42c280 Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-12-02 10:14:50 +09:00
chicpro c6199fa00d 내용관리 모바일 내용 및 스킨설정 기능 추가 2014-11-21 11:26:01 +09:00
chicpro e3db3728f9 배열 키에 따옴표 추가 2014-11-18 09:18:55 +09:00
chicpro f3cd3a4e24 conv_subject 함수 내 코드 적용 순서 변경 2014-11-14 09:46:28 +09:00
chicpro 634d85c763 음성 캡챠 파일 삭제 코드 변경 2014-11-12 17:35:42 +09:00
chicpro 18e09702f3 get_cookie 함수 md5 중복 호출 수정 2014-11-12 17:16:07 +09:00
SIR 4ee0fd5c54 곱슬최씨님이 신고한 url_auto_link에 특수문자 ] 가 포함되는 현상 해경 2014-11-12 15:01:29 +09:00
thisgun a752574f66 스마트 에디터 _generateAutoLink 함수 수정 및 link 오류 수정 2014-11-12 11:15:20 +09:00
chicpro f2d574fab5 모바일 최근게시글 링크 이동하지 않는 오류 수정 2014-11-10 17:42:49 +09:00
chicpro 2cf6a67a53 kcp 휴대폰인증 리눅스 64비트 실행 환경 추가 2014-11-10 16:43:34 +09:00
chicpro 3857ab22d3 get_cookie 함수에서 md5 함수 중복 호출 수정 2014-11-10 13:11:53 +09:00
chicpro de8af9c9f1 모바일에서 폰트 리사이즈 유지되도록 수정 2014-11-10 09:31:14 +09:00
chicpro cc12f9863e 오타 수정 2014-11-07 14:12:29 +09:00
chicpro a5f671fa76 Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-11-07 09:24:46 +09:00
chicpro c6fe8397a7 타인의 회원아이콘을 삭제할 수 있는 오류 수정 2014-11-05 09:39:57 +09:00
chicpro d3154bd94f 오타 수정 2014-10-30 18:28:02 +09:00
chicpro 3639509a69 Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-10-28 13:16:13 +09:00
chicpro 4c8349fbb5 오타 수정 2014-10-28 10:16:34 +09:00
chicpro fcf518353c wr_link를 이용한 sql injection 대응 코드 추가 2014-10-28 10:15:44 +09:00
chicpro e7c1835b19 1:1문의 설정 가져오는 코드 위치 변경 2014-10-27 18:20:54 +09:00
chicpro 5f12b870e6 오타 수정 2014-10-27 15:46:28 +09:00
chicpro 9ef65f3f25 경고 알림 후 이동 경로 추가 2014-10-27 15:31:25 +09:00
chicpro c6552d0b60 1:1문의 설정 중복 호출 수정 2014-10-27 10:46:57 +09:00
chicpro 78fa0cb41b 파일 업로드 보안 오류 수정 2014-10-27 10:43:46 +09:00
chicpro d98c8242af 1:1문의 글삭제 오류 수정 2014-10-27 10:08:00 +09:00
chicpro 4ae4cc2169 wr_link 값에 substr 적용 무시되는 오류 수정 2014-10-27 10:00:15 +09:00
chicpro 9ac6bdbeaa class 지정 오류 수정 2014-10-27 09:52:45 +09:00
chicpro 8fc6f81f8d this.ref를 this.href로 수정 2014-10-27 09:47:49 +09:00
chicpro 9a4363a6a5 Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-10-24 11:02:03 +09:00
chicpro 50c42776e7 SQL Injection 및 관리자가 게시글 수정때 정보 반영되도록 수정 2014-10-24 11:01:34 +09:00
chicpro fb8b63cffa Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-10-23 09:24:07 +09:00
chicpro 36e6d53374 회원 홈페이지를 이용한 SQL Injection 오류 수정 2014-10-23 09:21:59 +09:00
chicpro 9cc14af668 Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-10-22 13:15:29 +09:00
chicpro 46f484461f DHTML 에디터 관련 코드 수정 2014-10-20 10:33:18 +09:00
chicpro 7863d42834 설문조사 기타의견 XSS 공격 대응코드 추가 2014-10-20 09:42:08 +09:00
thisgun 743c206bc7 올바르지 않은 이름입력으로 인한 sms5 페이지 오류 코드 수정 2014-10-17 13:49:04 +09:00
chicpro 9691405fd4 관리자 XSS 대응 코드 추가 2014-10-17 13:22:26 +09:00
chicpro 12f9a05106 XSS 및 SQL Injection 오류 수정 2014-10-17 11:15:36 +09:00
chicpro be8c7e3ee5 회원가입시 올바르지 않은 이름입력으로 인한 가입완료 페이지 오류 수정 2014-10-17 10:03:03 +09:00
chicpro f3b6f58344 게시글 및 댓글 작성시 올바르지 않은 이름입력으로 인한 new 페이지 오류 수정 2014-10-17 09:57:10 +09:00
thisgun f65540dd19 FAQ 관리 페이지 코드 수정 2014-10-15 17:00:07 +09:00
chicpro 6fb06a0564 오타 수정 2014-10-15 16:03:57 +09:00
thisgun acbd99f2ed 내용관리 관리자 쓰기 페이지 코드 수정 2014-10-15 10:20:49 +09:00
chicpro 541cb5244d get_editor_image 함수에서 대소문자 구분하지 않도록 수정 2014-10-14 09:02:38 +09:00
chicpro 9214b4a5da Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-10-13 15:11:09 +09:00
chicpro 9cbff6835b sfl에 mb_id가 있으면 인기 검색어 기록하지 않도록 수정 2014-10-13 13:12:43 +09:00
chicpro 8818f7b7e5 모바일 회원 아이콘 경로 변수 수정 2014-10-13 09:45:14 +09:00
chicpro 8fc0bc98f3 #39 사용자화면 강제 설정 기능 추가 2014-10-10 14:11:57 +09:00
thisgun 021048d95e Merge branch 'master' of github.com:gnuboard/g5 2014-10-08 10:40:02 +09:00
thisgun aa46c9fb27 sms5 문자 보내기 오류 코드 수정 2014-10-08 10:39:51 +09:00
chicpro 3fe9bfc719 임시저장글 삭제 오류 수정 2014-10-07 17:56:18 +09:00
chicpro 4ca027de06 폼메일 발송 오류 수정 및 임시 파일 삭제코드 추가 2014-10-02 11:31:13 +09:00
chicpro bc79530c52 Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-09-29 15:51:56 +09:00
chicpro aecc1adbaf faq 스킨 필드 추가 2014-09-29 15:38:28 +09:00
chicpro 582de7c18c Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-09-29 13:31:22 +09:00
chicpro f6a1fa94d3 회원 삭제 때 회원자료 삭제하도록 member_delete 함수 수정 2014-09-26 15:32:56 +09:00
chicpro 51c3f8a378 투명 gif 썸네일 생성 추가 2014-09-25 17:00:32 +09:00
chicpro 05b40efddf 관리자 로그인 알림 후 이동경로 수정 2014-09-25 16:59:06 +09:00
chicpro 7f379482a8 파일 설명을 이용한 XSS 오류 수정 2014-09-25 15:46:07 +09:00
chicpro 06eb66840a faq 기본 스킨설정 누락 수정 2014-09-22 09:47:22 +09:00
chicpro 5dad177d3e lguplus 본인확인 신청페이지 링크 변경 2014-09-19 09:44:14 +09:00
chicpro 5077a3d43f Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-09-16 10:30:21 +09:00
chicpro dae6437421 라이센스 파일 변경 2014-09-16 10:22:15 +09:00
chicpro 68c08ba9eb 회원가입 완료 페이지 안내 문구 수정 2014-09-15 09:23:57 +09:00
chicpro 71b15b08eb SMS5 새창 이름 변경 2014-09-11 09:53:42 +09:00
chicpro afd6447581 <?를 <?php 로 변경 2014-09-11 09:49:16 +09:00
chicpro e923fb045e 구글 짧은 주소를 생성하지 못했을 때 대응코드 추가 2014-09-05 15:07:05 +09:00
chicpro 5cb4415032 이전 다음 검색 버튼 출력되지 않는 오류 수정 2014-09-03 11:16:06 +09:00
thisgun 7b1a7fd20e 다음 주소 사용 페이지 button으로 변경 및 win_zip함수 변경 2014-08-28 17:44:48 +09:00
chicpro 38bda21f84 bin2hex 함수를 md5로 변경 2014-08-25 15:48:36 +09:00
chicpro 3997bebb76 보안서버 접속시 jquery ui 로딩 오류 수정 2014-08-25 10:36:18 +09:00
chicpro 9a4b3034ea Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-08-22 15:17:10 +09:00
thisgun f26a418a87 다음 주소 js 상수명을 G5_POSTCODE_JS로 변경 2014-08-22 15:00:05 +09:00
thisgun 729e7ef6d5 다음 주소 api 수정된 것 적용 및 zip.php 관련된 코드 삭제 2014-08-22 14:04:44 +09:00
chicpro 09f0530d57 add_javascript 함수 추가 2014-08-22 10:30:08 +09:00
chicpro 6ef722e7ea 닉네임 금지단어 체크 코드 추가 2014-08-22 09:54:10 +09:00
chicpro c7c112ee71 Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-08-20 16:53:11 +09:00
chicpro 42682120ef Merge branch 'master' of github.com:gnuboard/g5 2014-08-20 16:19:47 +09:00
chicpro 6bb27c3b24 하단 PC 모바일 보기 버튼 링크 수정 2014-08-20 16:18:40 +09:00
thisgun dd95b638e8 daum 도로명 주소 관련 zip.js 수정 2014-08-20 16:09:09 +09:00
thisgun cb6fe2d32c daum 도로명 주소 적용 스킨 수정 및 zip.js 로 분리 2014-08-20 15:21:06 +09:00
chicpro a6bd17fa01 print_address 함수 코드 수정 2014-08-20 10:29:53 +09:00
chicpro 4ddc6294e1 Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-08-19 14:49:50 +09:00
chicpro 916f079ecc 회원정보찾기 인증 URL에 들어가는 난수 개선 - 성기진님 제공 코드 2014-08-19 14:37:57 +09:00
chicpro 426004e795 주소입력관련 자바스크립트 코드 수정 2014-08-19 11:49:15 +09:00
chicpro 09f68b767c 주소 출력함수 수정 2014-08-18 13:24:22 +09:00
chicpro c3a7da959e minlength 속성 체크하도록 wrest.js 수정 2014-08-14 17:02:23 +09:00
chicpro 5068b081c9 차단 회원 체크 코드 추가 2014-08-14 10:35:52 +09:00
chicpro 19054ea5f2 주소입력 변경으로 인한 코드 추가 2014-08-14 09:21:35 +09:00
chicpro 1ecc87ab26 투명 png 썸네일 생성 기능 추가 2014-08-13 18:06:29 +09:00
chicpro b7e947b915 사용하지 않는 파일 삭제 2014-08-13 17:06:46 +09:00
thisgun 3eed685906 daum 주소 api 적용중 불필요한 코드 제거 2014-08-13 16:58:24 +09:00
thisgun 80a52d8c3c daum 주소 api 적용 2014-08-13 16:12:13 +09:00
chicpro ec8f2368da 회원가입폼에 minlength 속성 추가 2014-08-12 09:41:46 +09:00
chicpro b89592b84f Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-08-11 14:59:18 +09:00
chicpro 2d5f24b4de 스킨 표시 코드 수정 2014-08-11 11:43:33 +09:00
chicpro a82579dc60 페이스북 샘플 파일 삭제 2014-08-11 11:38:39 +09:00
chicpro 4d4113fccc 스킨 표시 코드 수정 2014-08-11 11:36:43 +09:00
chicpro 1cc13235cf xss 관련 태그 제거 함수 추가 2014-08-08 13:38:42 +09:00
thisgun a1e11d9521 sms5 icode를 미선택시 사용하는 경우 오류처리및 common.php에 faq 스킨 경로 추가 #35 2014-08-08 11:16:56 +09:00
chicpro e72c78cd7f colspan 관련 코드 수정 및 삭제 2014-08-08 09:11:27 +09:00
chicpro 37e3424782 아이코드 사용자정보 함수 추가 2014-08-07 15:45:30 +09:00
chicpro 768ef23f29 minlength 관련 코드 수정 2014-08-07 14:45:44 +09:00
chicpro 64cf90313d 접근 ip 체크 패턴 수정 2014-08-07 14:01:05 +09:00
chicpro ca7b488f4d 전체검색 결과 오류 수정 2014-08-07 09:42:30 +09:00
chicpro bcab73a2f5 minlength 체크 오류 수정 2014-08-05 17:54:45 +09:00
chicpro 86a7dfeba5 Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-07-31 17:00:08 +09:00
chicpro 84e4f6fee8 post로 선언된 전역 변수 unset 코드 추가 2014-07-31 16:13:26 +09:00
chicpro 4d115fd895 XSS 및 SQL Injection 취약점 수정 2014-07-31 15:48:34 +09:00
chicpro 3100f342c3 댓글 이름 출력에 get_text 함수 적용 2014-07-31 14:42:05 +09:00
chicpro 41d9638ce6 자동 로그인 아이디 대소문자 구분해 체크하도록 수정 2014-07-31 14:41:41 +09:00
chicpro 83eab8e5c5 Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-07-30 18:04:20 +09:00
chicpro 8d2d10b15a Merge branch 'master' of github.com:gnuboard/g5 2014-07-30 17:49:01 +09:00
chicpro eb30cf84b4 댓글 wr_name을 이용한 xss 보안 취약점 수정 2014-07-30 17:48:48 +09:00
SIR b5abe21889 최소, 최대 댓글수 안내문구 수정 2014-07-30 15:45:45 +09:00
chicpro 0b4fe3148f 포트번호 중복되는 오류 수정 2014-07-30 10:40:16 +09:00
chicpro e4c2841444 Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-07-29 16:30:00 +09:00
chicpro 941e2ee411 bo_table url 변수에 xss 대응코드 추가 2014-07-29 15:29:12 +09:00
chicpro 8705232ea3 Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-07-28 11:39:09 +09:00
thisgun 3c104111a0 스마트 에디터2 ie 11에서 개행문자 처리 2014-07-28 11:08:39 +09:00
chicpro 02f7e386a4 필드명 오타 수정 2014-07-25 13:05:54 +09:00
chicpro a006bbed98 회원가입폼 본인확인 관련 안내 출력 코드 수정 2014-07-25 10:44:59 +09:00
chicpro 12b298abd6 datepicker 스타일 add_stylesheet 함수 적용 2014-07-25 09:36:40 +09:00
chicpro 0018ffb5bb 경로 설정 코드 수정 2014-07-22 09:25:27 +09:00
thisgun 6a939480c9 스마트 에디터 이미지 업로드 유효성 체크 로빈아빠님이 알려주심 2014-07-21 18:09:32 +09:00
chicpro 2221d27722 Merge branch 'master' of github.com:gnuboard/g5 2014-07-21 13:26:02 +09:00
chicpro 25af73bee8 경로 설정코드에서 HTTP_HOST 사용하도록 수정 2014-07-21 13:25:51 +09:00
thisgun 5d8ae712b5 Merge branch 'master' of github.com:gnuboard/g5 2014-07-21 13:09:47 +09:00
thisgun 7bdec88efc 스마트 에디터2 공백 삽입 소스로 인한 문제 수정 2014-07-21 13:09:28 +09:00
chicpro 52dbc4b6e7 bo_notice 필드에 필요치않는 콤마 추가되는 문제 수정 2014-07-21 09:53:46 +09:00
chicpro 5d1545dd2a Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-07-18 17:07:11 +09:00
thisgun bfb97db2a5 스마트 에디터 JSON 파일 추가 2014-07-18 16:29:14 +09:00
thisgun 99165f3c82 스마트 에디터 _common.php파일 경로 지정 및 JSON파일 추가 2014-07-18 16:19:28 +09:00
thisgun 3a8f88b703 스마트 에디터 업로드 json_encode함수 대체 2014-07-18 16:06:31 +09:00
thisgun 1950db98ab Merge branch 'master' of github.com:gnuboard/g5 2014-07-18 15:49:26 +09:00
thisgun 4875dcede0 스마트 에디터 포토 업로드 php5.3이상에서만 작동되는 함수 지움 2014-07-18 15:46:14 +09:00
chicpro 5c58ba44bc Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-07-18 10:50:13 +09:00
SIR 683cc32a3b 네이버 신디케이션 토큰의 길이가 112 글자가 아닌 경우가 확인되어 길이 비교 코드를 삭제 2014-07-18 10:38:11 +09:00
SIR 55e1580363 Merge branch 'master' of github.com:gnuboard/g5 2014-07-18 10:36:45 +09:00
chicpro e50144581b Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-07-18 10:14:09 +09:00
chicpro 19e7535a5b 설치시 기본 에디터 변경 2014-07-18 09:52:59 +09:00
chicpro 414b954b92 글제목 문자열 자르기 오류를 이용한 sql injection 방지 2014-07-18 09:36:57 +09:00
thisgun 9d8a776bd9 스마트 에디터2 수정된 js파일을 pack적용 2014-07-17 14:25:16 +09:00
thisgun 264866ab93 스마트에디터2 추가 2014-07-17 14:21:37 +09:00
SIR 04cabd15eb 게시판 제목에 "가 들어가는 경우 캐시파일 생성시 오류 발생 수정 2014-07-17 14:00:20 +09:00
SIR 85930d5564 홈페이지 제목이나 게시판 제목에 &등의 특수문자가 존재할때 발생하던 오류 수정 2014-07-16 17:56:53 +09:00
chicpro b24a38e42d Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-07-15 16:57:11 +09:00
chicpro 8cb15160ac sns 댓글등록 스크립트 수정 2014-07-15 15:54:52 +09:00
chicpro 011947daf2 escape function 기본설정 주석처리 2014-07-15 09:47:28 +09:00
chicpro 0c79231eb9 비회원 비밀댓글 내용확인 기능 추가 2014-07-11 13:57:54 +09:00
chicpro 251a01d7ac 관리자 회원아이콘 gif만 되도록 스크립트 코드 변경 2014-07-11 09:30:42 +09:00
chicpro fd7ee9be7a 카카오톡 링크 기능 추가 2014-07-10 14:10:57 +09:00
SIR 6fa9594fef Merge branch 'master' of github.com:gnuboard/g5 2014-07-10 09:35:27 +09:00
SIR 51527db42e 오타 bO_read_level 을 bo_read_level 로 수정 2014-07-10 09:35:13 +09:00
chicpro 8437058227 검색어 제거 특수문자 패턴 변경 2014-07-10 09:32:01 +09:00
SIR c885670079 Merge branch 'master' of github.com:gnuboard/g5 2014-07-09 10:47:44 +09:00
SIR 1f33d7db0c PHP 5.1.3 이전 버전에서도 curl_setopt_array 가 정상 작동하도록 수정 2014-07-09 10:46:47 +09:00
chicpro 9823909cfd escape 패턴이 정의되어 있을 경우에만 적용되도록 코드 수정 2014-07-09 10:12:06 +09:00
chicpro e3a242ae56 gitignore 충돌 수정 2014-07-09 09:59:17 +09:00
SIR 967cfae906 curl_init 함수가 존재하는지를 따져 해당 함수가 없으면 신디케이션 사용이 불가하다는 경고성 문구를 출력함 2014-07-08 16:01:23 +09:00
SIR 2a36ba7d3c Merge branch 'syndi' of github.com:gnuboard/g5 2014-07-08 15:13:31 +09:00
SIR c73870c129 신디케이션 수집 제외게시판 코드 추가 2014-07-08 15:12:33 +09:00
SIR 9de6eea4f0 G5_SYNDI_USE 상수 제거 2014-07-08 15:12:11 +09:00
chicpro fde5420caa session_unregister 를 unset 으로 대체 2014-07-08 13:02:55 +09:00
chicpro dbe7b35e38 php alert 함수 실행 시 &amp; 변환되지 않는 오류 수정 2014-07-08 09:28:10 +09:00
chicpro 0e5af5accf 본인확인 필수 때 체크 코드 수정 2014-07-04 17:39:05 +09:00
chicpro dc1eff24e8 lg 휴대폰인증 타이틀 및 오류안내 한글깨짐 수정 2014-07-03 15:24:48 +09:00
SIR 697c4b851f 네이버 신디케이션 핑 적용 2014-07-03 13:56:49 +09:00
SIR e0d0a98fdb 바뀐 신디케이션 수정중 2014-07-03 09:14:27 +09:00
chicpro 9337df512f 카카오톡링크 제거 2014-07-02 16:53:00 +09:00
chicpro e1537e3ef6 Merge branch 'master' of github.com:gnuboard/g5 into g5 2014-07-01 11:06:16 +09:00
chicpro 8f67e4d9fe 전역배열변수 초기화 코드 위치 변경 2014-07-01 10:46:24 +09:00
chicpro 164426f88c 메일 선택폼에서 출력되는 메일 도메인 수정 2014-06-30 10:14:26 +09:00
chicpro 022b78581f gitignore 추가 2014-06-27 10:10:03 +09:00
chicpro 313de4c467 포인트 사용안함에서는 글읽기 포인트 적용되지 않도록 수정 2014-06-27 09:30:25 +09:00
chicpro d2b947bedd 추천 비회원 로그인 링크 오류수정 2014-06-23 12:42:43 +09:00
chicpro bcaa1ad81d 분류 선택 후 게시글 삭제 때 분류 지정되지 않는 오류 수정 2014-06-23 10:59:33 +09:00
chicpro c8add75f7c 오타 수정 2014-06-23 09:49:50 +09:00
thisgun 99af60cfa3 본문 sns 사용시 트위터, 페이스북 보내기 일부 코드 수정 2014-06-20 11:34:31 +09:00
chicpro 559faf745a 팝업레이어 등록폼 오타 수정 2014-06-19 17:40:17 +09:00
chicpro 31a69933e0 모바일 뷰화면 이미지 리사이즈 스크립트 수정 2014-06-19 10:58:05 +09:00
chicpro 8f9d9b057a 게시글 여분 필드 값 입력 오류 수정 2014-06-17 16:59:46 +09:00
chicpro 765fcbe5da canonical 지정 코드 삭제 2014-06-17 13:05:08 +09:00
thisgun f18614588a FAQ 검색어가 있을시 search_font적용 및 탭주소에 검색어 포함하지 않음 2014-06-13 16:01:55 +09:00
chicpro 61c2fd4c51 그누보드4 이전 프로그램에 방문자 테이블 삭제 코드 추가 2014-06-12 16:42:15 +09:00
chicpro 9a16993762 1:1문의 이메일 입력 XSS 취약점 재수정 2014-06-11 15:12:57 +09:00
chicpro 2adccca817 1:1문의 이메일 입력 XSS 취약점 수정 2014-06-11 11:04:39 +09:00
chicpro 1c90e83ae1 sns 사용 때 게시글 보기 로딩 속도 개선 2014-06-10 15:42:13 +09:00
chicpro 091ffc65bd 답변글 작성 권한 알림 후 페이지이동 url 코드 오류수정 2014-06-10 13:25:24 +09:00
chicpro 7320b911d6 관리권한에서 삭제된 회원관련 권한 설정 삭제 코드 추가 2014-06-09 11:03:20 +09:00
chicpro 452d3e0af6 회원가입 완료 페이지 그누보드5 로고 제거 2014-06-09 10:30:22 +09:00
SIR 5c10516850 Merge branch 'master' of github.com:gnuboard/g5 2014-06-05 17:44:27 +09:00
SIR a6a537b638 설명 문구 변경 2014-06-05 17:44:13 +09:00
chicpro 6824dbb59a 공지여부 결정 코드 변경 2014-06-05 14:06:48 +09:00
chicpro 43cfe73582 일정기간 지난 메모 삭제 코드 삭제 2014-06-05 09:33:49 +09:00
chicpro 4a14538564 일정 기간 지난 DB 데이터 삭제 기능 추가 2014-06-03 14:57:26 +09:00
chicpro 83799ee4c8 썸네일 생성관련 코드 정리 2014-06-03 13:06:40 +09:00
thisgun ec9d28df7a sms5에서 오타 및 필요없는 구문 삭제 2014-06-02 14:31:11 +09:00
thisgun e9c3399d32 sms5 받는사람 추가시 휴대폰 번호 유효성 체크 수정 2014-06-02 14:06:14 +09:00
thisgun 241613d5cf sms5 form전송시 두번 등록되는 오류 현상 수정 2014-06-02 13:12:14 +09:00
chicpro e29e972bf1 전체 검색 css 스타일 추가 2014-05-30 12:05:41 +09:00
chicpro 1c2c443d6d 배열 문자 index 따옴표 처리 2014-05-30 11:55:49 +09:00
chicpro 14db33addb 전체 검색 결과 내용 표시 출력 코드 수정 2014-05-30 11:27:16 +09:00
chicpro adbc1eace3 LG 본인확인 서비스 신청 페이지 링크 변경 2014-05-29 17:19:43 +09:00
chicpro 4191b9f92e LG유플러스 명칭 통일 2014-05-29 16:01:07 +09:00
chicpro e422a93883 관리자 리스트 관리 링크 순서 변경 2014-05-29 13:28:18 +09:00
chicpro cf396c364b 메일발송 때 관리자 이메일 적용되록 수정 2014-05-29 10:43:57 +09:00
chicpro 38f209a57d 관리자 메일 발송이름 추가 2014-05-29 10:23:51 +09:00
chicpro a9ff55017b 검색어 특수문자 처리 코드 수정 2014-05-29 09:31:30 +09:00
chicpro 3e49c0c7f9 검색처 특수문자 패턴 추가 2014-05-28 17:51:00 +09:00
chicpro f733f8c5d9 stx 문자열에서 특수문자 제거 코드 추가 2014-05-28 17:31:18 +09:00
chicpro 9388ad70b3 lg u+ 휴대폰 대체인증 오류 수정 2014-05-28 17:24:21 +09:00
chicpro 8ad850072a lg u+ 본인확인 모듈 추가 2014-05-26 13:27:45 +09:00
chicpro 535c8ec92f sns 등록 관련 코드 수정 2014-05-26 11:44:57 +09:00
chicpro ec075413b3 sns 등록 관련 코드 수정 2014-05-26 11:36:59 +09:00
chicpro aa2beb7027 sns 댓글 url 전달되지 않는 오류 수정 2014-05-26 10:34:43 +09:00
chicpro 278c8ac541 url_auto_link 함수 수정 2014-05-26 10:05:07 +09:00
chicpro 93419222d3 메모 삭제 파일 필드명 오타 수정 2014-05-23 09:39:49 +09:00
chicpro 80cf22c97c 게시글 이동 때 추천정보 이동 코드 추가 2014-05-22 16:38:19 +09:00
chicpro b43149f9d3 관리자 회원정보 수정시 성별 초기화되는 오류수정 2014-05-22 13:31:28 +09:00
chicpro bc97db94e5 트위터 api 버전 변경 2014-05-22 13:25:25 +09:00
chicpro 24d43d3924 본인확인시에만 이름 변경할 수 있도록 수정 2014-05-20 16:51:15 +09:00
chicpro 3193d8a0cb 관리자 회원정보 수정시 생년월일 초기화되는 오류 수정 2014-05-20 16:50:32 +09:00
chicpro 2e06869ae3 회원가입 스킨 띄어쓰기 추가 2014-05-20 09:22:25 +09:00
chicpro e645c539a0 #32 새글 스킨 colspan 오류 수정 2014-05-19 11:52:59 +09:00
chicpro 15b224917a 휴대폰 필수 입력일 때 유효성 체크기능 추가 - 사노라가노라님 제안 2014-05-19 10:00:28 +09:00
chicpro 67530cc3a5 비회원이 자바스크립트를 이용해 댓글 수정할 수 있는 오류 수정 2014-05-15 14:04:36 +09:00
chicpro bc6ec9a3d0 리스트 공지 출력 관련 코드 수정 2014-05-14 16:53:46 +09:00
chicpro 664a0d9adf 에디터 사용 설정 후 개별 게시판에서 에디터 사용하지 않을 때 자동저장 스크립트 오류 수정 2014-05-14 11:28:00 +09:00
chicpro cb9b2bb73d 누락된 버튼 이미지 파일 추가 2014-05-14 11:27:08 +09:00
chicpro 0b6a3930fc 자동저장글 가져올 때 n 추가되는 오류 수정 - laffer님 제보 2014-05-14 09:44:03 +09:00
chicpro eeac9dbaf1 gitignore 수정 2014-05-14 09:38:48 +09:00
chicpro de1753aebe 1:1문의 검색오류 수정 - 참없다님 제보 2014-05-07 10:07:07 +09:00
chicpro b23b5fa2f1 내용관리에서 누락된 js 코드 추가 2014-05-07 09:56:30 +09:00
chicpro 7a81263b34 Merge branch 'master' of github.com:gnuboard/g5 2014-04-28 09:20:27 +09:00
chicpro 936019736b zip.db 파일 삭제 2014-04-28 09:20:14 +09:00
SIR 3b163d66f9 실행 파일 퍼미션 변경 쉘 추가 2014-04-25 11:18:45 +09:00
chicpro a2f4c098e3 escape_trim 함수 오류 수정 2014-04-24 11:30:16 +09:00
chicpro 282387cc17 sql_real_escape_string 함수 오류 수정 2014-04-24 11:16:37 +09:00
chicpro d09b992df5 sql_query 함수에 sql resource 지정 - 명랑폐인님 제안 2014-04-24 11:02:03 +09:00
SIR 5b4bf11250 gr_id 배열 오류 해결 2014-04-24 09:34:12 +09:00
thisgun 1bb3328a0a sms5 연락처 그룹간 이동간에 쿼리문 수정 2014-04-22 13:40:48 +09:00
chicpro a046070f8a 관리자 회원 추가 삭제 때 중복 체크 코드 변경 2014-04-21 13:41:55 +09:00
chicpro b8a14c1dfa 사용하지 않는 관리자 기능 파일 삭제 2014-04-17 11:01:50 +09:00
thisgun 87014a0c5c sms5 auth 체크 함수 수정 및 기타 문제 수정 2014-04-16 15:51:24 +09:00
thisgun f5583edec7 sms5에서 인증체크 함수 따로 추가 2014-04-16 14:06:58 +09:00
thisgun 344a61d5a5 sms5 문자열 처리 및 기타문제 보완 2014-04-16 13:24:59 +09:00
chicpro a50f7ce802 sms5 코드 체크 및 수정 2014-04-15 15:12:55 +09:00
chicpro b6bfef3b65 사용하지 않는 필드 삭제 2014-04-15 09:19:22 +09:00
chicpro 7d7c853045 팝업 레이어 css 중복 코드 삭제 2014-04-14 16:19:27 +09:00
chicpro 7d95cbad71 Merge branch 'master' of github.com:gnuboard/g5 2014-04-11 17:16:10 +09:00
chicpro 2fc1c05d6f 본인확인 필수 설정 추가 2014-04-11 17:15:57 +09:00
thisgun 2f51cee555 sms5 프로그램등록번호 필드 제거 2014-04-11 15:26:32 +09:00
thisgun 43f89063e0 sms5 문자발송시 따옴표 처리 오류 수정 2014-04-11 13:19:54 +09:00
chicpro edc67d6aa5 사용되지 않는 필드 삭제 2014-04-10 17:25:48 +09:00
chicpro 7a72955ec8 Merge branch 'master' of github.com:gnuboard/g5 2014-04-10 17:22:34 +09:00
chicpro 9bfb92cf74 사용되지 않는 필드 삭제 2014-04-10 17:22:28 +09:00
SIR fde7a4bc1f 자동등록방지 미입력시 captcha_key 필수입력으로 나오는 메세지를 자동등록방지 필수입력으로 수정 2014-04-10 13:38:24 +09:00
whitedot 99ee16b438 공통: 검색어 클래스 재지정 2014-04-10 11:15:51 +09:00
whitedot 7eaec845fc Merge branch 'master' of github.com:gnuboard/g5 2014-04-10 08:25:07 +09:00
whitedot dea015592f 사용자: 팝업레이어 사용 시 헤더 z-index 재정의 스크립트 추가, 길에서(yeunni)님 제보 2014-04-10 08:24:54 +09:00
chicpro 8914eeeaf8 모바일 갤러리 게시글 없을 때 스크립트 오류 수정 2014-04-09 14:47:27 +09:00
chicpro 8a407bebbb 접속자 기본 스킨 지정 2014-04-08 15:06:47 +09:00
chicpro b52c9d7fa3 Merge branch 'master' of github.com:gnuboard/g5 2014-04-07 14:06:48 +09:00
chicpro 15ce2ae731 다운로드 포인트 차감 오류 수정 - 윈디눈하님 제보 2014-04-07 14:06:34 +09:00
whitedot 2e296abd93 관리자: 기본환경설정 > 레이아웃 추가설정 하단 파일 경로 오타 수정, 케스케스(ks4613)님 제보 2014-04-07 11:23:46 +09:00
whitedot a6b62c89a2 Merge branch 'master' of github.com:gnuboard/g5 2014-04-07 11:21:48 +09:00
whitedot 45d6fa2047 모바일: bo_w id 겹침 수정, 임소야(minisoya)님 제보 2014-04-07 11:21:43 +09:00
chicpro 7492d404c0 캡챠 오류 문구 수정 2014-04-07 09:42:02 +09:00
whitedot 13cdf776f5 관리자: input select label 중심 마크업 정리 2014-04-02 10:54:19 +09:00
whitedot f65314bd94 Merge branch 'master' of github.com:gnuboard/g5 2014-04-01 18:18:47 +09:00
whitedot 53636a3453 사용자: input select label 중심 마크업 정리 2014-04-01 18:18:04 +09:00
chicpro 23fb25fc17 아이코드 요금정보 표시 오류 수정 2014-04-01 18:02:44 +09:00
chicpro b03949626e 1:1문의 메일 발송 오류 수정 2014-04-01 09:54:08 +09:00
SIR 55408ece40 Merge branch 'master' of github.com:gnuboard/g5 2014-03-31 13:48:08 +09:00
SIR d0391b5f29 cheditor 버전에 관계없이 포함하지 않도록 수정 2014-03-31 13:47:56 +09:00
SIR afc4e4536f 게시물 자동저장 수정 2014-03-31 13:47:30 +09:00
chicpro 83fe14288a 내용관리 html_purifier 사용 선택할 수 있는 설정 추가 2014-03-28 16:11:41 +09:00
chicpro 5ce0ad1221 휴대폰번호 중복 체크코드 주석처리 2014-03-28 14:38:12 +09:00
chicpro 9593cf952d 본인확인 중복 가입 체크 코드 추가 2014-03-28 14:19:33 +09:00
whitedot 0e313d792a 사용자: cheditor5.1 기본 너비 대응 tbl_frm01 th 너비 수정 2014-03-28 11:18:38 +09:00
whitedot 0dcb83a5a5 Merge branch 'master' of github.com:gnuboard/g5 2014-03-28 11:15:43 +09:00
whitedot e377355ef1 사용자: cheditor5.1 전체화면 모드 대응을 위한 hd z-index css/js 수정 2014-03-28 11:15:32 +09:00
chicpro 55799985e9 불필요한 문자셋 변환 코드 삭제 2014-03-28 11:13:54 +09:00
chicpro ae7dba63b2 php 5.3 이전에서 발생하는 parse error 수정 2014-03-27 17:26:00 +09:00
chicpro f1c33e30a2 $list array 중복 선언 오류 수정 - 뽁스님 제보 2014-03-27 16:18:17 +09:00
chicpro 2d769a83ce 사용하지 않는 파일 삭제 2014-03-27 14:43:23 +09:00
chicpro 2065819ab9 SMS5 코드 체크 및 정리 2014-03-27 14:05:59 +09:00
chicpro 36b0ad66cf E_RECOVERABLE_ERROR 상수 제거 - 더카이님 제보 2014-03-27 09:22:37 +09:00
chicpro eeef799bf7 사용자 코드 체크 및 정리2 2014-03-26 17:18:40 +09:00
chicpro 1c9f0f6018 사용자 코드 체크 및 정리 2014-03-26 17:14:30 +09:00
chicpro e61c402067 관리자 코드 체크 및 정리 2014-03-26 15:43:55 +09:00
chicpro a09ad95cc0 유창화님 정규식 제안코드로 일부 함수 수정 2014-03-26 11:03:50 +09:00
chicpro a9ba11f35f 모바일 상단 메뉴 검색 레이어 관련 스크립트 수정 2014-03-26 09:55:43 +09:00
whitedot 4df8f09549 공통: tbody th padding 값 추가 2014-03-25 13:45:42 +09:00
chicpro c197036c1f 관리자 일 때는 인증 게시판 최신글 출력 2014-03-24 15:17:44 +09:00
chicpro d9aa817221 인증을 사용하는 게시판의 최신글을 추출하지 않도록 수정 2014-03-24 14:50:04 +09:00
chicpro c2f6a8fc22 게시판 리스트 접근시 인증 여부 체크 코드 추가 2014-03-24 14:39:57 +09:00
whitedot d96fda1575 Merge branch 'master' of github.com:gnuboard/g5 2014-03-24 11:08:39 +09:00
whitedot 5242f3918e 관리자: SMS5 설치화면 마크업 수정 2014-03-24 11:08:24 +09:00
chicpro 3128f8d336 방문자 검색 검색 관련 코드 수정 2014-03-24 09:48:02 +09:00
whitedot 19c3297538 Merge branch 'master' of github.com:gnuboard/g5 2014-03-21 17:14:11 +09:00
whitedot f1c4018d8f 공통: head의 팝업레이어 관련 마크업 newwin.inc.php 로 완전이동 2014-03-21 17:13:57 +09:00
thisgun e4a4b91dce Merge branch 'master' of github.com:gnuboard/g5 2014-03-21 11:00:56 +09:00
thisgun 50bf45770a sms5 서브 메뉴 넘버 수정 2014-03-21 11:00:45 +09:00
chicpro 1e84bc6f1d blind sql injection 대응 코드 수정 2014-03-21 10:18:47 +09:00
chicpro e9e1f9713f 모바일 페이지당 라인 수 설정 추가 2014-03-21 09:52:41 +09:00
thisgun 9c0d1000a1 Merge branch 'master' of github.com:gnuboard/g5 2014-03-21 09:46:38 +09:00
chicpro fc974bf9d4 파일설명 사용 때 글쓰기 오류 수정 2014-03-20 16:38:15 +09:00
chicpro bcc013bdcf sms5 추가 2014-03-20 14:51:51 +09:00
chicpro 41a3385e99 dhtml 에디터 사용하지 않을 때도 에디터 js 파일 로드하는 문제 수정 2014-03-20 09:02:55 +09:00
chicpro 99163201c6 신디케이션 사용여부 설정 추가 2014-03-19 14:51:24 +09:00
chicpro 0093e835f4 qa tail 오타 수정 2014-03-19 11:04:12 +09:00
chicpro 92a746de78 ie10 이상에서 하위메뉴 추가되지 않는 오류 수정 2014-03-18 18:15:55 +09:00
chicpro 58dec25bbb 게시판 메일 발송의 내용에 rn 표시되는 오류 수정 - 참없다님 제보 2014-03-18 17:17:11 +09:00
chicpro 021d3d4147 메뉴 추가창 ie에서 스크롤 생기지 않는 문제 수정 2014-03-18 16:56:16 +09:00
chicpro 34977008e6 본인확인 모듈 체크 방법 변경 2014-03-18 16:29:21 +09:00
whitedot b7464f45ad Merge branch 'master' of github.com:gnuboard/g5 2014-03-18 15:40:35 +09:00
whitedot f84de48e15 모바일: gnb 메뉴 없을 때 안내문구 수정, 사노라가노라(ogogago)님 건의 2014-03-18 15:40:20 +09:00
chicpro 4ddd09df85 Blind SQL Injection 대응 코드 추가 2014-03-18 15:35:21 +09:00
whitedot b52d3dd331 Merge branch 'master' of github.com:gnuboard/g5 2014-03-18 13:09:40 +09:00
whitedot 51ac32547f 사용자: gnb 메뉴 없을 때 안내문구 수정, 사노라가노라(ogogago)님 건의 2014-03-18 13:07:41 +09:00
chicpro 2e4aaf2f3b Merge branch 'master' of github.com:gnuboard/g5 2014-03-17 18:09:50 +09:00
chicpro 6c34162bb0 extend내 파일 파일명순으로 정렬하여 include 하도록 수정 2014-03-17 18:09:42 +09:00
whitedot 4ec7219318 관리자: 회원관리/게시판관리 label 누락 수정 2014-03-17 17:58:49 +09:00
chicpro cdef10dcef SMS 수신 여부 출력 추가 2014-03-17 17:47:59 +09:00
chicpro 00ac8deba3 메뉴 테이블 생성되지 않았을 때 발생하는 오류 숨김 2014-03-17 13:41:03 +09:00
whitedot bcc275e244 공통: #30 FAQ 내용과 닫기 버튼 사이 여백 추가 2014-03-17 13:28:15 +09:00
whitedot 899cd74b01 모바일: #30 FAQ 스킨 마크업 2014-03-17 13:24:23 +09:00
whitedot 9595e64334 Merge branch 'master' of github.com:gnuboard/g5 2014-03-17 13:19:11 +09:00
whitedot bc2108dd5a 사용자: #30 FAQ 스킨 마크업 2014-03-17 13:19:01 +09:00
chicpro 7bd358b53b Merge branch 'master' of github.com:gnuboard/g5 2014-03-17 11:54:29 +09:00
chicpro e738eed8d7 gnb 서브메뉴 넓이 체크 스크립트 수정 2014-03-17 11:54:14 +09:00
whitedot dd43ca449e 모바일: #29 h2 숨기기 2014-03-17 11:53:47 +09:00
whitedot 51a65f746b Merge branch 'master' of github.com:gnuboard/g5 2014-03-17 11:45:37 +09:00
whitedot cb32063b68 사용자: gnb gnb_1dli_over2 right 값 0으로 수정 2014-03-17 11:45:26 +09:00
whitedot f160a9091a 모바일: #25 모바일 메뉴 마크업 완 2014-03-17 11:45:03 +09:00
chicpro 6927401c1d 회원발송 코드 수정 2014-03-17 11:10:42 +09:00
chicpro 384e4243bc 회운 메일발송 코드 수정 2014-03-14 21:52:57 +09:00
chicpro 95267cb88b conv_unescape_nl 함수 추가 2014-03-14 21:29:20 +09:00
chicpro e9d3de1859 서브메뉴 추가 코드 오류 수정 2014-03-14 18:12:35 +09:00
chicpro 038ebeb0f8 메뉴추가시 서브메뉴 class 추가되지 않는 오류 수정 2014-03-14 17:57:17 +09:00
thisgun 1099680118 Merge branch 'master' of github.com:gnuboard/g5 2014-03-14 17:48:10 +09:00
chicpro c9455d27da Merge branch 'master' of github.com:gnuboard/g5 2014-03-14 17:47:10 +09:00
chicpro f13edd77c9 메뉴 검색때 제목 추가되지 않는 오류 수정 2014-03-14 17:46:59 +09:00
whitedot cabbaa0acd 관리자: #29 메뉴설정 추가 시 td 클래스 정의 2014-03-14 17:43:00 +09:00
thisgun 6eec6985c2 Merge branch 'master' of github.com:gnuboard/g5 2014-03-14 17:40:47 +09:00
whitedot 052597513d Merge branch 'master' of github.com:gnuboard/g5 2014-03-14 17:31:19 +09:00
whitedot 04624beeaa 사용자,관리자: 메뉴설정 관련 마크업 완료 2014-03-14 17:30:55 +09:00
chicpro 3c3bfc2b8f faq 분류 검색 기능 추가 2014-03-14 17:27:54 +09:00
chicpro 2fbd3e66fa 변환프로그램에서는 gnb 메뉴 표시하지 않도록 수정 2014-03-14 15:31:39 +09:00
chicpro 791457e0fe 메뉴테이블 설정 추가 2014-03-14 14:34:52 +09:00
chicpro 22519cd731 okname 보안강화 필터링 옵션 적용 2014-03-14 14:29:51 +09:00
chicpro bf0eb143a6 number_format 함수 부호 처리 오류 수정2 2014-03-14 14:01:59 +09:00
chicpro 08fe7ee42a number_format 함수 부호 처리 오류 수정 2014-03-14 13:32:10 +09:00
chicpro 848e0ae505 Merge branch 'master' of github.com:gnuboard/g5 2014-03-14 11:52:20 +09:00
chicpro 2e8c7a9acd 그룹 게시판 메뉴보이기 필드 제거 2014-03-14 11:52:12 +09:00
whitedot f868b4bebb 사용자: gnb 2depth hover, focus 스타일 수정 2014-03-14 11:44:40 +09:00
whitedot 4b259031f3 관리자: admin.css 파일 위치 adm/css 로 변경 2014-03-14 11:40:43 +09:00
whitedot 1764aa3b3a 공통: #29 메뉴설정 마크업 작업 중 2014-03-14 10:45:05 +09:00
whitedot b97d07df3d 사용자: gnb ie6 에서 li floatleft 안 먹는 현상 수정 2014-03-14 10:34:08 +09:00
whitedot e34d535b61 Merge branch 'master' of github.com:gnuboard/g5 2014-03-14 09:25:19 +09:00
whitedot e1d4956175 사용자: gnb 불필요 css 삭제 2014-03-14 09:25:06 +09:00
chicpro 738bc9e968 Merge branch 'master' of github.com:gnuboard/g5 2014-03-14 09:08:26 +09:00
chicpro 15b2813abc 메뉴관리 기능 추가 2014-03-14 09:08:06 +09:00
whitedot c0fa8cefd1 공통: gnb 스타일 필요없는 코드 삭제 및 간결화 2014-03-13 19:44:58 +09:00
whitedot 50c98dab19 사용자: gnb 2depth 높이 가변 수정 2014-03-13 18:36:32 +09:00
whitedot 2421a655cf 사용자: gnb 1depth 너비 가변 수정 2014-03-13 18:35:00 +09:00
whitedot 0c35a1fa24 모바일: #28 포인트내역 날짜 표시 방법/스타일 변경 2014-03-12 17:49:18 +09:00
whitedot 17812bf744 Merge branch 'master' of github.com:gnuboard/g5 2014-03-12 17:35:16 +09:00
whitedot 463d81a27c 공통: #28 포인트 페이지 스킨화, 스크랩/쪽지 목록 스타일도 함께 수정 2014-03-12 17:35:11 +09:00
whitedot c37c1fbb2c 관리자: gnb hover 스타일 복원 2014-03-12 17:18:30 +09:00
chicpro 343de88d62 날짜형식 변환 함수 추가 2014-03-12 16:55:01 +09:00
chicpro f368d7cb9d get_paging 함수 주석문 수정 2014-03-12 15:04:26 +09:00
chicpro db07567e64 포인트 리스트 스킨화 2014-03-12 13:17:50 +09:00
chicpro 8a81b42e0c 게시판 하단 파일 출력 부분 조건문 처리 오류 수정 2014-03-12 11:58:04 +09:00
chicpro 7952268226 1:1문의 상단 하단 설정 항목 추가 2014-03-12 11:56:25 +09:00
chicpro 2d13c3b4b4 검색에 사용되는 변수에서 특수문자 제거 및 길이제한 추가 2014-03-12 10:42:03 +09:00
chicpro ab37de4292 sql error 출력여부 설정 상수 추가 - 로빈아빠님 제안 2014-03-12 10:25:42 +09:00
whitedot c45cb58dbc Merge branch 'master' of github.com:gnuboard/g5 2014-03-11 18:16:22 +09:00
whitedot 1a70218a74 관리자: GNB javascript off 대응 2014-03-11 18:16:09 +09:00
chicpro 1ec3ad24ef 방문자수 타입변환 오류 수정 - 더카이님 제보 2014-03-10 10:30:08 +09:00
thisgun b0a2e0ce33 Merge branch 'master' of github.com:gnuboard/g5 2014-03-07 14:29:12 +09:00
whitedot ddd1726bf1 사용자: gnb z-index 추가3 2014-03-06 18:38:21 +09:00
whitedot ebb6a1c63a 사용자: gnb z-index 추가2 2014-03-06 18:34:53 +09:00
whitedot 817bfebb71 Merge branch 'master' of github.com:gnuboard/g5 2014-03-06 18:32:24 +09:00
whitedot 94822deddc 사용자: gnb z-index 추가 2014-03-06 18:31:35 +09:00
chicpro cc7e1a4b2f 필수 모듈 체크 후 알림 방법 변경 2014-03-06 15:23:35 +09:00
chicpro defd0bd38a escape_trim 함수에서 G5_ESCAPE_FUNCTION 설정사용하도록 수정 2014-03-04 17:40:16 +09:00
thisgun 80b4ca0841 master브랜치병합 2014-03-04 13:36:15 +09:00
chicpro f9c087e93a js off 대응 css 삭제로 메뉴스크립트 코드 제거 2014-03-04 10:19:50 +09:00
chicpro c9e0ea7566 상단 메뉴 정렬 스크립트 수정 2014-03-04 09:57:31 +09:00
SIR 5f69257625 SMTP 관련 코드 수정 2014-03-03 16:42:49 +09:00
chicpro acb22024a9 기본 escape function 설정할 수 있도록 수정 2014-03-03 15:47:58 +09:00
chicpro f12e63436a 회원메일 발송 오류 수정 2014-03-03 09:34:48 +09:00
whitedot c7d457d373 Merge branch 'master' of github.com:gnuboard/g5 2014-02-28 17:01:29 +09:00
whitedot 08b6b901a9 사용자: gnb js off 대응 제거, CSS가 어렵다는 의견이 많았음 2014-02-28 17:01:18 +09:00
chicpro f6df7c905b 모바일 회원가입 취소 버튼 링크 오류 수정 2014-02-28 16:17:25 +09:00
chicpro df9a0086d5 불필요한 경로 체크 코드 삭제 2014-02-28 09:41:20 +09:00
chicpro 07176252c8 공지가 있을 때 게시글 글번호 오류 수정 2014-02-27 14:32:51 +09:00
chicpro 0541ec9947 gitignore에 ckeditor43 추가 2014-02-27 11:03:15 +09:00
whitedot abc9d205a5 관리자: 로고를 ADMINISTRATOR 로 변경, 윈디눈하(borastyle)님 건의 2014-02-26 09:20:34 +09:00
whitedot 31e24fa77b 관리자: #26 게시판 썸네일 삭제 페이지 마크업 2014-02-26 09:12:15 +09:00
whitedot 44976c8eb9 Merge branch 'master' of github.com:gnuboard/g5 2014-02-25 09:47:56 +09:00
whitedot d61e6dd01d 공통: 전체검색결과 목록 내 제목, 내용 스타일 수정 2014-02-25 09:47:44 +09:00
chicpro 89b146a2c4 게시판 수정에 썸네일 삭제 기능 추가 2014-02-24 18:10:25 +09:00
whitedot f32379d492 Merge branch 'master' of github.com:gnuboard/g5 2014-02-24 13:02:34 +09:00
whitedot 1872296417 모바일: lnb 스타일 5칸 기준, 4칸 기준으로 변경 - 입문개발자(dungglenim)님 제보 2014-02-24 13:01:42 +09:00
chicpro bc1cfad1c2 post 등에 mysql_real_escape_string 적용하는 코드 수정 2014-02-20 11:29:19 +09:00
whitedot 7bd383b7cf 공통: 팝업레이어 입력된 내용이 설정된 높이보다 길 때 닫기 버튼 가려지는 현상 수정, 참없다(uyong)님 제보 2014-02-20 10:14:41 +09:00
whitedot aa66a87579 관리자: btn_cancel 스타일 a 분리 2014-02-20 09:45:37 +09:00
chicpro 847df782b5 게시판 복사 오타 수정 - 참없다님 보고 2014-02-20 08:52:29 +09:00
chicpro 95d697a99a 게시글 수정 시 공지체크 해제되지 않는 오류 수정 2014-02-19 08:59:18 +09:00
chicpro a7604e02c4 mysql_real_escape_string 함수 적용 코드 수정 2014-02-19 08:58:45 +09:00
chicpro f15e41f8d9 삭제되지 않는 style.css 링크 제거 2014-02-17 17:43:40 +09:00
whitedot 920d7d4f07 공통: 팝업관리 g5 이동에 따른 스타일 정리 처리 2014-02-14 15:35:02 +09:00
thisgun 5ac03ea3b9 Merge branch 'master' of github.com:gnuboard/g5 2014-02-14 14:59:02 +09:00
thisgun ca51542b16 g5모바일에서 팝업레이어 내용 추가 2014-02-14 14:57:09 +09:00
chicpro a770007e4d 최신글 캐시파일 include로 수정 2014-02-14 14:44:01 +09:00
thisgun 9624eeb11a Merge branch 'master' of github.com:gnuboard/g5 2014-02-14 14:16:49 +09:00
thisgun 7c7d329541 bbs/newwin.inc.php 파일에서 팝업테이블이 존재하지 않을경우를 대비하여 조회문에 false옵션을 주어 오류가 일어나지 않게 함 2014-02-14 14:14:50 +09:00
chicpro 2c223a90e6 팝업레이어 배경색 지정 수정 2014-02-14 13:48:05 +09:00
chicpro 619e5c223c 영카트의 faq 내용관리 팝업관리 그누보드로 이동 2014-02-14 13:22:42 +09:00
thisgun a320e22d19 그누보드5 install_db.php 에 DB설정파일 생성문에 새창테이블변수문 오타 수정 2014-02-14 13:15:26 +09:00
thisgun 3e62a88f97 그누보드5 install_db.php 에 DB설정파일 생성문에 새창 테이블 배열변수 추가 2014-02-14 13:08:15 +09:00
whitedot fa5cee60d5 모바일: 갤러리스킨 add_stylesheet 처리 2014-02-14 11:37:21 +09:00
whitedot b0b305f4af 사용자: 접속자 스킨 스타일시트 charset 지정 2014-02-14 11:36:57 +09:00
whitedot 98bd098999 Merge branch 'master' of github.com:gnuboard/g5 2014-02-14 11:21:32 +09:00
whitedot 12d37186a3 사용자: 새창 win_desc 스타일 수정, p 태그 margin, padding, line-height 초기화에 따른 수정 2014-02-14 11:21:06 +09:00
chicpro 294d8ad651 스킨의 css 파일 지정 방법 변경 2014-02-13 16:43:26 +09:00
thisgun efb8f08c74 Merge branch 'movefaq' of github.com:gnuboard/g5 into movefaq 2014-02-13 14:37:41 +09:00
thisgun 08f2f09f52 내용관리 FAQ관리 수정 2014-02-13 14:37:10 +09:00
whitedot 347f9c1562 Merge branch 'movefaq' of github.com:gnuboard/g5 into movefaq 2014-02-13 13:52:42 +09:00
whitedot 40c25713ac 공통: 전체검색 결과 스타일 2014-02-13 13:52:03 +09:00
thisgun c4113e661d 내용관리 FAQ관리 수정 2014-02-13 13:38:49 +09:00
chicpro 0463ecc23f html_end 함수를 class로 변경 2014-02-13 13:30:06 +09:00
thisgun 496cdba896 내용관리 FAQ관리 수정 2014-02-13 13:14:31 +09:00
thisgun da37d92265 Merge branch 'movefaq' of github.com:gnuboard/g5 into movefaq 2014-02-13 11:31:04 +09:00
whitedot ca8f21c2bc 공통: 내용관리, faq 관리 yc5에서 g5로 이동, 마크업/스타일 작업 2014-02-13 11:28:04 +09:00
thisgun 8a312b393f 내용 및 FAQ관리 수정 2014-02-12 17:16:24 +09:00
thisgun 5baa2b884a bbs/faq.php에서 faq관련된 변수가 있는지 체크 2014-02-12 14:55:19 +09:00
thisgun 15cb9221dc 그누보드5 메뉴중 FAQ메뉴란 추가 2014-02-12 11:56:00 +09:00
thisgun 43b36716ae Merge branch 'movefaq' of github.com:gnuboard/g5 into movefaq 2014-02-12 11:37:29 +09:00
thisgun e926288f3e 내용관리 FAQ관리 수정 2014-02-12 11:37:14 +09:00
whitedot 33df7f0d41 사용자: 내용관리 FAQ관리 추가 관련 마크업/스타일 2014-02-11 14:26:07 +09:00
chicpro 1c552404c0 Merge branch 'master' of github.com:gnuboard/g5 2014-02-11 14:00:37 +09:00
chicpro cd6cb1f36c 관리자 lnb 메뉴 출력에 권한 체크 코드 추가 2014-02-11 14:00:27 +09:00
whitedot 257343852f Merge branch 'movefaq' of github.com:gnuboard/g5 into movefaq 2014-02-11 13:37:17 +09:00
whitedot 3cf14ad066 Merge branch 'movefaq' of github.com:gnuboard/g5 2014-02-11 13:36:38 +09:00
whitedot d404a7cdcb Merge branch 'master' of github.com:gnuboard/g5 2014-02-11 13:35:34 +09:00
whitedot 1d536974ab 관리자 상단메뉴 자바스크립트 off 시 메뉴 두줄로 보이는 문제 수정, 해피정(happyjung)님 제보 2014-02-11 13:35:23 +09:00
thisgun c9cd0307c6 영카트5 메뉴중 내용관리 FAQ관리 메뉴를 그누보드5로 옮김 2014-02-11 11:13:13 +09:00
chicpro 2ec3b1d0f2 관리자 페이지 하단 도메인 출력 부분 수정 2014-02-10 13:39:50 +09:00
chicpro e4a17902fd 썸네일 생성시 alt 속성 사라지는 버그 수정 2014-02-10 11:02:39 +09:00
chicpro 752ccd8502 member_confirm 파일 url 리다이렉션 취약점 수정 - 김효종님 보고 2014-02-10 10:52:58 +09:00
chicpro 2e474b8dd6 Merge branch 'master' of github.com:gnuboard/g5 2014-02-06 16:15:08 +09:00
chicpro f72db5731e 게시글 작성 시 메일 발송 코드 수정 2014-02-06 16:14:54 +09:00
whitedot 17c6458f0b 상단 로고 검색창 텍스트크기 조절 회원가입 등 링크 스타일 수정, 로고 변경했을 때 검색창 등 일정 간격 유지를 위한 조치 2014-02-06 15:22:47 +09:00
whitedot 77d92f5c23 Merge branch 'master' of github.com:gnuboard/g5 2014-02-06 15:04:59 +09:00
whitedot 9f308f6aae 공통: 정보찾기 p 태그 스타일 2014-02-06 14:56:15 +09:00
chicpro ad149439ba Merge branch 'master' of github.com:gnuboard/g5 2014-02-06 13:38:17 +09:00
chicpro 520ed9204c 가입메일 인증메일 동시 사용 때 가입메일만 발송되도록 수정 2014-02-06 13:38:07 +09:00
whitedot b34c61f00d 공통: 회원가입 완료페이지 안내문구 스타일 수정 2014-02-06 13:18:20 +09:00
whitedot f87c10686f 관리자: #24 접속자로그 삭제 페이지 마크업 2014-02-06 13:13:50 +09:00
chicpro 47c41077d5 접속 로그 삭제 기능 추가 2014-02-05 17:59:18 +09:00
chicpro 2a6f46e820 공지글 수정시 기존 순서 변경되지 않도록 수정 2014-02-04 18:27:03 +09:00
chicpro 3c0982974b 스타일시트 위치조정 때 조건문있으면 함께 이동하도록 수정 2014-02-04 18:03:36 +09:00
chicpro eeac929ca6 회원아이콘 업로드시 용량초과 안내 메세지 추가 2014-02-04 10:47:17 +09:00
chicpro b6f76f8885 게시판설정 아이콘 출력 0입력시 새글 인기글 아이콘 출력되지 않도록 수정 2014-02-03 11:18:32 +09:00
chicpro 26d41b11f3 그누보드4 db 이전 프로그램 수정 2014-02-03 11:16:02 +09:00
kagla 013f47ada2 개인정보취급방침, 개인정보수집이용을 개인정보처리방침으로 문구 변경 2014-01-29 10:21:36 +09:00
whitedot 8b50062f86 변환프로그램 #22 마크업 및 스타일 완료 2014-01-29 10:03:12 +09:00
whitedot 2178764db1 Merge branch 'master' of github.com:gnuboard/g5 2014-01-29 09:02:46 +09:00
whitedot 57dd91955b 관리자: 게시판 추가/수정 마크업 오류 수정 2014-01-29 09:02:30 +09:00
chicpro bf74f24eb2 주소 입력 후 상세주소에 포커스 가도록 수정 2014-01-28 16:56:17 +09:00
chicpro 46700f351c 그누보드4 DB 데이터 이전 프로그램 추가 2014-01-28 15:38:37 +09:00
kagla 9132316971 Merge branch 'master' of github.com:gnuboard/g5 2014-01-27 10:40:31 +09:00
kagla 514a663b1d 행정구역 구분 오류 수정 2014-01-27 10:12:40 +09:00
chicpro facdfd564f ip 숨김방법 설정 추가 - 로빈아빠님 건의 2014-01-27 10:07:01 +09:00
whitedot d6a46b86e2 Merge branch 'master' of github.com:gnuboard/g5 2014-01-27 09:02:55 +09:00
whitedot 771ecba016 모바일: CSS reset textarea 기본 폰트 지정, 로빈아빠(xhost)님 건의 2014-01-27 09:02:25 +09:00
chicpro b675b02604 메모 테이블 me_recv_mb_id에 인덱스 설정 추가 - 썬쓰파더님 건의 2014-01-23 13:36:24 +09:00
chicpro 8b30857701 게시판 복사시 기본 엔진 MyISAM 설정되도록 수정 2014-01-23 13:15:06 +09:00
chicpro 2bdee0f848 1:1문의 휴대폰번호 입력에 스크립트 입력할 수 있는 문제 수정 - I2sec 지민건님 제보 2014-01-23 12:46:21 +09:00
kagla 80af2a0f8c /.htaccess 추가 2014-01-21 13:40:42 +09:00
chicpro 9a11d40a6a input vars 개수 체크함수 추가 2014-01-21 11:17:39 +09:00
whitedot 91274eb7c1 공통: 하단 쇼핑몰 정보 줄간격 2014-01-20 14:21:03 +09:00
whitedot 9bc3eb1faf 공통: 로그인 페이지 안내문구 여백 및 줄간격 2014-01-20 14:17:56 +09:00
whitedot d3b1c4c053 Merge branch 'master' of github.com:gnuboard/g5 2014-01-20 10:10:49 +09:00
whitedot a66d998810 공통: 용어 일반화, 패스워드 -> 비밀번호, 별명 -> 닉네임, 로빈아빠(xhost)님 건의 2014-01-20 10:09:14 +09:00
chicpro 96a1cf8bc5 Merge branch 'master' of github.com:gnuboard/g5 2014-01-18 07:59:22 +09:00
chicpro 29d16b90d9 모바일 도로명 검색 오류 수정 2014-01-18 07:59:07 +09:00
whitedot 28165a06f6 관리자: 회원관리 > 회원추가/수정 에서 우편번호 title 을 label 로 수정 2014-01-17 15:04:14 +09:00
whitedot adaca820b5 공통: #20 주소검색 직접 입력 마크업 2014-01-17 14:39:23 +09:00
chicpro 26d976b684 주소 입력시 사용자 직접 입력 기능 추가 2014-01-17 13:42:16 +09:00
chicpro e46cdb41fc Merge branch 'master' of github.com:gnuboard/g5 2014-01-17 11:21:36 +09:00
chicpro 2c6e901eb6 추천 비추천 후 결과 메세지 표시되도록 수정 2014-01-17 11:21:17 +09:00
chicpro 244b33600f print_result 함수에서 오류가 있을 때만 exit 되도록 수정 2014-01-17 11:20:52 +09:00
whitedot cb0f0f195d 모바일: 상단메뉴 너비 20% -> 25% 2014-01-17 11:18:21 +09:00
whitedot 4c44421169 Merge branch 'master' of github.com:gnuboard/g5 2014-01-17 09:57:12 +09:00
whitedot 702a75dd67 공통: 게시판 글 추천 비추천 시 알림 레이어 마크업 및 스타일 2014-01-17 09:56:54 +09:00
chicpro a502508d73 사용자 메타태그 설정 추가 2014-01-17 09:43:58 +09:00
chicpro 559d9b573c 그룹관리자로 게시판 그룹설정에 접속했을 때 화면 마크업 오류 수정 2014-01-15 11:42:54 +09:00
chicpro d7009ba6f3 최고관리자는 DEMO 체크하지 않도록 수정 2014-01-15 10:44:45 +09:00
chicpro 6c6785442d check_demo 함수 G5 환경에 맞게 수정 2014-01-15 09:42:34 +09:00
chicpro 372ba9104e Merge branch 'master' of github.com:gnuboard/g5 2014-01-14 17:17:39 +09:00
chicpro 963d43a336 index 페이지의 최신글 출력순서 동일하도록 쿼리문 수정 2014-01-14 17:17:30 +09:00
gnuboard 546da0d579 .htaccess 를 push 하지 않도록 추가 2014-01-14 09:39:01 +09:00
chicpro 85a8051e66 Merge branch 'master' of github.com:gnuboard/g5 2014-01-13 10:32:21 +09:00
chicpro 0cdaa1fd2d 썸네일 이미지 품질 config.php 에서 설정할 수 있도록 수정 2014-01-13 10:31:48 +09:00
chicpro 4261c92f61 최신글 함수에 options 변수 추가 2014-01-13 10:31:23 +09:00
whitedot 7e7e9c17b7 공통: 게시판 글쓰기 페이지의 완료 버튼명을 '글쓰기'에서 '작성완료'로 수정, 휴먼(humansoft)님 건의 2014-01-13 09:21:41 +09:00
whitedot d51ed5166c 관리자: 환경설정 > 메일테스트 결과 메세지 스타일 수정, 사노라가노라(ogogago)님 제보 2014-01-13 09:18:25 +09:00
whitedot b3b295f721 Merge branch 'master' of github.com:gnuboard/g5 2014-01-09 10:41:45 +09:00
whitedot bf16687aa6 관리자: frm_input line-height 조정 2014-01-09 10:41:29 +09:00
chicpro 4a61fe197c 원글 수정불가 댓글수를 0으로 설정할 수 있도록 수정 2014-01-09 10:41:19 +09:00
chicpro c99e22cec0 모듈 실행권한 체크 함수 재수정 2014-01-09 09:55:53 +09:00
chicpro 6c71fcdc3b 모듈 실행권한 체크 함수 수정 2014-01-09 09:41:52 +09:00
whitedot 1ad8cbda8a 사용자: p 패딩 조정에 따른 하단 카피라이트 p 스타일 처리 2014-01-08 11:57:32 +09:00
whitedot 80ed9701e4 모바일: 메일보내기 타이틀 마크업, 프로필 인사말 스타일 수정 2014-01-08 11:35:07 +09:00
whitedot dda4b73f26 모바일: 사이드뷰 사용 가능하도록 수정 2014-01-08 11:32:03 +09:00
whitedot 67c5ca876a Merge branch 'master' of github.com:gnuboard/g5 2014-01-08 10:14:46 +09:00
whitedot a69ce967dc 공통: p 태그 초기화 수정, 푸른하늘3(thebest1)님 건의 2014-01-08 10:14:31 +09:00
chicpro 24130959c9 주소검색 보안서버 대응하도록 수정 2014-01-07 11:00:01 +09:00
chicpro 491f012828 사용자 추가한 include 파일이 먼저 실행되도록 수정 2014-01-06 17:28:58 +09:00
chicpro 4ed1743a71 인증모듈 실행권한체크 함수 수정 2014-01-06 13:29:59 +09:00
chicpro 7f669023f6 사용하지 않는 함수 삭제 2014-01-06 13:16:36 +09:00
whitedot 098bdf7156 Merge branch 'master' of github.com:gnuboard/g5 2014-01-06 11:34:50 +09:00
whitedot d55e23081a 관리자: 사용하지 않는 CSS 코드 제거 2014-01-06 11:34:32 +09:00
whitedot 58ebc6b7fd 관리자: 게시판관리 목록에서 게시판 제목 입력칸 너비 조정 2014-01-06 11:34:21 +09:00
chicpro 6965be7ba2 1:1문의 등록시 관리자 이메일 알림 추가 2014-01-06 11:28:31 +09:00
whitedot 6030e21aad 공통: 도로명주소 참고항목 관련 마크업 줄바꿈 추가 2014-01-03 17:31:53 +09:00
chicpro 14bd0f1eaa 도로명 주소 표기법에 따른 재수정 2014-01-03 17:11:37 +09:00
chicpro 12380f1274 도로명 주소 출력변환 함수 추가 2014-01-03 15:54:13 +09:00
whitedot b2251d9ea8 공통: 도로명주소 변경에 따른 마크업 작업 2014-01-03 14:31:54 +09:00
chicpro a8735faf63 주소 검색 api url 수정 2014-01-03 14:11:16 +09:00
chicpro 5ea604d500 Merge branch 'master' of github.com:gnuboard/g5 2014-01-03 14:08:02 +09:00
chicpro f9daab0dbe 도로명 주소 표기 방법에 따른 수정 2014-01-03 14:07:53 +09:00
whitedot e1bd079043 관리자: 환경설정 게시판관리 섹션 끝 확인 버튼 추가 2014-01-03 09:35:29 +09:00
chicpro eb434eaf3d 사용하지 않는 파일 삭제 2014-01-03 09:14:28 +09:00
whitedot 22536144e7 Merge branch 'master' of github.com:gnuboard/g5 2014-01-03 08:54:38 +09:00
whitedot d425dd635c 사용자: 사용하지 않는 이미지 삭제 2014-01-03 08:54:21 +09:00
chicpro 025f321977 설치시 1:1문의 설정값 쿼리 추가 2014-01-02 15:26:52 +09:00
root d6c4f4f98d 게시판 선택삭제시 퍼미션 설정 오류 수정 2013-12-31 09:54:20 +09:00
chicpro 9f109f203e jquery datepicker 적용되지 않는 오류 수정 2013-12-31 09:06:33 +09:00
chicpro ee269c66ad 인증 모듈 실행권한 체크 함수 추가 2013-12-27 11:01:17 +09:00
chicpro b5bf60cbce 본인확인 사용할 때 모듈의 실행권한 체크 코드 추가 2013-12-26 18:02:14 +09:00
chicpro 7d8a0f7b91 추가 script css 관리자 페이지에서는 출력되지 않도록 수정 2013-12-26 17:15:03 +09:00
whitedot 148b2c74af Merge branch 'master' of github.com:gnuboard/g5 2013-12-26 17:05:34 +09:00
whitedot 2d8473e34d 모바일: 아웃로그인, 투표 스킨 관리자 버튼 스타일 수정 2013-12-26 17:04:41 +09:00
kagla ec341bda32 Merge branch 'master' of github.com:gnuboard/g5 2013-12-26 16:58:07 +09:00
kagla eb703318ce dn_hash 변조 위험있음 (".G5_KCPCERT_PATH."/bin/ct_cli 파일에 실행권한이 있는지 확인하세요.) 로 에러 문구 변경 2013-12-26 16:54:07 +09:00
kagla 947571dcf3 실행권한 퍼미션 변경 2013-12-26 16:53:12 +09:00
kagla 2169008082 session_save_path 를 config.php 에서 수정할수 있도록 변경 2013-12-26 16:52:46 +09:00
whitedot 6ede63da73 메일인증 마크업 오류 수정, 마시쩡님 제보 2013-12-26 09:15:51 +09:00
whitedot 59d7b90a41 Merge branch 'master' of github.com:gnuboard/g5 2013-12-24 17:25:10 +09:00
whitedot 744d4983e5 관리자: 페이징 스타일 수정 2013-12-24 17:24:02 +09:00
chicpro f0c280256e 부산 사상구 사하구 분리 2013-12-24 13:30:48 +09:00
chicpro e679e91687 Merge branch 'master' of github.com:gnuboard/g5 2013-12-24 13:24:28 +09:00
chicpro 16fa0eb1e1 관리자 메인 포인트 내역 해당일의 포인트합 출력하도록 수정 2013-12-24 13:24:15 +09:00
chicpro fb5261a24c 게시글 선택삭제 안내메세지에 답변글 삭제 내용 추가 2013-12-24 13:23:13 +09:00
kagla c51012c131 누락된 캡챠 비교 코드 복원 2013-12-24 11:19:46 +09:00
kagla 1bb1129194 Merge branch 'master' of github.com:gnuboard/g5 2013-12-23 14:19:48 +09:00
kagla 1d5746f2ad alternative 경로변경 2013-12-23 14:19:42 +09:00
kagla 6a27505c1f 신디케이션 네이버개발자센터 링크 변경 2013-12-23 13:35:18 +09:00
chicpro 5e462f6816 회원정보 수정시 지번주소 초기화되는 문제 수정 2013-12-23 10:08:45 +09:00
chicpro 8e7805d105 qa_content 데이터타입 text로 변경 2013-12-20 17:29:51 +09:00
kagla 07f50b56fc Merge branch 'master' of github.com:gnuboard/g5 2013-12-20 17:05:12 +09:00
kagla 146cfe99fc 시도, 시군구 정보 변경 2013-12-20 17:04:58 +09:00
kagla 4486f779ae okname 퍼미션 변경 2013-12-20 17:04:40 +09:00
whitedot 6f7c354c19 Merge branch 'master' of github.com:gnuboard/g5 2013-12-20 14:27:46 +09:00
whitedot 3ab3b6ed27 모바일: 주소검색 안내 레이어 제거 2013-12-20 14:27:36 +09:00
chicpro c752fffe88 Merge branch 'master' of github.com:gnuboard/g5 2013-12-20 13:57:47 +09:00
chicpro d5fcfc5220 모바일 kcp 휴대폰인증 오류 및 도로명 주소 검색 수정 2013-12-20 13:57:38 +09:00
whitedot 3b40214552 모바일: 삼성 계열 기기에서 숨김 텍스트 나타나는 문제 수정 2013-12-20 13:39:09 +09:00
whitedot c371b2266d 공통: 페이징 스타일 수정 2013-12-20 13:02:26 +09:00
whitedot 6ddf735857 공통: 주소검색 스타일 안전하게 수정 2013-12-20 11:52:19 +09:00
whitedot 47b2db40fb Merge branch 'master' of github.com:gnuboard/g5 2013-12-20 11:50:32 +09:00
whitedot c10dab1bea 공통: 주소검색 안내 레이어 추가 2013-12-20 11:50:13 +09:00
whitedot fe6f0cfb67 모바일: 회원가입 완료 후 안내 페이지 로고 수정 2013-12-20 11:50:00 +09:00
kagla 2d074b3886 Merge branch 'master' of github.com:gnuboard/g5 2013-12-19 18:04:05 +09:00
kagla 151cd706b2 </form> 태그 누락 추가 2013-12-19 18:03:54 +09:00
kagla a2cbf6090c 시군을 js 파일의 배열값으로 로딩 2013-12-19 17:05:37 +09:00
whitedot 180b3e9aa0 Merge branch 'master' of github.com:gnuboard/g5 2013-12-19 16:10:34 +09:00
whitedot a21aee9ca5 공통: 회원정보찾기 스타일 및 새창 input 스타일 수정 2013-12-19 16:08:52 +09:00
kagla ace271e6bf 3항 연산자로 코드 변경 2013-12-19 15:14:15 +09:00
kagla 7171188068 도로명주소 검색 js 파일 분리 2013-12-19 15:09:15 +09:00
whitedot 0f6f5d4059 Merge branch 'master' of github.com:gnuboard/g5 2013-12-18 16:21:52 +09:00
whitedot 760fb35f3a 사용자: btn_frmline 스타일 수정 2013-12-18 16:21:37 +09:00
whitedot d08bd4aa6f 공통: #16 도로명 검색 마크업 및 스타일 2013-12-18 16:02:35 +09:00
whitedot 3f8720c57e 관리자: 검색 영역 input 높이 재설정 2013-12-18 15:26:35 +09:00
whitedot 5da57d0e6b include 주석처리 및 SQL 구문 수정 2013-12-18 13:34:45 +09:00
chicpro 7a517cd5d6 관리자 도로명 주소 스크립트 오류 수정 2013-12-17 17:54:06 +09:00
whitedot 460ec2444b Merge branch 'master' of github.com:gnuboard/g5 2013-12-17 09:32:13 +09:00
whitedot fbab970c4b 공통: 사용하지 않는 스타일 제거 2013-12-17 09:31:52 +09:00
chicpro 61c78397cc 지번주소 출력 엘리먼트 id 수정 2013-12-17 09:07:05 +09:00
chicpro 28fe25f56f Merge branch 'master' of github.com:gnuboard/g5 2013-12-16 15:11:31 +09:00
chicpro aa01000991 도로명 주소 검색 추가 2013-12-16 15:10:55 +09:00
gnuboard 85840f77ec 갤러리 리스트에서 내용에 이미지가 포함되어 있을 경우 썸네일 생성되지 않던 오류 수정 2013-12-16 13:34:28 +09:00
chicpro 6a344d1438 썸네일생성 후 지정 이미지 사이즈 유지되지 않는 오류 수정 2013-12-13 09:27:39 +09:00
gnuboard a2e6ba132d .htaccess 파일이 삭제되지 않도록 .gitignore 변경 2013-12-12 16:14:50 +09:00
gnuboard 1822ff7295 config.php 가 포함되도록 .gitignore 변경 2013-12-12 16:11:16 +09:00
gnuboard e1fb2464c7 cheditor 에서 이미지 사이즈 수정한대로 노출하기 2013-12-12 13:47:37 +09:00
gnuboard 1c67cf8ef3 Merge branch 'master' of github.com:gnuboard/g5 2013-12-12 13:12:13 +09:00
gnuboard 0ad6b58a9f .gitignore 변경 2013-12-12 13:11:52 +09:00
whitedot 955071e5f8 Merge branch 'master' of github.com:gnuboard/g5 2013-12-12 09:46:25 +09:00
whitedot 4231fc8aa4 관리자: 인기검색어관리 마크업 오류 수정 2013-12-12 09:31:54 +09:00
chicpro 64372b20d4 bo_order_search를 bo_use_search 로 수정 2013-12-12 09:10:13 +09:00
chicpro ef709c75eb 썸네일 생성시 exif_read_data 함수없을 때 예외처리 추가 2013-12-10 09:55:35 +09:00
chicpro bb5b2d0336 최근글 캐시 갱신시간 설정 추가 2013-12-10 09:54:46 +09:00
chicpro a5149bf17d 1:1문의 모바일 스킨 설정 오류 수정 2013-12-09 15:22:08 +09:00
whitedot abf9c3b769 공통: 버튼 스타일 정리 2013-12-09 12:44:11 +09:00
whitedot 92b6c975bd 인스톨: 라이센스 동의 안내 내용 코드 복구 2013-12-09 09:25:31 +09:00
whitedot f6dc1ec7a8 인스톨: 라이센스 동의 안내 내용 스타일 2013-12-09 09:24:38 +09:00
chicpro b50980e880 Merge branch 'master' of github.com:gnuboard/g5 2013-12-09 09:07:23 +09:00
chicpro 206cff9d34 설치 스크립트 수정 2013-12-09 09:07:12 +09:00
chicpro 14fe0a4e03 게시판관리 파일사용 전체적용 오류 수정 2013-12-09 09:02:24 +09:00
whitedot ab26411136 관리자: 게시판 추가/수정에서 일부 클래스명 수정 2013-12-09 09:01:41 +09:00
whitedot cf1fddd832 사용자: 로고 alt 홈페이지 타이틀로 변경 2013-12-06 17:39:06 +09:00
whitedot ab2c38e882 인스톨페이지 db 설정 실패 관련 마크업 스타일 수정 2013-12-06 17:13:56 +09:00
whitedot f3c8c35f39 사용자: frm_input, textarea 스타일 구분 2013-12-06 16:05:13 +09:00
whitedot e50ce4f158 모바일: input type tel 을 text 로 복구, '-' 입력 안 되는 문제 있음 2013-12-06 15:39:59 +09:00
whitedot 212d86b347 관리자: button cursor 지정 2013-12-06 15:04:28 +09:00
whitedot 4a5312221c 인스톨페이지 안내문구 일부 수정 2013-12-06 14:47:16 +09:00
whitedot 5277e4b17b 인스톨 페이지 디자인 마크업 수정 2013-12-06 14:39:24 +09:00
whitedot ad5a5327d6 모바일: 게시판 본문 읽기 글자 크기 수정, 최신글 스타일 수정 2013-12-06 11:05:07 +09:00
whitedot 49fc96a22a 공통: 텍스트 사이즈 조정 버튼 크기 수정 2013-12-06 10:26:13 +09:00
whitedot d7deeb04e0 모바일: 스타일 정리 중 2013-12-06 09:59:13 +09:00
whitedot a941936907 공통: 스타일 정리 중 2013-12-06 09:42:10 +09:00
whitedot 808908717d 모바일: 전체검색 레이어 닫기 버튼 추가 2013-12-05 18:25:08 +09:00
whitedot 6e80e62585 공통: 상단 마크업 수정, 모바일: 상단 디자인 및 스타일 수정 2013-12-05 18:22:58 +09:00
whitedot d2f2f1193c Merge branch 'master' of github.com:gnuboard/g5 2013-12-05 17:58:28 +09:00
whitedot 3dcef5a235 모바일: 전체검색 스타일 2013-12-05 17:48:46 +09:00
chicpro 2541a70ab7 Merge branch 'master' of github.com:gnuboard/g5 2013-12-05 17:21:29 +09:00
chicpro 003a3ccd18 도메인에 포트가 있을 경우 로그인 url 오류 수정 2013-12-05 17:21:14 +09:00
whitedot a45caca7ee 사용자: 상단 검색창 아이디 변경 2013-12-05 17:18:26 +09:00
whitedot 6b7142565e Merge branch 'master' of github.com:gnuboard/g5 2013-12-05 16:18:41 +09:00
whitedot fb8b3283ec 사용자: 기본 디자인 및 버튼 등 스타일 수정 2013-12-05 16:18:28 +09:00
gnuboard e92e852145 Merge branch 'master' of github.com:gnuboard/g5 2013-12-05 15:07:14 +09:00
gnuboard c05d81cf29 ereg -> preg_match 2013-12-05 15:06:57 +09:00
whitedot 43d018f11e 모바일: 1대1 문의 목록 스타일코드 위치 수정 2013-12-05 11:47:24 +09:00
whitedot f67669969e 모바일: 1대1 문의 추가 수정 2013-12-05 11:17:25 +09:00
whitedot 7698589c56 모바일: 1대1 문의 목록 마크업, 스타일 수정 2013-12-05 11:16:01 +09:00
chicpro 2e7f04b877 trackback 관련 구문 삭제 2013-12-04 13:11:22 +09:00
chicpro 2be3d0511c 새글에서 코멘트 삭제시 원글 삭제되는 오류 수정 2013-12-04 10:30:23 +09:00
whitedot 081ad552a0 관리자: 비교섹션 input 배경색 지정 2013-12-03 15:03:36 +09:00
whitedot dadb15eb63 Merge branch 'master' of github.com:gnuboard/g5 2013-12-03 14:57:54 +09:00
whitedot c306a8ae4f 공통: thead th text-align 지정 2013-12-03 14:57:36 +09:00
chicpro 7bfc0bb91b 회원관리 항목 오류 수정 2013-12-02 14:54:46 +09:00
whitedot 8854b106d9 Merge branch 'master' of github.com:gnuboard/g5 2013-12-02 11:56:50 +09:00
whitedot 80acfb73f0 공통: btn_submit 배경색 수정 2013-12-02 11:56:36 +09:00
chicpro 2137529555 exif 정보를 바탕으로 한 이미지 회전 수정 2013-12-02 08:51:52 +09:00
chicpro 01bcac7f0a 썸네일 생성시 exif 정보를 반영해 회전 적용 2013-11-29 14:57:32 +09:00
whitedot 5bbf616997 레이아웃 min-width 적용 2013-11-29 09:45:21 +09:00
whitedot 627ccfdb9c 공통: empty_list 추가 2013-11-28 16:51:16 +09:00
whitedot 4a27575731 Merge branch 'master' of github.com:gnuboard/g5 2013-11-28 14:09:03 +09:00
whitedot 0aae98108b 관리자: local_sch02 button margin 초기화 2013-11-28 14:08:53 +09:00
chicpro d432e749bb Merge branch 'master' of github.com:gnuboard/g5 2013-11-26 18:32:44 +09:00
chicpro 36f915ae20 모바일 에이전트 수정 2013-11-26 18:32:32 +09:00
whitedot 7036efc269 모바일: 온라인 서식 input type 지정 2013-11-26 18:04:34 +09:00
whitedot d46988592d 모바일: 새창 win_btn input 높이 조정 2013-11-26 16:44:17 +09:00
whitedot 8d1e7cb4fb 모바일: 페이징 스타일 수정 2013-11-26 14:47:30 +09:00
whitedot 3e732b63b5 관리자: ie7 gnb 스타일 수정, 내컴퓨터님 2013-11-26 13:43:40 +09:00
whitedot 9249afe585 gitignore cheditor 추가 2013-11-26 13:42:04 +09:00
gnuboard 4f53a0a3f4 skin/board 등 제거 2013-11-26 13:24:48 +09:00
whitedot 2ebbb01854 Merge branch 'master' of github.com:gnuboard/g5 2013-11-26 10:44:55 +09:00
whitedot 036e0f072c /config.php 로 변경 2013-11-26 10:44:43 +09:00
whitedot 00b7a3dc87 Merge branch 'master' of github.com:gnuboard/g5 2013-11-26 10:24:48 +09:00
whitedot 88961b00ce 관리자: empty_table important 처리 2013-11-26 10:24:42 +09:00
whitedot 1c61678ebc 관리자: 목록 홀짝 배경색 수정 2013-11-26 10:21:24 +09:00
chicpro 2d07809a88 오타 수정 2013-11-26 09:02:36 +09:00
whitedot 111222720a 사용자: #13 새글에 게시물 선택삭제 기능 마크업 2013-11-25 16:51:09 +09:00
whitedot 30d133e4ff 관리자: empty_data > empty_table 복원 2013-11-25 16:03:49 +09:00
whitedot 2c6931107f 관리자: 쇼핑몰현황 작업 중 empty_table -> empty_data 로 수정 2013-11-25 15:54:47 +09:00
whitedot 2e2983095b Merge branch 'master' of github.com:gnuboard/g5 2013-11-25 15:12:32 +09:00
whitedot d4ad2cbe37 관리자: 목록 홀짝 배경색 클래스명 수정 2013-11-25 15:12:18 +09:00
gnuboard 28e6de04c6 Merge branch 'allchkdel' 2013-11-25 14:59:26 +09:00
gnuboard 4210b25657 새글에 선택삭제 기능추가 2013-11-25 14:59:13 +09:00
gnuboard e93e829fb6 전체게시물에 선택삭제 기능넣기 2013-11-25 12:57:47 +09:00
whitedot 41b1abedc9 공통: win_btn a 스타일 통일 2013-11-22 15:19:58 +09:00
whitedot a1aa2b61f6 Merge branch 'master' of github.com:gnuboard/g5 2013-11-22 15:14:19 +09:00
whitedot fa3d93dac2 공통: tbl_head02 추가 2013-11-22 15:14:09 +09:00
chicpro b60a509ae6 drop 명령 빠진 것 추가 2013-11-22 09:01:44 +09:00
whitedot 526e250898 사용자: legend margin padding 초기화 2013-11-21 14:47:57 +09:00
whitedot f820932e1f 공통: #12 1대1 문의 dt 스타일 수정 2013-11-21 10:27:17 +09:00
whitedot 38d0d5ab7f 모바일: #12 1대1 문의 이메일 휴대폰 스타일 2013-11-21 10:26:47 +09:00
whitedot 582e1146d0 사용자: #12 1대1 문의 이메일 휴대폰 스타일 2013-11-21 09:54:11 +09:00
chicpro a689502c11 1:1문의 view에 이메일, 휴대폰 출력 추가 2013-11-20 14:35:53 +09:00
chicpro 89c55c1704 댓글 캡챠 오류 재수정 2013-11-20 09:13:17 +09:00
chicpro f282d39646 사용하지 않는 파일 삭제 2013-11-19 15:13:41 +09:00
chicpro 393bd4900a BBS 경로 오류 수정 2013-11-19 11:22:53 +09:00
chicpro 07ee026220 캡챠 음성 듣기 오류 수정 2013-11-19 09:21:01 +09:00
chicpro c07c00659f G5_USE_MOBILE 상수 추가에 따른 모바일 PC 버전 보기 버튼 코드 수정 2013-11-18 18:21:52 +09:00
gnuboard c74c7cd726 G5_USE_MOBILE 상수 추가 2013-11-18 18:14:20 +09:00
gnuboard cb3e4a55cd euc-kr referer 를 utf-8 로 변환하도록 수정 2013-11-18 13:45:13 +09:00
gnuboard 7c6335fb47 preg_replace 에 /u - unicode safe 적용 2013-11-18 13:34:24 +09:00
chicpro dbe8c45fa5 Merge branch 'master' of github.com:gnuboard/g5 2013-11-15 15:03:47 +09:00
chicpro 11dc677020 get_sock 대체함수 common.lib.php 로 이동 2013-11-15 15:03:34 +09:00
whitedot 450682f810 관리자: #11 접속자검색 마크업2 2013-11-15 13:34:26 +09:00
whitedot 5a670fa304 관리자: #11 접속자검색 마크업 2013-11-15 13:25:40 +09:00
gnuboard effc8231ac 접속자검색 추가 2013-11-15 11:50:32 +09:00
chicpro dcf57f6567 우편번호 검색에서 검색 결과가 없어도 창닫기 버튼 출력되도록 수정 2013-11-13 15:50:07 +09:00
chicpro 9e32d84dff 댓글의 답변 등록시 캡차 출력되지 않는 오류 재수정 2013-11-13 09:33:57 +09:00
whitedot 6fd275c5af Merge branch 'master' of github.com:gnuboard/g5 2013-11-12 14:21:38 +09:00
whitedot ad198c40e8 갯수 -> 개수2, 뮤죤님 2013-11-12 14:21:20 +09:00
chicpro c36313ce5a 미투데이 관련 코드 삭제 2013-11-12 14:17:37 +09:00
whitedot 9d6eda165a Merge branch 'master' of github.com:gnuboard/g5 2013-11-12 14:15:11 +09:00
whitedot 3816645aae 갯수 -> 개수 혹은 수 로 수정, 뮤죤님 2013-11-12 14:14:58 +09:00
chicpro d77bf259aa gcaptcha 삭제 2013-11-12 13:29:49 +09:00
chicpro 000c7376a0 댓글의 댓글 작성시 캡챠 출력되지 않는 오류 수정 2013-11-12 13:27:56 +09:00
chicpro 23fb89c6e3 대용량 파일 다운로드 대응 코드 추가 2013-11-12 10:35:09 +09:00
whitedot b42ef72337 Merge branch 'master' of github.com:gnuboard/g5 2013-11-11 17:47:19 +09:00
whitedot 19ad51dc91 공통: 댓글 목록 하단 여백 설정, 사노라가노라님 2013-11-11 17:46:24 +09:00
chicpro cac8c45c51 설치 스크립트에 빠진 1:1문의 테이블 설정 상수 추가 2013-11-11 14:23:08 +09:00
whitedot c1bdc13a7a 모바일: 인기검색어 스타일 수정 2013-11-08 18:15:24 +09:00
whitedot c357423681 사용자: button cursor pointer 추가 2013-11-08 16:12:59 +09:00
whitedot d50ab5353d Merge branch 'master' of github.com:gnuboard/g5 2013-11-08 09:28:59 +09:00
whitedot d000bb120b 사용자: gnb 가운데 정렬 수정 2013-11-08 09:28:46 +09:00
chicpro c128a86bf3 대용량 파일 다운로드 오류 수정 2013-11-07 14:44:04 +09:00
whitedot 35a7ab09c1 관리자: 회원관리 목록 행구분 배경색 마크업 2013-11-07 10:41:54 +09:00
whitedot 5b13693601 Merge branch 'master' of github.com:gnuboard/g5 2013-11-07 10:39:11 +09:00
whitedot 848e9ff54f 관리자: 행구분 배경색 스타일 2013-11-07 10:38:51 +09:00
chicpro 37b09e63bf Merge branch 'master' of github.com:gnuboard/g5 2013-11-07 10:31:08 +09:00
chicpro fee3813b50 리스트 tr_bg 클래스 처리 코드 간소화 2013-11-07 10:30:48 +09:00
whitedot 2a9f144e0d 관리자: 행배경색 수정 2013-11-07 09:59:36 +09:00
chicpro 9e4b6c635a 기본환경설정의 sms 설정 변수 오류 수정 2013-11-06 10:51:43 +09:00
chicpro d0d8e3d2b7 일대일 문의 기능 추가 2013-11-06 10:05:02 +09:00
whitedot 223c271399 사용자: CSS RESET 보완2 2013-11-06 10:00:13 +09:00
whitedot 5fa4af1c9c 사용자: CSS RESET 보완 2013-11-06 09:59:16 +09:00
whitedot b38aa084d9 ie=edge => ie=10 2013-11-05 16:07:49 +09:00
whitedot 6c88914bf0 모바일: 이름입력칸 넓게 2013-11-05 09:56:14 +09:00
whitedot a25042b2a4 Merge branch 'master' of github.com:gnuboard/g5 2013-11-05 09:50:22 +09:00
whitedot cc1a955a7f 관리자: 새창 local_ 요소 min-width 재지정 2013-11-05 09:50:10 +09:00
chicpro 0edefbe3f9 mysql5.6.6이상에서 sql_mode 설정 코드 추가 2013-11-05 09:23:43 +09:00
chicpro 2bbbfe4553 Merge branch 'master' of github.com:gnuboard/g5 2013-11-04 17:52:50 +09:00
chicpro 24a0148ebc 게시판 리스트 선택복사,이동 팝업 닫은 후 다시 선택삭제 했할 경우 제대로 처리되지 않는 문제 수정 2013-11-04 17:52:29 +09:00
gnuboard 34f04e76ec </textarea> 앞의 공란 제거 2013-11-04 17:36:21 +09:00
gnuboard f95cae2ee5 필터링 textarea 에 잘못 코딩된 공백을 제거 2013-11-04 17:08:15 +09:00
whitedot 65c7ed8095 모바일: 온라인 서식 너비 조정 2013-11-04 11:12:15 +09:00
whitedot 03260932ee Merge branch 'master' of github.com:gnuboard/g5 2013-11-04 10:11:23 +09:00
whitedot 372793cb7a 공통 wrp -> wrap 으로 2013-11-04 10:11:09 +09:00
chicpro b9961bf8be 게시판 리스트 검색 stx 필드에 id 지정되지 않은 것 수정 2013-11-01 18:08:15 +09:00
whitedot 1a0364ee62 사용자: 서식 진행 단계 취소 버튼 스타일 어긋나는 문제 수정, fm25님 2013-11-01 15:19:31 +09:00
whitedot d2a0b54dfc Merge branch 'master' of github.com:gnuboard/g5 2013-11-01 13:20:24 +09:00
whitedot 6a3b81499a 관리자: poll_form.php 마크업 오류 수정 2013-11-01 13:01:47 +09:00
chicpro 70560cd537 분류 출력부분에서 사용되지 않는 form 태그 삭제 2013-11-01 11:53:02 +09:00
chicpro 77680ff29f 분류 사용시 열린 분류 문구 초기화 되지 않는 오류 수정 2013-11-01 11:52:33 +09:00
whitedot 76c6970e4f LESS 적용 제거 2013-10-31 17:30:30 +09:00
whitedot 5de52ec045 less 원본 파일 추가 2013-10-31 15:18:43 +09:00
whitedot 278fcebe02 모바일: CSS em 을 px 로 수정 2013-10-31 11:15:55 +09:00
whitedot ed2404ce57 Merge branch 'master' of github.com:gnuboard/g5 2013-10-30 11:37:32 +09:00
whitedot fa7b2b4fe3 공통: 로그인 시 회원아이디 패스워드 찾기 새창 알림 오류 수정 2013-10-30 11:37:16 +09:00
gnuboard 278da2459f 회원아이콘 반영되지 않던 오류 해결 2013-10-28 14:05:19 +09:00
whitedot 204a3fd83c 관리자: 새창 스타일 수정2 2013-10-24 10:44:29 +09:00
whitedot 745802eaea 관리자: 새창 스타일 수정 2013-10-24 10:43:28 +09:00
whitedot cba59f0b70 Merge branch 'master' of github.com:gnuboard/g5 2013-10-23 11:00:19 +09:00
whitedot 0473e9f081 관리자: min-width 적용 2013-10-23 11:00:08 +09:00
gnuboard 6a83623170 설치시 환경설정의 관리자 메일 주소에 값을 넣어줌 2013-10-22 18:12:36 +09:00
whitedot a1b226f8a3 Merge branch 'master' of github.com:gnuboard/g5 2013-10-22 11:40:15 +09:00
whitedot f74603dcef 공통: required 스타일 important 처리 2013-10-22 11:40:03 +09:00
gnuboard 9c2b3b1c46 mb_id 255 에서 varchar(20) 으로 수정 2013-10-22 10:15:12 +09:00
gnuboard d9dfdbf474 게시판이 하나도 존재하지 않을 경우 나오던 오류 수정 2013-10-21 15:40:08 +09:00
whitedot a442437201 Merge branch 'master' of github.com:gnuboard/g5 2013-10-21 14:12:58 +09:00
whitedot f0bc1d5586 모바일: required 스타일 수정 2013-10-21 14:12:51 +09:00
whitedot 904baa3db2 사용자: required 스타일 수정 2013-10-21 14:11:19 +09:00
gnuboard 73524bd7b4 cf_gcaptcha_mp3 를 cf_captcha_mp3 로 이름 변경 2013-10-21 12:00:11 +09:00
gnuboard 6d4ddc7ee3 캡차파일 자동 삭제 코드 수정 2013-10-21 11:59:32 +09:00
gnuboard a451a124f6 캡챠파일삭제 파일이름 변경 2013-10-21 11:59:09 +09:00
gnuboard fae4241fb7 mb_id varchar(20) 으로 수정 2013-10-21 11:48:00 +09:00
gnuboard f5e13b38cd Merge branch 'master' of github.com:gnuboard/g5 2013-10-16 16:27:49 +09:00
gnuboard 207f458186 캡챠사용시 ss_bo_table, ss_wr_id 세션이 생기지 않던 오류 수정 & g5_captcha_path 제거 2013-10-16 16:27:34 +09:00
whitedot 6d86f35b02 관리자: 회원관리 목록 본인확인, 상태/권한 셀 정렬 스타일 2013-10-16 15:02:22 +09:00
gnuboard bc8ef2d4c6 페이지 첫로딩시에 캡챠소리가 나지 않던 오류 수정 2013-10-16 13:58:10 +09:00
whitedot 994f0c5905 관리자: lnb 구분선 추가 2013-10-16 13:48:03 +09:00
whitedot 3ce235581e 공통: 갤러리 스킨 전체선택 조건문 추가, 사노라가노라님 2013-10-16 13:36:42 +09:00
gnuboard b23cbfea16 cf_gcaptcha_mp3 를 cf_captcha_mp3 로 제대로 수정되지 않음 2013-10-15 17:17:23 +09:00
gnuboard 680990d6d2 define('G5_CAPTCHA_DIR', 'kcaptcha'); // kcaptcha, gcaptcha 중에서 선택 사용하세요. 기본은 kcaptcha 2013-10-15 15:48:10 +09:00
whitedot b64e05b3c7 캡챠 작업 후 안내메세지 제거 2013-10-15 14:08:52 +09:00
gnuboard 712082dc8f Merge branch 'kcaptcha' of github.com:gnuboard/g5 into kcaptcha
Conflicts:
	config.php
	mobile/skin/member/basic/register_form.skin.php
2013-10-15 11:54:31 +09:00
whitedot 8252129dd0 공통: 리디자인 중 2013-10-15 11:25:07 +09:00
whitedot 65f5262476 공통; 리디자인 작업 중 2013-10-14 18:14:26 +09:00
whitedot 0fbb63a64c merge 충돌 수정 2013-10-14 17:28:13 +09:00
whitedot f2a5866c52 모바일: 리디자인 작업 중 2013-10-14 17:25:47 +09:00
whitedot e2f2780a51 공통: frm_tbl -> tbl_frm01 tbl_frm 으로 수정 2013-10-14 16:59:22 +09:00
whitedot 6f5803bb3c 모바일: 글자 크기 등 스타일 수정 2013-10-14 15:49:50 +09:00
gnuboard 1dbaf4b5d6 모바일에서 캡챠가 나오도록 수정 2013-10-14 15:46:18 +09:00
whitedot 80643e9090 캡챠: #3 kcaptcha 버튼 스타일 수정 2013-10-14 15:40:40 +09:00
whitedot aac541afb9 캡챠: #3 kcaptcha 마크업 및 스타일 수정 2013-10-14 15:30:41 +09:00
whitedot 8e2fabbfae 관리자: 테스트메일 발송 마크업 및 스타일 2013-10-14 15:14:02 +09:00
whitedot 51938f0a2b merge 충돌 2013-10-14 15:08:34 +09:00
whitedot cfd8db6b9e 관리자: 가변형으로 변경 2013-10-14 14:48:05 +09:00
whitedot 1192b139bd lnb 스타일 2013-10-14 11:34:13 +09:00
chicpro 3caba47f5e Merge branch 'master' of github.com:gnuboard/g5 2013-10-14 11:20:09 +09:00
chicpro 5b25a05bcc 관리자 서브메뉴 출력 코드 추가 2013-10-14 11:20:02 +09:00
whitedot 88824eb7b9 사용자: required 스타일 및 회원가입완료 페이지 SI 수정, fm25님 2013-10-14 10:40:53 +09:00
whitedot c39eb7f019 Merge branch 'master' into kcaptcha 2013-10-14 10:10:34 +09:00
whitedot e0fce28cbe 사용자: css 오타 수정 및 갤러리스킨 전체선택 추가, 사노라가노라님 2013-10-14 10:04:36 +09:00
gnuboard a9bdbc6394 캡챠 경로 상수명 변경 2013-10-11 17:16:40 +09:00
whitedot b9c3c2d186 모바일: 스킨별 커스터마이징 스타일 삭제 2013-10-11 14:30:40 +09:00
whitedot 421cff3457 사용자: 스킨 별 커스터마이징 스타일 삭제 2013-10-11 14:20:20 +09:00
gnuboard f2d63ee9be KCAPTCHA 캡챠 플러그인 추가 2013-10-10 15:48:07 +09:00
whitedot 03dd38b040 Merge branch 'master' of github.com:gnuboard/g5 2013-10-10 14:42:51 +09:00
whitedot a6d5486554 사용자: 전체검색 버튼 스타일 수정, 사노라가노라님 건의 2013-10-10 14:42:21 +09:00
chicpro 224dc0679a canonical 및 meta 출력 위치 수정 2013-10-10 13:45:52 +09:00
gnuboard a253bea015 Merge branch 'master' of github.com:gnuboard/g5 2013-10-08 18:14:10 +09:00
chicpro 6500ba3270 Merge branch 'master' of github.com:gnuboard/g5 2013-10-08 16:55:56 +09:00
chicpro 617008f802 html 옵션을 사용하지 않은 게시글 복사 이동시 로그에 태그 포함되는 문제 수정 2013-10-08 16:54:42 +09:00
whitedot 300aeca890 Merge branch 'master' of github.com:gnuboard/g5 2013-10-08 16:30:51 +09:00
whitedot f5d54b0332 모바일: 게시판스킨 글쓰기 페이지 아이디 처리 2013-10-08 16:27:49 +09:00
gnuboard ca19758ef1 Merge branch 'master' of github.com:gnuboard/g5 2013-10-08 10:28:03 +09:00
chicpro 97a86865fb 게시판 글쓰기 최소 최대 글수 설정 안내 내용 추가 2013-10-08 10:19:50 +09:00
chicpro 7bd9d5cca0 mysql 하위 버전에서의 show columns 오류 수정 2013-10-08 10:11:37 +09:00
gnuboard f6fd7d0f6e 사용하지 않는 get_list_file() 함수 코드 삭제 2013-10-07 14:09:14 +09:00
gnuboard b18b19c703 게시판 카테고리 선택후 선택삭제시 카테고리 풀리는 현상을 해결 2013-10-07 13:33:14 +09:00
gnuboard 0d529803d2 Merge branch 'master' of github.com:gnuboard/g5 2013-10-07 13:22:06 +09:00
gnuboard fb0b5839b0 모바일 갤러리 이미지 폭 높이 그룹적용 전체적용 이 되지 않던 현상 수정 2013-10-07 11:50:29 +09:00
gnuboard 1668ed095b 공지글인 경우는 해당글을 같은 페이지에서 다시 노출하지 않는다. 2013-10-07 11:17:30 +09:00
whitedot ad3b75ab3c Merge branch 'master' of github.com:gnuboard/g5 2013-10-07 10:37:09 +09:00
whitedot dfa4ba9e01 공통: #7 textarea,select font-family 지정 2013-10-07 10:36:52 +09:00
gnuboard ee1923d558 Merge branch 'master' of github.com:gnuboard/g5 2013-10-06 12:07:06 +09:00
gnuboard c40457c1cf select box 나 redio button 에서 사용하기 위해 get_checked 함수 생성 2013-10-04 17:59:39 +09:00
chicpro 6b196d7b04 Merge branch 'master' of github.com:gnuboard/g5 2013-10-04 15:17:11 +09:00
chicpro f2d073c8ba 설치시 GD 라이브러리 체크 코드 추가 2013-10-04 15:17:01 +09:00
whitedot ad84629fa3 Merge branch 'master' of github.com:gnuboard/g5 2013-10-04 13:28:57 +09:00
whitedot d5e3dbc115 공통: textarea 기본 폰트 사이즈, 사노라가노라님 건의 2013-10-04 13:28:28 +09:00
chicpro 4be2995c98 okname key 폴더 추가 2013-10-04 11:29:08 +09:00
chicpro a43628a0eb php 5.3 미만에서는 mysql_real_escape_string 적용 후 stripslashes 적용되도록 수정 2013-10-04 10:10:00 +09:00
whitedot 09215c8b39 사용자: btn_frmline 글자색 게시판스킨 스타일에도 적용 2013-10-02 18:38:10 +09:00
whitedot 62f25b27a7 Merge branch 'master' of github.com:gnuboard/g5 2013-10-02 18:36:21 +09:00
whitedot a3ea9ebee9 사용자: btn_frmline 글자색 2013-10-02 18:36:10 +09:00
chicpro 23fd497041 리사이즈 실행시 width 구하도록 수정 2013-10-02 17:28:59 +09:00
chicpro e969fff0a8 sns kakao_appname urlencode 처리 2013-10-02 13:03:22 +09:00
chicpro a1a70086ac 모바일 화면크기 쿠키저장 제거 2013-10-02 12:54:42 +09:00
chicpro c2fcdfc2c7 모바일에서 텍스트 변경 작동하지 않는 오류 수정 2013-10-02 11:58:59 +09:00
chicpro ff707fc932 Merge branch 'master' of github.com:gnuboard/g5 2013-10-02 11:57:02 +09:00
chicpro fa6c798f06 모바일 썸네일 생성시 width 계산 코드 제거 2013-10-02 11:56:45 +09:00
whitedot a817c11590 Merge branch 'master' of github.com:gnuboard/g5 2013-10-02 11:54:03 +09:00
whitedot d4da2fbd06 사용자: 게시판스킨 에디터 미사용 시 내용 입력 높이 조절 2013-10-02 11:53:17 +09:00
chicpro 5b9661be59 view 이미지 리사이즈 때 height 초기화 추가 2013-10-02 11:35:52 +09:00
chicpro 6569f03fba Merge branch 'master' of github.com:gnuboard/g5 2013-10-02 11:24:34 +09:00
chicpro a6051aa758 모바일 갤러리 리스트 정렬 스크립트 추가 및 view 이미지 리사이즈 스크립트 변경 2013-10-02 11:24:27 +09:00
whitedot a31d0d9961 모바일: 새창 테이블 스타일 수정 2013-10-02 10:22:16 +09:00
whitedot 2a6e9fc94c 공통: 갤러리스킨 id, class 간소화 2013-10-02 10:20:42 +09:00
whitedot 8969f499be 공통: 갤러리스킨 id, class 간소화 2013-10-02 10:05:23 +09:00
whitedot 1c0d38097f 모바일: 갤러리스킨 리스트 마진을 패딩으로, 페이지 타이틀 패딩값 설정 2013-10-02 09:56:08 +09:00
whitedot 3897bff774 Merge branch 'master' of github.com:gnuboard/g5 2013-10-02 09:41:05 +09:00
whitedot 37922ab699 모바일: css 필요없는 코드 삭제 2013-10-02 09:40:46 +09:00
chicpro 0a1259b3a5 Merge branch 'master' of github.com:gnuboard/g5 2013-10-01 17:53:10 +09:00
chicpro effebec8aa 모바일 썸네일 width 계산 코드 수정 2013-10-01 17:52:17 +09:00
chicpro d9af5216e0 모바일 width viewport 사이즈로 변경 2013-10-01 17:51:50 +09:00
whitedot d29b3f1e63 모바일: mobile.css 와 skin/(x)/style.css 중첩 처리 2013-10-01 17:23:29 +09:00
whitedot 34b31715dc 사용자: default.css 와 skin/(x)/style.css 중첩 처리 2013-10-01 13:51:19 +09:00
whitedot f5bae01550 공통: css 불필요한 important 제거 2013-10-01 11:15:05 +09:00
whitedot aed9ef05c1 공통: label input 순서 조정 2013-09-30 17:59:04 +09:00
nemoluv 5a6b84a924 #5 required 처리 안된 부분 수정 2013-09-30 17:50:00 +09:00
whitedot 7db2f889b1 canonical 지정 2013-09-30 13:48:43 +09:00
whitedot 7ea8bfd3c9 공통: 테이블 th, td 패딩값 조정, 사노라가노라님 건의 2013-09-30 10:11:15 +09:00
whitedot 99c43b6d58 모바일: 로고 padding 수정 2013-09-26 10:04:56 +09:00
whitedot 69d6b7a0b5 관리자: gnb 메뉴명 중 캐쉬파일 > 캐시파일로 수정 2013-09-25 11:49:12 +09:00
whitedot 8dddaccde6 merge 처리 2013-09-25 09:28:42 +09:00
whitedot 7753b5e04d 공통: select font-size 지정, 사노라가노라님 건의 2013-09-25 09:27:44 +09:00
gnuboard c987dc857e 설치시 data/tmp 디렉토리 생성 2013-09-24 13:57:09 +09:00
chicpro b88c274e72 input 필드의 기본 폰트 사이즈 추가 2013-09-23 17:29:54 +09:00
chicpro da73358a66 폰트 리사이즈를 class를 이용한 방법으로 수정 2013-09-23 17:28:33 +09:00
whitedot b98d72a1e6 공통: 텍스트 사이즈 조절용 클래스 추가 2013-09-23 13:35:51 +09:00
whitedot a31fdfa004 Merge branch 'master' of github.com:gnuboard/g5 2013-09-23 11:44:58 +09:00
whitedot d2c6f622a9 관리자: frm_tbl 스타일 수정 2013-09-23 11:42:43 +09:00
chicpro e85b238ac1 회원탈퇴 후 이동안되는 오류 수정 2013-09-23 09:21:32 +09:00
chicpro f603e4c565 Merge branch 'master' of github.com:gnuboard/g5 2013-09-17 13:44:40 +09:00
chicpro b4de497107 폰트 리사이즈 함수 실행 코드를 tail.php 파일로 이동 2013-09-17 13:44:24 +09:00
whitedot e9a0e77b90 관리자: tnb ie6 깨지는 문제 수정 2013-09-17 13:03:41 +09:00
chicpro 21eaa1962d 폰트 사이즈 변경 후 기본크기 설정 시 line-height 설정 문제 수정 2013-09-17 12:52:55 +09:00
chicpro 210c8d89c6 set_time_limit 경고 출력되지 않도록 수정 2013-09-17 11:34:14 +09:00
chicpro e25a403bea outlogin_url 값 추가 2013-09-16 17:48:02 +09:00
chicpro 485720dcbf 모바일 게시판 제목 입력폼 넓이 수정 2013-09-16 17:41:27 +09:00
chicpro 4571c91fcd bo_mobile_subject 필드 추가 2013-09-16 17:38:53 +09:00
chicpro 0495d3adb0 Merge branch 'master' of github.com:gnuboard/g5 2013-09-13 17:02:23 +09:00
chicpro 9bcb84097d 투표목록 colspan 값 수정 2013-09-13 17:01:34 +09:00
gnuboard 5d332663d6 상수 미선언으로 인한 notice 오류 해결 2013-09-13 14:30:09 +09:00
nemoluv 720b70acba 리스트 없을때 colspan 수정완료 2013-09-13 14:27:07 +09:00
gnuboard 0b2e174e97 README.md 삭제 2013-09-13 13:37:43 +09:00
gnuboard eaf88fb55a data 폴더를 무시하도록 data/ 와 같이 수정 2013-09-13 13:28:20 +09:00
gnuboard 949f1215b6 extend 폴더 포함 2013-09-13 13:27:27 +09:00
gnuboard e402036ff7 config.php 제거 2013-09-13 12:03:24 +09:00
gnuboard 07a482985a config.php 추가 2013-09-13 12:03:02 +09:00
gnuboard 8e820d3f89 Merge branch 'master' of github.com:gnuboard/g5 2013-09-13 11:45:42 +09:00
gnuboard 700a433ae5 로고 변경 2013-09-13 11:45:25 +09:00
gnuboard fd46aefadd 그누보드5 2013-09-13 11:10:15 +09:00
kagla 2fe494347d Update README.md 2013-09-13 11:09:47 +09:00
gnuboard 41d21074b5 그누보드5 2013-09-13 11:03:33 +09:00
kagla 04c3efa279 Initial commit 2013-09-12 18:28:55 -07:00
610 changed files with 68479 additions and 52234 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ sirgle/
test.php
*.key
*.sh
cheditor*/
cheditor5.*/
ckeditor*/
log/
g5_tree/
+1 -1
View File
@@ -2,7 +2,7 @@
프로그램 명칭 : 그누보드5 ( GNU Board 5 )
저작자 : (주)에스아이알소프트 http://sir.co.kr
저작자 : (주)에스아이알소프트 http://sir.kr
라이센스 (License)
+4
View File
@@ -2,4 +2,8 @@
define('G5_IS_ADMIN', true);
include_once ('../common.php');
include_once(G5_ADMIN_PATH.'/admin.lib.php');
if( isset($token) ){
$token = @htmlspecialchars(strip_tags($token), ENT_QUOTES);
}
?>
+4 -2
View File
@@ -1,5 +1,7 @@
<?php
if (!defined('_GNUBOARD_')) exit;
$print_version = (defined('G5_IS_SHOP_ADMIN_PAGE') && defined('G5_YOUNGCART_VER')) ? 'Cart Version '.G5_YOUNGCART_VER : 'Version '.G5_GNUBOARD_VER;
?>
<noscript>
@@ -14,14 +16,14 @@ if (!defined('_GNUBOARD_')) exit;
<footer id="ft">
<p>
Copyright &copy; <?php echo $_SERVER['HTTP_HOST']; ?>. All rights reserved.<br>
Copyright &copy; <?php echo $_SERVER['HTTP_HOST']; ?>. All rights reserved. <?php echo $print_version; ?><br>
<a href="#">상단으로</a>
</p>
</footer>
<!-- <p>실행시간 : <?php echo get_microtime() - $begin_time; ?> -->
<script src="<?php echo G5_ADMIN_URL ?>/admin.js"></script>
<script src="<?php echo G5_ADMIN_URL ?>/admin.js?ver=<?php echo G5_JS_VER; ?>"></script>
<script>
$(function(){
var hide_menu = false;
+1 -1
View File
@@ -8,7 +8,7 @@ $g5['title'] = '게시판 복사';
include_once(G5_PATH.'/head.sub.php');
?>
<script src="<?php echo G5_ADMIN_URL ?>/admin.js"></script>
<script src="<?php echo G5_ADMIN_URL ?>/admin.js?ver=<?php echo G5_JS_VER; ?>"></script>
<div class="new_win">
<h1><?php echo $g5['title']; ?></h1>
+2
View File
@@ -2,6 +2,8 @@
$sub_menu = '300100';
include_once('./_common.php');
check_demo();
auth_check($auth[$sub_menu], 'w');
check_admin_token();
+9 -1
View File
@@ -35,6 +35,14 @@ if ($file = $_POST['bo_include_tail']) {
$_POST['bo_include_tail'] = $file;
}
if(!is_include_path_check($_POST['bo_include_head'])) {
alert('/data/file/ 또는 /data/editor/ 포함된 문자를 상단 파일 경로에 포함시킬수 없습니다.');
}
if(!is_include_path_check($_POST['bo_include_tail'])) {
alert('/data/file/ 또는 /data/editor/ 포함된 문자를 하단 파일 경로에 포함시킬수 없습니다.');
}
$board_path = G5_DATA_PATH.'/file/'.$bo_table;
// 게시판 디렉토리 생성
@@ -184,7 +192,7 @@ if ($w == '') {
// 글수 조정
/*
엔피씨님의 팁으로 교체합니다. 130308
http://sir.co.kr/bbs/board.php?bo_table=g5_tiptech&wr_id=27207
http://sir.kr/g5_tiptech/27207
*/
if (isset($_POST['proc_count'])) {
// 원글을 얻습니다.
+1 -1
View File
@@ -63,7 +63,7 @@ $colspan = 15;
<label for="sfl" class="sound_only">검색대상</label>
<select name="sfl" id="sfl">
<option value="bo_table"<?php echo get_selected($_GET['sfl'], "bo_subject", true); ?>>TABLE</option>
<option value="bo_table"<?php echo get_selected($_GET['sfl'], "bo_table", true); ?>>TABLE</option>
<option value="bo_subject"<?php echo get_selected($_GET['sfl'], "bo_subject"); ?>>제목</option>
<option value="a.gr_id"<?php echo get_selected($_GET['sfl'], "a.gr_id"); ?>>그룹ID</option>
</select>
+7 -7
View File
@@ -736,7 +736,7 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
<select name="cf_cert_hp" id="cf_cert_hp">
<?php echo option_selected("", $config['cf_cert_hp'], "사용안함"); ?>
<?php echo option_selected("kcb", $config['cf_cert_hp'], "코리아크레딧뷰로(KCB) 휴대폰 본인확인"); ?>
<?php echo option_selected("kcp", $config['cf_cert_hp'], "한국사이버결제(KCP) 휴대폰 본인확인"); ?>
<?php echo option_selected("kcp", $config['cf_cert_hp'], "NHN KCP 휴대폰 본인확인"); ?>
<?php echo option_selected("lg", $config['cf_cert_hp'], "LG유플러스 휴대폰 본인확인"); ?>
</select>
</td>
@@ -745,16 +745,16 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
<th scope="row" class="cf_cert_service"><label for="cf_cert_kcb_cd">코리아크레딧뷰로<br>KCB 회원사ID</label></th>
<td class="cf_cert_service">
<?php echo help('KCB 회원사ID를 입력해 주십시오.<br>서비스에 가입되어 있지 않다면, KCB와 계약체결 후 회원사ID를 발급 받으실 수 있습니다.<br>이용하시려는 서비스에 대한 계약을 아이핀, 휴대폰 본인확인 각각 체결해주셔야 합니다.<br>아이핀 본인확인 테스트의 경우에는 KCB 회원사ID가 필요 없으나,<br>휴대폰 본인확인 테스트의 경우 KCB 에서 따로 발급 받으셔야 합니다.') ?>
<input type="text" name="cf_cert_kcb_cd" value="<?php echo $config['cf_cert_kcb_cd'] ?>" id="cf_cert_kcb_cd" class="frm_input" size="20"> <a href="http://sir.co.kr/main/service/b_ipin.php" target="_blank" class="btn_frmline">KCB 아이핀 서비스 신청페이지</a>
<a href="http://sir.co.kr/main/service/b_cert.php" target="_blank" class="btn_frmline">KCB 휴대폰 본인확인 서비스 신청페이지</a>
<input type="text" name="cf_cert_kcb_cd" value="<?php echo $config['cf_cert_kcb_cd'] ?>" id="cf_cert_kcb_cd" class="frm_input" size="20"> <a href="http://sir.kr/main/service/b_ipin.php" target="_blank" class="btn_frmline">KCB 아이핀 서비스 신청페이지</a>
<a href="http://sir.kr/main/service/b_cert.php" target="_blank" class="btn_frmline">KCB 휴대폰 본인확인 서비스 신청페이지</a>
</td>
</tr>
<tr>
<th scope="row" class="cf_cert_service"><label for="cf_cert_kcp_cd">한국사이버결제<br>KCP 사이트코드</label></th>
<th scope="row" class="cf_cert_service"><label for="cf_cert_kcp_cd">NHN KCP 사이트코드</label></th>
<td class="cf_cert_service">
<?php echo help('SM으로 시작하는 5자리 사이트 코드중 뒤의 3자리만 입력해 주십시오.<br>서비스에 가입되어 있지 않다면, 본인확인 서비스 신청페이지에서 서비스 신청 후 사이트코드를 발급 받으실 수 있습니다.') ?>
<span class="sitecode">SM</span>
<input type="text" name="cf_cert_kcp_cd" value="<?php echo $config['cf_cert_kcp_cd'] ?>" id="cf_cert_kcp_cd" class="frm_input" size="3"> <a href="http://sir.co.kr/main/service/p_cert.php" target="_blank" class="btn_frmline">KCP 휴대폰 본인확인 서비스 신청페이지</a>
<input type="text" name="cf_cert_kcp_cd" value="<?php echo $config['cf_cert_kcp_cd'] ?>" id="cf_cert_kcp_cd" class="frm_input" size="3"> <a href="http://sir.kr/main/service/p_cert.php" target="_blank" class="btn_frmline">NHN KCP 휴대폰 본인확인 서비스 신청페이지</a>
</td>
</tr>
<tr>
@@ -762,7 +762,7 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
<td class="cf_cert_service">
<?php echo help('LG유플러스 상점아이디 중 si_를 제외한 나머지 아이디만 입력해 주십시오.<br>서비스에 가입되어 있지 않다면, 본인확인 서비스 신청페이지에서 서비스 신청 후 상점아이디를 발급 받으실 수 있습니다.<br><strong>LG유플러스 휴대폰본인확인은 ActiveX 설치가 필요하므로 Internet Explorer 에서만 사용할 수 있습니다.</strong>') ?>
<span class="sitecode">si_</span>
<input type="text" name="cf_lg_mid" value="<?php echo $config['cf_lg_mid'] ?>" id="cf_lg_mid" class="frm_input" size="20"> <a href="http://sir.co.kr/main/service/lg_cert.php" target="_blank" class="btn_frmline">LG유플러스 본인확인 서비스 신청페이지</a>
<input type="text" name="cf_lg_mid" value="<?php echo $config['cf_lg_mid'] ?>" id="cf_lg_mid" class="frm_input" size="20"> <a href="http://sir.kr/main/service/lg_cert.php" target="_blank" class="btn_frmline">LG유플러스 본인확인 서비스 신청페이지</a>
</td>
</tr>
<tr>
@@ -1099,7 +1099,7 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
<th scope="row">충전 잔액</th>
<td colspan="3">
<?php echo number_format($userinfo['coin']); ?> 원.
<a href="http://www.icodekorea.com/smsbiz/credit_card_amt.php?icode_id=<?php echo $config['cf_icode_id']; ?>&amp;icode_passwd=<?php echo $config['cf_icode_pw']; ?>" target="_blank" class="btn_frmline" onclick="window.open(this.href,'icode_payment', 'scrollbars=1,resizable=1'); return false;">충전하기</a>
<a href="http://www.icodekorea.com/smsbiz/credit_card_amt.php?icode_id=<?php echo $config['cf_icode_id']; ?>&amp;icode_passwd=<?php echo $config['cf_icode_pw']; ?>" target="_blank" class="btn_frmline">충전하기</a>
</td>
</tr>
<?php } ?>
+17 -1
View File
@@ -18,6 +18,18 @@ check_admin_token();
if ($co_himg_del) @unlink(G5_DATA_PATH."/content/{$co_id}_h");
if ($co_timg_del) @unlink(G5_DATA_PATH."/content/{$co_id}_t");
$error_msg = '';
if( $co_include_head && ! is_include_path_check($co_include_head) ){
$co_include_head = '';
$error_msg = '/data/file/ 또는 /data/editor/ 포함된 문자를 상단 파일 경로에 포함시킬수 없습니다.';
}
if( $co_include_tail && ! is_include_path_check($co_include_tail) ){
$co_include_tail = '';
$error_msg = '/data/file/ 또는 /data/editor/ 포함된 문자를 하단 파일 경로에 포함시킬수 없습니다.';
}
$sql_common = " co_include_head = '$co_include_head',
co_include_tail = '$co_include_tail',
co_html = '$co_html',
@@ -74,7 +86,11 @@ if ($w == "" || $w == "u")
@chmod($dest_path, G5_FILE_PERMISSION);
}
goto_url("./contentform.php?w=u&amp;co_id=$co_id");
if( $error_msg ){
alert($error_msg, "./contentform.php?w=u&amp;co_id=$co_id");
} else {
goto_url("./contentform.php?w=u&amp;co_id=$co_id");
}
}
else
{
+1
View File
@@ -311,6 +311,7 @@ tfoot td {font-weight:bold;text-align:center}
#menu_frm #menu_result {margin:20px 0}
#menulist .sub_menu_class {padding-left:25px;background:url('../img/sub_menu_ico.gif') 5px 15px no-repeat}
.exist_menu_link {font-weight:bold;color:red}
/* 회원관리 목록 */
.mb_leave_msg {color:#b6b6b6}
+2
View File
@@ -7,6 +7,8 @@ auth_check($auth[$sub_menu], "w");
$html_title = 'FAQ';
$fm_id = preg_replace('/[^0-9]/', '', $fm_id);
if ($w == "u")
{
$html_title .= ' 수정';
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 18 KiB

+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200100";
include_once("./_common.php");
+6 -1
View File
@@ -126,6 +126,11 @@ if(!isset($mb['mb_dupinfo'])) {
sql_query(" ALTER TABLE {$g5['member_table']} ADD `mb_dupinfo` varchar(255) NOT NULL DEFAULT '' AFTER `mb_adult` ", false);
}
// 이메일인증 체크 필드추가
if(!isset($mb['mb_email_certify2'])) {
sql_query(" ALTER TABLE {$g5['member_table']} ADD `mb_email_certify2` varchar(255) NOT NULL DEFAULT '' AFTER `mb_email_certify` ", false);
}
if ($mb['mb_intercept_date']) $g5['title'] = "차단된 ";
else $g5['title'] .= "";
$g5['title'] .= '회원 '.$html_title;
@@ -213,7 +218,7 @@ add_javascript(G5_POSTCODE_JS, 0); //다음 주소 js
</td>
</tr>
<tr>
<th scope="row"><label for="mb_zip1">주소</label></th>
<th scope="row">주소</th>
<td colspan="3" class="td_addr_line">
<label for="mb_zip" class="sound_only">우편번호</label>
<input type="text" name="mb_zip" value="<?php echo $mb['mb_zip1'].$mb['mb_zip2']; ?>" id="mb_zip" class="frm_input readonly" size="5" maxlength="6">
+4
View File
@@ -95,6 +95,10 @@ else if ($w == 'u')
if ($is_admin != 'super' && $mb['mb_level'] >= $member['mb_level'])
alert('자신보다 권한이 높거나 같은 회원은 수정할 수 없습니다.');
if ($is_admin !== 'super' && is_admin($mb['mb_id']) === 'super' ) {
alert('최고관리자의 비밀번호를 수정할수 없습니다.');
}
if ($_POST['mb_id'] == $member['mb_id'] && $_POST['mb_level'] != $mb['mb_level'])
alert($mb['mb_id'].' : 로그인 중인 관리자 레벨은 수정 할 수 없습니다.');
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200100";
include_once("./_common.php");
+47 -3
View File
@@ -43,13 +43,57 @@ $(function() {
"./menu_form_search.php"
);
$("#me_type").on("change", function() {
var type = $(this).val();
function link_checks_all_chage(){
var $links = $(opener.document).find("#menulist input[name='me_link[]']"),
$o_link = $(".td_mngsmall input[name='link[]']"),
hrefs = [],
menu_exist = false;
if( $links.length ){
$links.each(function( index ) {
hrefs.push( $(this).val() );
});
$o_link.each(function( index ) {
if( $.inArray( $(this).val(), hrefs ) != -1 ){
$(this).closest("tr").find("td:eq( 0 )").addClass("exist_menu_link");
menu_exist = true;
}
});
}
if( menu_exist ){
$(".menu_exists_tip").show();
} else {
$(".menu_exists_tip").hide();
}
}
function menu_result_change( type ){
var dfd = new $.Deferred();
$("#menu_result").empty().load(
"./menu_form_search.php",
{ type : type }
{ type : type },
function(){
dfd.resolve('Finished');
}
);
return dfd.promise();
}
$("#me_type").on("change", function() {
var type = $(this).val();
var promise = menu_result_change( type );
promise.done(function(message) {
link_checks_all_chage(type);
});
});
$(document).on("click", "#add_manual", function() {
+17 -2
View File
@@ -11,7 +11,7 @@ switch($type) {
order by gr_order, gr_id ";
break;
case 'board':
$sql = " select bo_table as id, bo_subject as subject
$sql = " select bo_table as id, bo_subject as subject, gr_id
from {$g5['board_table']}
order by bo_order, bo_table ";
break;
@@ -32,13 +32,18 @@ if($sql) {
for($i=0; $row=sql_fetch_array($result); $i++) {
if($i == 0) {
$bbs_subject_title = ($type == 'board') ? '게시판제목' : '제목';
?>
<div class="tbl_head01 tbl_wrap">
<table>
<thead>
<tr>
<th scope="col">제목</th>
<th scope="col"><?php echo $bbs_subject_title; ?></th>
<?php if($type == 'board'){ ?>
<th scope="col">게시판 그룹</th>
<?php } ?>
<th scope="col">선택</th>
</tr>
</thead>
@@ -63,6 +68,12 @@ if($sql) {
<tr>
<td><?php echo $row['subject']; ?></td>
<?php
if($type == 'board'){
$group = get_call_func_cache('get_group', array($row['gr_id']));
?>
<td><?php echo $group['gr_subject']; ?></td>
<?php } ?>
<td class="td_mngsmall">
<input type="hidden" name="subject[]" value="<?php echo preg_replace('/[\'\"]/', '', $row['subject']); ?>">
<input type="hidden" name="link[]" value="<?php echo $link; ?>">
@@ -76,6 +87,10 @@ if($sql) {
</table>
</div>
<div class="local_desc01 menu_exists_tip" style="display:none">
<p>* <strong>빨간색</strong>의 제목은 이미 메뉴에 연결되어 경우 표시됩니다.</p>
</div>
<div class="btn_win02 btn_win">
<button type="button" class="btn_cancel" onclick="window.close();">창닫기</button>
</div>
+2
View File
@@ -5,6 +5,8 @@ include_once(G5_EDITOR_LIB);
auth_check($auth[$sub_menu], "w");
$nw_id = preg_replace('/[^0-9]/', '', $nw_id);
$html_title = "팝업레이어";
if ($w == "u")
{
+2 -2
View File
@@ -4,8 +4,8 @@ include_once('./_common.php');
auth_check($auth[$sub_menu], 'r');
if (empty($fr_date)) $fr_date = G5_TIME_YMD;
if (empty($to_date)) $to_date = G5_TIME_YMD;
if (empty($fr_date) || ! preg_match("/^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/", $fr_date) ) $fr_date = G5_TIME_YMD;
if (empty($to_date) || ! preg_match("/^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/", $to_date) ) $to_date = G5_TIME_YMD;
$qstr = "fr_date={$fr_date}{&amp;to_date}={$to_date}";
+19 -3
View File
@@ -8,6 +8,18 @@ auth_check($auth[$sub_menu], 'w');
check_admin_token();
$error_msg = '';
if( $qa_include_head && ! is_include_path_check($qa_include_head) ){
$qa_include_head = '';
$error_msg = '/data/file/ 또는 /data/editor/ 포함된 문자를 상단 파일 경로에 포함시킬수 없습니다.';
}
if( $qa_include_tail && ! is_include_path_check($qa_include_tail) ){
$qa_include_tail = '';
$error_msg = '/data/file/ 또는 /data/editor/ 포함된 문자를 하단 파일 경로에 포함시킬수 없습니다.';
}
$sql = " update {$g5['qa_config_table']}
set qa_title = '{$_POST['qa_title']}',
qa_category = '{$_POST['qa_category']}',
@@ -29,8 +41,8 @@ $sql = " update {$g5['qa_config_table']}
qa_image_width = '{$_POST['qa_image_width']}',
qa_upload_size = '{$_POST['qa_upload_size']}',
qa_insert_content = '{$_POST['qa_insert_content']}',
qa_include_head = '{$_POST['qa_include_head']}',
qa_include_tail = '{$_POST['qa_include_tail']}',
qa_include_head = '{$qa_include_head}',
qa_include_tail = '{$qa_include_tail}',
qa_content_head = '{$_POST['qa_content_head']}',
qa_content_tail = '{$_POST['qa_content_tail']}',
qa_mobile_content_head = '{$_POST['qa_mobile_content_head']}',
@@ -47,5 +59,9 @@ $sql = " update {$g5['qa_config_table']}
qa_5 = '{$_POST['qa_5']}' ";
sql_query($sql);
goto_url('./qa_config.php');
if($error_msg){
alert($error_msg, './qa_config.php');
} else {
goto_url('./qa_config.php');
}
?>
+5 -5
View File
@@ -19,9 +19,9 @@ include_once('./admin.head.php');
<p>정보통신망법 23조 2항(주민등록번호의 사용제한)에 따라 기존 주민등록번호 기반의 인증서비스 이용이 불가합니다. 주민등록번호 대체수단으로 최소한의 정보(생년월일, 휴대폰번호, 성별)를 입력받아 본인임을 확인하는 인증수단 입니다</p>
<ul>
<li><a href="http://sir.co.kr/main/service/p_cert.php" target="_blank"><img src="<?php echo G5_ADMIN_URL ?>/img/svc_btn_01.jpg" alt="KCP 휴대폰 본인확인 신청하기"></a></li>
<li><a href="http://sir.co.kr/main/service/lg_cert.php" target="_blank"><img src="<?php echo G5_ADMIN_URL ?>/img/svc_btn_02.jpg" alt="LG유플러스 휴대폰대체인증 신청하기"></a></li>
<li class="last"><a href="http://sir.co.kr/main/service/b_cert.php" target="_blank"><img src="<?php echo G5_ADMIN_URL ?>/img/svc_btn_03.jpg" alt="OKname 휴대폰 본인확인 신청하기"></a></li>
<li><a href="http://sir.kr/main/service/p_cert.php" target="_blank"><img src="<?php echo G5_ADMIN_URL ?>/img/svc_btn_01.jpg" alt="KCP 휴대폰 본인확인 신청하기"></a></li>
<li><a href="http://sir.kr/main/service/lg_cert.php" target="_blank"><img src="<?php echo G5_ADMIN_URL ?>/img/svc_btn_02.jpg" alt="LG유플러스 휴대폰대체인증 신청하기"></a></li>
<li class="last"><a href="http://sir.kr/main/service/b_cert.php" target="_blank"><img src="<?php echo G5_ADMIN_URL ?>/img/svc_btn_03.jpg" alt="OKname 휴대폰 본인확인 신청하기"></a></li>
</ul>
</div>
<div class="sevice_1">
@@ -30,7 +30,7 @@ include_once('./admin.head.php');
<p>정부가 주관하는 주민등록번호 대체 수단으로 본인의 개인정보를 아이핀 사이트에 한번만 발급해 놓고, 이후부터는 아이디와 패스워드 만으로
본인임을 확인하는 인증수단 입니다.</p>
<h4><a href="http://sir.co.kr/main/service/b_ipin.php" target="_blank"><img src="<?php echo G5_ADMIN_URL ?>/img/svc_btn_04.jpg" alt="OKname 아이핀 본인확인 신청하기"></a></h4>
<h4><a href="http://sir.kr/main/service/b_ipin.php" target="_blank"><img src="<?php echo G5_ADMIN_URL ?>/img/svc_btn_04.jpg" alt="OKname 아이핀 본인확인 신청하기"></a></h4>
</div>
<div class="sevice_2">
<div class="svc_sms">
@@ -40,7 +40,7 @@ include_once('./admin.head.php');
</div>
<div class="svc_btn"><a href="http://icodekorea.com/res/join_company_fix_a.php?sellid=sir2" target="_blank"><img src="<?php echo G5_ADMIN_URL ?>/img/svc_btn_05.jpg" alt="아이코드 SMS 서비스 신청하기"></a></div>
</div>
</div>
</div>
+6
View File
@@ -12,5 +12,11 @@ if (!strstr($_SERVER['SCRIPT_NAME'], 'install.php')) {
//$sms5 = sql_fetch("select * from ".$g5['sms5_config_table'] );
}
$sv = isset($_REQUEST['sv']) ? get_search_string($_REQUEST['sv']) : '';
if( isset($token) ){
$token = @htmlspecialchars(strip_tags($token), ENT_QUOTES);
}
add_stylesheet('<link rel="stylesheet" href="'.G5_SMS5_ADMIN_URL.'/css/sms5.css">', 0);
?>
+1 -1
View File
@@ -83,7 +83,7 @@ if ($config['cf_sms_use'] == 'icode') { // 아이코드 사용
<th scope="row">충전 잔액</th>
<td>
<?php echo number_format($userinfo['coin'])?> 원
<input type="button" value="충전하기" class="btn_frmline" onclick="window.open('http://icodekorea.com/company/credit_card_input.php?icode_id=<?php echo $config['cf_icode_id']?>&icode_passwd=<?php echo $config['cf_icode_pw']?>','icode_payment','width=650,height=500')">
<a href="http://www.icodekorea.com/smsbiz/credit_card_amt.php?icode_id=<?php echo $config['cf_icode_id']; ?>&amp;icode_passwd=<?php echo $config['cf_icode_pw']; ?>" target="_blank" class="btn_frmline">충전하기</a>
</td>
</tr>
<?php } ?>
+6 -3
View File
@@ -18,6 +18,9 @@ if (is_numeric($fg_no))
else
$sql_group = "";
$st = clean_xss_tags($st);
$sv = clean_xss_tags($sv);
if ($st == 'all') {
$sql_search = "and (fo_name like '%{$sv}%' or fo_content like '%{$sv}%')";
} else if ($st == 'name') {
@@ -60,7 +63,7 @@ function book_all_checked(chk)
function book_del(fo_no)
{
if (confirm("한번 삭제한 자료는 복구할 방법이 없습니다.\n\n그래도 삭제하시겠습니까?"))
location.href = "./form_update.php?w=d&fo_no=" + fo_no + "&page=<?php echo $page?>&fg_no=<?php echo $fg_no?>&st=<?php echo $st?>&sv=<?php echo $sv?>";
location.href = "./form_update.php?w=d&fo_no=" + fo_no + "&page=<?php echo $page?>&fg_no=<?php echo $fg_no?>&st=<?php echo get_text($st); ?>&sv=<?php echo get_text($sv); ?>";
}
function multi_update(sel)
@@ -127,7 +130,7 @@ function multi_update(sel)
<option value="content"<?php echo get_selected('content', $st); ?>>이모티콘</option>
</select>
<label for="sv" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
<input type="text" name="sv" value="<?php echo $sv;?>" id="sv" required class="frm_input required" >
<input type="text" name="sv" value="<?php echo get_text($sv) ;?>" id="sv" required class="frm_input required" >
<input type="submit" value="검색" class="btn_submit">
</form>
</div>
@@ -181,7 +184,7 @@ function multi_update(sel)
<span class="sound_only">등록 </span><?php echo date('Y-m-d', strtotime($res['fo_datetime']))?>
</div>
<div class="li_cmd">
<a href="./form_write.php?w=u&amp;fo_no=<?php echo $res['fo_no']?>&amp;page=<?php echo $page;?>&amp;fg_no=<?php echo $fg_no;?>&amp;st=<?php echo $st;?>&amp;sv=<?php echo $sv;?>">수정</a>
<a href="./form_write.php?w=u&amp;fo_no=<?php echo $res['fo_no']?>&amp;page=<?php echo $page;?>&amp;fg_no=<?php echo $fg_no;?>&amp;st=<?php echo get_text($st);?>&amp;sv=<?php echo get_text($sv);?>">수정</a>
<a href="javascript:void(book_del('<?php echo $res['fo_no']?>'));">삭제</a>
<a href="./sms_write.php?fo_no=<?php echo $res['fo_no']?>">보내기</a>
</div>
+2 -2
View File
@@ -5,8 +5,8 @@ include_once(G5_LIB_PATH.'/visit.lib.php');
include_once('./admin.head.php');
include_once(G5_PLUGIN_PATH.'/jquery-ui/datepicker.php');
if (empty($fr_date)) $fr_date = G5_TIME_YMD;
if (empty($to_date)) $to_date = G5_TIME_YMD;
if (empty($fr_date) || ! preg_match("/^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/", $fr_date) ) $fr_date = G5_TIME_YMD;
if (empty($to_date) || ! preg_match("/^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/", $to_date) ) $to_date = G5_TIME_YMD;
$qstr = "fr_date=".$fr_date."&amp;to_date=".$to_date;
$query_string = $qstr ? '?'.$qstr : '';
+1
View File
@@ -71,6 +71,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
</tr>
<?php
$i++;
}
} else {
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
+1
View File
@@ -72,6 +72,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
</tr>
<?php
$i++;
}
+1 -1
View File
@@ -44,7 +44,7 @@ $listall = '<a href="'.$_SERVER['SCRIPT_NAME'].'">처음</a>'; //페이지 처
<?php
$sql_common = " from {$g5['visit_table']} ";
if ($sfl) {
if($sst=='vi_ip' || $sst=='vi_date'){
if($sfl=='vi_ip' || $sfl=='vi_date'){
$sql_search = " where $sfl like '$stx%' ";
}else{
$sql_search = " where $sfl like '%$stx%' ";
+8 -8
View File
@@ -14,7 +14,7 @@ add_javascript('<script src="'.G5_PLUGIN_URL.'/jqplot/plugins/jqplot.categoryAxi
add_javascript('<script src="'.G5_PLUGIN_URL.'/jqplot/plugins/jqplot.pointLabels.min.js"></script>', 0);
add_javascript('<!--[if lt IE 9]><script src="'.G5_PLUGIN_URL.'/jqplot/excanvas.js"></script><![endif]-->', 0);
if (!($graph == 'line' || $graph == 'bar'))
if (!($graph == 'line' || $graph == 'bar'))
$graph = 'line';
if ($graph == 'bar') {
@@ -49,7 +49,7 @@ foreach($period_array as $key=>$value) {
break;
}
}
if (!$is_period)
if (!$is_period)
$period = '오늘';
$day = $period_array[$period][0];
@@ -64,15 +64,15 @@ if ($period == '오늘') {
$from = $yesterday;
$to = $from;
} else if ($period == '내일') {
$from = date('Y-m-d', G5_SERVER_TIME + (86400 * 2));
$from = date('Y-m-d', G5_SERVER_TIME + (86400 * 2));
$to = $from;
} else {
$from = date('Y-m-d', G5_SERVER_TIME - (86400 * $period_array[$period][1]));
$from = date('Y-m-d', G5_SERVER_TIME - (86400 * $period_array[$period][1]));
$to = $yesterday;
}
$sql_bo_table = '';
if ($bo_table)
if ($bo_table)
$sql_bo_table = "and bo_table = '$bo_table'";
switch ($day) {
@@ -130,7 +130,7 @@ switch ($day) {
<form>
<select name="bo_table">
<option value="">전체게시판</a>
<?php
<?php
$sql = " select bo_table, bo_subject from {$g5['board_table']} order by bo_count_write desc ";
$result = sql_query($sql);
for($i=0; $row=sql_fetch_array($result); $i++) {
@@ -179,7 +179,7 @@ $(document).ready(function(){
var line1 = [<?php echo implode($line1, ','); ?>];
var line2 = [<?php echo implode($line2, ','); ?>];
var plot1 = $.jqplot ('chart1', [line1, line2], {
seriesDefaults: {
seriesDefaults: {
<?php if ($graph == 'bar') { ?>
renderer:$.jqplot.BarRenderer,
<?php } ?>
@@ -205,6 +205,6 @@ $(document).ready(function(){
}
?>
<?
<?php
include_once ('./admin.tail.php');
?>
+14
View File
@@ -0,0 +1,14 @@
<?php
include_once('./_common.php');
include_once(G5_LIB_PATH.'/json.lib.php');
$ss_name = 'ss_comment_token';
set_session($ss_name, '');
$token = _token();
set_session($ss_name, $token);
die(json_encode(array('token'=>$token)));
?>
+2
View File
@@ -33,6 +33,8 @@ $msg2 = str_replace("\\n", "<br>", $msg);
$url = clean_xss_tags($url);
if (!$url) $url = clean_xss_tags($_SERVER['HTTP_REFERER']);
$url = preg_replace("/[\<\>\'\"\\\'\\\"\(\)]/", "", $url);
// url 체크
check_url_host($url);
+5 -1
View File
@@ -7,7 +7,11 @@ if (G5_IS_MOBILE) {
include_once(G5_BBS_PATH.'/_head.php');
echo stripslashes($board['bo_mobile_content_head']);
} else {
@include ($board['bo_include_head']);
if(is_include_path_check($board['bo_include_head'])) { //파일경로 체크
@include ($board['bo_include_head']);
} else { //파일경로가 올바르지 않으면 기본파일을 가져옴
include_once(G5_BBS_PATH.'/_head.php');
}
echo stripslashes($board['bo_content_head']);
}
?>
+5 -1
View File
@@ -8,6 +8,10 @@ if (G5_IS_MOBILE) {
include_once(G5_BBS_PATH.'/_tail.php');
} else {
echo stripslashes($board['bo_content_tail']);
@include ($board['bo_include_tail']);
if(is_include_path_check($board['bo_include_tail'])) { //파일경로 체크
@include ($board['bo_include_tail']);
} else { //파일경로가 올바르지 않으면 기본파일을 가져옴
include_once(G5_BBS_PATH.'/_tail.php');
}
}
?>
+2 -2
View File
@@ -19,7 +19,7 @@ if (!$co['co_id'])
$g5['title'] = $co['co_subject'];
if ($co['co_include_head'])
if ($co['co_include_head'] && is_include_path_check($co['co_include_head']))
@include_once($co['co_include_head']);
else
include_once('./_head.php');
@@ -85,7 +85,7 @@ if(is_file($skin_file)) {
echo '<p>'.str_replace(G5_PATH.'/', '', $skin_file).'이 존재하지 않습니다.</p>';
}
if ($co['co_include_tail'])
if ($co['co_include_tail'] && is_include_path_check($co['co_include_tail']))
@include_once($co['co_include_tail']);
else
include_once('./_tail.php');
+6 -6
View File
@@ -1,11 +1,11 @@
<?php
include_once('./_common.php');
if ($is_admin)
{
if (!($token && get_session('ss_delete_token') == $token))
alert('토큰 에러로 삭제 불가합니다.');
}
$delete_token = get_session('ss_delete_token');
set_session('ss_delete_token', '');
if (!($token && $delete_token == $token))
alert('토큰 에러로 삭제 불가합니다.');
//$wr = sql_fetch(" select * from $write_table where wr_id = '$wr_id' ");
@@ -134,5 +134,5 @@ if ($count_write > 0 || $count_comment > 0)
delete_cache_latest($bo_table);
goto_url('./board.php?bo_table='.$bo_table.'&amp;page='.$page.$qstr);
goto_url(G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&amp;page='.$page.$qstr);
?>
+1 -1
View File
@@ -156,5 +156,5 @@ if ($count_write > 0 || $count_comment > 0)
delete_cache_latest($bo_table);
goto_url('./board.php?bo_table='.$bo_table.'&amp;page='.$page.$qstr);
goto_url(G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&amp;page='.$page.$qstr);
?>
+6 -6
View File
@@ -2,11 +2,11 @@
// 코멘트 삭제
include_once('./_common.php');
if ($is_admin)
{
if (!($token && get_session("ss_delete_token") == $token))
alert('토큰 에러로 삭제 불가합니다.');
}
$delete_comment_token = get_session('ss_delete_comment_'.$comment_id.'_token');
set_session('ss_delete_comment_'.$comment_id.'_token', '');
if (!($token && $delete_comment_token == $token))
alert('토큰 에러로 삭제 불가합니다.');
// 4.1
@include_once($board_skin_path.'/delete_comment.head.skin.php');
@@ -84,5 +84,5 @@ sql_query(" delete from {$g5['board_new_table']} where bo_table = '{$bo_table}'
delete_cache_latest($bo_table);
goto_url('./board.php?bo_table='.$bo_table.'&amp;wr_id='.$write['wr_parent'].'&amp;page='.$page. $qstr);
goto_url(G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&amp;wr_id='.$write['wr_parent'].'&amp;page='.$page. $qstr);
?>
+12 -3
View File
@@ -1,20 +1,29 @@
<?php
include_once('./_common.php');
$sql = " select mb_id, mb_email, mb_datetime from {$g5['member_table']} where mb_id = '{$mb_id}' ";
$mb_id = trim($_GET['mb_id']);
$mb_md5 = trim($_GET['mb_md5']);
$sql = " select mb_id, mb_email_certify2 from {$g5['member_table']} where mb_id = '{$mb_id}' ";
$row = sql_fetch($sql);
if (!$row['mb_id'])
alert('존재하는 회원이 아닙니다.', G5_URL);
// 인증 링크는 한번만 처리가 되게 한다.
sql_query(" update {$g5['member_table']} set mb_email_certify2 = '' where mb_id = '$mb_id' ");
if ($mb_md5)
{
$tmp_md5 = md5($row['mb_id'].$row['mb_email'].$row['mb_datetime']);
if ($mb_md5 == $tmp_md5)
if ($mb_md5 == $row['mb_email_certify2'])
{
sql_query(" update {$g5['member_table']} set mb_email_certify = '".G5_TIME_YMDHIS."' where mb_id = '{$mb_id}' ");
alert("메일인증 처리를 완료 하였습니다.\\n\\n지금부터 {$mb_id} 아이디로 로그인 가능합니다.", G5_URL);
}
else
{
alert('메일인증 요청 정보가 올바르지 않습니다.', G5_URL);
}
}
alert('제대로 된 값이 넘어오지 않았습니다.', G5_URL);
+10 -1
View File
@@ -28,8 +28,17 @@ if ($sendmail_count > 3)
$g5['title'] = '메일 쓰기';
include_once(G5_PATH.'/head.sub.php');
$email_enc = new str_encrypt();
$email_dec = $email_enc->decrypt($email);
$email = get_email_address($email_dec);
if(!$email)
alert_close('이메일이 올바르지 않습니다.');
$email = $email_enc->encrypt($email);
if (!$name)
$name = base64_decode($email);
$name = $email;
else
$name = get_text(stripslashes($name), true);
+2 -1
View File
@@ -9,7 +9,8 @@ if (!$config['cf_email_use'])
if (!$is_member && $config['cf_formmail_is_member'])
alert_close('회원만 이용하실 수 있습니다.');
$to = base64_decode($to);
$email_enc = new str_encrypt();
$to = $email_enc->decrypt($to);
if (substr_count($to, "@") > 1)
alert_close('한번에 한사람에게만 메일을 발송할 수 있습니다.');
+1 -1
View File
@@ -46,7 +46,7 @@ if ($sca || $stx) {
$sql_search .= " and (wr_num between {$spt} and ({$spt} + {$config['cf_search_part']})) ";
// 원글만 얻는다. (코멘트의 내용도 검색하기 위함)
// 라엘님 제안 코드로 대체 http://sir.co.kr/bbs/board.php?bo_table=g5_bug&wr_id=2922
// 라엘님 제안 코드로 대체 http://sir.kr/g5_bug/2922
$sql = " SELECT COUNT(DISTINCT `wr_parent`) AS `cnt` FROM {$write_table} WHERE {$sql_search} ";
$row = sql_fetch($sql);
$total_count = $row['cnt'];
+2 -1
View File
@@ -31,7 +31,8 @@ if ($mb['mb_leave_date'] && $mb['mb_leave_date'] <= date("Ymd", G5_SERVER_TIME))
}
if ($config['cf_use_email_certify'] && !preg_match("/[1-9]/", $mb['mb_email_certify'])) {
confirm("{$mb['mb_email']} 메일로 메일인증을 받으셔야 로그인 가능합니다. 다른 메일주소로 변경하여 인증하시려면 취소를 클릭하시기 바랍니다.", G5_URL, G5_BBS_URL.'/register_email.php?mb_id='.$mb_id);
$ckey = md5($mb['mb_ip'].$mb['mb_datetime']);
confirm("{$mb['mb_email']} 메일로 메일인증을 받으셔야 로그인 가능합니다. 다른 메일주소로 변경하여 인증하시려면 취소를 클릭하시기 바랍니다.", G5_URL, G5_BBS_URL.'/register_email.php?mb_id='.$mb_id.'&ckey='.$ckey);
}
@include_once($member_skin_path.'/login_check.skin.php');
+2
View File
@@ -19,6 +19,8 @@ $url = clean_xss_tags($_GET['url']);
// url 체크
check_url_host($url);
$url = get_text($url);
include_once($member_skin_path.'/member_confirm.skin.php');
include_once('./_tail.sub.php');
+2
View File
@@ -19,6 +19,8 @@ $save_count_write = 0;
$save_count_comment = 0;
$cnt = 0;
$wr_id_list = preg_replace('/[^0-9\,]/', '', $_POST['wr_id_list']);
$sql = " select distinct wr_num from $write_table where wr_id in ({$wr_id_list}) order by wr_id ";
$result = sql_query($sql);
while ($row = sql_fetch_array($result))
+14 -12
View File
@@ -5,34 +5,36 @@ $g5['title'] = '비밀번호 입력';
switch ($w) {
case 'u' :
$action = './write.php';
$return_url = './board.php?bo_table='.$bo_table.'&amp;wr_id='.$wr_id;
$action = G5_HTTP_BBS_URL.'/write.php';
$return_url = G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&amp;wr_id='.$wr_id;
break;
case 'd' :
$action = './delete.php';
$return_url = './board.php?bo_table='.$bo_table.'&amp;wr_id='.$wr_id;
set_session('ss_delete_token', $token = uniqid(time()));
$action = https_url(G5_BBS_DIR).'/delete.php?token='.$token;
$return_url = G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&amp;wr_id='.$wr_id;
break;
case 'x' :
$action = './delete_comment.php';
set_session('ss_delete_comment_'.$comment_id.'_token', $token = uniqid(time()));
$action = https_url(G5_BBS_DIR).'/delete_comment.php?token='.$token;
$row = sql_fetch(" select wr_parent from $write_table where wr_id = '$comment_id' ");
$return_url = './board.php?bo_table='.$bo_table.'&amp;wr_id='.$row['wr_parent'];
$return_url = G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&amp;wr_id='.$row['wr_parent'];
break;
case 's' :
// 비밀번호 창에서 로그인 하는 경우 관리자 또는 자신의 글이면 바로 글보기로 감
if ($is_admin || ($member['mb_id'] == $write['mb_id'] && $write['mb_id']))
goto_url('./board.php?bo_table='.$bo_table.'&amp;wr_id='.$wr_id);
goto_url(G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&amp;wr_id='.$wr_id);
else {
$action = './password_check.php';
$return_url = './board.php?bo_table='.$bo_table;
$action = https_url(G5_BBS_DIR).'/password_check.php';
$return_url = G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table;
}
break;
case 'sc' :
// 비밀번호 창에서 로그인 하는 경우 관리자 또는 자신의 글이면 바로 글보기로 감
if ($is_admin || ($member['mb_id'] == $write['mb_id'] && $write['mb_id']))
goto_url('./board.php?bo_table='.$bo_table.'&amp;wr_id='.$wr_id);
goto_url(G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&amp;wr_id='.$wr_id);
else {
$action = './password_check.php';
$return_url = './board.php?bo_table='.$bo_table.'&amp;wr_id='.$wr_id;
$action = https_url(G5_BBS_DIR).'/password_check.php';
$return_url = G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&amp;wr_id='.$wr_id;
}
break;
default :
+1 -1
View File
@@ -31,5 +31,5 @@ if ($w == 's') {
} else
alert('w 값이 제대로 넘어오지 않았습니다.');
goto_url('./board.php?'.$qstr);
goto_url(G5_HTTP_BBS_URL.'/board.php?'.$qstr);
?>
+4
View File
@@ -29,6 +29,10 @@ for($i=0; $i<$count; $i++) {
if($is_admin != 'super' && $row['mb_id'] != $member['mb_id'])
continue;
// 답변이 달린 글은 삭제못함
if($is_admin != 'super' && !$row['qa_type'] && $row['qa_status'])
continue;
// 첨부파일 삭제
for($k=1; $k<=2; $k++) {
@unlink(G5_DATA_PATH.'/qa/'.$row['qa_file'.$k]);
+1 -1
View File
@@ -9,7 +9,7 @@ if (G5_IS_MOBILE) {
include_once('./_head.php');
echo conv_content($qaconfig['qa_mobile_content_head'], 1);
} else {
if($qaconfig['qa_include_head'])
if($qaconfig['qa_include_head'] && is_include_path_check($qaconfig['qa_include_head']))
@include ($qaconfig['qa_include_head']);
else
include ('./_head.php');
+1 -1
View File
@@ -110,7 +110,7 @@ if(is_file($skin_file)) {
$list_href = G5_BBS_URL.'/qalist.php';
$write_href = G5_BBS_URL.'/qawrite.php';
$list_pages = preg_replace('/(\.php)(&amp;|&)/i', '$1?', get_paging(G5_IS_MOBILE ? $qaconfig['qa_mobile_page_rows'] : $qaconfig['qa_page_rows'], $page, $total_page, './qalist.php'.$qstr.'&amp;page='));
$list_pages = preg_replace('/(\.php)(&amp;|&)/i', '$1?', get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, './qalist.php'.$qstr.'&amp;page='));
$stx = get_text(stripslashes($stx));
include_once($skin_file);
+1 -1
View File
@@ -7,7 +7,7 @@ if (G5_IS_MOBILE) {
include_once('./_tail.php');
} else {
echo conv_content($qaconfig['qa_content_tail'], 1);
if($qaconfig['qa_include_tail'])
if($qaconfig['qa_include_tail'] && is_include_path_check($qaconfig['qa_include_tail']))
@include ($qaconfig['qa_include_tail']);
else
include ('./_tail.php');
+4 -1
View File
@@ -76,7 +76,10 @@ if(is_file($skin_file)) {
$content .= get_text($write['qa_content'], 0);
} else {
$content = get_text($write['qa_content'], 0);
//$content = get_text($write['qa_content'], 0);
// KISA 취약점 권고사항 Stored XSS
$content = get_text(html_purifier($write['qa_content']), 0);
}
$editor_html = editor_html('qa_content', $content, $is_dhtml_editor);
+28 -9
View File
@@ -15,16 +15,23 @@ $msg = array();
// 1:1문의 설정값
$qaconfig = get_qa_config();
if(trim($qaconfig['qa_category'])) {
if($w != 'a') {
$category = explode('|', $qaconfig['qa_category']);
if(!in_array($qa_category, $category))
alert('분류를 올바르게 지정해 주십시오.');
}
} else {
alert('1:1문의 설정에서 분류를 설정해 주십시오');
}
// e-mail 체크
if(isset($_POST['qa_email']) && $qa_email) {
$qa_email = '';
if(isset($_POST['qa_email']) && $_POST['qa_email'])
$qa_email = get_email_address(trim($_POST['qa_email']));
if($qaconfig['qa_req_email'] && !$qa_email)
$msg[] = '이메일을 입력하세요.';
if (!preg_match("/([0-9a-zA-Z_-]+)@([0-9a-zA-Z_-]+)\.([0-9a-zA-Z_-]+)/", $qa_email))
$msg[] = '이메일 주소가 형식에 맞지 않습니다.';
}
if($w != 'a' && $qaconfig['qa_req_email'] && !$qa_email)
$msg[] = '이메일을 입력하세요.';
$qa_subject = '';
if (isset($_POST['qa_subject'])) {
@@ -105,6 +112,18 @@ if($w == 'u' || $w == 'a' || $w == 'r') {
}
}
// 파일개수 체크
$file_count = 0;
$upload_count = count($_FILES['bf_file']['name']);
for ($i=1; $i<=$upload_count; $i++) {
if($_FILES['bf_file']['name'][$i] && is_uploaded_file($_FILES['bf_file']['tmp_name'][$i]))
$file_count++;
}
if($file_count > 2)
alert('첨부파일을 2개 이하로 업로드 해주십시오.');
// 디렉토리가 없다면 생성합니다. (퍼미션도 변경하구요.)
@mkdir(G5_DATA_PATH.'/qa', G5_DIR_PERMISSION);
@chmod(G5_DATA_PATH.'/qa', G5_DIR_PERMISSION);
@@ -403,7 +422,7 @@ if($w == 'a' && $write['qa_email_recv'] && trim($write['qa_email'])) {
include_once(G5_LIB_PATH.'/mailer.lib.php');
$subject = $config['cf_title'].' '.$qaconfig['qa_title'].' 답변 알림 메일';
$content = nl2br(conv_unescape_nl($qa_content));
$content = nl2br(conv_unescape_nl(stripslashes($qa_content)));
mailer($config['cf_admin_email_name'], $config['cf_admin_email'], $write['qa_email'], $subject, $content, 1);
}
@@ -413,7 +432,7 @@ if(($w == '' || $w == 'r') && trim($qaconfig['qa_admin_email'])) {
include_once(G5_LIB_PATH.'/mailer.lib.php');
$subject = $config['cf_title'].' '.$qaconfig['qa_title'].' 질문 알림 메일';
$content = nl2br(conv_unescape_nl($qa_content));
$content = nl2br(conv_unescape_nl(stripslashes($qa_content)));
mailer($config['cf_admin_email_name'], $qa_email, $qaconfig['qa_admin_email'], $subject, $content, 1);
}
+7 -1
View File
@@ -6,11 +6,17 @@ $g5['title'] = '메일인증 메일주소 변경';
include_once('./_head.php');
$mb_id = substr(clean_xss_tags($_GET['mb_id']), 0, 20);
$sql = " select mb_email, mb_datetime, mb_email_certify from {$g5['member_table']} where mb_id = '{$mb_id}' ";
$sql = " select mb_email, mb_datetime, mb_ip, mb_email_certify from {$g5['member_table']} where mb_id = '{$mb_id}' ";
$mb = sql_fetch($sql);
if (substr($mb['mb_email_certify'],0,1)!=0) {
alert("이미 메일인증 하신 회원입니다.", G5_URL);
}
$ckey = trim($_GET['ckey']);
$key = md5($mb['mb_ip'].$mb['mb_datetime']);
if(!$ckey || $ckey != $key)
alert('올바른 방법으로 이용해 주십시오.', G5_URL);
?>
<p class="rg_em_p">메일인증을 받지 못한 경우 회원정보의 메일주소를 변경 할 수 있습니다.</p>
+13 -6
View File
@@ -3,12 +3,15 @@ include_once('./_common.php');
include_once(G5_CAPTCHA_PATH.'/captcha.lib.php');
include_once(G5_LIB_PATH.'/mailer.lib.php');
$mb_id = trim($_POST['mb_id']);
$mb_email = trim($_POST['mb_email']);
$mb_id = substr(clean_xss_tags($_POST['mb_id']), 0, 20);
$mb_email = get_email_address(trim($_POST['mb_email']));
$sql = " select mb_name, mb_datetime from {$g5['member_table']} where mb_id = '{$mb_id}' and mb_email_certify <> '' ";
if(!$mb_id || !$mb_email)
alert('올바른 방법으로 이용해 주십시오.', G5_URL);
$sql = " select mb_name from {$g5['member_table']} where mb_id = '{$mb_id}' and substring(mb_email_certify, 1, 1) = '0' ";
$mb = sql_fetch($sql);
if ($mb) {
if (!$mb) {
alert("이미 메일인증 하신 회원입니다.", G5_URL);
}
@@ -26,8 +29,12 @@ if ($row['cnt']) {
$subject = '['.$config['cf_title'].'] 인증확인 메일입니다.';
$mb_name = $mb['mb_name'];
$mb_datetime = $mb['mb_datetime'] ? $mb['mb_datetime'] : G5_TIME_YMDHIS;
$mb_md5 = md5($mb_id.$mb_email.$mb_datetime);
// 어떠한 회원정보도 포함되지 않은 일회용 난수를 생성하여 인증에 사용
$mb_md5 = md5(pack('V*', rand(), rand(), rand(), rand()));
sql_query(" update {$g5['member_table']} set mb_email_certify2 = '$mb_md5' where mb_id = '$mb_id' ");
$certify_href = G5_BBS_URL.'/email_certify.php?mb_id='.$mb_id.'&amp;mb_md5='.$mb_md5;
ob_start();
+12 -5
View File
@@ -253,8 +253,12 @@ if ($w == '') {
if ($config['cf_email_mb_member']) {
$subject = '['.$config['cf_title'].'] 회원가입을 축하드립니다.';
$mb_md5 = md5($mb_id.$mb_email.G5_TIME_YMDHIS);
$certify_href = G5_BBS_URL.'/email_certify.php?mb_id='.$mb_id.'&amp;mb_md5='.$mb_md5;
// 어떠한 회원정보도 포함되지 않은 일회용 난수를 생성하여 인증에 사용
if ($config['cf_use_email_certify']) {
$mb_md5 = md5(pack('V*', rand(), rand(), rand(), rand()));
sql_query(" update {$g5['member_table']} set mb_email_certify2 = '$mb_md5' where mb_id = '$mb_id' ");
$certify_href = G5_BBS_URL.'/email_certify.php?mb_id='.$mb_id.'&amp;mb_md5='.$mb_md5;
}
ob_start();
include_once ('./register_form_update_mail1.php');
@@ -396,8 +400,11 @@ if (isset($_FILES['mb_icon']) && is_uploaded_file($_FILES['mb_icon']['tmp_name']
if ($config['cf_use_email_certify'] && $old_email != $mb_email) {
$subject = '['.$config['cf_title'].'] 인증확인 메일입니다.';
$mb_datetime = $member['mb_datetime'] ? $member['mb_datetime'] : G5_TIME_YMDHIS;
$mb_md5 = md5($mb_id.$mb_email.$mb_datetime);
// 어떠한 회원정보도 포함되지 않은 일회용 난수를 생성하여 인증에 사용
$mb_md5 = md5(pack('V*', rand(), rand(), rand(), rand()));
sql_query(" update {$g5['member_table']} set mb_email_certify2 = '$mb_md5' where mb_id = '$mb_id' ");
$certify_href = G5_BBS_URL.'/email_certify.php?mb_id='.$mb_id.'&amp;mb_md5='.$mb_md5;
ob_start();
@@ -405,7 +412,7 @@ if ($config['cf_use_email_certify'] && $old_email != $mb_email) {
$content = ob_get_contents();
ob_end_clean();
mailer($config['cf_title'], $config['cf_admin_email'], $mb_email, $subject, $content, 1);
mailer($config['cf_admin_email_name'], $config['cf_admin_email'], $mb_email, $subject, $content, 1);
}
+4
View File
@@ -10,6 +10,10 @@ if (!$is_member)
exit;
}
// 게시글 존재하는지
if(!$write['wr_id'])
alert_close('스크랩하시려는 게시글이 존재하지 않습니다.');
$sql = " select count(*) as cnt from {$g5['scrap_table']}
where mb_id = '{$member['mb_id']}'
and bo_table = '$bo_table'
+10 -6
View File
@@ -54,15 +54,19 @@ if ($stx) {
$g5_search['read_level'][] = $row['bo_read_level'];
}
$search_query = 'sfl='.urlencode($sfl).'&amp;stx='.urlencode($stx).'&amp;sop='.$sop;
$text_stx = get_text(stripslashes($stx));
$op1 = '';
// 검색어를 구분자로 나눈다. 여기서는 공백
$s = explode(' ', strip_tags($stx));
if( count($s) > 1 ){
$s = array_slice($s, 0, 2);
$stx = implode(' ', $s);
}
$text_stx = get_text(stripslashes($stx));
$search_query = 'sfl='.urlencode($sfl).'&amp;stx='.urlencode($stx).'&amp;sop='.$sop;
// 검색필드를 구분자로 나눈다. 여기서는 +
$field = explode('||', trim($sfl));
@@ -233,4 +237,4 @@ if (!$sop) $sop = 'or';
include_once($search_skin_path.'/search.skin.php');
include_once('./_tail.php');
?>
?>
+2 -6
View File
@@ -72,12 +72,8 @@ $update_href = $delete_href = '';
// 로그인중이고 자신의 글이라면 또는 관리자라면 비밀번호를 묻지 않고 바로 수정, 삭제 가능
if (($member['mb_id'] && ($member['mb_id'] == $write['mb_id'])) || $is_admin) {
$update_href = './write.php?w=u&amp;bo_table='.$bo_table.'&amp;wr_id='.$wr_id.'&amp;page='.$page.$qstr;
$delete_href = './delete.php?bo_table='.$bo_table.'&amp;wr_id='.$wr_id.'&amp;page='.$page.urldecode($qstr);
if ($is_admin)
{
set_session("ss_delete_token", $token = uniqid(time()));
$delete_href ='./delete.php?bo_table='.$bo_table.'&amp;wr_id='.$wr_id.'&amp;token='.$token.'&amp;page='.$page.urldecode($qstr);
}
set_session('ss_delete_token', $token = uniqid(time()));
$delete_href ='./delete.php?bo_table='.$bo_table.'&amp;wr_id='.$wr_id.'&amp;token='.$token.'&amp;page='.$page.urldecode($qstr);
}
else if (!$write['mb_id']) { // 회원이 쓴 글이 아니라면
$update_href = './password.php?w=u&amp;bo_table='.$bo_table.'&amp;wr_id='.$wr_id.'&amp;page='.$page.$qstr;
+5 -5
View File
@@ -9,11 +9,6 @@ if ($is_guest && $board['bo_comment_level'] < 2) {
@include_once($board_skin_path.'/view_comment.head.skin.php');
// 코멘트를 새창으로 여는 경우 세션값이 없으므로 생성한다.
if ($is_admin && !$token) {
set_session("ss_delete_token", $token = uniqid(time()));
}
$list = array();
$is_comment_write = false;
@@ -72,10 +67,13 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
$list[$i]['is_del'] = false;
if ($is_comment_write || $is_admin)
{
$token = '';
if ($member['mb_id'])
{
if ($row['mb_id'] == $member['mb_id'] || $is_admin)
{
set_session('ss_delete_comment_'.$row['wr_id'].'_token', $token = uniqid(time()));
$list[$i]['del_link'] = './delete_comment.php?bo_table='.$bo_table.'&amp;comment_id='.$row['wr_id'].'&amp;token='.$token.'&amp;page='.$page.$qstr;
$list[$i]['is_edit'] = true;
$list[$i]['is_del'] = true;
@@ -120,6 +118,8 @@ else
$comment_max = (int)$board['bo_comment_max'];
}
$comment_action_url = https_url(G5_BBS_DIR)."/write_comment_update.php";
include_once($board_skin_path.'/view_comment.skin.php');
if (!$member['mb_id']) // 비회원일 경우에만
+7
View File
@@ -337,6 +337,8 @@ if ($w == '') {
}
$file = get_file($bo_table, $wr_id);
if($file_count < $file['count'])
$file_count = $file['count'];
} else if ($w == 'r') {
if (strstr($write['wr_option'], 'secret')) {
$is_secret = true;
@@ -399,6 +401,11 @@ if(!is_mobile() || defined('G5_IS_MOBILE_DHTML_USE') && G5_IS_MOBILE_DHTML_USE)
if ($config['cf_editor'] && $is_dhtml_editor_use && $board['bo_use_dhtml_editor'] && $member['mb_level'] >= $board['bo_html_level']) {
$is_dhtml_editor = true;
if ( $w == 'u' && (! $is_member || ! $is_admin || $write['mb_id'] !== $member['mb_id']) ){
// kisa 취약점 제보 xss 필터 적용
$content = get_text(html_purifier($write['wr_content']), 0);
}
if(is_file(G5_EDITOR_PATH.'/'.$config['cf_editor'].'/autosave.editor.js'))
$editor_content_js = '<script src="'.G5_EDITOR_URL.'/'.$config['cf_editor'].'/autosave.editor.js"></script>'.PHP_EOL;
}
+11 -2
View File
@@ -3,6 +3,12 @@ define('G5_CAPTCHA', true);
include_once('./_common.php');
include_once(G5_CAPTCHA_PATH.'/captcha.lib.php');
// 토큰체크
$comment_token = trim(get_session('ss_comment_token'));
set_session('ss_comment_token', '');
if(!trim($_POST['token']) || !$comment_token || $comment_token != $_POST['token'])
alert('올바른 방법으로 이용해 주십시오.');
// 090710
if (substr_count($wr_content, "&#") > 50) {
alert('내용에 올바르지 않은 코드가 다수 포함되어 있습니다.');
@@ -77,12 +83,15 @@ if ($w == 'c') // 댓글 입력
// 댓글 답변
if ($comment_id)
{
$sql = " select wr_id, wr_comment, wr_comment_reply from $write_table
$sql = " select wr_id, wr_parent, wr_comment, wr_comment_reply from $write_table
where wr_id = '$comment_id' ";
$reply_array = sql_fetch($sql);
if (!$reply_array['wr_id'])
alert('답변할 댓글이 없습니다.\\n\\n답변하는 동안 댓글이 삭제되었을 수 있습니다.');
if($wr['wr_parent'] != $reply_array['wr_parent'])
alert('댓글을 등록할 수 없습니다.');
$tmp_comment = $reply_array['wr_comment'];
if (strlen($reply_array['wr_comment_reply']) == 5)
@@ -328,5 +337,5 @@ else if ($w == 'cu') // 댓글 수정
delete_cache_latest($bo_table);
goto_url('./board.php?bo_table='.$bo_table.'&amp;wr_id='.$wr['wr_parent'].'&amp;'.$qstr.'&amp;#c_'.$comment_id);
goto_url(G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&amp;wr_id='.$wr['wr_parent'].'&amp;'.$qstr.'&amp;#c_'.$comment_id);
?>
+13
View File
@@ -0,0 +1,13 @@
<?php
include_once('./_common.php');
include_once(G5_LIB_PATH.'/json.lib.php');
if(!$bo_table)
die(json_encode(array('error'=>'게시판 정보가 올바르지 않습니다.', 'url'=>G5_URL)));
set_session('ss_write_'.$bo_table.'_token', '');
$token = get_write_token($bo_table);
die(json_encode(array('error'=>'', 'token'=>$token, 'url'=>'')));
?>
+50 -5
View File
@@ -3,10 +3,29 @@ include_once('./_common.php');
include_once(G5_LIB_PATH.'/naver_syndi.lib.php');
include_once(G5_CAPTCHA_PATH.'/captcha.lib.php');
// 토큰체크
check_write_token($bo_table);
$g5['title'] = '게시글 저장';
$msg = array();
if($board['bo_use_category']) {
$ca_name = trim($_POST['ca_name']);
if(!$ca_name) {
$msg[] = '<strong>분류</strong>를 선택하세요.';
} else {
$categories = array_map('trim', explode("|", $board['bo_category_list'].($is_admin ? '|공지' : '')));
if(!empty($categories) && !in_array($ca_name, $categories))
$msg[] = '분류를 올바르게 입력하세요.';
if(empty($categories))
$ca_name = '';
}
} else {
$ca_name = '';
}
$wr_subject = '';
if (isset($_POST['wr_subject'])) {
$wr_subject = substr(trim($_POST['wr_subject']),0,255);
@@ -66,10 +85,16 @@ if ($w == 'u' || $w == 'r') {
}
// 외부에서 글을 등록할 수 있는 버그가 존재하므로 비밀글은 사용일 경우에만 가능해야 함
if (!$is_admin && !$board['bo_use_secret'] && $secret) {
if (!$is_admin && !$board['bo_use_secret'] && (stripos($_POST['html'], 'secret') !== false || stripos($_POST['secret'], 'secret') !== false || stripos($_POST['mail'], 'secret') !== false)) {
alert('비밀글 미사용 게시판 이므로 비밀글로 등록할 수 없습니다.');
}
$secret = '';
if (isset($_POST['secret']) && $_POST['secret']) {
if(preg_match('#secret#', strtolower($_POST['secret']), $matches))
$secret = $matches[0];
}
// 외부에서 글을 등록할 수 있는 버그가 존재하므로 비밀글 무조건 사용일때는 관리자를 제외(공지)하고 무조건 비밀글로 등록
if (!$is_admin && $board['bo_use_secret'] == 2) {
$secret = 'secret';
@@ -77,12 +102,14 @@ if (!$is_admin && $board['bo_use_secret'] == 2) {
$html = '';
if (isset($_POST['html']) && $_POST['html']) {
$html = $_POST['html'];
if(preg_match('#html(1|2)#', strtolower($_POST['html']), $matches))
$html = $matches[0];
}
$mail = '';
if (isset($_POST['mail']) && $_POST['mail']) {
$mail = $_POST['mail'];
if(preg_match('#mail#', strtolower($_POST['mail']), $matches))
$mail = $matches[0];
}
$notice = '';
@@ -391,6 +418,24 @@ if (!$group['gr_use_access'] && $board['bo_read_level'] < 2 && !$secret) {
naver_syndi_ping($bo_table, $wr_id);
}
// 파일개수 체크
$file_count = 0;
$upload_count = count($_FILES['bf_file']['name']);
for ($i=0; $i<$upload_count; $i++) {
if($_FILES['bf_file']['name'][$i] && is_uploaded_file($_FILES['bf_file']['tmp_name'][$i]))
$file_count++;
}
if($w == 'u') {
$file = get_file($bo_table, $wr_id);
if($file_count && (int)$file['count'] > $board['bo_upload_count'])
alert('기존 파일을 삭제하신 후 첨부파일을 '.number_format($board['bo_upload_count']).'개 이하로 업로드 해주십시오.');
} else {
if($file_count > $board['bo_upload_count'])
alert('첨부파일을 '.number_format($board['bo_upload_count']).'개 이하로 업로드 해주십시오.');
}
// 디렉토리가 없다면 생성합니다. (퍼미션도 변경하구요.)
@mkdir(G5_DATA_PATH.'/file/'.$bo_table, G5_DIR_PERMISSION);
@chmod(G5_DATA_PATH.'/file/'.$bo_table, G5_DIR_PERMISSION);
@@ -596,7 +641,7 @@ if (!($w == 'u' || $w == 'cu') && $config['cf_email_use'] && $board['bo_use_emai
else if (strstr($html, 'html2'))
$tmp_html = 2;
$wr_content = conv_content(conv_unescape_nl($wr_content), $tmp_html);
$wr_content = conv_content(conv_unescape_nl(stripslashes($wr_content)), $tmp_html);
$warr = array( ''=>'입력', 'u'=>'수정', 'r'=>'답변', 'c'=>'코멘트', 'cu'=>'코멘트 수정' );
$str = $warr[$w];
@@ -647,7 +692,7 @@ if (!($w == 'u' || $w == 'cu') && $config['cf_email_use'] && $board['bo_use_emai
delete_cache_latest($bo_table);
if ($file_upload_msg)
alert($file_upload_msg, G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&amp;wr_id='.$wr_id.'&amp;page='.$page.$qstr);
alert($file_upload_msg, G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&amp;wr_id='.$wr_id.$qstr);
else
goto_url(G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&amp;wr_id='.$wr_id.$qstr);
?>
+13 -9
View File
@@ -32,13 +32,15 @@ function g5_path()
$result['path'] = str_replace('\\', '/', dirname(__FILE__));
$tilde_remove = preg_replace('/^\/\~[^\/]+(.*)$/', '$1', $_SERVER['SCRIPT_NAME']);
$document_root = str_replace($tilde_remove, '', $_SERVER['SCRIPT_FILENAME']);
$root = str_replace($document_root, '', $result['path']);
$port = $_SERVER['SERVER_PORT'] != 80 ? ':'.$_SERVER['SERVER_PORT'] : '';
$pattern = '/' . preg_quote($document_root, '/') . '/i';
$root = preg_replace($pattern, '', $result['path']);
$port = ($_SERVER['SERVER_PORT'] == 80 || $_SERVER['SERVER_PORT'] == 443) ? '' : ':'.$_SERVER['SERVER_PORT'];
$http = 'http' . ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') ? 's' : '') . '://';
$user = str_replace(str_replace($document_root, '', $_SERVER['SCRIPT_FILENAME']), '', $_SERVER['SCRIPT_NAME']);
$user = str_replace(preg_replace($pattern, '', $_SERVER['SCRIPT_FILENAME']), '', $_SERVER['SCRIPT_NAME']);
$host = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : $_SERVER['SERVER_NAME'];
if(isset($_SERVER['HTTP_HOST']) && preg_match('/:[0-9]+$/', $host))
$host = preg_replace('/:[0-9]+$/', '', $host);
$host = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\/\^\*]/", '', $host);
$result['url'] = $http.$host.$port.$user.$root;
return $result;
}
@@ -227,15 +229,17 @@ $qstr = '';
if (isset($_REQUEST['sca'])) {
$sca = clean_xss_tags(trim($_REQUEST['sca']));
if ($sca)
if ($sca) {
$sca = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\/\^\*]/", "", $sca);
$qstr .= '&amp;sca=' . urlencode($sca);
}
} else {
$sca = '';
}
if (isset($_REQUEST['sfl'])) {
$sfl = trim($_REQUEST['sfl']);
$sfl = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\s]/", "", $sfl);
$sfl = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\/\^\*\s]/", "", $sfl);
if ($sfl)
$qstr .= '&amp;sfl=' . urlencode($sfl); // search field (검색 필드)
} else {
@@ -253,7 +257,7 @@ if (isset($_REQUEST['stx'])) { // search text (검색어)
if (isset($_REQUEST['sst'])) {
$sst = trim($_REQUEST['sst']);
$sst = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\s]/", "", $sst);
$sst = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\/\^\*\s]/", "", $sst);
if ($sst)
$qstr .= '&amp;sst=' . urlencode($sst); // search sort (검색 정렬 필드)
} else {
@@ -367,7 +371,7 @@ if ($_SESSION['ss_mb_id']) { // 로그인중이라면
$key = md5($_SERVER['SERVER_ADDR'] . $_SERVER['REMOTE_ADDR'] . $_SERVER['HTTP_USER_AGENT'] . $row['mb_password']);
// 쿠키에 저장된 키와 같다면
$tmp_key = get_cookie('ck_auto');
if ($tmp_key == $key && $tmp_key) {
if ($tmp_key === $key && $tmp_key) {
// 차단, 탈퇴가 아니고 메일인증이 사용이면서 인증을 받았다면
if ($row['mb_intercept_date'] == '' &&
$row['mb_leave_date'] == '' &&
@@ -440,7 +444,7 @@ if ($is_admin != 'super') {
break;
}
if (!$is_possible_ip)
die ("접근이 가능하지 않습니다.");
die ("<meta charset=utf-8>접근이 가능하지 않습니다.");
}
// 접근차단 IP
@@ -456,7 +460,7 @@ if ($is_admin != 'super') {
$pat = "/^{$pattern[$i]}$/";
$is_intercept_ip = preg_match($pat, $_SERVER['REMOTE_ADDR']);
if ($is_intercept_ip)
die ("접근 불가합니다.");
die ("<meta charset=utf-8>접근 불가합니다.");
}
}
+216 -215
View File
@@ -1,220 +1,221 @@
<?php
/********************
상수 선언
********************/
define('G5_VERSION', '그누보드5');
define('G5_GNUBOARD_VER', '5.1.9');
// 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음
define('_GNUBOARD_', true);
if (PHP_VERSION >= '5.1.0') {
//if (function_exists("date_default_timezone_set")) date_default_timezone_set("Asia/Seoul");
date_default_timezone_set("Asia/Seoul");
}
/********************
경로 상수
********************/
/*
보안서버 도메인
회원가입, 글쓰기에 사용되는 https 로 시작되는 주소를 말합니다.
포트가 있다면 도메인 뒤에 :443 과 같이 입력하세요.
보안서버주소가 없다면 공란으로 두시면 되며 보안서버주소 뒤에 / 는 붙이지 않습니다.
입력예) https://www.domain.com:443/gnuboard5
*/
define('G5_DOMAIN', '');
define('G5_HTTPS_DOMAIN', '');
/*
www.sir.co.kr 과 sir.co.kr 도메인은 서로 다른 도메인으로 인식합니다. 쿠키를 공유하려면 .sir.co.kr 과 같이 입력하세요.
이곳에 입력이 없다면 www 붙은 도메인과 그렇지 않은 도메인은 쿠키를 공유하지 않으므로 로그인이 풀릴 수 있습니다.
*/
define('G5_COOKIE_DOMAIN', '');
define('G5_DBCONFIG_FILE', 'dbconfig.php');
define('G5_ADMIN_DIR', 'adm');
define('G5_BBS_DIR', 'bbs');
define('G5_CSS_DIR', 'css');
define('G5_DATA_DIR', 'data');
define('G5_EXTEND_DIR', 'extend');
define('G5_IMG_DIR', 'img');
define('G5_JS_DIR', 'js');
define('G5_LIB_DIR', 'lib');
define('G5_PLUGIN_DIR', 'plugin');
define('G5_SKIN_DIR', 'skin');
define('G5_CAPTCHA_DIR', 'kcaptcha');
define('G5_EDITOR_DIR', 'editor');
define('G5_MOBILE_DIR', 'mobile');
define('G5_OKNAME_DIR', 'okname');
<?php
define('G5_KCPCERT_DIR', 'kcpcert');
define('G5_LGXPAY_DIR', 'lgxpay');
/********************
상수 선언
********************/
define('G5_SNS_DIR', 'sns');
define('G5_SYNDI_DIR', 'syndi');
define('G5_PHPMAILER_DIR', 'PHPMailer_v2.0.4');
define('G5_SESSION_DIR', 'session');
define('G5_THEME_DIR', 'theme');
// URL 은 브라우저상에서의 경로 (도메인으로 부터의)
if (G5_DOMAIN) {
define('G5_URL', G5_DOMAIN);
} else {
if (isset($g5_path['url']))
define('G5_URL', $g5_path['url']);
else
define('G5_URL', '');
}
if (isset($g5_path['path'])) {
define('G5_PATH', $g5_path['path']);
} else {
define('G5_PATH', '');
}
define('G5_ADMIN_URL', G5_URL.'/'.G5_ADMIN_DIR);
define('G5_BBS_URL', G5_URL.'/'.G5_BBS_DIR);
define('G5_CSS_URL', G5_URL.'/'.G5_CSS_DIR);
define('G5_DATA_URL', G5_URL.'/'.G5_DATA_DIR);
define('G5_IMG_URL', G5_URL.'/'.G5_IMG_DIR);
define('G5_JS_URL', G5_URL.'/'.G5_JS_DIR);
define('G5_SKIN_URL', G5_URL.'/'.G5_SKIN_DIR);
define('G5_PLUGIN_URL', G5_URL.'/'.G5_PLUGIN_DIR);
define('G5_CAPTCHA_URL', G5_PLUGIN_URL.'/'.G5_CAPTCHA_DIR);
define('G5_EDITOR_URL', G5_PLUGIN_URL.'/'.G5_EDITOR_DIR);
define('G5_OKNAME_URL', G5_PLUGIN_URL.'/'.G5_OKNAME_DIR);
define('G5_KCPCERT_URL', G5_PLUGIN_URL.'/'.G5_KCPCERT_DIR);
define('G5_LGXPAY_URL', G5_PLUGIN_URL.'/'.G5_LGXPAY_DIR);
define('G5_SNS_URL', G5_PLUGIN_URL.'/'.G5_SNS_DIR);
define('G5_SYNDI_URL', G5_PLUGIN_URL.'/'.G5_SYNDI_DIR);
define('G5_MOBILE_URL', G5_URL.'/'.G5_MOBILE_DIR);
// PATH 는 서버상에서의 절대경로
define('G5_ADMIN_PATH', G5_PATH.'/'.G5_ADMIN_DIR);
define('G5_BBS_PATH', G5_PATH.'/'.G5_BBS_DIR);
define('G5_DATA_PATH', G5_PATH.'/'.G5_DATA_DIR);
define('G5_EXTEND_PATH', G5_PATH.'/'.G5_EXTEND_DIR);
define('G5_LIB_PATH', G5_PATH.'/'.G5_LIB_DIR);
define('G5_PLUGIN_PATH', G5_PATH.'/'.G5_PLUGIN_DIR);
define('G5_SKIN_PATH', G5_PATH.'/'.G5_SKIN_DIR);
define('G5_MOBILE_PATH', G5_PATH.'/'.G5_MOBILE_DIR);
define('G5_SESSION_PATH', G5_DATA_PATH.'/'.G5_SESSION_DIR);
define('G5_CAPTCHA_PATH', G5_PLUGIN_PATH.'/'.G5_CAPTCHA_DIR);
define('G5_EDITOR_PATH', G5_PLUGIN_PATH.'/'.G5_EDITOR_DIR);
define('G5_OKNAME_PATH', G5_PLUGIN_PATH.'/'.G5_OKNAME_DIR);
define('G5_VERSION', '그누보드5');
define('G5_GNUBOARD_VER', '5.2.9.3');
define('G5_KCPCERT_PATH', G5_PLUGIN_PATH.'/'.G5_KCPCERT_DIR);
define('G5_LGXPAY_PATH', G5_PLUGIN_PATH.'/'.G5_LGXPAY_DIR);
// 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음
define('_GNUBOARD_', true);
define('G5_SNS_PATH', G5_PLUGIN_PATH.'/'.G5_SNS_DIR);
define('G5_SYNDI_PATH', G5_PLUGIN_PATH.'/'.G5_SYNDI_DIR);
define('G5_PHPMAILER_PATH', G5_PLUGIN_PATH.'/'.G5_PHPMAILER_DIR);
//==============================================================================
//==============================================================================
// 사용기기 설정
// pc 설정 시 모바일 기기에서도 PC화면 보여짐
// mobile 설정 시 PC에서도 모바일화면 보여짐
// both 설정 시 접속 기기에 따른 화면 보여짐
//------------------------------------------------------------------------------
define('G5_SET_DEVICE', 'both');
define('G5_USE_MOBILE', true); // 모바일 홈페이지를 사용하지 않을 경우 false 로 설정
define('G5_USE_CACHE', true); // 최신글등에 cache 기능 사용 여부
/********************
시간 상수
********************/
// 서버의 시간과 실제 사용하는 시간이 틀린 경우 수정하세요.
// 하루는 86400 초입니다. 1시간은 3600초
// 6시간이 빠른 경우 time() + (3600 * 6);
// 6시간이 느린 경우 time() - (3600 * 6);
define('G5_SERVER_TIME', time());
define('G5_TIME_YMDHIS', date('Y-m-d H:i:s', G5_SERVER_TIME));
define('G5_TIME_YMD', substr(G5_TIME_YMDHIS, 0, 10));
define('G5_TIME_HIS', substr(G5_TIME_YMDHIS, 11, 8));
// 입력값 검사 상수 (숫자를 변경하시면 안됩니다.)
define('G5_ALPHAUPPER', 1); // 영대문자
define('G5_ALPHALOWER', 2); // 영소문자
define('G5_ALPHABETIC', 4); // 영대,소문자
define('G5_NUMERIC', 8); // 숫자
define('G5_HANGUL', 16); // 한글
define('G5_SPACE', 32); // 공백
define('G5_SPECIAL', 64); // 특수문자
// 퍼미션
define('G5_DIR_PERMISSION', 0755); // 디렉토리 생성시 퍼미션
define('G5_FILE_PERMISSION', 0644); // 파일 생성시 퍼미션
// 모바일 인지 결정 $_SERVER['HTTP_USER_AGENT']
define('G5_MOBILE_AGENT', 'phone|samsung|lgtel|mobile|[^A]skt|nokia|blackberry|android|sony');
// SMTP
// lib/mailer.lib.php 에서 사용
define('G5_SMTP', '127.0.0.1');
/********************
기타 상수
********************/
// 암호화 함수 지정
// 사이트 운영 중 설정을 변경하면 로그인이 안되는 등의 문제가 발생합니다.
define('G5_STRING_ENCRYPT_FUNCTION', 'sql_password');
// SQL 에러를 표시할 것인지 지정
// 에러를 표시하려면 TRUE 로 변경
define('G5_DISPLAY_SQL_ERROR', FALSE);
// escape string 처리 함수 지정
// addslashes 로 변경 가능
define('G5_ESCAPE_FUNCTION', 'sql_escape_string');
// sql_escape_string 함수에서 사용될 패턴
//define('G5_ESCAPE_PATTERN', '/(and|or).*(union|select|insert|update|delete|from|where|limit|create|drop).*/i');
//define('G5_ESCAPE_REPLACE', '');
// 게시판에서 링크의 기본개수를 말합니다.
// 필드를 추가하면 이 숫자를 필드수에 맞게 늘려주십시오.
define('G5_LINK_COUNT', 2);
// 썸네일 jpg Quality 설정
define('G5_THUMB_JPG_QUALITY', 90);
// 썸네일 png Compress 설정
define('G5_THUMB_PNG_COMPRESS', 5);
// 모바일 기기에서 DHTML 에디터 사용여부를 설정합니다.
define('G5_IS_MOBILE_DHTML_USE', false);
// MySQLi 사용여부를 설정합니다.
define('G5_MYSQLI_USE', true);
// Browscap 사용여부를 설정합니다.
define('G5_BROWSCAP_USE', true);
// 접속자 기록 때 Browscap 사용여부를 설정합니다.
define('G5_VISIT_BROWSCAP_USE', false);
// ip 숨김방법 설정
/* 123.456.789.012 ip의 숨김 방법을 변경하는 방법은
\\1 은 123, \\2는 456, \\3은 789, \\4는 012에 각각 대응되므로
표시되는 부분은 \\1 과 같이 사용하시면 되고 숨길 부분은 ♡등의
다른 문자를 적어주시면 됩니다.
*/
define('G5_IP_DISPLAY', '\\1.♡.\\3.\\4');
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') { //https 통신일때 daum 주소 js
define('G5_POSTCODE_JS', '<script src="https://spi.maps.daum.net/imap/map_js_init/postcode.v2.js"></script>');
} else { //http 통신일때 daum 주소 js
define('G5_POSTCODE_JS', '<script src="http://dmaps.daum.net/map_js_init/postcode.v2.js"></script>');
}
if (PHP_VERSION >= '5.1.0') {
//if (function_exists("date_default_timezone_set")) date_default_timezone_set("Asia/Seoul");
date_default_timezone_set("Asia/Seoul");
}
/********************
경로 상수
********************/
/*
보안서버 도메인
회원가입, 글쓰기에 사용되는 https 로 시작되는 주소를 말합니다.
포트가 있다면 도메인 뒤에 :443 과 같이 입력하세요.
보안서버주소가 없다면 공란으로 두시면 되며 보안서버주소 뒤에 / 는 붙이지 않습니다.
입력예) https://www.domain.com:443/gnuboard5
*/
define('G5_DOMAIN', '');
define('G5_HTTPS_DOMAIN', '');
/*
www.sir.kr 과 sir.kr 도메인은 서로 다른 도메인으로 인식합니다. 쿠키를 공유하려면 .sir.kr 과 같이 입력하세요.
이곳에 입력이 없다면 www 붙은 도메인과 그렇지 않은 도메인은 쿠키를 공유하지 않으므로 로그인이 풀릴 수 있습니다.
*/
define('G5_COOKIE_DOMAIN', '');
define('G5_DBCONFIG_FILE', 'dbconfig.php');
define('G5_ADMIN_DIR', 'adm');
define('G5_BBS_DIR', 'bbs');
define('G5_CSS_DIR', 'css');
define('G5_DATA_DIR', 'data');
define('G5_EXTEND_DIR', 'extend');
define('G5_IMG_DIR', 'img');
define('G5_JS_DIR', 'js');
define('G5_LIB_DIR', 'lib');
define('G5_PLUGIN_DIR', 'plugin');
define('G5_SKIN_DIR', 'skin');
define('G5_CAPTCHA_DIR', 'kcaptcha');
define('G5_EDITOR_DIR', 'editor');
define('G5_MOBILE_DIR', 'mobile');
define('G5_OKNAME_DIR', 'okname');
define('G5_KCPCERT_DIR', 'kcpcert');
define('G5_LGXPAY_DIR', 'lgxpay');
define('G5_SNS_DIR', 'sns');
define('G5_SYNDI_DIR', 'syndi');
define('G5_PHPMAILER_DIR', 'PHPMailer');
define('G5_SESSION_DIR', 'session');
define('G5_THEME_DIR', 'theme');
// URL 은 브라우저상에서의 경로 (도메인으로 부터의)
if (G5_DOMAIN) {
define('G5_URL', G5_DOMAIN);
} else {
if (isset($g5_path['url']))
define('G5_URL', $g5_path['url']);
else
define('G5_URL', '');
}
if (isset($g5_path['path'])) {
define('G5_PATH', $g5_path['path']);
} else {
define('G5_PATH', '');
}
define('G5_ADMIN_URL', G5_URL.'/'.G5_ADMIN_DIR);
define('G5_BBS_URL', G5_URL.'/'.G5_BBS_DIR);
define('G5_CSS_URL', G5_URL.'/'.G5_CSS_DIR);
define('G5_DATA_URL', G5_URL.'/'.G5_DATA_DIR);
define('G5_IMG_URL', G5_URL.'/'.G5_IMG_DIR);
define('G5_JS_URL', G5_URL.'/'.G5_JS_DIR);
define('G5_SKIN_URL', G5_URL.'/'.G5_SKIN_DIR);
define('G5_PLUGIN_URL', G5_URL.'/'.G5_PLUGIN_DIR);
define('G5_CAPTCHA_URL', G5_PLUGIN_URL.'/'.G5_CAPTCHA_DIR);
define('G5_EDITOR_URL', G5_PLUGIN_URL.'/'.G5_EDITOR_DIR);
define('G5_OKNAME_URL', G5_PLUGIN_URL.'/'.G5_OKNAME_DIR);
define('G5_KCPCERT_URL', G5_PLUGIN_URL.'/'.G5_KCPCERT_DIR);
define('G5_LGXPAY_URL', G5_PLUGIN_URL.'/'.G5_LGXPAY_DIR);
define('G5_SNS_URL', G5_PLUGIN_URL.'/'.G5_SNS_DIR);
define('G5_SYNDI_URL', G5_PLUGIN_URL.'/'.G5_SYNDI_DIR);
define('G5_MOBILE_URL', G5_URL.'/'.G5_MOBILE_DIR);
// PATH 는 서버상에서의 절대경로
define('G5_ADMIN_PATH', G5_PATH.'/'.G5_ADMIN_DIR);
define('G5_BBS_PATH', G5_PATH.'/'.G5_BBS_DIR);
define('G5_DATA_PATH', G5_PATH.'/'.G5_DATA_DIR);
define('G5_EXTEND_PATH', G5_PATH.'/'.G5_EXTEND_DIR);
define('G5_LIB_PATH', G5_PATH.'/'.G5_LIB_DIR);
define('G5_PLUGIN_PATH', G5_PATH.'/'.G5_PLUGIN_DIR);
define('G5_SKIN_PATH', G5_PATH.'/'.G5_SKIN_DIR);
define('G5_MOBILE_PATH', G5_PATH.'/'.G5_MOBILE_DIR);
define('G5_SESSION_PATH', G5_DATA_PATH.'/'.G5_SESSION_DIR);
define('G5_CAPTCHA_PATH', G5_PLUGIN_PATH.'/'.G5_CAPTCHA_DIR);
define('G5_EDITOR_PATH', G5_PLUGIN_PATH.'/'.G5_EDITOR_DIR);
define('G5_OKNAME_PATH', G5_PLUGIN_PATH.'/'.G5_OKNAME_DIR);
define('G5_KCPCERT_PATH', G5_PLUGIN_PATH.'/'.G5_KCPCERT_DIR);
define('G5_LGXPAY_PATH', G5_PLUGIN_PATH.'/'.G5_LGXPAY_DIR);
define('G5_SNS_PATH', G5_PLUGIN_PATH.'/'.G5_SNS_DIR);
define('G5_SYNDI_PATH', G5_PLUGIN_PATH.'/'.G5_SYNDI_DIR);
define('G5_PHPMAILER_PATH', G5_PLUGIN_PATH.'/'.G5_PHPMAILER_DIR);
//==============================================================================
//==============================================================================
// 사용기기 설정
// pc 설정 시 모바일 기기에서도 PC화면 보여짐
// mobile 설정 시 PC에서도 모바일화면 보여짐
// both 설정 시 접속 기기에 따른 화면 보여짐
//------------------------------------------------------------------------------
define('G5_SET_DEVICE', 'both');
define('G5_USE_MOBILE', true); // 모바일 홈페이지를 사용하지 않을 경우 false 로 설정
define('G5_USE_CACHE', true); // 최신글등에 cache 기능 사용 여부
/********************
시간 상수
********************/
// 서버의 시간과 실제 사용하는 시간이 틀린 경우 수정하세요.
// 하루는 86400 초입니다. 1시간은 3600초
// 6시간이 빠른 경우 time() + (3600 * 6);
// 6시간이 느린 경우 time() - (3600 * 6);
define('G5_SERVER_TIME', time());
define('G5_TIME_YMDHIS', date('Y-m-d H:i:s', G5_SERVER_TIME));
define('G5_TIME_YMD', substr(G5_TIME_YMDHIS, 0, 10));
define('G5_TIME_HIS', substr(G5_TIME_YMDHIS, 11, 8));
// 입력값 검사 상수 (숫자를 변경하시면 안됩니다.)
define('G5_ALPHAUPPER', 1); // 영대문자
define('G5_ALPHALOWER', 2); // 영소문자
define('G5_ALPHABETIC', 4); // 영대,소문자
define('G5_NUMERIC', 8); // 숫자
define('G5_HANGUL', 16); // 한글
define('G5_SPACE', 32); // 공백
define('G5_SPECIAL', 64); // 특수문자
// 퍼미션
define('G5_DIR_PERMISSION', 0755); // 디렉토리 생성시 퍼미션
define('G5_FILE_PERMISSION', 0644); // 파일 생성시 퍼미션
// 모바일 인지 결정 $_SERVER['HTTP_USER_AGENT']
define('G5_MOBILE_AGENT', 'phone|samsung|lgtel|mobile|[^A]skt|nokia|blackberry|android|sony');
// SMTP
// lib/mailer.lib.php 에서 사용
define('G5_SMTP', '127.0.0.1');
define('G5_SMTP_PORT', '25');
/********************
기타 상수
********************/
// 암호화 함수 지정
// 사이트 운영 중 설정을 변경하면 로그인이 안되는 등의 문제가 발생합니다.
define('G5_STRING_ENCRYPT_FUNCTION', 'sql_password');
// SQL 에러를 표시할 것인지 지정
// 에러를 표시하려면 TRUE 로 변경
define('G5_DISPLAY_SQL_ERROR', FALSE);
// escape string 처리 함수 지정
// addslashes 로 변경 가능
define('G5_ESCAPE_FUNCTION', 'sql_escape_string');
// sql_escape_string 함수에서 사용될 패턴
//define('G5_ESCAPE_PATTERN', '/(and|or).*(union|select|insert|update|delete|from|where|limit|create|drop).*/i');
//define('G5_ESCAPE_REPLACE', '');
// 게시판에서 링크의 기본개수를 말합니다.
// 필드를 추가하면 이 숫자를 필드수에 맞게 늘려주십시오.
define('G5_LINK_COUNT', 2);
// 썸네일 jpg Quality 설정
define('G5_THUMB_JPG_QUALITY', 90);
// 썸네일 png Compress 설정
define('G5_THUMB_PNG_COMPRESS', 5);
// 모바일 기기에서 DHTML 에디터 사용여부를 설정합니다.
define('G5_IS_MOBILE_DHTML_USE', false);
// MySQLi 사용여부를 설정합니다.
define('G5_MYSQLI_USE', true);
// Browscap 사용여부를 설정합니다.
define('G5_BROWSCAP_USE', true);
// 접속자 기록 때 Browscap 사용여부를 설정합니다.
define('G5_VISIT_BROWSCAP_USE', false);
// ip 숨김방법 설정
/* 123.456.789.012 ip의 숨김 방법을 변경하는 방법은
\\1 은 123, \\2는 456, \\3은 789, \\4는 012에 각각 대응되므로
표시되는 부분은 \\1 과 같이 사용하시면 되고 숨길 부분은 ♡등의
다른 문자를 적어주시면 됩니다.
*/
define('G5_IP_DISPLAY', '\\1.♡.\\3.\\4');
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') { //https 통신일때 daum 주소 js
define('G5_POSTCODE_JS', '<script src="https://spi.maps.daum.net/imap/map_js_init/postcode.v2.js"></script>');
} else { //http 통신일때 daum 주소 js
define('G5_POSTCODE_JS', '<script src="http://dmaps.daum.net/map_js_init/postcode.v2.js"></script>');
}
?>
+11
View File
@@ -0,0 +1,11 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
//플러그인 폴더 이름 및 스킨 폴더 이름
define('SMARTEDITOR_UPLOAD_IMG_CHECK', 1); // 이미지 파일을 썸네일 할수 있는지 여부를 체크합니다. ( 해당 파일이 이미지 파일인지 체크합니다. 1이면 사용, 0이면 사용 안함 )
define('SMARTEDITOR_UPLOAD_RESIZE', 0); // 스마트에디터 업로드 이미지파일 JPG, PNG 리사이즈 1이면 사용, 0이면 사용안함
define('SMARTEDITOR_UPLOAD_MAX_WIDTH', 1200); // 스마트에디터 업로드 이미지 리사이즈 제한 width
define('SMARTEDITOR_UPLOAD_MAX_HEIGHT', 2800); // 스마트에디터 업로드 이미지 리사이즈 제한 height
define('SMARTEDITOR_UPLOAD_SIZE_LIMIT', 20); // 스마트에디터 업로드 사이즈 제한 ( 기본 20MB )
define('SMARTEDITOR_UPLOAD_IMAGE_QUALITY', 98); // 썸네일 이미지 JPG, PNG 압축률
?>
+6
View File
@@ -0,0 +1,6 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
define('G5_JS_VER', '161020');
define('G5_CSS_VER', '161020');
?>
+2
View File
@@ -28,6 +28,8 @@ $g4_config_file = trim($_POST['file_path']);
if(!$g4_config_file)
alert('config.php 파일의 경로를 입력해 주십시오.');
$g4_config_file = preg_replace('#/config.php$#i', '', $g4_config_file).'/config.php';
if(!is_file($g4_config_file))
alert('입력하신 경로에 config.php 파일이 존재하지 않습니다.');
+9 -11
View File
@@ -45,7 +45,7 @@ if (G5_IS_MOBILE) {
echo '<meta name="format-detection" content="telephone=no">'.PHP_EOL;
} else {
echo '<meta http-equiv="imagetoolbar" content="no">'.PHP_EOL;
echo '<meta http-equiv="X-UA-Compatible" content="IE=10,chrome=1">'.PHP_EOL;
echo '<meta http-equiv="X-UA-Compatible" content="IE=Edge">'.PHP_EOL;
}
if($config['cf_add_meta'])
@@ -55,9 +55,9 @@ if($config['cf_add_meta'])
<?php
if (defined('G5_IS_ADMIN')) {
if(!defined('_THEME_PREVIEW_'))
echo '<link rel="stylesheet" href="'.G5_ADMIN_URL.'/css/admin.css">'.PHP_EOL;
echo '<link rel="stylesheet" href="'.G5_ADMIN_URL.'/css/admin.css?ver='.G5_CSS_VER.'">'.PHP_EOL;
} else {
echo '<link rel="stylesheet" href="'.G5_CSS_URL.'/'.(G5_IS_MOBILE?'mobile':'default').'.css">'.PHP_EOL;
echo '<link rel="stylesheet" href="'.G5_CSS_URL.'/'.(G5_IS_MOBILE?'mobile':'default').'.css?ver='.G5_CSS_VER.'">'.PHP_EOL;
}
?>
<!--[if lte IE 8]>
@@ -74,16 +74,14 @@ var g5_bo_table = "<?php echo isset($bo_table)?$bo_table:''; ?>";
var g5_sca = "<?php echo isset($sca)?$sca:''; ?>";
var g5_editor = "<?php echo ($config['cf_editor'] && $board['bo_use_dhtml_editor'])?$config['cf_editor']:''; ?>";
var g5_cookie_domain = "<?php echo G5_COOKIE_DOMAIN ?>";
<?php
if ($is_admin) {
echo 'var g5_admin_url = "'.G5_ADMIN_URL.'";'.PHP_EOL;
}
?>
<?php if(defined('G5_IS_ADMIN')) { ?>
var g5_admin_url = "<?php echo G5_ADMIN_URL; ?>";
<?php } ?>
</script>
<script src="<?php echo G5_JS_URL ?>/jquery-1.8.3.min.js"></script>
<script src="<?php echo G5_JS_URL ?>/jquery.menu.js"></script>
<script src="<?php echo G5_JS_URL ?>/common.js"></script>
<script src="<?php echo G5_JS_URL ?>/wrest.js"></script>
<script src="<?php echo G5_JS_URL ?>/jquery.menu.js?ver=<?php echo G5_JS_VER; ?>"></script>
<script src="<?php echo G5_JS_URL ?>/common.js?ver=<?php echo G5_JS_VER; ?>"></script>
<script src="<?php echo G5_JS_URL ?>/wrest.js?ver=<?php echo G5_JS_VER; ?>"></script>
<?php
if(G5_IS_MOBILE) {
echo '<script src="'.G5_JS_URL.'/modernizr.custom.70111.js"></script>'.PHP_EOL; // overflow scroll 감지
+2 -1
View File
@@ -463,7 +463,8 @@ CREATE TABLE IF NOT EXISTS `g5_member` (
`mb_ip` varchar(255) NOT NULL default '',
`mb_leave_date` varchar(8) NOT NULL default '',
`mb_intercept_date` varchar(8) NOT NULL default '',
`mb_email_certify` datetime NOT NULL default '0000-00-00 00:00:00',
`mb_email_certify` datetime NOT NULL default '0000-00-00 00:00:00',
`mb_email_certify2` varchar(255) NOT NULL default '',
`mb_memo` text NOT NULL,
`mb_lost_certify` varchar(255) NOT NULL,
`mb_mailling` tinyint(4) NOT NULL default '0',
+2
View File
@@ -1,4 +1,6 @@
<?php
@header('Content-Type: text/html; charset=utf-8');
@header('X-Robots-Tag: noindex');
include_once ('../config.php');
$title = G5_VERSION." 라이센스 확인 1/3";
include_once ('./install.inc.php');
+24
View File
@@ -5,6 +5,8 @@ header('Last-Modified: ' . $gmnow);
header('Cache-Control: no-store, no-cache, must-revalidate'); // HTTP/1.1
header('Cache-Control: pre-check=0, post-check=0, max-age=0'); // HTTP/1.1
header('Pragma: no-cache'); // HTTP/1.0
@header('Content-Type: text/html; charset=utf-8');
@header('X-Robots-Tag: noindex');
include_once ('../config.php');
$title = G5_VERSION." 초기환경설정 2/3";
@@ -138,6 +140,28 @@ function frm_install_submit(f)
alert('최고관리자 E-mail 을 입력하십시오.'); f.admin_email.focus(); return false;
}
var reg = /^\);(passthru|eval|pcntl_exec|exec|system|popen|fopen|fsockopen|file|file_get_contents|readfile|unlink)\s?\(\$_(get|post|request)\s?\[.*?\]\s?\)/gi;
var reg_msg = " 에 유효하지 않는 문자가 있습니다. 다른 문자로 대체해 주세요.";
if( reg.test(f.mysql_host.value) ){
alert('MySQL Host'+reg_msg); f.mysql_host.focus(); return false;
}
if( reg.test(f.mysql_user.value) ){
alert('MySQL User'+reg_msg); f.mysql_user.focus(); return false;
}
if( f.mysql_pass.value && reg.test(f.mysql_pass.value) ){
alert('MySQL PASSWORD'+reg_msg); f.mysql_pass.focus(); return false;
}
if( reg.test(f.mysql_db.value) ){
alert('MySQL DB'+reg_msg); f.mysql_db.focus(); return false;
}
if( f.table_prefix.value && reg.test(f.table_prefix.value) ){
alert('TABLE명 접두사'+reg_msg); f.table_prefix.focus(); return false;
}
if(/^[a-z][a-z0-9]/i.test(f.admin_id.value) == false) {
alert('최고관리자 회원 ID는 첫자는 반드시 영문자 그리고 영문자와 숫자로만 만드셔야 합니다.');
+18 -6
View File
@@ -6,20 +6,32 @@ header('Last-Modified: ' . $gmnow);
header('Cache-Control: no-store, no-cache, must-revalidate'); // HTTP/1.1
header('Cache-Control: pre-check=0, post-check=0, max-age=0'); // HTTP/1.1
header('Pragma: no-cache'); // HTTP/1.0
@header('Content-Type: text/html; charset=utf-8');
@header('X-Robots-Tag: noindex');
include_once ('../config.php');
include_once ('../lib/common.lib.php');
if( ! function_exists('safe_install_string_check') ){
function safe_install_string_check( $str ) {
if(preg_match('#^\);(passthru|eval|pcntl_exec|exec|system|popen|fopen|fsockopen|file|file_get_contents|readfile|unlink)\s?\(\$_(get|post|request)\s?\[.*?\]\s?\)#i', $str)) {
die("입력한 값에 안전하지 않는 문자가 포함되어 있습니다. 설치를 중단합니다.");
}
return $str;
}
}
$title = G5_VERSION." 설치 완료 3/3";
include_once ('./install.inc.php');
//print_r($_POST); exit;
$mysql_host = $_POST['mysql_host'];
$mysql_user = $_POST['mysql_user'];
$mysql_pass = $_POST['mysql_pass'];
$mysql_db = $_POST['mysql_db'];
$table_prefix= $_POST['table_prefix'];
$mysql_host = safe_install_string_check($_POST['mysql_host']);
$mysql_user = safe_install_string_check($_POST['mysql_user']);
$mysql_pass = safe_install_string_check($_POST['mysql_pass']);
$mysql_db = safe_install_string_check($_POST['mysql_db']);
$table_prefix= safe_install_string_check($_POST['table_prefix']);
$admin_id = $_POST['admin_id'];
$admin_pass = $_POST['admin_pass'];
$admin_name = $_POST['admin_name'];
@@ -118,7 +130,7 @@ $sql = " insert into `{$table_prefix}config`
cf_mobile_pages = '5',
cf_link_target = '_blank',
cf_delay_sec = '30',
cf_filter = '18아,18놈,18새끼,18년,18뇬,18노,18것,18넘,개년,개놈,개뇬,개새,개색끼,개세끼,개세이,개쉐이,개쉑,개쉽,개시키,개자식,개좆,게색기,게색끼,광뇬,뇬,눈깔,뉘미럴,니귀미,니기미,니미,도촬,되질래,뒈져라,뒈진다,디져라,디진다,디질래,병쉰,병신,뻐큐,뻑큐,뽁큐,삐리넷,새꺄,쉬발,쉬밸,쉬팔,쉽알,스패킹,스팽,시벌,시부랄,시부럴,시부리,시불,시브랄,시팍,시팔,시펄,실밸,십8,십쌔,십창,싶알,쌉년,썅놈,쌔끼,쌩쑈,썅,써벌,썩을년,쎄꺄,쎄엑,쓰바,쓰발,쓰벌,쓰팔,씨8,씨댕,씨바,씨발,씨뱅,씨봉알,씨부랄,씨부럴,씨부렁,씨부리,씨불,씨브랄,씨빠,씨빨,씨뽀랄,씨팍,씨팔,씨펄,씹,아가리,아갈이,엄창,접년,잡놈,재랄,저주글,조까,조빠,조쟁이,조지냐,조진다,조질래,존나,존니,좀물,좁년,좃,좆,좇,쥐랄,쥐롤,쥬디,지랄,지럴,지롤,지미랄,쫍빱,凸,퍽큐,뻑큐,빠큐,ㅅㅂㄹㅁ',
cf_filter = '18아,18놈,18새끼,18뇬,18노,18것,18넘,개년,개놈,개뇬,개새,개색끼,개세끼,개세이,개쉐이,개쉑,개쉽,개시키,개자식,개좆,게색기,게색끼,광뇬,뇬,눈깔,뉘미럴,니귀미,니기미,니미,도촬,되질래,뒈져라,뒈진다,디져라,디진다,디질래,병쉰,병신,뻐큐,뻑큐,뽁큐,삐리넷,새꺄,쉬발,쉬밸,쉬팔,쉽알,스패킹,스팽,시벌,시부랄,시부럴,시부리,시불,시브랄,시팍,시팔,시펄,실밸,십8,십쌔,십창,싶알,쌉년,썅놈,쌔끼,쌩쑈,썅,써벌,썩을년,쎄꺄,쎄엑,쓰바,쓰발,쓰벌,쓰팔,씨8,씨댕,씨바,씨발,씨뱅,씨봉알,씨부랄,씨부럴,씨부렁,씨부리,씨불,씨브랄,씨빠,씨빨,씨뽀랄,씨팍,씨팔,씨펄,씹,아가리,아갈이,엄창,접년,잡놈,재랄,저주글,조까,조빠,조쟁이,조지냐,조진다,조질래,존나,존니,좀물,좁년,좃,좆,좇,쥐랄,쥐롤,쥬디,지랄,지럴,지롤,지미랄,쫍빱,凸,퍽큐,뻑큐,빠큐,ㅅㅂㄹㅁ',
cf_possible_ip = '',
cf_intercept_ip = '',
cf_analytics = '',
+67 -10
View File
@@ -13,21 +13,78 @@ function certify_win_open(type, url)
}
else if(type == 'kcp-hp')
{
var return_gubun;
var width = 410;
var height = 500;
if($("input[name=veri_up_hash]").size() < 1)
$("input[name=cert_no]").after('<input type="hidden" name="veri_up_hash" value="">');
var leftpos = screen.width / 2 - ( width / 2 );
var toppos = screen.height / 2 - ( height / 2 );
if( navigator.userAgent.indexOf("Android") > - 1 || navigator.userAgent.indexOf("iPhone") > - 1 )
{
var $frm = $(event.target.form);
if($("#kcp_cert").size() < 1) {
$frm.wrap('<div id="cert_info"></div>');
var winopts = "width=" + width + ", height=" + height + ", toolbar=no,status=no,statusbar=no,menubar=no,scrollbars=no,resizable=no";
var position = ",left=" + leftpos + ", top=" + toppos;
var AUTH_POP = window.open(url,'auth_popup', winopts + position);
$("#cert_info").append('<form name="form_temp" method="post">');
} else {
$("#kcp_cert").remove();
}
$("#cert_info")
.after('<iframe id="kcp_cert" name="kcp_cert" width="100%" height="700" frameborder="0" scrolling="no" style="display:none"></iframe>');
var temp_form = document.form_temp;
temp_form.target = "kcp_cert";
temp_form.action = url;
document.getElementById( "cert_info" ).style.display = "none";
document.getElementById( "kcp_cert" ).style.display = "";
temp_form.submit();
}
else
{
var return_gubun;
var width = 410;
var height = 500;
var leftpos = screen.width / 2 - ( width / 2 );
var toppos = screen.height / 2 - ( height / 2 );
var winopts = "width=" + width + ", height=" + height + ", toolbar=no,status=no,statusbar=no,menubar=no,scrollbars=no,resizable=no";
var position = ",left=" + leftpos + ", top=" + toppos;
var AUTH_POP = window.open(url,'auth_popup', winopts + position);
}
}
else if(type == 'lg-hp')
{
var popupWindow = window.open( url, "auth_popup", "left=200, top=100, width=400, height=400, scrollbar=yes" );
popupWindow.focus();
if( g5_is_mobile )
{
var $frm = $(event.target.form),
lgu_cert = "lgu_cert";
if($("#lgu_cert").size() < 1) {
$frm.wrap('<div id="cert_info"></div>');
$("#cert_info").append('<form name="form_temp" method="post">');
} else {
$("#"+lgu_cert).remove();
}
$("#cert_info")
.after('<iframe id="'+lgu_cert+'" name="lgu_cert" width="100%" src="'+url+'" height="700" frameborder="0" scrolling="no" style="display:none"></iframe>');
document.getElementById( "cert_info" ).style.display = "none";
document.getElementById( lgu_cert ).style.display = "";
} else {
var width= 640;
var height = 660;
var leftpos = screen.width / 2 - ( width / 2 );
var toppos = screen.height / 2 - ( height / 2 );
var popupWindow = window.open( url, "auth_popup", "left=" + leftpos + ", top=" + toppos + ", width=" + width + ", height=" + height + ", scrollbar=yes" );
popupWindow.focus();
}
}
}
+71
View File
@@ -459,6 +459,7 @@ var win_zip = function(frm_name, frm_zip, frm_addr1, frm_addr2, frm_addr3, frm_j
onresize : function(size) {
element_wrap.style.height = size.height + "px";
},
maxSuggestItems : g5_is_mobile ? 6 : 10,
width : '100%',
height : '100%'
}).embed(element_wrap);
@@ -494,6 +495,7 @@ var win_zip = function(frm_name, frm_zip, frm_addr1, frm_addr2, frm_addr3, frm_j
// iframe을 넣은 element를 안보이게 한다.
element_layer.style.display = 'none';
},
maxSuggestItems : g5_is_mobile ? 6 : 10,
width : '100%',
height : '100%'
}).embed(element_layer);
@@ -546,6 +548,26 @@ function font_resize(id, rmv_class, add_class)
set_cookie("ck_font_resize_add_class", add_class, 1, g5_cookie_domain);
}
/**
* 댓글 수정 토큰
**/
function set_comment_token(f)
{
if(typeof f.token === "undefined")
$(f).prepend('<input type="hidden" name="token" value="">');
$.ajax({
url: g5_bbs_url+"/ajax.comment_token.php",
type: "GET",
dataType: "json",
async: false,
cache: false,
success: function(data, textStatus) {
f.token.value = data.token;
}
});
}
$(function(){
$(".win_point").click(function() {
win_point(this.href);
@@ -669,4 +691,53 @@ $(function(){
return false;
}
});
});
function get_write_token(bo_table)
{
var token = "";
$.ajax({
type: "POST",
url: g5_bbs_url+"/write_token.php",
data: { bo_table: bo_table },
cache: false,
async: false,
dataType: "json",
success: function(data) {
if(data.error) {
alert(data.error);
if(data.url)
document.location.href = data.url;
return false;
}
token = data.token;
}
});
return token;
}
$(function() {
$(document).on("click", "form[name=fwrite] input:submit, form[name=fwrite] button:submit", function() {
var f = this.form;
var bo_table = f.bo_table.value;
var token = get_write_token(bo_table);
if(!token) {
alert("토큰 정보가 올바르지 않습니다.");
return false;
}
var $f = $(f);
if(typeof f.token === "undefined")
$f.prepend('<input type="hidden" name="token" value="">');
$f.find("input[name=token]").val(token);
return true;
});
});
+186 -11
View File
@@ -212,11 +212,11 @@ function url_auto_link($str)
global $config;
// 140326 유창화님 제안코드로 수정
// http://sir.co.kr/bbs/board.php?bo_table=pg_lecture&wr_id=461
// http://sir.co.kr/bbs/board.php?bo_table=pg_lecture&wr_id=463
// http://sir.kr/pg_lecture/461
// http://sir.kr/pg_lecture/463
$str = str_replace(array("&lt;", "&gt;", "&amp;", "&quot;", "&nbsp;", "&#039;"), array("\t_lt_\t", "\t_gt_\t", "&", "\"", "\t_nbsp_\t", "'"), $str);
//$str = preg_replace("`(?:(?:(?:href|src)\s*=\s*(?:\"|'|)){0})((http|https|ftp|telnet|news|mms)://[^\"'\s()]+)`", "<A HREF=\"\\1\" TARGET='{$config['cf_link_target']}'>\\1</A>", $str);
$str = preg_replace("/([^(href=\"?'?)|(src=\"?'?)]|\(|^)((http|https|ftp|telnet|news|mms):\/\/[a-zA-Z0-9\.-]+\.[가-힣\xA1-\xFEa-zA-Z0-9\.:&#=_\?\/~\+%@;\-\|\,\(\)]+)/i", "\\1<A HREF=\"\\2\" TARGET=\"{$config['cf_link_target']}\">\\2</A>", $str);
$str = preg_replace("/([^(href=\"?'?)|(src=\"?'?)]|\(|^)((http|https|ftp|telnet|news|mms):\/\/[a-zA-Z0-9\.-]+\.[가-힣\xA1-\xFEa-zA-Z0-9\.:&#!=_\?\/~\+%@;\-\|\,\(\)]+)/i", "\\1<A HREF=\"\\2\" TARGET=\"{$config['cf_link_target']}\">\\2</A>", $str);
$str = preg_replace("/(^|[\"'\s(])(www\.[^\"'\s()]+)/i", "\\1<A HREF=\"http://\\2\" TARGET=\"{$config['cf_link_target']}\">\\2</A>", $str);
$str = preg_replace("/[0-9a-z_-]+@[a-z0-9._-]{4,}/i", "<a href=\"mailto:\\0\">\\0</a>", $str);
$str = str_replace(array("\t_nbsp_\t", "\t_lt_\t", "\t_gt_\t", "'"), array("&nbsp;", "&lt;", "&gt;", "&#039;"), $str);
@@ -628,7 +628,7 @@ function get_sql_search($search_ca_name, $search_field, $search_text, $search_op
// SQL Injection 방지
// 필드값에 a-z A-Z 0-9 _ , | 이외의 값이 있다면 검색필드를 wr_subject 로 설정한다.
$field[$k] = preg_match("/^[\w\,\|]+$/", $field[$k]) ? $field[$k] : "wr_subject";
$field[$k] = preg_match("/^[\w\,\|]+$/", $field[$k]) ? strtolower($field[$k]) : "wr_subject";
$str .= $op2;
switch ($field[$k]) {
@@ -712,7 +712,7 @@ function get_member($mb_id, $fields='*')
// 제목별로 컬럼 정렬하는 QUERY STRING
function subject_sort_link($col, $query_string='', $flag='asc')
{
global $sst, $sod, $sfl, $stx, $page;
global $sst, $sod, $sfl, $stx, $page, $sca;
$q1 = "sst=$col";
if ($flag == 'asc')
@@ -744,6 +744,7 @@ function subject_sort_link($col, $query_string='', $flag='asc')
$arr_query[] = $q2;
$arr_query[] = 'sfl='.$sfl;
$arr_query[] = 'stx='.$stx;
$arr_query[] = 'sca='.$sca;
$arr_query[] = 'page='.$page;
$qstr = implode("&amp;", $arr_query);
@@ -796,7 +797,7 @@ function get_category_option($bo_table='', $ca_name='')
{
global $g5, $board, $is_admin;
$categories = explode("|", $board['bo_category_list'].($is_admin?"|공지":"")); // 구분자가 , 로 되어 있음
$categories = explode("|", $board['bo_category_list'].($is_admin?"|공지":"")); // 구분자가 | 로 되어 있음
$str = "";
for ($i=0; $i<count($categories); $i++) {
$category = trim($categories[$i]);
@@ -1200,7 +1201,8 @@ function get_sideview($mb_id, $name='', $email='', $homepage='')
global $g5;
global $bo_table, $sca, $is_admin, $member;
$email = base64_encode($email);
$email_enc = new str_encrypt();
$email = $email_enc->encrypt($email);
$homepage = set_http(clean_xss_tags($homepage));
$name = get_text($name, 0, true);
@@ -2422,6 +2424,8 @@ class html_process {
if(!trim($link[1]))
continue;
$link[1] = preg_replace('#\.css([\'\"]?>)$#i', '.css?ver='.G5_CSS_VER.'$1', $link[1]);
$stylesheet .= PHP_EOL.$link[1];
}
}
@@ -2446,6 +2450,8 @@ class html_process {
if(!trim($js[1]))
continue;
$js[1] = preg_replace('#\.js([\'\"]?>)$#i', '.js?ver='.G5_JS_VER.'$1', $js[1]);
$javascript .= $php_eol.$js[1];
$php_eol = PHP_EOL;
}
@@ -2463,7 +2469,10 @@ class html_process {
<body>
전에 스킨의 자바스크립트가 위치하도록 하게 한다.
*/
$buffer = preg_replace('#(</head>[^<]*<body[^>]*>)#', "$javascript\n$1", $buffer);
$nl = '';
if($javascript)
$nl = "\n";
$buffer = preg_replace('#(</head>[^<]*<body[^>]*>)#', "$javascript{$nl}$1", $buffer);
return $buffer;
}
@@ -2657,7 +2666,10 @@ if (!function_exists("get_sock")) {
$fp = fsockopen ($host, 80, $errno, $errstr, 30);
if (!$fp)
{
die("$errstr ($errno)\n");
//die("$errstr ($errno)\n");
echo "$errstr ($errno)\n";
return null;
}
else
{
@@ -2979,10 +2991,32 @@ function check_url_host($url, $msg='', $return_url=G5_URL)
$p = @parse_url($url);
$host = preg_replace('/:[0-9]+$/', '', $_SERVER['HTTP_HOST']);
$is_host_check = false;
if ((isset($p['scheme']) && $p['scheme']) || (isset($p['host']) && $p['host'])) {
if(stripos($url, 'http:') !== false) {
if(!isset($p['scheme']) || !$p['scheme'] || !isset($p['host']) || !$p['host'])
alert('url 정보가 올바르지 않습니다.', $return_url);
}
//php 5.6.29 이하 버전에서는 parse_url 버그가 존재함
if ( (isset($p['host']) && $p['host']) && version_compare(PHP_VERSION, '5.6.29') < 0) {
$bool_ch = false;
foreach( array('user','host') as $key) {
if ( isset( $p[ $key ] ) && strpbrk( $p[ $key ], ':/?#@' ) ) {
$bool_ch = true;
}
}
if( $bool_ch ){
$regex = '/https?\:\/\/'.$host.'/i';
if( ! preg_match($regex, $url) ){
$is_host_check = true;
}
}
}
if ((isset($p['scheme']) && $p['scheme']) || (isset($p['host']) && $p['host']) || $is_host_check) {
//if ($p['host'].(isset($p['port']) ? ':'.$p['port'] : '') != $_SERVER['HTTP_HOST']) {
if ($p['host'] != $host) {
if ( ($p['host'] != $host) || $is_host_check ) {
echo '<script>'.PHP_EOL;
echo 'alert("url에 타 도메인을 지정할 수 없습니다.");'.PHP_EOL;
echo 'document.location.href = "'.$return_url.'";'.PHP_EOL;
@@ -3173,4 +3207,145 @@ function check_vaild_callback($callback){
return true;
}
}
// 문자열 암복호화
class str_encrypt
{
var $salt;
var $lenght;
function __construct($salt='')
{
if(!$salt)
$this->salt = md5(preg_replace('/[^0-9A-Za-z]/', substr(G5_MYSQL_USER, -1), G5_MYSQL_PASSWORD));
else
$this->salt = $salt;
$this->length = strlen($this->salt);
}
function encrypt($str)
{
$length = strlen($str);
$result = '';
for($i=0; $i<$length; $i++) {
$char = substr($str, $i, 1);
$keychar = substr($this->salt, ($i % $this->length) - 1, 1);
$char = chr(ord($char) + ord($keychar));
$result .= $char;
}
return base64_encode($result);
}
function decrypt($str) {
$result = '';
$str = base64_decode($str);
$length = strlen($str);
for($i=0; $i<$length; $i++) {
$char = substr($str, $i, 1);
$keychar = substr($this->salt, ($i % $this->length) - 1, 1);
$char = chr(ord($char) - ord($keychar));
$result .= $char;
}
return $result;
}
}
// 불법접근을 막도록 토큰을 생성하면서 토큰값을 리턴
function get_write_token($bo_table)
{
$token = md5(uniqid(rand(), true));
set_session('ss_write_'.$bo_table.'_token', $token);
return $token;
}
// POST로 넘어온 토큰과 세션에 저장된 토큰 비교
function check_write_token($bo_table)
{
if(!$bo_table)
alert('올바른 방법으로 이용해 주십시오.', G5_URL);
$token = get_session('ss_write_'.$bo_table.'_token');
set_session('ss_write_'.$bo_table.'_token', '');
if(!$token || !$_REQUEST['token'] || $token != $_REQUEST['token'])
alert('올바른 방법으로 이용해 주십시오.', G5_URL);
return true;
}
function get_call_func_cache($func, $args=array()){
static $cache = array();
$key = md5(serialize($args));
if( isset($cache[$func]) && isset($cache[$func][$key]) ){
return $cache[$func][$key];
}
$result = null;
try{
$cache[$func][$key] = $result = call_user_func_array($func, $args);
} catch (Exception $e) {
return null;
}
return $result;
}
// include 하는 경로에 data file 경로가 포함되어 있는지 체크합니다.
function is_include_path_check($path='')
{
if( $path ){
try {
// whether $path is unix or not
$unipath = strlen($path)==0 || $path{0}!='/';
$unc = substr($path,0,2)=='\\\\'?true:false;
// attempts to detect if path is relative in which case, add cwd
if(strpos($path,':') === false && $unipath && !$unc){
$path=getcwd().DIRECTORY_SEPARATOR.$path;
if($path{0}=='/'){
$unipath = false;
}
}
// resolve path parts (single dot, double dot and double delimiters)
$path = str_replace(array('/', '\\'), DIRECTORY_SEPARATOR, $path);
$parts = array_filter(explode(DIRECTORY_SEPARATOR, $path), 'strlen');
$absolutes = array();
foreach ($parts as $part) {
if ('.' == $part){
continue;
}
if ('..' == $part) {
array_pop($absolutes);
} else {
$absolutes[] = $part;
}
}
$path = implode(DIRECTORY_SEPARATOR, $absolutes);
// resolve any symlinks
// put initial separator that could have been lost
$path = !$unipath ? '/'.$path : $path;
$path = $unc ? '\\\\'.$path : $path;
} catch (Exception $e) {
//echo 'Caught exception: ', $e->getMessage(), "\n";
return false;
}
if( preg_match('/\/data\/(file|editor)\/[A-Za-z0-9_]{1,20}\//', $path) ){
return false;
}
}
return true;
}
?>
+1 -1
View File
@@ -66,7 +66,7 @@ function latest($skin_dir='', $bo_table, $rows=10, $subject_len=40, $cache_time=
if($cache_fwrite) {
$handle = fopen($cache_file, 'w');
$cache_content = "<?php\nif (!defined('_GNUBOARD_')) exit;\n\$bo_subject='".$bo_subject."';\n\$list=".var_export($list, true)."?>";
$cache_content = "<?php\nif (!defined('_GNUBOARD_')) exit;\n\$bo_subject='".sql_escape_string($bo_subject)."';\n\$list=".var_export($list, true)."?>";
fwrite($handle, $cache_content);
fclose($handle);
}
+10 -364
View File
@@ -1,7 +1,7 @@
<?php
if (!defined('_GNUBOARD_')) exit;
include_once(G5_PHPMAILER_PATH.'/class.phpmailer.php');
include_once(G5_PHPMAILER_PATH.'/PHPMailerAutoload.php');
// 메일 보내기 (파일 여러개 첨부 가능)
// type : text=0, html=1, text+html=2
@@ -20,24 +20,27 @@ function mailer($fname, $fmail, $to, $subject, $content, $type=0, $file="", $cc=
if (defined('G5_SMTP') && G5_SMTP) {
$mail->IsSMTP(); // telling the class to use SMTP
$mail->Host = G5_SMTP; // SMTP server
if(defined('G5_SMTP_PORT') && G5_SMTP_PORT)
$mail->Port = G5_SMTP_PORT;
}
$mail->CharSet = 'UTF-8';
$mail->From = $fmail;
$mail->FromName = $fname;
$mail->Subject = $subject;
$mail->AltBody = ""; // optional, comment out and test
$mail->MsgHTML($content);
$mail->AddAddress($to);
$mail->msgHTML($content);
$mail->addAddress($to);
if ($cc)
$mail->AddCC($cc);
$mail->addCC($cc);
if ($bcc)
$mail->AddBCC($bcc);
$mail->addBCC($bcc);
//print_r2($file); exit;
if ($file != "") {
foreach ($file as $f) {
$mail->AddAttachment($f['path'], $f['name']);
$mail->addAttachment($f['path'], $f['name']);
}
}
return $mail->Send();
return $mail->send();
}
// 파일을 첨부함
@@ -46,364 +49,7 @@ function attach_file($filename, $tmp_name)
// 서버에 업로드 되는 파일은 확장자를 주지 않는다. (보안 취약점)
$dest_file = G5_DATA_PATH.'/tmp/'.str_replace('/', '_', $tmp_name);
move_uploaded_file($tmp_name, $dest_file);
/*
$fp = fopen($tmp_name, "r");
$tmpfile = array(
"name" => $filename,
"tmp_name" => $tmp_name,
"data" => fread($fp, filesize($tmp_name)));
fclose($fp);
*/
$tmpfile = array("name" => $filename, "path" => $dest_file);
return $tmpfile;
}
/*
// 메일 보내기 (파일 여러개 첨부 가능)
// type : text=0, html=1, text+html=2
function mailer($fname, $fmail, $to, $subject, $content, $type=0, $file="", $cc="", $bcc="")
{
global $config;
global $g5;
// 메일발송 사용을 하지 않는다면
if (!$config['cf_email_use']) return;
$boundary = uniqid(time());
$header = "Message-ID: <".generate_mail_id(preg_replace("/@.+$/i","",$to)).">\r\n".
"From:=?utf-8?B?".base64_encode($fname)."?=<$fmail>\r\n";
if ($cc) $header .= "Cc: $cc\n";
if ($bcc) $header .= "Bcc: $bcc\n";
$header .= "MIME-Version: 1.0\n";
$header .= "X-Mailer: SIR Mailer 0.94 : {$_SERVER['SERVER_ADDR']} : {$_SERVER['REMOTE_ADDR']} : ".G5_URL." : {$_SERVER['SCRIPT_NAME']} : {$_SERVER['HTTP_REFERER']} \n";
$header .= "Date: ".date ("D, j M Y H:i:s T",time())."\r\n".
"To: $to\r\n".
"Subject: =?utf-8?B?".base64_encode($subject)."?=\r\n";
if ($file == "") {
$header .= "Content-Type: MULTIPART/ALTERNATIVE;\n".
" BOUNDARY=\"$boundary\"\n\n";
} else {
$header .= "Content-Type: MULTIPART/MIXED;\n".
" BOUNDARY=\"$boundary\"\n\n";
}
if ($type == 2)
$content = nl2br($content);
$strip_content = stripslashes(trim($content));
$encode_content = chunk_split(base64_encode($strip_content));
$body = "";
$body .= "\n--$boundary\n";
$body .= "Content-Type: TEXT/PLAIN; charset=utf-8\n";
$body .= "Content-Transfer-Encoding: BASE64\n\n";
$body .= $encode_content;
$body .= "\n--$boundary\n";
if ($type) {
$body .= "Content-Type: TEXT/HTML; charset=utf-8\n";
$body .= "Content-Transfer-Encoding: BASE64\n\n";
$body .= $encode_content;
$body .= "\n--$boundary\n";
}
if ($file != "") {
foreach ($file as $f) {
$body .= "n--$boundary\n";
$body .= "Content-Type: APPLICATION/OCTET-STREAM; name=$fname\n";
$body .= "Content-Transfer-Encoding: BASE64\n";
$body .= "Content-Disposition: inline; filename=$fname\n";
$body .= "\n";
$body .= chunk_split(base64_encode($f['data']));
$body .= "\n";
}
$body .= "--$boundary--\n";
}
$mails['to'] = $to;
$mails['from'] = $fmail;
$mails['text'] = $header.$body;
if (defined(G5_SMTP)) {
ini_set('SMTP', G5_SMTP);
@mail($to, $subject, $body, $header, "-f $fmail");
} else {
new maildaemon($mails);
}
}
// 파일 첨부시
$fp = fopen(__FILE__, "r");
$file[] = array(
"name"=>basename(__FILE__),
"data"=>fread($fp, filesize(__FILE__)));
fclose($fp);
// 메일 유효성 검사
// core PHP Programming 책 참고
// hanmail.net , hotmail.com , kebi.com 등이 정상적이지 않음으로 사용 불가
function verify_email($address, &$error)
{
global $g5;
$WAIT_SECOND = 3; // ?초 기다림
list($user, $domain) = explode("@", $address);
// 도메인에 메일 교환기가 존재하는지 검사
if (checkdnsrr($domain, "MX")) {
// 메일 교환기 레코드들을 얻는다
if (!getmxrr($domain, $mxhost, $mxweight)) {
$error = '메일 교환기를 회수할 수 없음';
return false;
}
} else {
// 메일 교환기가 없으면, 도메인 자체가 편지를 받는 것으로 간주
$mxhost[] = $domain;
$mxweight[] = 1;
}
// 메일 교환기 호스트의 배열을 만든다.
for ($i=0; $i<count($mxhost); $i++)
$weighted_host[($mxweight[$i])] = $mxhost[$i];
ksort($weighted_host);
// 각 호스트를 검사
foreach($weighted_host as $host) {
// 호스트의 SMTP 포트에 연결
if (!($fp = @fsockopen($host, 25))) continue;
// 220 메세지들은 건너뜀
// 3초가 지나도 응답이 없으면 포기
socket_set_blocking($fp, false);
$stoptime = G5_SERVER_TIME + $WAIT_SECOND;
$gotresponse = false;
while (true) {
// 메일서버로부터 한줄 얻음
$line = fgets($fp, 1024);
if (substr($line, 0, 3) == '220') {
// 타이머를 초기화
$stoptime = G5_SERVER_TIME + $WAIT_SECOND;
$gotresponse = true;
} else if ($line == '' && $gotresponse)
break;
else if (G5_SERVER_TIME > $stoptime)
break;
}
// 이 호스트는 응답이 없음. 다음 호스트로 넘어간다
if (!$gotresponse) continue;
socket_set_blocking($fp, true);
// SMTP 서버와의 대화를 시작
fputs($fp, "HELO {$_SERVER['SERVER_NAME']}\r\n");
echo "HELO {$_SERVER['SERVER_NAME']}\r\n";
fgets($fp, 1024);
// From을 설정
fputs($fp, "MAIL FROM: <info@$domain>\r\n");
echo "MAIL FROM: <info@$domain>\r\n";
fgets($fp, 1024);
// 주소를 시도
fputs($fp, "RCPT TO: <$address>\r\n");
echo "RCPT TO: <$address>\r\n";
$line = fgets($fp, 1024);
// 연결을 닫음
fputs($fp, "QUIT\r\n");
fclose($fp);
if (substr($line, 0, 3) != '250') {
// SMTP 서버가 이 주소를 인식하지 못하므로 잘못된 주소임
$error = $line;
return false;
} else
// 주소를 인식했음
return true;
}
$error = '메일 교환기에 도달하지 못하였습니다.';
return false;
}
# jsboard 의 메일보내기 class를 추가합니다. 130808
# http://kldp.net/projects/jsboard/
# mail 보내기 함수 2001.11.30 김정균
# $Id: include/sendmail.php,v 1.4 2009/11/19 05:29:51 oops Exp $
# 서버상의 smtp daemon 에 의존하지 않고 직접 발송하는 smtp class
#
# 특정 배열로 class 에 전달을 하여 메일을 발송한다. 배열은 아래을 참조한다.
#
# debug -> debug 를 할지 안할지를 결정한다.
# ofhtml -> 웹상에서 사용할지 쉘상에서 사용할지를 결정한다.
# from -> 메일을 발송하는 사람의 메일주소
# to -> 메일을 받을 사람의 메일 주소
# text -> 헤더 내용을 포함한 메일 본문
#
class maildaemon {
var $failed = 0;
function __construct($v) {
$this->debug = $v['debug'];
$this->ofhtml = $v['ofhtml'];
if($_SERVER['SERVER_NAME']) $this->helo = $_SERVER['SERVER_NAME'];
if(!$this->helo || preg_match("/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/i",$this->helo))
$this->helo = "JSBoardMessage";
$this->from = $v['from'];
$this->to = $v['to'];
$this->body = $v['text']."\r\n.";
//die($v['text']);
$this->newline = $this->ofhtml ? "<br>\n" : "\n";
$this->mx = $this->getMX($this->to);
if($this->debug) {
echo "DEBUG: ".$this->mx." start".$this->newline;
echo "################################################################".$this->newline;
}
$this->sockets("open");
$this->send("HELO ".$this->helo);
$this->send("MAIL FROM: <".$this->from.">");
$this->send("RCPT TO: <".$this->to.">");
$this->send("data");
$this->send($this->body);
$this->send("quit");
$this->sockets("close");
}
function getMX($email) {
$dev = explode("@",$email);
$account = $dev[0];
$host = $dev[1];
if(checkdnsrr($host,"MX") && getmxrr($host,$mx,$weight)) {
$idx = 0;
for($i=0;$i<sizeof($mx);$i++) {
$dest = $dest ? $dest : $weight[$i];
if($dest > $weight[$i]) {
$dest = $weight[$i];
$idx = $i;
}
}
} else return $host;
return $mx[$idx];
}
# 디버그 함수
# $t -> 1 (debug of socket open,close)
# 0 (regular smtp message)
# $p -> 1 (print detail debug)
#
# return 1 -> success
# return 0 -> failed
#
function debug($str,$t=0,$p=0) {
if($t) {
if(!$str) $this->failed = 1;
if($this->sock) $returnmsg = trim(fgets($this->sock,1024));
} else {
if(!preg_match("/^(220|221|250|251|354)$/",substr(trim($str),0,3)))
$this->failed = 1;
}
# DEBUG mode -> 모든 메세지 출력
if($p) {
if($t) {
$str = "Conncet ".$this->mx;
$str .= $this->failed ? " Failed" : " Success";
$str .= $this->newline."DEBUG: $returnmsg";
}
echo "DEBUG: $str".$this->newline;
}
# DEBUG 모드가 아닐때, 에러 메세지 출력
if(!$p && $this->failed) {
if($this->ofhtml) echo "<SCRIPT>\nalert('$str')\n</SCRIPT>\n";
else "ERROR: $str\n";
}
}
function sockets($option=0) {
switch($option) {
case "open" :
$this->sock = @fsockopen($this->mx,25,$this->errno,$this->errstr,30);
$this->debug($this->sock,1,$this->debug);
break;
default :
if($this->sock) fclose($this->sock);
break;
}
}
function send($str,$chk=0) {
if(!$this->failed) {
if($this->debug) {
if(preg_match("/\r\n/",trim($str)))
$str_debug = trim(str_replace("\r\n","\r\n ",$str));
else $str_debug = $str;
}
fputs($this->sock,"$str\r\n");
$recv = trim(fgets($this->sock,1024));
$recvchk = $recv;
$this->debug($recv,0,$this->debug);
if(preg_match("/Mail From:/i",$str) && preg_match("/exist|require|error/i",$recvchk) && !$chk) {
$this->failed = 0;
$this->send("MAIL FROM: <".$this->to.">",1);
}
}
}
}
function generate_mail_id($uid) {
$id = date("YmdHis",time());
mt_srand((float) microtime() * 1000000);
$randval = mt_rand();
$id .= $randval."@$uid";
return $id;
}
function mail_header($to,$from,$title,$mta=0) {
global $langs,$boundary;
# mail header 를 작성
$boundary = get_boundary_msg();
$header = "Message-ID: <".generate_mail_id(preg_replace("/@.+$/i","",$to)).">\r\n".
"From:=?utf-8?B?".base64_encode('보내는사람')."?=<$from>\r\n".
"MIME-Version: 1.0\r\n";
if(!$mta) $header .= "Date: ".date ("D, j M Y H:i:s T",time())."\r\n".
"To: $to\r\n".
"Subject: $title\r\n";
$header .= "Content-Type: multipart/alternative;\r\n".
" boundary=\"$boundary\"\r\n\r\n";
return $header;
}
function get_boundary_msg() {
$uniqchr = uniqid("");
$one = strtoupper($uniqchr[0]);
$two = strtoupper(substr($uniqchr,0,8));
$three = strtoupper(substr(strrev($uniqchr),0,8));
return "----=_NextPart_000_000${one}_${two}.${three}";
}
*/
?>
+50 -18
View File
@@ -4,7 +4,7 @@ if (!defined('_GNUBOARD_')) exit;
@ini_set('memory_limit', '-1');
// 게시글리스트 썸네일 생성
function get_list_thumbnail($bo_table, $wr_id, $thumb_width, $thumb_height, $is_create=false, $is_crop=true, $crop_mode='center', $is_sharpen=false, $um_value='80/0.5/3')
function get_list_thumbnail($bo_table, $wr_id, $thumb_width, $thumb_height, $is_create=false, $is_crop=false, $crop_mode='center', $is_sharpen=false, $um_value='80/0.5/3')
{
global $g5, $config;
$filename = $alt = "";
@@ -238,10 +238,10 @@ function thumbnail($filename, $source_path, $target_path, $thumb_width, $thumb_h
$degree = 0;
if ($size[2] == 1) {
$src = imagecreatefromgif($source_file);
$src_transparency = imagecolortransparent($src);
$src = @imagecreatefromgif($source_file);
$src_transparency = @imagecolortransparent($src);
} else if ($size[2] == 2) {
$src = imagecreatefromjpeg($source_file);
$src = @imagecreatefromjpeg($source_file);
if(function_exists('exif_read_data')) {
// exif 정보를 기준으로 회전각도 구함
@@ -273,8 +273,8 @@ function thumbnail($filename, $source_path, $target_path, $thumb_width, $thumb_h
}
}
} else if ($size[2] == 3) {
$src = imagecreatefrompng($source_file);
imagealphablending($src, true);
$src = @imagecreatefrompng($source_file);
@imagealphablending($src, true);
} else {
return;
}
@@ -330,20 +330,52 @@ function thumbnail($filename, $source_path, $target_path, $thumb_width, $thumb_h
}
break;
}
}
$dst = imagecreatetruecolor($dst_w, $dst_h);
$dst = imagecreatetruecolor($dst_w, $dst_h);
if($size[2] == 3) {
imagealphablending($dst, false);
imagesavealpha($dst, true);
} else if($size[2] == 1) {
$palletsize = imagecolorstotal($src);
if($src_transparency >= 0 && $src_transparency < $palletsize) {
$transparent_color = imagecolorsforindex($src, $src_transparency);
$current_transparent = imagecolorallocate($dst, $transparent_color['red'], $transparent_color['green'], $transparent_color['blue']);
imagefill($dst, 0, 0, $current_transparent);
imagecolortransparent($dst, $current_transparent);
if($size[2] == 3) {
imagealphablending($dst, false);
imagesavealpha($dst, true);
} else if($size[2] == 1) {
$palletsize = imagecolorstotal($src);
if($src_transparency >= 0 && $src_transparency < $palletsize) {
$transparent_color = imagecolorsforindex($src, $src_transparency);
$current_transparent = imagecolorallocate($dst, $transparent_color['red'], $transparent_color['green'], $transparent_color['blue']);
imagefill($dst, 0, 0, $current_transparent);
imagecolortransparent($dst, $current_transparent);
}
}
} else { // 비율에 맞게 생성
$dst = imagecreatetruecolor($dst_w, $dst_h);
$bgcolor = imagecolorallocate($dst, 255, 255, 255); // 배경색
if($src_w > $src_h) {
$tmp_h = round(($dst_w * $src_h) / $src_w);
$dst_y = round(($dst_h - $tmp_h) / 2);
$dst_h = $tmp_h;
} else {
$tmp_w = round(($dst_h * $src_w) / $src_h);
$dst_x = round(($dst_w - $tmp_w) / 2);
$dst_w = $tmp_w;
}
if($size[2] == 3) {
$bgcolor = imagecolorallocatealpha($dst, 0, 0, 0, 127);
imagefill($dst, 0, 0, $bgcolor);
imagealphablending($dst, false);
imagesavealpha($dst, true);
} else if($size[2] == 1) {
$palletsize = imagecolorstotal($src);
if($src_transparency >= 0 && $src_transparency < $palletsize) {
$transparent_color = imagecolorsforindex($src, $src_transparency);
$current_transparent = imagecolorallocate($dst, $transparent_color['red'], $transparent_color['green'], $transparent_color['blue']);
imagefill($dst, 0, 0, $current_transparent);
imagecolortransparent($dst, $current_transparent);
} else {
imagefill($dst, 0, 0, $bgcolor);
}
} else {
imagefill($dst, 0, 0, $bgcolor);
}
}
} else {
+1 -1
View File
@@ -17,7 +17,7 @@ $sql = " select bo_table, bo_subject
and bo_device <> 'pc' ";
if(!$is_admin)
$sql .= " and bo_use_cert = '' ";
$sql .= " order by bo_table ";
$sql .= " order by bo_order ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
@@ -53,8 +53,10 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
$query_string = clean_query_string($_SERVER['QUERY_STRING']);
if($w == 'cu') {
$sql = " select wr_id, wr_content from $write_table where wr_id = '$c_id' and wr_is_comment = '1' ";
$sql = " select wr_id, wr_content, mb_id from $write_table where wr_id = '$c_id' and wr_is_comment = '1' ";
$cmt = sql_fetch($sql);
if (!($is_admin || ($member['mb_id'] == $cmt['mb_id'] && $cmt['mb_id'])))
$cmt['wr_content'] = '';
$c_wr_content = $cmt['wr_content'];
}
@@ -81,7 +83,7 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
?>
<aside id="bo_vc_w">
<h2>댓글쓰기</h2>
<form name="fviewcomment" action="./write_comment_update.php" onsubmit="return fviewcomment_submit(this);" method="post" autocomplete="off">
<form name="fviewcomment" action="<?php echo $comment_action_url; ?>" onsubmit="return fviewcomment_submit(this);" method="post" autocomplete="off">
<input type="hidden" name="w" value="<?php echo $w ?>" id="w">
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
<input type="hidden" name="wr_id" value="<?php echo $wr_id ?>">
@@ -248,6 +250,8 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
<?php if($is_guest) echo chk_captcha_js(); ?>
set_comment_token(f);
document.getElementById("btn_submit").disabled = "disabled";
return true;
@@ -53,8 +53,10 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
$query_string = clean_query_string($_SERVER['QUERY_STRING']);
if($w == 'cu') {
$sql = " select wr_id, wr_content from $write_table where wr_id = '$c_id' and wr_is_comment = '1' ";
$sql = " select wr_id, wr_content, mb_id from $write_table where wr_id = '$c_id' and wr_is_comment = '1' ";
$cmt = sql_fetch($sql);
if (!($is_admin || ($member['mb_id'] == $cmt['mb_id'] && $cmt['mb_id'])))
$cmt['wr_content'] = '';
$c_wr_content = $cmt['wr_content'];
}
@@ -81,7 +83,7 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
?>
<aside id="bo_vc_w">
<h2>댓글쓰기</h2>
<form name="fviewcomment" action="./write_comment_update.php" onsubmit="return fviewcomment_submit(this);" method="post" autocomplete="off">
<form name="fviewcomment" action="<?php echo $comment_action_url; ?>" onsubmit="return fviewcomment_submit(this);" method="post" autocomplete="off">
<input type="hidden" name="w" value="<?php echo $w ?>" id="w">
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
<input type="hidden" name="wr_id" value="<?php echo $wr_id ?>">
@@ -248,6 +250,8 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
<?php if($is_guest) echo chk_captcha_js(); ?>
set_comment_token(f);
document.getElementById("btn_submit").disabled = "disabled";
return true;
+1 -1
View File
@@ -77,7 +77,7 @@ if( count($faq_master_list) ){
<?php
// 하단 HTML
echo '<div id="faq_thtml">'.conv_content($fm['fm_tail_html'], 1).'</div>';
echo '<div id="faq_thtml">'.conv_content($fm['fm_mobile_tail_html'], 1).'</div>';
?>
<div id="faq_sch">
@@ -11,7 +11,6 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<form name="fformmail" action="./formmail_send.php" onsubmit="return fformmail_submit(this);" method="post" enctype="multipart/form-data" style="margin:0px;">
<input type="hidden" name="to" value="<?php echo $email ?>">
<input type="hidden" name="attach" value="2">
<input type="hidden" name="token" value="<?php echo $token ?>">
<?php if ($is_member) { // 회원이면 ?>
<input type="hidden" name="fnick" value="<?php echo get_text($member['mb_nick']); ?>">
<input type="hidden" name="fmail" value="<?php echo $member['mb_email'] ?>">
@@ -19,6 +19,13 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<table>
<caption>쪽지쓰기</caption>
<tbody>
<?php if ($config['cf_memo_send_point']) { ?>
<tr>
<td colspan="2">
<strong>쪽지 보낼때 회원당 <?php echo number_format($config['cf_memo_send_point']); ?>점의 포인트를 차감합니다.</strong>
</td>
</tr>
<?php } ?>
<tr>
<th scope="row"><label for="me_recv_mb_id">받는 회원아이디<strong class="sound_only">필수</strong></label></th>
<td>
@@ -8,7 +8,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<div class="mbskin">
<script src="<?php echo G5_JS_URL ?>/jquery.register_form.js"></script>
<?php if($config['cf_cert_use'] && ($config['cf_cert_ipin'] || $config['cf_cert_hp'])) { ?>
<script src="<?php echo G5_JS_URL ?>/certify.js"></script>
<script src="<?php echo G5_JS_URL ?>/certify.js?v=<?php echo G5_JS_VER; ?>"></script>
<?php } ?>
<form name="fregisterform" id="fregisterform" action="<?php echo $register_action_url ?>" onsubmit="return fregisterform_submit(this);" method="post" enctype="multipart/form-data" autocomplete="off">
@@ -60,7 +60,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
if($config['cf_cert_use']) {
if($config['cf_cert_ipin'])
echo '<button type="button" id="win_ipin_cert" class="btn_frmline">아이핀 본인확인</button>'.PHP_EOL;
if($config['cf_cert_hp'] && $config['cf_cert_hp'] != 'lg')
if($config['cf_cert_hp'])
echo '<button type="button" id="win_hp_cert" class="btn_frmline">휴대폰 본인확인</button>'.PHP_EOL;
echo '<noscript>본인확인을 위해서는 자바스크립트 사용이 가능해야합니다.</noscript>'.PHP_EOL;
@@ -122,7 +122,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
</tr>
<?php } ?>
<?php if ($config['cf_use_hp']) { ?>
<?php if ($config['cf_use_hp'] || $config['cf_cert_hp']) { ?>
<tr>
<th scope="row"><label for="reg_mb_hp">휴대폰번호<?php if ($config['cf_req_hp']) { ?><strong class="sound_only">필수</strong><?php } ?></label></th>
<td>
@@ -288,6 +288,10 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
$cert_url = G5_KCPCERT_URL.'/kcpcert_form.php';
$cert_type = 'kcp-hp';
break;
case 'lg':
$cert_url = G5_LGXPAY_URL.'/AuthOnlyReq.php';
$cert_type = 'lg-hp';
break;
default:
echo 'alert("기본환경설정에서 휴대폰 본인확인 설정을 해주십시오");';
echo 'return false;';
+2 -1
View File
@@ -135,7 +135,8 @@
#memo_list_ul {margin:0 20px;padding:0;border-top:1px solid #e9e9e9;list-style:none}
#memo_list_ul li {position:relative;padding:10px 0;border-bottom:1px solid #e9e9e9}
#memo_list_ul .memo_link {}
#memo_list_ul .memo_send {position:absolute;top:10px;right:30px}
#memo_list_ul .memo_send {display:block;margin-top:4px}
#memo_list_ul .memo_send a{color:#777}
#memo_list_ul .memo_read {font-size:0.95em;color:#666}
#memo_list_ul .memo_del {position:absolute;top:10px;right:0}
+2 -2
View File
@@ -7,7 +7,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$poll_skin_url.'/style.css">', 0)
<form name="fpoll" action="<?php echo G5_BBS_URL ?>/poll_update.php" onsubmit="return fpoll_submit(this);" method="post">
<input type="hidden" name="po_id" value="<?php echo $po_id ?>">
<input type="hidden" name="skin_dir" value="<?php echo $skin_dir ?>">
<input type="hidden" name="skin_dir" value="<?php echo urlencode($skin_dir); ?>">
<aside id="poll">
<header>
<h2>설문조사</h2>
@@ -21,7 +21,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$poll_skin_url.'/style.css">', 0)
</ul>
<footer>
<input type="submit" value="투표하기">
<a href="<?php echo G5_BBS_URL."/poll_result.php?po_id=$po_id&amp;skin_dir=$skin_dir" ?>" target="_blank" onclick="poll_result(this.href); return false;">결과보기</a>
<a href="<?php echo G5_BBS_URL."/poll_result.php?po_id=$po_id&amp;skin_dir=".urlencode($skin_dir); ?>" target="_blank" onclick="poll_result(this.href); return false;">결과보기</a>
</footer>
</aside>
</form>
+1 -1
View File
@@ -21,7 +21,7 @@ if(defined('G5_THEME_PATH')) {
<div id="ft_copy">
<div id="ft_company">
<a href="<?php echo G5_BBS_URL; ?>/content.php?co_id=company">회사소개</a>
<a href="<?php echo G5_BBS_URL; ?>/content.php?co_id=privacy">개인정보취급방침</a>
<a href="<?php echo G5_BBS_URL; ?>/content.php?co_id=privacy">개인정보처리방침</a>
<a href="<?php echo G5_BBS_URL; ?>/content.php?co_id=provision">서비스이용약관</a>
</div>
Copyright &copy; <b>소유하신 도메인.</b> All rights reserved.<br>
File diff suppressed because it is too large Load Diff
+49
View File
@@ -0,0 +1,49 @@
<?php
/**
* PHPMailer SPL autoloader.
* PHP Version 5
* @package PHPMailer
* @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
* @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
* @author Jim Jagielski (jimjag) <jimjag@gmail.com>
* @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
* @author Brent R. Matzelle (original founder)
* @copyright 2012 - 2014 Marcus Bointon
* @copyright 2010 - 2012 Jim Jagielski
* @copyright 2004 - 2009 Andy Prevost
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
* @note This program is distributed in the hope that it will be useful - WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
*/
/**
* PHPMailer SPL autoloader.
* @param string $classname The name of the class to load
*/
function PHPMailerAutoload($classname)
{
//Can't use __DIR__ as it's only in PHP 5.3+
$filename = dirname(__FILE__).DIRECTORY_SEPARATOR.'class.'.strtolower($classname).'.php';
if (is_readable($filename)) {
require $filename;
}
}
if (version_compare(PHP_VERSION, '5.1.2', '>=')) {
//SPL autoloading was introduced in PHP 5.1.2
if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
spl_autoload_register('PHPMailerAutoload', true, true);
} else {
spl_autoload_register('PHPMailerAutoload');
}
} else {
/**
* Fall back to traditional autoload for old PHP versions
* @param string $classname The name of the class to load
*/
function __autoload($classname)
{
PHPMailerAutoload($classname);
}
}
+184
View File
@@ -0,0 +1,184 @@
![PHPMailer](https://raw.github.com/PHPMailer/PHPMailer/master/examples/images/phpmailer.png)
# PHPMailer - A full-featured email creation and transfer class for PHP
Build status: [![Build Status](https://travis-ci.org/PHPMailer/PHPMailer.svg)](https://travis-ci.org/PHPMailer/PHPMailer)
[![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/PHPMailer/PHPMailer/badges/quality-score.png?s=3758e21d279becdf847a557a56a3ed16dfec9d5d)](https://scrutinizer-ci.com/g/PHPMailer/PHPMailer/)
[![Code Coverage](https://scrutinizer-ci.com/g/PHPMailer/PHPMailer/badges/coverage.png?s=3fe6ca5fe8cd2cdf96285756e42932f7ca256962)](https://scrutinizer-ci.com/g/PHPMailer/PHPMailer/)
[![Latest Stable Version](https://poser.pugx.org/phpmailer/phpmailer/v/stable.svg)](https://packagist.org/packages/phpmailer/phpmailer) [![Total Downloads](https://poser.pugx.org/phpmailer/phpmailer/downloads)](https://packagist.org/packages/phpmailer/phpmailer) [![Latest Unstable Version](https://poser.pugx.org/phpmailer/phpmailer/v/unstable.svg)](https://packagist.org/packages/phpmailer/phpmailer) [![License](https://poser.pugx.org/phpmailer/phpmailer/license.svg)](https://packagist.org/packages/phpmailer/phpmailer)
## Class Features
- Probably the world's most popular code for sending email from PHP!
- Used by many open-source projects: WordPress, Drupal, 1CRM, SugarCRM, Yii, Joomla! and many more
- Integrated SMTP support - send without a local mail server
- Send emails with multiple TOs, CCs, BCCs and REPLY-TOs
- Multipart/alternative emails for mail clients that do not read HTML email
- Support for UTF-8 content and 8bit, base64, binary, and quoted-printable encodings
- SMTP authentication with LOGIN, PLAIN, NTLM, CRAM-MD5 and Google's XOAUTH2 mechanisms over SSL and TLS transports
- Error messages in 47 languages!
- DKIM and S/MIME signing support
- Compatible with PHP 5.0 and later
- Much more!
## Why you might need it
Many PHP developers utilize email in their code. The only PHP function that supports this is the mail() function. However, it does not provide any assistance for making use of popular features such as HTML-based emails and attachments.
Formatting email correctly is surprisingly difficult. There are myriad overlapping RFCs, requiring tight adherence to horribly complicated formatting and encoding rules - the vast majority of code that you'll find online that uses the mail() function directly is just plain wrong!
*Please* don't be tempted to do it yourself - if you don't use PHPMailer, there are many other excellent libraries that you should look at before rolling your own - try SwiftMailer, Zend_Mail, eZcomponents etc.
The PHP mail() function usually sends via a local mail server, typically fronted by a `sendmail` binary on Linux, BSD and OS X platforms, however, Windows usually doesn't include a local mail server; PHPMailer's integrated SMTP implementation allows email sending on Windows platforms without a local mail server.
## License
This software is distributed under the [LGPL 2.1](http://www.gnu.org/licenses/lgpl-2.1.html) license. Please read LICENSE for information on the
software availability and distribution.
## Installation & loading
PHPMailer is available via [Composer/Packagist](https://packagist.org/packages/phpmailer/phpmailer) (using semantic versioning), so just add this line to your `composer.json` file:
```json
"phpmailer/phpmailer": "~5.2"
```
or
```sh
composer require phpmailer/phpmailer
```
If you want to use the Gmail XOAUTH2 authentication class, you will also need to add a dependency on the `league/oauth2-client` package.
Alternatively, copy the contents of the PHPMailer folder into somewhere that's in your PHP `include_path` setting. If you don't speak git or just want a tarball, click the 'zip' button at the top of the page in GitHub.
If you're not using composer's autoloader, PHPMailer provides an SPL-compatible autoloader, and that is the preferred way of loading the library - just `require '/path/to/PHPMailerAutoload.php';` and everything should work. The autoloader does not throw errors if it can't find classes so it prepends itself to the SPL list, allowing your own (or your framework's) autoloader to catch errors. SPL autoloading was introduced in PHP 5.1.0, so if you are using a version older than that you will need to require/include each class manually.
PHPMailer does *not* declare a namespace because namespaces were only introduced in PHP 5.3.
If you want to use Google's XOAUTH2 authentication mechanism, you need to be running at least PHP 5.4, and load the dependencies listed in `composer.json`.
### Minimal installation
While installing the entire package manually or with composer is simple, convenient and reliable, you may want to include only vital files in your project. At the very least you will need [class.phpmailer.php](class.phpmailer.php). If you're using SMTP, you'll need [class.smtp.php](class.smtp.php), and if you're using POP-before SMTP, you'll need [class.pop3.php](class.pop3.php). For all of these, we recommend you use [the autoloader](PHPMailerAutoload.php) too as otherwise you will either have to `require` all classes manually or use some other autoloader. You can skip the [language](language/) folder if you're not showing errors to users and can make do with English-only errors. You may need the additional classes in the [extras](extras/) folder if you are using those features, including NTLM authentication and ics generation. If you're using Google XOAUTH2 you will need `class.phpmaileroauth.php` and `class.oauth.php` classes too, as well as the composer dependencies.
## A Simple Example
```php
<?php
require 'PHPMailerAutoload.php';
$mail = new PHPMailer;
//$mail->SMTPDebug = 3; // Enable verbose debug output
$mail->isSMTP(); // Set mailer to use SMTP
$mail->Host = 'smtp1.example.com;smtp2.example.com'; // Specify main and backup SMTP servers
$mail->SMTPAuth = true; // Enable SMTP authentication
$mail->Username = 'user@example.com'; // SMTP username
$mail->Password = 'secret'; // SMTP password
$mail->SMTPSecure = 'tls'; // Enable TLS encryption, `ssl` also accepted
$mail->Port = 587; // TCP port to connect to
$mail->setFrom('from@example.com', 'Mailer');
$mail->addAddress('joe@example.net', 'Joe User'); // Add a recipient
$mail->addAddress('ellen@example.com'); // Name is optional
$mail->addReplyTo('info@example.com', 'Information');
$mail->addCC('cc@example.com');
$mail->addBCC('bcc@example.com');
$mail->addAttachment('/var/tmp/file.tar.gz'); // Add attachments
$mail->addAttachment('/tmp/image.jpg', 'new.jpg'); // Optional name
$mail->isHTML(true); // Set email format to HTML
$mail->Subject = 'Here is the subject';
$mail->Body = 'This is the HTML message body <b>in bold!</b>';
$mail->AltBody = 'This is the body in plain text for non-HTML mail clients';
if(!$mail->send()) {
echo 'Message could not be sent.';
echo 'Mailer Error: ' . $mail->ErrorInfo;
} else {
echo 'Message has been sent';
}
```
You'll find plenty more to play with in the [examples](examples/) folder.
That's it. You should now be ready to use PHPMailer!
## Localization
PHPMailer defaults to English, but in the [language](language/) folder you'll find numerous (46 at the time of writing!) translations for PHPMailer error messages that you may encounter. Their filenames contain [ISO 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the translations, for example `fr` for French. To specify a language, you need to tell PHPMailer which one to use, like this:
```php
// To load the French version
$mail->setLanguage('fr', '/optional/path/to/language/directory/');
```
We welcome corrections and new languages - if you're looking for corrections to do, run the [phpmailerLangTest.php](test/phpmailerLangTest.php) script in the tests folder and it will show any missing translations.
## Documentation
Examples of how to use PHPMailer for common scenarios can be found in the [examples](examples/) folder. If you're looking for a good starting point, we recommend you start with [the gmail example](examples/gmail.phps).
There are tips and a troubleshooting guide in the [GitHub wiki](https://github.com/PHPMailer/PHPMailer/wiki). If you're having trouble, this should be the first place you look as it's the most frequently updated.
Complete generated API documentation is [available online](http://phpmailer.github.io/PHPMailer/).
You'll find some basic user-level docs in the [docs](docs/) folder, and you can generate complete API-level documentation using the [generatedocs.sh](docs/generatedocs.sh) shell script in the docs folder, though you'll need to install [PHPDocumentor](http://www.phpdoc.org) first. You may find [the unit tests](test/phpmailerTest.php) a good source of how to do various operations such as encryption.
If the documentation doesn't cover what you need, search the [many questions on StackOverflow](http://stackoverflow.com/questions/tagged/phpmailer), and before you ask a question about "SMTP Error: Could not connect to SMTP host.", [read the troubleshooting guide](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting).
## Tests
There is a PHPUnit test script in the [test](test/) folder.
Build status: [![Build Status](https://travis-ci.org/PHPMailer/PHPMailer.svg)](https://travis-ci.org/PHPMailer/PHPMailer)
If this isn't passing, is there something you can do to help?
## Contributing
Please submit bug reports, suggestions and pull requests to the [GitHub issue tracker](https://github.com/PHPMailer/PHPMailer/issues).
We're particularly interested in fixing edge-cases, expanding test coverage and updating translations.
With the move to the PHPMailer GitHub organisation, you'll need to update any remote URLs referencing the old GitHub location with a command like this from within your clone:
```sh
git remote set-url upstream https://github.com/PHPMailer/PHPMailer.git
```
Please *don't* use the SourceForge or Google Code projects any more.
## Sponsorship
Development time and resources for PHPMailer are provided by [Smartmessages.net](https://info.smartmessages.net/), a powerful email marketing system.
<a href="https://info.smartmessages.net/"><img src="https://www.smartmessages.net/img/smartmessages-logo.svg" width="250" height="28" alt="Smartmessages email marketing"></a>
Other contributions are gladly received, whether in beer 🍺, T-shirts 👕, Amazon wishlist raids, or cold, hard cash 💰.
## Changelog
See [changelog](changelog.md).
## History
- PHPMailer was originally written in 2001 by Brent R. Matzelle as a [SourceForge project](http://sourceforge.net/projects/phpmailer/).
- Marcus Bointon (coolbru on SF) and Andy Prevost (codeworxtech) took over the project in 2004.
- Became an Apache incubator project on Google Code in 2010, managed by Jim Jagielski.
- Marcus created his fork on [GitHub](https://github.com/Synchro/PHPMailer).
- Jim and Marcus decide to join forces and use GitHub as the canonical and official repo for PHPMailer.
- PHPMailer moves to the [PHPMailer organisation](https://github.com/PHPMailer) on GitHub.
### What's changed since moving from SourceForge?
- Official successor to the SourceForge and Google Code projects.
- Test suite.
- Continuous integration with Travis-CI.
- Composer support.
- Public development.
- Additional languages and language strings.
- CRAM-MD5 authentication support.
- Preserves full repo history of authors, commits and branches from the original SourceForge project.
+1
View File
@@ -0,0 +1 @@
5.2.22
+620
View File
@@ -0,0 +1,620 @@
# ChangeLog
## Version 5.2.14 (Nov 1st 2015)
* Allow addresses with IDN (Internationalized Domain Name) in PHP 5.3+, thanks to @fbonzon
* Allow access to POP3 errors
* Make all POP3 private properties and methods protected
* **SECURITY** Fix vulnerability that allowed email addresses with line breaks (valid in RFC5322) to pass to SMTP, permitting message injection at the SMTP level. Mitigated in both the address validator and in the lower-level SMTP class. Thanks to Takeshi Terada.
* Updated Brazilian Portuguese translations (Thanks to @phelipealves)
## Version 5.2.13 (Sep 14th 2015)
* Rename internal oauth class to avoid name clashes
* Improve Estonian translations
## Version 5.2.12 (Sep 1st 2015)
* Fix incorrect composer package dependencies
* Skip existing embedded image `cid`s in `msgHTML`
## Version 5.2.11 (Aug 31st 2015)
* Don't switch to quoted-printable for long lines if already using base64
* Fixed Travis-CI config when run on PHP 7
* Added Google XOAUTH2 authentication mechanism, thanks to @sherryl4george
* Add address parser for RFC822-format addresses
* Update MS Office MIME types
* Don't convert line breaks when using quoted-printable encoding
* Handle MS Exchange returning an invalid empty AUTH-type list in EHLO
* Don't set name or filename properties on MIME parts that don't have one
## Version 5.2.10 (May 4th 2015)
* Add custom header getter
* Use `application/javascript` for .js attachments
* Improve RFC2821 compliance for timelimits, especially for end-of-data
* Add Azerbaijani translations (Thanks to @mirjalal)
* Minor code cleanup for robustness
* Add Indonesian translations (Thanks to @ceceprawiro)
* Avoid `error_log` Debugoutput naming clash
* Add ability to parse server capabilities in response to EHLO (useful for SendGrid etc)
* Amended default values for WordWrap to match RFC
* Remove html2text converter class (has incompatible license)
* Provide new mechanism for injecting html to text converters
* Improve pointers to docs and support in README
* Add example file upload script
* Refactor and major cleanup of EasyPeasyICS, now a lot more usable
* Make set() method simpler and more reliable
* Add Malay translation (Thanks to @nawawi)
* Add Bulgarian translation (Thanks to @mialy)
* Add Armenian translation (Thanks to Hrayr Grigoryan)
* Add Slovenian translation (Thanks to Klemen Tušar)
* More efficient word wrapping
* Add support for S/MIME signing with additional CA certificate (thanks to @IgitBuh)
* Fix incorrect MIME structure when using S/MIME signing and isMail() (#372)
* Improved checks and error messages for missing extensions
* Store and report SMTP errors more consistently
* Add MIME multipart preamble for better Outlook compatibility
* Enable TLS encryption automatically if the server offers it
* Provide detailed errors when individual recipients fail
* Report more errors when connecting
* Add extras classes to composer classmap
* Expose stream_context_create options via new SMTPOptions property
* Automatic encoding switch to quoted-printable if message lines are too long
* Add Korean translation (Thanks to @ChalkPE)
* Provide a pointer to troubleshooting docs on SMTP connection failure
## Version 5.2.9 (Sept 25th 2014)
* **Important: The autoloader is no longer autoloaded by the PHPMailer class**
* Update html2text from https://github.com/mtibben/html2text
* Improve Arabic translations (Thanks to @tarekdj)
* Consistent handling of connection variables in SMTP and POP3
* PHPDoc cleanup
* Update composer to use PHPUnit 4.1
* Pass consistent params to callbacks
* More consistent handling of error states and debug output
* Use property defaults, remove constructors
* Remove unreachable code
* Use older regex validation pattern for troublesome PCRE library versions
* Improve PCRE detection in older PHP versions
* Handle debug output consistently, and always in UTF-8
* Allow user-defined debug output method via a callable
* msgHTML now converts data URIs to embedded images
* SMTP::getLastReply() will now always be populated
* Improved example code in README
* Ensure long filenames in Content-Disposition are encoded correctly
* Simplify SMTP debug output mechanism, clarify levels with constants
* Add SMTP connection check example
* Simplify examples, don't use mysql* functions
## Version 5.2.8 (May 14th 2014)
* Increase timeout to match RFC2821 section 4.5.3.2 and thus not fail greetdelays, fixes #104
* Add timestamps to default debug output
* Add connection events and new level 3 to debug output options
* Chinese language update (Thanks to @binaryoung)
* Allow custom Mailer types (Thanks to @michield)
* Cope with spaces around SMTP host specs
* Fix processing of multiple hosts in connect string
* Added Galician translation (Thanks to @donatorouco)
* Autoloader now prepends
* Docs updates
* Add Latvian translation (Thanks to @eddsstudio)
* Add Belarusian translation (Thanks to @amaksymiuk)
* Make autoloader work better on older PHP versions
* Avoid double-encoding if mbstring is overloading mail()
* Add Portuguese translation (Thanks to @Jonadabe)
* Make quoted-printable encoder respect line ending setting
* Improve Chinese translation (Thanks to @PeterDaveHello)
* Add Georgian translation (Thanks to @akalongman)
* Add Greek translation (Thanks to @lenasterg)
* Fix serverHostname on PHP < 5.3
* Improve performance of SMTP class
* Implement automatic 7bit downgrade
* Add Vietnamese translation (Thanks to @vinades)
* Improve example images, switch to PNG
* Add Croatian translation (Thanks to @hrvoj3e)
* Remove setting the Return-Path and deprecate the Return-path property - it's just wrong!
* Fix language file loading if CWD has changed (@stephandesouza)
* Add HTML5 email validation pattern
* Improve Turkish translations (Thanks to @yasinaydin)
* Improve Romanian translations (Thanks to @aflorea)
* Check php.ini for path to sendmail/qmail before using default
* Improve Farsi translation (Thanks to @MHM5000)
* Don't use quoted-printable encoding for multipart types
* Add Serbian translation (Thanks to ajevremovic at gmail.com)
* Remove useless PHP5 check
* Use SVG for build status badges
* Store MessageDate on creation
* Better default behaviour for validateAddress
## Version 5.2.7 (September 12th 2013)
* Add Ukrainian translation from @Krezalis
* Support for do_verp
* Fix bug in CRAM-MD5 AUTH
* Propagate Debugoutput option to SMTP class (@Reblutus)
* Determine MIME type of attachments automatically
* Add cross-platform, multibyte-safe pathinfo replacement (with tests) and use it
* Add a new 'html' Debugoutput type
* Clean up SMTP debug output, remove embedded HTML
* Some small changes in header formatting to improve IETF msglint test results
* Update test_script to use some recently changed features, rename to code_generator
* Generated code actually works!
* Update SyntaxHighlighter
* Major overhaul and cleanup of example code
* New PHPMailer graphic
* msgHTML now uses RFC2392-compliant content ids
* Add line break normalization function and use it in msgHTML
* Don't set unnecessary reply-to addresses
* Make fakesendmail.sh a bit cleaner and safer
* Set a content-transfer-encoding on multiparts (fixes msglint error)
* Fix cid generation in msgHTML (Thanks to @digitalthought)
* Fix handling of multiple SMTP servers (Thanks to @NanoCaiordo)
* SMTP->connect() now supports stream context options (Thanks to @stanislavdavid)
* Add support for iCal event alternatives (Thanks to @reblutus)
* Update to Polish language file (Thanks to Krzysztof Kowalewski)
* Update to Norwegian language file (Thanks to @datagutten)
* Update to Hungarian language file (Thanks to @dominicus-75)
* Add Persian/Farsi translation from @jaii
* Make SMTPDebug property type match type in SMTP class
* Add unit tests for DKIM
* Major refactor of SMTP class
* Reformat to PSR-2 coding standard
* Introduce autoloader
* Allow overriding of SMTP class
* Overhaul of PHPDocs
* Fix broken Q-encoding
* Czech language update (Thanks to @nemelu)
* Removal of excess blank lines in messages
* Added fake POP server and unit tests for POP-before-SMTP
## Version 5.2.6 (April 11th 2013)
* Reflect move to PHPMailer GitHub organisation at https://github.com/PHPMailer/PHPMailer
* Fix unbumped version numbers
* Update packagist.org with new location
* Clean up Changelog
## Version 5.2.5 (April 6th 2013)
* First official release after move from Google Code
* Fixes for qmail when sending via mail()
* Merge in changes from Google code 5.2.4 release
* Minor coding standards cleanup in SMTP class
* Improved unit tests, now tests S/MIME signing
* Travis-CI support on GitHub, runs tests with fake SMTP server
## Version 5.2.4 (February 19, 2013)
* Fix tag and version bug.
* un-deprecate isSMTP(), isMail(), IsSendmail() and isQmail().
* Numerous translation updates
## Version 5.2.3 (February 8, 2013)
* Fix issue with older PCREs and ValidateAddress() (Bugz: 124)
* Add CRAM-MD5 authentication, thanks to Elijah madden, https://github.com/okonomiyaki3000
* Replacement of obsolete Quoted-Printable encoder with a much better implementation
* Composer package definition
* New language added: Hebrew
## Version 5.2.2 (December 3, 2012)
* Some fixes and syncs from https://github.com/Synchro/PHPMailer
* Add Slovak translation, thanks to Michal Tinka
## Version 5.2.2-rc2 (November 6, 2012)
* Fix SMTP server rotation (Bugz: 118)
* Allow override of autogen'ed 'Date' header (for Drupal's
og_mailinglist module)
* No whitespace after '-f' option (Bugz: 116)
* Work around potential warning (Bugz: 114)
## Version 5.2.2-rc1 (September 28, 2012)
* Header encoding works with long lines (Bugz: 93)
* Turkish language update (Bugz: 94)
* undefined $pattern in EncodeQ bug squashed (Bugz: 98)
* use of mail() in safe_mode now works (Bugz: 96)
* ValidateAddress() now 'public static' so people can override the
default and use their own validation scheme.
* ValidateAddress() no longer uses broken FILTER_VALIDATE_EMAIL
* Added in AUTH PLAIN SMTP authentication
## Version 5.2.2-beta2 (August 17, 2012)
* Fixed Postfix VERP support (Bugz: 92)
* Allow action_function callbacks to pass/use
the From address (passed as final param)
* Prevent inf look for get_lines() (Bugz: 77)
* New public var ($UseSendmailOptions). Only pass sendmail()
options iff we really are using sendmail or something sendmail
compatible. (Bugz: 75)
* default setting for LE returned to "\n" due to popular demand.
## Version 5.2.2-beta1 (July 13, 2012)
* Expose PreSend() and PostSend() as public methods to allow
for more control if serializing message sending.
* GetSentMIMEMessage() only constructs the message copy when
needed. Save memory.
* Only pass params to mail() if the underlying MTA is
"sendmail" (as defined as "having the string sendmail
in its pathname") [#69]
* Attachments now work with Amazon SES and others [Bugz#70]
* Debug output now sent to stdout (via echo) or error_log [Bugz#5]
* New var: Debugoutput (for above) [Bugz#5]
* SMTP reads now Timeout aware (new var: Timeout=15) [Bugz#71]
* SMTP reads now can have a Timelimit associated with them
(new var: Timelimit=30)[Bugz#71]
* Fix quoting issue associated with charsets
* default setting for LE is now RFC compliant: "\r\n"
* Return-Path can now be user defined (new var: ReturnPath)
(the default is "" which implies no change from previous
behavior, which was to use either From or Sender) [Bugz#46]
* X-Mailer header can now be disabled (by setting to a
whitespace string, eg " ") [Bugz#66]
* Bugz closed: #68, #60, #42, #43, #59, #55, #66, #48, #49,
#52, #31, #41, #5. #70, #69
## Version 5.2.1 (January 16, 2012)
* Closed several bugs #5
* Performance improvements
* MsgHTML() now returns the message as required.
* New method: GetSentMIMEMessage() (returns full copy of sent message)
## Version 5.2 (July 19, 2011)
* protected MIME body and header
* better DKIM DNS Resource Record support
* better aly handling
* htmlfilter class added to extras
* moved to Apache Extras
## Version 5.1 (October 20, 2009)
* fixed filename issue with AddStringAttachment (thanks to Tony)
* fixed "SingleTo" property, now works with Senmail, Qmail, and SMTP in
addition to PHP mail()
* added DKIM digital signing functionality, new properties:
- DKIM_domain (sets the domain name)
- DKIM_private (holds DKIM private key)
- DKIM_passphrase (holds your DKIM passphrase)
- DKIM_selector (holds the DKIM "selector")
- DKIM_identity (holds the identifying email address)
* added callback function support
- callback function parameters include:
result, to, cc, bcc, subject and body
- see the test/test_callback.php file for usage.
* added "auto" identity functionality
- can automatically add:
- Return-path (if Sender not set)
- Reply-To (if ReplyTo not set)
- can be disabled:
- $mail->SetFrom('yourname@yourdomain.com','First Last',false);
- or by adding the $mail->Sender and/or $mail->ReplyTo properties
Note: "auto" identity added to help with emails ending up in spam or junk boxes because of missing headers
## Version 5.0.2 (May 24, 2009)
* Fix for missing attachments when inline graphics are present
* Fix for missing Cc in header when using SMTP (mail was sent,
but not displayed in header -- Cc receiver only saw email To:
line and no Cc line, but did get the email (To receiver
saw same)
## Version 5.0.1 (April 05, 2009)
* Temporary fix for missing attachments
## Version 5.0.0 (April 02, 2009)
With the release of this version, we are initiating a new version numbering
system to differentiate from the PHP4 version of PHPMailer.
Most notable in this release is fully object oriented code.
### class.smtp.php:
* Refactored class.smtp.php to support new exception handling
* code size reduced from 29.2 Kb to 25.6 Kb
* Removed unnecessary functions from class.smtp.php:
- public function Expand($name) {
- public function Help($keyword="") {
- public function Noop() {
- public function Send($from) {
- public function SendOrMail($from) {
- public function Verify($name) {
### class.phpmailer.php:
* Refactored class.phpmailer.php with new exception handling
* Changed processing functionality of Sendmail and Qmail so they cannot be
inadvertently used
* removed getFile() function, just became a simple wrapper for
file_get_contents()
* added check for PHP version (will gracefully exit if not at least PHP 5.0)
* enhanced code to check if an attachment source is the same as an embedded or
inline graphic source to eliminate duplicate attachments
### New /test_script
We have written a test script you can use to test the script as part of your
installation. Once you press submit, the test script will send a multi-mime
email with either the message you type in or an HTML email with an inline
graphic. Two attachments are included in the email (one of the attachments
is also the inline graphic so you can see that only one copy of the graphic
is sent in the email). The test script will also display the functional
script that you can copy/paste to your editor to duplicate the functionality.
### New examples
All new examples in both basic and advanced modes. Advanced examples show
Exception handling.
### PHPDocumentator (phpdocs) documentation for PHPMailer version 5.0.0
All new documentation
## Version 2.3 (November 06, 2008)
* added Arabic language (many thanks to Bahjat Al Mostafa)
* removed English language from language files and made it a default within
class.phpmailer.php - if no language is found, it will default to use
the english language translation
* fixed public/private declarations
* corrected line 1728, $basedir to $directory
* added $sign_cert_file to avoid improper duplicate use of $sign_key_file
* corrected $this->Hello on line 612 to $this->Helo
* changed default of $LE to "\r\n" to comply with RFC 2822. Can be set by the user
if default is not acceptable
* removed trim() from return results in EncodeQP
* /test and three files it contained are removed from version 2.3
* fixed phpunit.php for compliance with PHP5
* changed $this->AltBody = $textMsg; to $this->AltBody = html_entity_decode($textMsg);
* We have removed the /phpdoc from the downloads. All documentation is now on
the http://phpmailer.codeworxtech.com website.
## Version 2.2.1 () July 19 2008
* fixed line 1092 in class.smtp.php (my apologies, error on my part)
## Version 2.2 () July 15 2008
* Fixed redirect issue (display of UTF-8 in thank you redirect)
* fixed error in getResponse function declaration (class.pop3.php)
* PHPMailer now PHP6 compliant
* fixed line 1092 in class.smtp.php (endless loop from missing = sign)
## Version 2.1 (Wed, June 04 2008)
NOTE: WE HAVE A NEW LANGUAGE VARIABLE FOR DIGITALLY SIGNED S/MIME EMAILS. IF YOU CAN HELP WITH LANGUAGES OTHER THAN ENGLISH AND SPANISH, IT WOULD BE APPRECIATED.
* added S/MIME functionality (ability to digitally sign emails)
BIG THANKS TO "sergiocambra" for posting this patch back in November 2007.
The "Signed Emails" functionality adds the Sign method to pass the private key
filename and the password to read it, and then email will be sent with
content-type multipart/signed and with the digital signature attached.
* fully compatible with E_STRICT error level
- Please note:
In about half the test environments this development version was subjected
to, an error was thrown for the date() functions used (line 1565 and 1569).
This is NOT a PHPMailer error, it is the result of an incorrectly configured
PHP5 installation. The fix is to modify your 'php.ini' file and include the
date.timezone = Etc/UTC (or your own zone)
directive, to your own server timezone
- If you do get this error, and are unable to access your php.ini file:
In your PHP script, add
`date_default_timezone_set('Etc/UTC');`
- do not try to use
`$myVar = date_default_timezone_get();`
as a test, it will throw an error.
* added ability to define path (mainly for embedded images)
function `MsgHTML($message,$basedir='')` ... where:
`$basedir` is the fully qualified path
* fixed `MsgHTML()` function:
- Embedded Images where images are specified by `<protocol>://` will not be altered or embedded
* fixed the return value of SMTP exit code ( pclose )
* addressed issue of multibyte characters in subject line and truncating
* added ability to have user specified Message ID
(default is still that PHPMailer create a unique Message ID)
* corrected unidentified message type to 'application/octet-stream'
* fixed chunk_split() multibyte issue (thanks to Colin Brown, et al).
* added check for added attachments
* enhanced conversion of HTML to text in MsgHTML (thanks to "brunny")
## Version 2.1.0beta2 (Sun, Dec 02 2007)
* implemented updated EncodeQP (thanks to coolbru, aka Marcus Bointon)
* finished all testing, all known bugs corrected, enhancements tested
Note: will NOT work with PHP4.
Please note, this is BETA software **DO NOT USE THIS IN PRODUCTION OR LIVE PROJECTS; INTENDED STRICTLY FOR TESTING**
## Version 2.1.0beta1
Please note, this is BETA software
** DO NOT USE THIS IN PRODUCTION OR LIVE PROJECTS
INTENDED STRICTLY FOR TESTING
## Version 2.0.0 rc2 (Fri, Nov 16 2007), interim release
* implements new property to control VERP in class.smtp.php
example (requires instantiating class.smtp.php):
$mail->do_verp = true;
* POP-before-SMTP functionality included, thanks to Richard Davey
(see class.pop3.php & pop3_before_smtp_test.php for examples)
* included example showing how to use PHPMailer with GMAIL
* fixed the missing Cc in SendMail() and Mail()
## Version 2.0.0 rc1 (Thu, Nov 08 2007), interim release
* dramatically simplified using inline graphics ... it's fully automated and requires no user input
* added automatic document type detection for attachments and pictures
* added MsgHTML() function to replace Body tag for HTML emails
* fixed the SendMail security issues (input validation vulnerability)
* enhanced the AddAddresses functionality so that the "Name" portion is used in the email address
* removed the need to use the AltBody method (set from the HTML, or default text used)
* set the PHP Mail() function as the default (still support SendMail, SMTP Mail)
* removed the need to set the IsHTML property (set automatically)
* added Estonian language file by Indrek P&auml;ri
* added header injection patch
* added "set" method to permit users to create their own pseudo-properties like 'X-Headers', etc.
* fixed warning message in SMTP get_lines method
* added TLS/SSL SMTP support.
* PHPMailer has been tested with PHP4 (4.4.7) and PHP5 (5.2.7)
* Works with PHP installed as a module or as CGI-PHP
NOTE: will NOT work with PHP5 in E_STRICT error mode
## Version 1.73 (Sun, Jun 10 2005)
* Fixed denial of service bug: http://www.cybsec.com/vuln/PHPMailer-DOS.pdf
* Now has a total of 20 translations
* Fixed alt attachments bug: http://tinyurl.com/98u9k
## Version 1.72 (Wed, May 25 2004)
* Added Dutch, Swedish, Czech, Norwegian, and Turkish translations.
* Received: Removed this method because spam filter programs like
SpamAssassin reject this header.
* Fixed error count bug.
* SetLanguage default is now "language/".
* Fixed magic_quotes_runtime bug.
## Version 1.71 (Tue, Jul 28 2003)
* Made several speed enhancements
* Added German and Italian translation files
* Fixed HELO/AUTH bugs on keep-alive connects
* Now provides an error message if language file does not load
* Fixed attachment EOL bug
* Updated some unclear documentation
* Added additional tests and improved others
## Version 1.70 (Mon, Jun 20 2003)
* Added SMTP keep-alive support
* Added IsError method for error detection
* Added error message translation support (SetLanguage)
* Refactored many methods to increase library performance
* Hello now sends the newer EHLO message before HELO as per RFC 2821
* Removed the boundary class and replaced it with GetBoundary
* Removed queue support methods
* New $Hostname variable
* New Message-ID header
* Received header reformat
* Helo variable default changed to $Hostname
* Removed extra spaces in Content-Type definition (#667182)
* Return-Path should be set to Sender when set
* Adds Q or B encoding to headers when necessary
* quoted-encoding should now encode NULs \000
* Fixed encoding of body/AltBody (#553370)
* Adds "To: undisclosed-recipients:;" when all recipients are hidden (BCC)
* Multiple bug fixes
## Version 1.65 (Fri, Aug 09 2002)
* Fixed non-visible attachment bug (#585097) for Outlook
* SMTP connections are now closed after each transaction
* Fixed SMTP::Expand return value
* Converted SMTP class documentation to phpDocumentor format
## Version 1.62 (Wed, Jun 26 2002)
* Fixed multi-attach bug
* Set proper word wrapping
* Reduced memory use with attachments
* Added more debugging
* Changed documentation to phpDocumentor format
## Version 1.60 (Sat, Mar 30 2002)
* Sendmail pipe and address patch (Christian Holtje)
* Added embedded image and read confirmation support (A. Ognio)
* Added unit tests
* Added SMTP timeout support (*nix only)
* Added possibly temporary PluginDir variable for SMTP class
* Added LE message line ending variable
* Refactored boundary and attachment code
* Eliminated SMTP class warnings
* Added SendToQueue method for future queuing support
## Version 1.54 (Wed, Dec 19 2001)
* Add some queuing support code
* Fixed a pesky multi/alt bug
* Messages are no longer forced to have "To" addresses
## Version 1.50 (Thu, Nov 08 2001)
* Fix extra lines when not using SMTP mailer
* Set WordWrap variable to int with a zero default
## Version 1.47 (Tue, Oct 16 2001)
* Fixed Received header code format
* Fixed AltBody order error
* Fixed alternate port warning
## Version 1.45 (Tue, Sep 25 2001)
* Added enhanced SMTP debug support
* Added support for multiple ports on SMTP
* Added Received header for tracing
* Fixed AddStringAttachment encoding
* Fixed possible header name quote bug
* Fixed wordwrap() trim bug
* Couple other small bug fixes
## Version 1.41 (Wed, Aug 22 2001)
* Fixed AltBody bug w/o attachments
* Fixed rfc_date() for certain mail servers
## Version 1.40 (Sun, Aug 12 2001)
* Added multipart/alternative support (AltBody)
* Documentation update
* Fixed bug in Mercury MTA
## Version 1.29 (Fri, Aug 03 2001)
* Added AddStringAttachment() method
* Added SMTP authentication support
## Version 1.28 (Mon, Jul 30 2001)
* Fixed a typo in SMTP class
* Fixed header issue with Imail (win32) SMTP server
* Made fopen() calls for attachments use "rb" to fix win32 error
## Version 1.25 (Mon, Jul 02 2001)
* Added RFC 822 date fix (Patrice)
* Added improved error handling by adding a $ErrorInfo variable
* Removed MailerDebug variable (obsolete with new error handler)
## Version 1.20 (Mon, Jun 25 2001)
* Added quoted-printable encoding (Patrice)
* Set Version as public and removed PrintVersion()
* Changed phpdoc to only display public variables and methods
## Version 1.19 (Thu, Jun 21 2001)
* Fixed MS Mail header bug
* Added fix for Bcc problem with mail(). *Does not work on Win32*
(See PHP bug report: http://www.php.net/bugs.php?id=11616)
* mail() no longer passes a fifth parameter when not needed
## Version 1.15 (Fri, Jun 15 2001)
Note: these changes contributed by Patrice Fournier
* Changed all remaining \n to \r\n
* Bcc: header no longer written to message except
when sent directly to sendmail
* Added a small message to non-MIME compliant mail reader
* Added Sender variable to change the Sender email
used in -f for sendmail/mail and in 'MAIL FROM' for smtp mode
* Changed boundary setting to a place it will be set only once
* Removed transfer encoding for whole message when using multipart
* Message body now uses Encoding in multipart messages
* Can set encoding and type to attachments 7bit, 8bit
and binary attachment are sent as is, base64 are encoded
* Can set Encoding to base64 to send 8 bits body
through 7 bits servers
## Version 1.10 (Tue, Jun 12 2001)
* Fixed win32 mail header bug (printed out headers in message body)
## Version 1.09 (Fri, Jun 08 2001)
* Changed date header to work with Netscape mail programs
* Altered phpdoc documentation
## Version 1.08 (Tue, Jun 05 2001)
* Added enhanced error-checking
* Added phpdoc documentation to source
## Version 1.06 (Fri, Jun 01 2001)
* Added optional name for file attachments
## Version 1.05 (Tue, May 29 2001)
* Code cleanup
* Eliminated sendmail header warning message
* Fixed possible SMTP error
## Version 1.03 (Thu, May 24 2001)
* Fixed problem where qmail sends out duplicate messages
## Version 1.02 (Wed, May 23 2001)
* Added multiple recipient and attachment Clear* methods
* Added Sendmail public variable
* Fixed problem with loading SMTP library multiple times
## Version 0.98 (Tue, May 22 2001)
* Fixed problem with redundant mail hosts sending out multiple messages
* Added additional error handler code
* Added AddCustomHeader() function
* Added support for Microsoft mail client headers (affects priority)
* Fixed small bug with Mailer variable
* Added PrintVersion() function
## Version 0.92 (Tue, May 15 2001)
* Changed file names to class.phpmailer.php and class.smtp.php to match
current PHP class trend.
* Fixed problem where body not being printed when a message is attached
* Several small bug fixes
## Version 0.90 (Tue, April 17 2001)
* Initial public release
File diff suppressed because it is too large Load Diff
+197
View File
@@ -0,0 +1,197 @@
<?php
/**
* PHPMailer - PHP email creation and transport class.
* PHP Version 5.4
* @package PHPMailer
* @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
* @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
* @author Jim Jagielski (jimjag) <jimjag@gmail.com>
* @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
* @author Brent R. Matzelle (original founder)
* @copyright 2012 - 2014 Marcus Bointon
* @copyright 2010 - 2012 Jim Jagielski
* @copyright 2004 - 2009 Andy Prevost
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
* @note This program is distributed in the hope that it will be useful - WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
*/
/**
* PHPMailerOAuth - PHPMailer subclass adding OAuth support.
* @package PHPMailer
* @author @sherryl4george
* @author Marcus Bointon (@Synchro) <phpmailer@synchromedia.co.uk>
*/
class PHPMailerOAuth extends PHPMailer
{
/**
* The OAuth user's email address
* @var string
*/
public $oauthUserEmail = '';
/**
* The OAuth refresh token
* @var string
*/
public $oauthRefreshToken = '';
/**
* The OAuth client ID
* @var string
*/
public $oauthClientId = '';
/**
* The OAuth client secret
* @var string
*/
public $oauthClientSecret = '';
/**
* An instance of the PHPMailerOAuthGoogle class.
* @var PHPMailerOAuthGoogle
* @access protected
*/
protected $oauth = null;
/**
* Get a PHPMailerOAuthGoogle instance to use.
* @return PHPMailerOAuthGoogle
*/
public function getOAUTHInstance()
{
if (!is_object($this->oauth)) {
$this->oauth = new PHPMailerOAuthGoogle(
$this->oauthUserEmail,
$this->oauthClientSecret,
$this->oauthClientId,
$this->oauthRefreshToken
);
}
return $this->oauth;
}
/**
* Initiate a connection to an SMTP server.
* Overrides the original smtpConnect method to add support for OAuth.
* @param array $options An array of options compatible with stream_context_create()
* @uses SMTP
* @access public
* @return bool
* @throws phpmailerException
*/
public function smtpConnect($options = array())
{
if (is_null($this->smtp)) {
$this->smtp = $this->getSMTPInstance();
}
if (is_null($this->oauth)) {
$this->oauth = $this->getOAUTHInstance();
}
// Already connected?
if ($this->smtp->connected()) {
return true;
}
$this->smtp->setTimeout($this->Timeout);
$this->smtp->setDebugLevel($this->SMTPDebug);
$this->smtp->setDebugOutput($this->Debugoutput);
$this->smtp->setVerp($this->do_verp);
$hosts = explode(';', $this->Host);
$lastexception = null;
foreach ($hosts as $hostentry) {
$hostinfo = array();
if (!preg_match('/^((ssl|tls):\/\/)*([a-zA-Z0-9\.-]*):?([0-9]*)$/', trim($hostentry), $hostinfo)) {
// Not a valid host entry
continue;
}
// $hostinfo[2]: optional ssl or tls prefix
// $hostinfo[3]: the hostname
// $hostinfo[4]: optional port number
// The host string prefix can temporarily override the current setting for SMTPSecure
// If it's not specified, the default value is used
$prefix = '';
$secure = $this->SMTPSecure;
$tls = ($this->SMTPSecure == 'tls');
if ('ssl' == $hostinfo[2] or ('' == $hostinfo[2] and 'ssl' == $this->SMTPSecure)) {
$prefix = 'ssl://';
$tls = false; // Can't have SSL and TLS at the same time
$secure = 'ssl';
} elseif ($hostinfo[2] == 'tls') {
$tls = true;
// tls doesn't use a prefix
$secure = 'tls';
}
//Do we need the OpenSSL extension?
$sslext = defined('OPENSSL_ALGO_SHA1');
if ('tls' === $secure or 'ssl' === $secure) {
//Check for an OpenSSL constant rather than using extension_loaded, which is sometimes disabled
if (!$sslext) {
throw new phpmailerException($this->lang('extension_missing').'openssl', self::STOP_CRITICAL);
}
}
$host = $hostinfo[3];
$port = $this->Port;
$tport = (integer)$hostinfo[4];
if ($tport > 0 and $tport < 65536) {
$port = $tport;
}
if ($this->smtp->connect($prefix . $host, $port, $this->Timeout, $options)) {
try {
if ($this->Helo) {
$hello = $this->Helo;
} else {
$hello = $this->serverHostname();
}
$this->smtp->hello($hello);
//Automatically enable TLS encryption if:
// * it's not disabled
// * we have openssl extension
// * we are not already using SSL
// * the server offers STARTTLS
if ($this->SMTPAutoTLS and $sslext and $secure != 'ssl' and $this->smtp->getServerExt('STARTTLS')) {
$tls = true;
}
if ($tls) {
if (!$this->smtp->startTLS()) {
throw new phpmailerException($this->lang('connect_host'));
}
// We must resend HELO after tls negotiation
$this->smtp->hello($hello);
}
if ($this->SMTPAuth) {
if (!$this->smtp->authenticate(
$this->Username,
$this->Password,
$this->AuthType,
$this->Realm,
$this->Workstation,
$this->oauth
)
) {
throw new phpmailerException($this->lang('authenticate'));
}
}
return true;
} catch (phpmailerException $exc) {
$lastexception = $exc;
$this->edebug($exc->getMessage());
// We must have connected, but then failed TLS or Auth, so close connection nicely
$this->smtp->quit();
}
}
}
// If we get here, all connection attempts have failed, so close connection hard
$this->smtp->close();
// As we've caught all exceptions, just report whatever the last one was
if ($this->exceptions and !is_null($lastexception)) {
throw $lastexception;
}
return false;
}
}
@@ -0,0 +1,77 @@
<?php
/**
* PHPMailer - PHP email creation and transport class.
* PHP Version 5.4
* @package PHPMailer
* @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
* @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
* @author Jim Jagielski (jimjag) <jimjag@gmail.com>
* @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
* @author Brent R. Matzelle (original founder)
* @copyright 2012 - 2014 Marcus Bointon
* @copyright 2010 - 2012 Jim Jagielski
* @copyright 2004 - 2009 Andy Prevost
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
* @note This program is distributed in the hope that it will be useful - WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
*/
/**
* PHPMailerOAuthGoogle - Wrapper for League OAuth2 Google provider.
* @package PHPMailer
* @author @sherryl4george
* @author Marcus Bointon (@Synchro) <phpmailer@synchromedia.co.uk>
* @link https://github.com/thephpleague/oauth2-client
*/
class PHPMailerOAuthGoogle
{
private $oauthUserEmail = '';
private $oauthRefreshToken = '';
private $oauthClientId = '';
private $oauthClientSecret = '';
/**
* @param string $UserEmail
* @param string $ClientSecret
* @param string $ClientId
* @param string $RefreshToken
*/
public function __construct(
$UserEmail,
$ClientSecret,
$ClientId,
$RefreshToken
) {
$this->oauthClientId = $ClientId;
$this->oauthClientSecret = $ClientSecret;
$this->oauthRefreshToken = $RefreshToken;
$this->oauthUserEmail = $UserEmail;
}
private function getProvider()
{
return new League\OAuth2\Client\Provider\Google([
'clientId' => $this->oauthClientId,
'clientSecret' => $this->oauthClientSecret
]);
}
private function getGrant()
{
return new \League\OAuth2\Client\Grant\RefreshToken();
}
private function getToken()
{
$provider = $this->getProvider();
$grant = $this->getGrant();
return $provider->getAccessToken($grant, ['refresh_token' => $this->oauthRefreshToken]);
}
public function getOauth64()
{
$token = $this->getToken();
return base64_encode("user=" . $this->oauthUserEmail . "\001auth=Bearer " . $token . "\001\001");
}
}
+407
View File
@@ -0,0 +1,407 @@
<?php
/**
* PHPMailer POP-Before-SMTP Authentication Class.
* PHP Version 5
* @package PHPMailer
* @link https://github.com/PHPMailer/PHPMailer/
* @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
* @author Jim Jagielski (jimjag) <jimjag@gmail.com>
* @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
* @author Brent R. Matzelle (original founder)
* @copyright 2012 - 2014 Marcus Bointon
* @copyright 2010 - 2012 Jim Jagielski
* @copyright 2004 - 2009 Andy Prevost
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
* @note This program is distributed in the hope that it will be useful - WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
*/
/**
* PHPMailer POP-Before-SMTP Authentication Class.
* Specifically for PHPMailer to use for RFC1939 POP-before-SMTP authentication.
* Does not support APOP.
* @package PHPMailer
* @author Richard Davey (original author) <rich@corephp.co.uk>
* @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
* @author Jim Jagielski (jimjag) <jimjag@gmail.com>
* @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
*/
class POP3
{
/**
* The POP3 PHPMailer Version number.
* @var string
* @access public
*/
public $Version = '5.2.22';
/**
* Default POP3 port number.
* @var integer
* @access public
*/
public $POP3_PORT = 110;
/**
* Default timeout in seconds.
* @var integer
* @access public
*/
public $POP3_TIMEOUT = 30;
/**
* POP3 Carriage Return + Line Feed.
* @var string
* @access public
* @deprecated Use the constant instead
*/
public $CRLF = "\r\n";
/**
* Debug display level.
* Options: 0 = no, 1+ = yes
* @var integer
* @access public
*/
public $do_debug = 0;
/**
* POP3 mail server hostname.
* @var string
* @access public
*/
public $host;
/**
* POP3 port number.
* @var integer
* @access public
*/
public $port;
/**
* POP3 Timeout Value in seconds.
* @var integer
* @access public
*/
public $tval;
/**
* POP3 username
* @var string
* @access public
*/
public $username;
/**
* POP3 password.
* @var string
* @access public
*/
public $password;
/**
* Resource handle for the POP3 connection socket.
* @var resource
* @access protected
*/
protected $pop_conn;
/**
* Are we connected?
* @var boolean
* @access protected
*/
protected $connected = false;
/**
* Error container.
* @var array
* @access protected
*/
protected $errors = array();
/**
* Line break constant
*/
const CRLF = "\r\n";
/**
* Simple static wrapper for all-in-one POP before SMTP
* @param $host
* @param integer|boolean $port The port number to connect to
* @param integer|boolean $timeout The timeout value
* @param string $username
* @param string $password
* @param integer $debug_level
* @return boolean
*/
public static function popBeforeSmtp(
$host,
$port = false,
$timeout = false,
$username = '',
$password = '',
$debug_level = 0
) {
$pop = new POP3;
return $pop->authorise($host, $port, $timeout, $username, $password, $debug_level);
}
/**
* Authenticate with a POP3 server.
* A connect, login, disconnect sequence
* appropriate for POP-before SMTP authorisation.
* @access public
* @param string $host The hostname to connect to
* @param integer|boolean $port The port number to connect to
* @param integer|boolean $timeout The timeout value
* @param string $username
* @param string $password
* @param integer $debug_level
* @return boolean
*/
public function authorise($host, $port = false, $timeout = false, $username = '', $password = '', $debug_level = 0)
{
$this->host = $host;
// If no port value provided, use default
if (false === $port) {
$this->port = $this->POP3_PORT;
} else {
$this->port = (integer)$port;
}
// If no timeout value provided, use default
if (false === $timeout) {
$this->tval = $this->POP3_TIMEOUT;
} else {
$this->tval = (integer)$timeout;
}
$this->do_debug = $debug_level;
$this->username = $username;
$this->password = $password;
// Reset the error log
$this->errors = array();
// connect
$result = $this->connect($this->host, $this->port, $this->tval);
if ($result) {
$login_result = $this->login($this->username, $this->password);
if ($login_result) {
$this->disconnect();
return true;
}
}
// We need to disconnect regardless of whether the login succeeded
$this->disconnect();
return false;
}
/**
* Connect to a POP3 server.
* @access public
* @param string $host
* @param integer|boolean $port
* @param integer $tval
* @return boolean
*/
public function connect($host, $port = false, $tval = 30)
{
// Are we already connected?
if ($this->connected) {
return true;
}
//On Windows this will raise a PHP Warning error if the hostname doesn't exist.
//Rather than suppress it with @fsockopen, capture it cleanly instead
set_error_handler(array($this, 'catchWarning'));
if (false === $port) {
$port = $this->POP3_PORT;
}
// connect to the POP3 server
$this->pop_conn = fsockopen(
$host, // POP3 Host
$port, // Port #
$errno, // Error Number
$errstr, // Error Message
$tval
); // Timeout (seconds)
// Restore the error handler
restore_error_handler();
// Did we connect?
if (false === $this->pop_conn) {
// It would appear not...
$this->setError(array(
'error' => "Failed to connect to server $host on port $port",
'errno' => $errno,
'errstr' => $errstr
));
return false;
}
// Increase the stream time-out
stream_set_timeout($this->pop_conn, $tval, 0);
// Get the POP3 server response
$pop3_response = $this->getResponse();
// Check for the +OK
if ($this->checkResponse($pop3_response)) {
// The connection is established and the POP3 server is talking
$this->connected = true;
return true;
}
return false;
}
/**
* Log in to the POP3 server.
* Does not support APOP (RFC 2828, 4949).
* @access public
* @param string $username
* @param string $password
* @return boolean
*/
public function login($username = '', $password = '')
{
if (!$this->connected) {
$this->setError('Not connected to POP3 server');
}
if (empty($username)) {
$username = $this->username;
}
if (empty($password)) {
$password = $this->password;
}
// Send the Username
$this->sendString("USER $username" . self::CRLF);
$pop3_response = $this->getResponse();
if ($this->checkResponse($pop3_response)) {
// Send the Password
$this->sendString("PASS $password" . self::CRLF);
$pop3_response = $this->getResponse();
if ($this->checkResponse($pop3_response)) {
return true;
}
}
return false;
}
/**
* Disconnect from the POP3 server.
* @access public
*/
public function disconnect()
{
$this->sendString('QUIT');
//The QUIT command may cause the daemon to exit, which will kill our connection
//So ignore errors here
try {
@fclose($this->pop_conn);
} catch (Exception $e) {
//Do nothing
};
}
/**
* Get a response from the POP3 server.
* $size is the maximum number of bytes to retrieve
* @param integer $size
* @return string
* @access protected
*/
protected function getResponse($size = 128)
{
$response = fgets($this->pop_conn, $size);
if ($this->do_debug >= 1) {
echo "Server -> Client: $response";
}
return $response;
}
/**
* Send raw data to the POP3 server.
* @param string $string
* @return integer
* @access protected
*/
protected function sendString($string)
{
if ($this->pop_conn) {
if ($this->do_debug >= 2) { //Show client messages when debug >= 2
echo "Client -> Server: $string";
}
return fwrite($this->pop_conn, $string, strlen($string));
}
return 0;
}
/**
* Checks the POP3 server response.
* Looks for for +OK or -ERR.
* @param string $string
* @return boolean
* @access protected
*/
protected function checkResponse($string)
{
if (substr($string, 0, 3) !== '+OK') {
$this->setError(array(
'error' => "Server reported an error: $string",
'errno' => 0,
'errstr' => ''
));
return false;
} else {
return true;
}
}
/**
* Add an error to the internal error store.
* Also display debug output if it's enabled.
* @param $error
* @access protected
*/
protected function setError($error)
{
$this->errors[] = $error;
if ($this->do_debug >= 1) {
echo '<pre>';
foreach ($this->errors as $error) {
print_r($error);
}
echo '</pre>';
}
}
/**
* Get an array of error messages, if any.
* @return array
*/
public function getErrors()
{
return $this->errors;
}
/**
* POP3 connection error handler.
* @param integer $errno
* @param string $errstr
* @param string $errfile
* @param integer $errline
* @access protected
*/
protected function catchWarning($errno, $errstr, $errfile, $errline)
{
$this->setError(array(
'error' => "Connecting to the POP3 server raised a PHP warning: ",
'errno' => $errno,
'errstr' => $errstr,
'errfile' => $errfile,
'errline' => $errline
));
}
}

Some files were not shown because too many files have changed in this diff Show More