latest.lib.php 관련해서 질문 드립니다. > 질문답변

본문 바로가기
사이트 내 전체검색

질문답변

서버정보나 계정정보는 보안유지를 위해 관리자쪽지나 메일로 발송해 주시거나 제작의뢰 게시판을 이용해 주시면 감사하겠습니다..

latest.lib.php 관련해서 질문 드립니다.

페이지 정보

본문

function latest_name($skin_dir="", $bo_table, $rows=10, $subject_len=40, $mb_idx)
{
    global $config;
    global $g4;

    if ($skin_dir)
        $latest_skin_path = "$g4[path]/skin/latest/$skin_dir";
    else
        $latest_skin_path = "$g4[path]/skin/latest/$config[cf_latest_skin]";

    $list = array();

    $sql = " select * from {$g4[board_table]} where bo_table = '$bo_table'";
    $board = sql_fetch($sql);

    $tmp_write_table = $g4[write_prefix] . $bo_table;
    $sql = " select * from $tmp_write_table where mb_id = '$mb_idx' and wr_is_comment = 0 order by wr_num limit 0, $rows ";
   
    $result = sql_query($sql);
    for ($i=0; $row = sql_fetch_array($result); $i++)
        $list[$i] = get_list($row, $board, $latest_skin_path, $subject_len);
   
    ob_start();
    include "$latest_skin_path/latest.skin.php";
    $content = ob_get_contents();
    ob_end_clean();

    return $content;
}


<?=latest_name('onlinle', 'online', 50, 45, 회원아이디); ?>

<?=latest_name('onlinle', 'online', 50, 45, $member[mb_id]); ?>

이렇게 하니깐 안되더라구요 부탁드립니다.
추천0

댓글목록

profile_image

제로님의 댓글

제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일

$sql = " select * from $tmp_write_table where mb_id = '$member[mb_id]' and wr_is_comment = 0 order by wr_num limit 0, $rows ";

이렇게 하시고 전체를 뽑아주세요.

Total 1,640건 27 페이지
  • RSS
질문답변 목록
번호 제목 글쓴이 조회 추천 날짜
990 ebakery쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8223 0 12-06
989 디란도쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8224 0 09-05
988 원팀쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8233 0 02-17
987 김성수쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8245 0 08-13
986 후니쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8249 0 10-13
985 jude쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8255 0 01-07
984 골든쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8259 0 06-15
983 검정하늘쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8276 0 01-29
982 메빅맨쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8281 0 07-19
981 메빅맨쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8310 0 08-03
980 진진쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8311 0 12-16
979 짱구짱구쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8311 0 02-24
978 소금쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 8316 0 09-17
977 포인트쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8317 0 07-19
976 꾸러기얌쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8332 0 02-20
975 쿠하하쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 8334 0 11-07
974 백작쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8335 0 10-25
973 포인트쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8337 1 07-17
972 외환딜러쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8340 0 11-25
971 현호쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8377 0 05-25
970 taein쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8381 0 05-14
969 쾌지나칭칭나네쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8383 0 03-01
968 세분쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8386 1 12-26
967 포인트쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8399 0 12-26
966 메빅맨쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8401 0 09-24

검색

회원로그인

회원가입

사이트 정보

株式会社YHPLUS / 대표 : ZERO
〒140-0011 東京都品川区東大井2-5-9-203
050-5539-7787
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d

접속자집계

오늘
6,896
어제
8,371
최대
8,371
전체
1,632,452
Copyright (c) 株式会社YHPLUS. All rights reserved.