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

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

팁앤테크

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

페이지 정보

profile_image
작성자 제로
댓글 0건 조회 67,781회 작성일 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 26건 1 페이지
  • RSS
팁앤테크 목록
번호 제목 글쓴이 조회 날짜
26 제로 55196 05-18
25 제로 37788 05-17
24 제로 47644 05-01
23 제로 59317 03-20
22 제로 71750 03-28
21 제로 70246 02-14
20 제로 69853 02-11
열람중 제로 67782 12-18
18 제로 42407 01-16
17 제로 42165 08-04
16 제로 41895 07-28
15 제로 40718 04-27
14 제로 58164 03-17
13 제로 44529 02-25
12 제로 83120 02-19
11 제로 42180 02-19
10 제로 43397 02-17
9 제로 43956 02-08
8 제로 40548 02-03
7 제로 42032 01-23
6 제로 61980 03-19
5 제로 56978 03-03
4 제로 43868 02-20
3 제로 38758 01-28
2 제로 45596 01-25

검색


사이트 정보

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

접속자집계

오늘
90,318
어제
214,167
최대
552,140
전체
15,707,090
Copyright (c) 株式会社YHPLUS. All rights reserved.