그누보드 [G5] 출석부 v13
페이지 정보

본문
1. 파일구조
그누보드5
├ adm
│ ├ attendance
│ │ ├ _common.php
│ │ ├ attendance_setup.php
│ │ └ attendance_setup_update.php
│ └ admin.menu990.php
├ extend
│ ├ attendance.extend.php
└ plugin
└ attendance
├ img
│ ├ btn_next.gif
│ ├ btn_ok.gif
│ ├ btn_pre.gif
│ └ ling_01.gif
├ _common.php
├ attendance.php
├ style.css
└ update.php
2. 설치 방법
관리자 > 출석부 환경설정을 클릭해서 저장하면 설치가 완료됩니다.
3. 접속방법
http://홈페이지/그누보드5/plugin/attendance/attendance.php 접속
4. 출석여부 항시 확인하기
head.php 적당한 위치에 아래내용을 추가하면 출석여부를 확인할 수 있습니다.
<?php
if ($is_member) {
// 출석부 작성여부 확인
$sql_attendance_ing = " select id from {$g5['attendance_table']} where mb_id = '{$member['mb_id']}' and datetime >= '".G5_TIME_YMD." 00:00:00' and datetime <= '".G5_TIME_YMD." 23:59:59' ";
$row_attendance_ing = sql_fetch($sql_attendance_ing);
//echo $sql_attendance_ing;
// 접속상태
if ($row_attendance_ing['id']) {
echo "<a>출석완료</a>";
} else {
echo "<a href='". G5_PLUGIN_URL ."/attendance/attendance.php'>출석하세요</a>";
}
}
?>
5. 변경이력
2017-03-08
. 처음 문서 만듦
2017-03-13
. 출석 2,3등 포인트 지급 추가
. 개근 30일, 365일 포인트 지급 추가
2017-09-26
. 전체 디비구조를 변경
. 7일 개근, 30일 개근, 365일 개근을 현실에 맞게 변경
2017-09-27 10:35
. 공식배포
2017-09-27 11:16
. 설치방법 내용 보강
2017-10-02 11:45
. 출석포인트 안내수정, 1일 포인트 함수 변경
2017-10-10 18:02
. 1,2,3등 출석의 순위가 00:00:00 에 동시에 등록된 경우 오작동 수정
. plugin/attendance/attendance.php 와 update.php 일부 수정
. g5_attendance 테이블에 rank 필드 추가 (출석부 접속하면 자동으로 등록)
2017-10-10 18:26
. 출석 리셋이 30일, 365일 대응이 안되므로, 대응을 위해 필드 (reset2, reset3) 추가
. g5_attendance 테이블에 reset2, reset3 필드 추가 (출석부 접속하면 자동으로 등록)
2017-10-10 18:54
. 총출석일을 저장하는 필드 sumday 추가 (출석부 접속하면 자동으로 등록)
2017-10-12 21:21
. admin.menu990.php 누락된것이 확인되서 추가
2017-10-27 15:19
. 설치설명서 내용 추가 ( 작은별 님이 알려주셨습니다 )
2018-02-08 22:39
. 7일, 30일, 365일 개근포인트 누적 안되는 버그 수정 ( 추팔소 님이 도움주셨습니다 )
2018-08-29 01:28 V.14
. 무료버전에서 필드추가 및 설치방법 간소화 및 기능 개선해서 유료버전 출시
6-1. 그누보드 5.2 작동화면



6-2. 그누보드 5.3 작동화면



6-3. 아미나빌더 작동화면


그누보드5
├ adm
│ ├ attendance
│ │ ├ _common.php
│ │ ├ attendance_setup.php
│ │ └ attendance_setup_update.php
│ └ admin.menu990.php
├ extend
│ ├ attendance.extend.php
└ plugin
└ attendance
├ img
│ ├ btn_next.gif
│ ├ btn_ok.gif
│ ├ btn_pre.gif
│ └ ling_01.gif
├ _common.php
├ attendance.php
├ style.css
└ update.php
2. 설치 방법
관리자 > 출석부 환경설정을 클릭해서 저장하면 설치가 완료됩니다.
3. 접속방법
http://홈페이지/그누보드5/plugin/attendance/attendance.php 접속
4. 출석여부 항시 확인하기
head.php 적당한 위치에 아래내용을 추가하면 출석여부를 확인할 수 있습니다.
<?php
if ($is_member) {
// 출석부 작성여부 확인
$sql_attendance_ing = " select id from {$g5['attendance_table']} where mb_id = '{$member['mb_id']}' and datetime >= '".G5_TIME_YMD." 00:00:00' and datetime <= '".G5_TIME_YMD." 23:59:59' ";
$row_attendance_ing = sql_fetch($sql_attendance_ing);
//echo $sql_attendance_ing;
// 접속상태
if ($row_attendance_ing['id']) {
echo "<a>출석완료</a>";
} else {
echo "<a href='". G5_PLUGIN_URL ."/attendance/attendance.php'>출석하세요</a>";
}
}
?>
5. 변경이력
2017-03-08
. 처음 문서 만듦
2017-03-13
. 출석 2,3등 포인트 지급 추가
. 개근 30일, 365일 포인트 지급 추가
2017-09-26
. 전체 디비구조를 변경
. 7일 개근, 30일 개근, 365일 개근을 현실에 맞게 변경
2017-09-27 10:35
. 공식배포
2017-09-27 11:16
. 설치방법 내용 보강
2017-10-02 11:45
. 출석포인트 안내수정, 1일 포인트 함수 변경
2017-10-10 18:02
. 1,2,3등 출석의 순위가 00:00:00 에 동시에 등록된 경우 오작동 수정
. plugin/attendance/attendance.php 와 update.php 일부 수정
. g5_attendance 테이블에 rank 필드 추가 (출석부 접속하면 자동으로 등록)
2017-10-10 18:26
. 출석 리셋이 30일, 365일 대응이 안되므로, 대응을 위해 필드 (reset2, reset3) 추가
. g5_attendance 테이블에 reset2, reset3 필드 추가 (출석부 접속하면 자동으로 등록)
2017-10-10 18:54
. 총출석일을 저장하는 필드 sumday 추가 (출석부 접속하면 자동으로 등록)
2017-10-12 21:21
. admin.menu990.php 누락된것이 확인되서 추가
2017-10-27 15:19
. 설치설명서 내용 추가 ( 작은별 님이 알려주셨습니다 )
2018-02-08 22:39
. 7일, 30일, 365일 개근포인트 누적 안되는 버그 수정 ( 추팔소 님이 도움주셨습니다 )
2018-08-29 01:28 V.14
. 무료버전에서 필드추가 및 설치방법 간소화 및 기능 개선해서 유료버전 출시
6-1. 그누보드 5.2 작동화면



6-2. 그누보드 5.3 작동화면



6-3. 아미나빌더 작동화면



댓글목록
등록된 댓글이 없습니다.