답변 감사합니다... 근데... 위 한줄을 삭제하였는데도 관리자가 나타나지 않네요...
http://도메인/bbs/current_connect.php를 불러오니 아래와 같은 에러가 나네요...
select a.mb_id, b.mb_nick, b.mb_name, b.mb_email, b.mb_homepage, b.mb_open, b.mb_point, a.lo_ip, a.lo_location, a.lo_url from g4_login a left join g4_member b on (a.mb_id = b.mb_id) // where a.mb_id <> 'admin' order by a.lo_datetime desc
1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/ where a.mb_id <> 'admin' order by a.lo_datetime desc' at line 3
댓글 5개
where a.mb_id <> '$config[cf_admin]'
상단과 같은 라인을 삭제합니다.
http://도메인/bbs/current_connect.php를 불러오니 아래와 같은 에러가 나네요...
select a.mb_id, b.mb_nick, b.mb_name, b.mb_email, b.mb_homepage, b.mb_open, b.mb_point, a.lo_ip, a.lo_location, a.lo_url from g4_login a left join g4_member b on (a.mb_id = b.mb_id) // where a.mb_id <> 'admin' order by a.lo_datetime desc
1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/ where a.mb_id <> 'admin' order by a.lo_datetime desc' at line 3
error file : /bbs/current_connect.php
저 라인 자체만 삭제하면 정상작동 됩니다.
현재접속자 스킨에도 관리자가 나오게 하려면 어떻게 해야할까요? 실은 현재접속자 스킨 <?=connect("bada"); // 현재 접속자수 ?> 가 뿌려지는 곳에 관리자가 나오게 하고싶었거든요... 사용한 스킨은 아래 접속자스킨입니다.
http://www.sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=74997