-
bbs/write.php
263라인
-
function get_category_option1($bo_table='', $ca_name='')
{
global $g5, $board, $is_admin;$categories = explode("|", $board['bo_category_list'].($is_admin?"|공지":"")); // 구분자가 | 로 되어 있음
$str = "";
for ($i=0; $i<count($categories); $i++) {
$category = trim($categories[$i]);
if (!$category) continue;$str .= "<label class='radio'><input type=\"radio\" name=\"ca_name\" value=\"$categories[$i]\" ";
if($i==0) $str .= ' checked';
if ($category == $ca_name) {
$str .= ' checked';
}
$str .= "> $categories[$i] </label>";
}return $str;
}
$category_option1 = '';
if ($board['bo_use_category']) {
$ca_name = "";
if (isset($write['ca_name']))
$ca_name = $write['ca_name'];
$category_option1 = get_category_option1($bo_table, $ca_name);
$is_category = true;
} -
-
-
-
write.skin.php
-
-
<?php if ($is_category) { echo $category_option1;}?>
댓글 3개
게시글 목록
| 번호 | 제목 |
|---|---|
| 16998 | |
| 16993 | |
| 16992 | |
| 16987 | |
| 16985 | |
| 16961 | |
| 16960 | |
| 16956 | |
| 16939 | |
| 16918 | |
| 16895 | |
| 16893 | |
| 16866 | |
| 16849 | |
| 16847 | |
| 16843 | |
| 16837 | |
| 16827 | |
| 16824 | |
| 16811 | |
| 16808 | |
| 16779 | |
| 16778 | |
| 16777 | |
| 16768 | |
| 16762 | |
| 16752 | |
| 16751 | |
| 16736 | |
| 16725 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기