diff --git a/lib/common.lib.php b/lib/common.lib.php index af32393c9..518091671 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -778,28 +778,48 @@ function get_group_select($name, $selected='', $event='') $sql .= " order by a.gr_id "; $result = sql_query($sql); - $str = ""; return $str; } +// 스킨디렉토리를 SELECT 형식으로 얻음 +function get_skin_select($skin_gubun, $id, $name, $selected='', $event='') +{ + $skins = get_skin_dir($skin_gubun); + $str = ""; + $str = ""; return $str; @@ -1598,4 +1618,12 @@ function abs_ip2long($ip='') $ip = $ip ? $ip : $_SERVER['REMOTE_ADDR']; return abs(ip2long($ip)); } + + +/* +function option_selected($field, $value) +{ + return ($field==$value) ? ' selected="selected"' : ''; +} +*/ ?> \ No newline at end of file