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

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

팁앤테크

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

페이지 정보

profile_image
작성자 제로
댓글 0건 조회 67,774회 작성일 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 제로 55185 05-18
25 제로 37785 05-17
24 제로 47627 05-01
23 제로 59300 03-20
22 제로 71743 03-28
21 제로 70238 02-14
20 제로 69848 02-11
열람중 제로 67775 12-18
18 제로 42395 01-16
17 제로 42144 08-04
16 제로 41883 07-28
15 제로 40712 04-27
14 제로 58156 03-17
13 제로 44517 02-25
12 제로 83112 02-19
11 제로 42158 02-19
10 제로 43385 02-17
9 제로 43949 02-08
8 제로 40539 02-03
7 제로 42027 01-23
6 제로 61966 03-19
5 제로 56963 03-03
4 제로 43860 02-20
3 제로 38755 01-28
2 제로 45588 01-25

검색


사이트 정보

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

접속자집계

오늘
35,806
어제
214,167
최대
552,140
전체
15,652,578
Copyright (c) 株式会社YHPLUS. All rights reserved.