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

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

팁앤테크

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

페이지 정보

profile_image
작성자 제로
댓글 0건 조회 67,793회 작성일 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 제로 55201 05-18
25 제로 37792 05-17
24 제로 47650 05-01
23 제로 59332 03-20
22 제로 71756 03-28
21 제로 70255 02-14
20 제로 69861 02-11
열람중 제로 67794 12-18
18 제로 42418 01-16
17 제로 42178 08-04
16 제로 41906 07-28
15 제로 40726 04-27
14 제로 58172 03-17
13 제로 44532 02-25
12 제로 83128 02-19
11 제로 42188 02-19
10 제로 43407 02-17
9 제로 43963 02-08
8 제로 40553 02-03
7 제로 42040 01-23
6 제로 61987 03-19
5 제로 56986 03-03
4 제로 43877 02-20
3 제로 38766 01-28
2 제로 45604 01-25

검색


사이트 정보

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

접속자집계

오늘
118,037
어제
214,167
최대
552,140
전체
15,734,809
Copyright (c) 株式会社YHPLUS. All rights reserved.