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

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

팁앤테크

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

페이지 정보

profile_image
작성자 제로
댓글 0건 조회 67,799회 작성일 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 제로 55210 05-18
25 제로 37797 05-17
24 제로 47657 05-01
23 제로 59340 03-20
22 제로 71760 03-28
21 제로 70259 02-14
20 제로 69869 02-11
열람중 제로 67800 12-18
18 제로 42427 01-16
17 제로 42183 08-04
16 제로 41917 07-28
15 제로 40734 04-27
14 제로 58181 03-17
13 제로 44536 02-25
12 제로 83136 02-19
11 제로 42195 02-19
10 제로 43412 02-17
9 제로 43970 02-08
8 제로 40558 02-03
7 제로 42045 01-23
6 제로 61993 03-19
5 제로 56991 03-03
4 제로 43883 02-20
3 제로 38770 01-28
2 제로 45610 01-25

검색


사이트 정보

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

접속자집계

오늘
121,894
어제
214,167
최대
552,140
전체
15,738,666
Copyright (c) 株式会社YHPLUS. All rights reserved.