', 0); //---------------- 리스트 시작 ------------------// // 회원모집 여부가 파라미터로 넘어왔을 경우 업데이트 if($joincheck=="off") sql_query("UPDATE g5_board SET bo_10 = 'off' where bo_table = '$tablename' "); if($joincheck=="on") sql_query("UPDATE g5_board SET bo_10 = 'on' where bo_table = '$tablename' "); $miniclub_join = sql_fetch("select * from g5_board where bo_table = '$tablename' "); // 회원모집/중지 스위치출력 if($miniclub_join[bo_10]=='off') { $miniclub_join = "중지 [변경하기]"; } else { $miniclub_join = "진행 중 [변경하기]"; } // 소스 시작 $sql = "select * from g5_miniclub_member where miniclub_table = '$tablename' order by no desc "; $qry = sql_query($sql); ?>
게시판관리자 : 신규회원모집 :
회원초대하기(ID입력)
"; echo " 순번 닉네임 이름 회원등록일 휴대폰 클럽가입신청 현재상태 처리 "; $i = 1; while ($row = sql_fetch_array($qry)) { $mb = get_member($row[mb_id]); if($row[status]=='1' or $row[mb_id] == $member[mb_id] ) { // 현재 줄의 멤버가 관리자라면? 자기 아이디라면? $member_process[0] = ""; $member_process[1] = ""; $member_process[2] = ""; } else { $member_process[0] = "등업 "; $member_process[1] = "| 강등"; $member_process[2] = "| 삭제"; } // 회원상태에 따른 색상 변경 $status_temp = $row[status]; if($row[status] < 3) { $row[bold] = " style='font-weight:bold;'"; } else { $row[bold] = ""; } $row[status] = "".$status_name[$row[status]].""; //쪽지 보내기 위해 회원아이디 모아서 붙임 if($i==1) { $memo_temp = ''; } else { $memo_temp = ','; } $miniclub_memo_list = $miniclub_memo_list.$memo_temp.$mb[mb_id]; $miniclub_mail_list = $miniclub_mail_list.$memo_temp.$mb[mb_email]; // 회원상태바 $mb_view[$i] = get_sideview($mb[mb_id], $mb[mb_nick], $mb[mb_email], $mb[mb_homepage],""); // echo "$mb[mb_view]"; echo " $i $mb_view[$i] $mb[mb_name] $mb[mb_datetime] $mb[mb_hp] $row[join_date] $row[status] $member_process[0] $member_process[1] $member_process[2] "; $i++; } $member_all = $i - 1; echo ""; // 전체회원 echo "
"; echo "
전체 : $member_all"."명"; echo "     "; // 정회원 수 $dbresult = sql_query( "select count(*) from g5_miniclub_member where status < 4 and miniclub_table = '$tablename'"); $member_rows = mysqli_fetch_array($dbresult); echo "정회원 : $member_rows[0]"." 명"; echo "     "; echo "





"; // 메모 // echo "클럽 회원에게 전체쪽지 보내기 : [바로가기]"; echo "[전체메모 발송]  "; echo "

"; // 메일 echo "단체메일용 이메일목록 : $miniclub_mail_list"; echo "
"; ?>