[g5] 카테고리 여러개 선택하기 > 팁앤테크

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

팁앤테크

[g5] 카테고리 여러개 선택하기

페이지 정보

profile_image
작성자 제로
댓글 0건 조회 69,505회 작성일 18-12-18 01:12

본문

function get_ca_name($name, $ca_lang)
{
    global $g5, $w, $config, $board;
    $ca_name = array_map('trim', explode(',', $ca_lang));
    $arr = array_map('trim', explode('|', $board['bo_category_list']));
    $str = '';
    for ($i=0; $i<count($arr); $i++)
    {
        if (trim($arr[$i]))
        $str .= "<input type='checkbox' name='ca_name[]' value='{$arr[$i]}' id='ca_name_".$i."'";
        if (in_array("{$arr[$i]}", $ca_name)) $str .= " checked='checked'";
        $str .= "> <label for='ca_name_".$i."'> {$arr[$i]}</label> ";
    }
    return $str;
}

댓글목록

등록된 댓글이 없습니다.

Total 829건 4 페이지
  • RSS
팁앤테크 목록
번호 제목 글쓴이 조회 날짜
754 제로 75273 02-06
753 제로 55293 01-18
752 제로 45794 01-09
751 제로 67343 01-02
750 제로 56737 11-28
749 제로 70852 10-21
748 제로 73672 03-28
747 제로 72228 02-14
746 제로 71799 02-11
745 제로 72209 12-22
열람중 제로 69505 12-18
743 제로 75685 12-02
742 제로 47525 10-22
741 제로 74171 08-21
740 제로 101641 08-15
739 제로 129742 08-12
738 제로 81001 06-14
737 제로 43695 06-09
736 제로 45651 04-25
735 제로 43751 04-20
734 제로 36823 03-30
733 제로 42084 12-05
732 제로 43709 12-04
731 제로 102303 08-18
730 제로 63859 07-14

검색


사이트 정보

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

접속자집계

오늘
334,995
어제
547,766
최대
552,140
전체
18,359,706
Copyright (c) 株式会社YHPLUS. All rights reserved.