|
|
|
15년 전
|
조회 1,965
|
|
|
|
15년 전
|
조회 2,781
|
|
|
|
15년 전
|
조회 1,548
|
|
|
|
15년 전
|
조회 1,561
|
|
|
|
15년 전
|
조회 1,677
|
|
|
|
15년 전
|
조회 1,090
|
|
|
|
15년 전
|
조회 1,538
|
|
|
|
15년 전
|
조회 1,563
|
|
|
|
15년 전
|
조회 1,531
|
|
|
|
15년 전
|
조회 1,558
|
|
|
|
15년 전
|
조회 1,590
|
|
|
|
15년 전
|
조회 1,538
|
|
|
|
15년 전
|
조회 1,570
|
|
|
|
15년 전
|
조회 1,533
|
|
|
|
15년 전
|
조회 1,548
|
|
|
|
15년 전
|
조회 1,939
|
|
|
|
15년 전
|
조회 1,628
|
|
|
|
15년 전
|
조회 1,520
|
|
|
|
15년 전
|
조회 2,409
|
|
|
|
15년 전
|
조회 1,487
|
댓글 4개
$sql = " select count(*) as cnt from $g4[login_table] ";
$login = sql_fetch($sql);
// 출력
echo $login['cnt'];
if($login_chk[mb_id]) echo "접속중";
위 코드를 리스트의 for문 아래에 넣으면 되겠는데...좋은 방법은 아니군요
이렇게 하세요
$result=sql_query("select mb_id from $g4[login_table] where mb_id<>'' ");
while($row=sql_fetch_array($result)) $loginID=$row;
위 코드를 list.skin.php 처음 부분에 삽입
리스트 출력부분의 for문 아래에 삽입
if( in_array($list[$i][mb_id], $loginID)) echo "접속중":