if ( !defined("_INCLUDED_GLOBAL") ) exit; // [Security]Allow_url_fopen = On ?> // 편지함 목록 for ($i = 0; $i < sizeof($G_SYS[USER_MAIL_BOX]); $i++) { if ($G_SYS[USER_MAIL_BOX][$i]['mb_id'] == "inbox") { $strap_icon = "bi bi-envelope-fill"; //glyphicon glyphicon-envelope } else if ($G_SYS[USER_MAIL_BOX][$i]['mb_id'] == "sent") { $strap_icon = "bi bi-send"; //glyphicon glyphicon-share } else if ($G_SYS[USER_MAIL_BOX][$i]['mb_id'] == "draft") { $strap_icon = "bi bi-inboxes"; //glyphicon glyphicon-edit } else if ($G_SYS[USER_MAIL_BOX][$i]['mb_id'] == "trash") { $strap_icon = "bi bi-trash3"; //glyphicon glyphicon-trash } else if ($G_SYS[USER_MAIL_BOX][$i]['mb_id'] == "spam") { $strap_icon = "bi bi-ban"; //glyphicon glyphicon-ban-circle } else { $strap_icon = "bi bi-folder"; //glyphicon glyphicon-folder-open } $left_li_class = 'two-link mb-depth mb-depth-' . $G_SYS[USER_MAIL_BOX][$i]['mb_depth']; if ($G_SYS[USER_MAIL_BOX][$i]['mb_id'] == 'spam') { // 스팸편지함 아래 구분선 $left_li_class .= ' menu-bottom-split'; } if ($G_SYS[USER_MAIL_BOX][$i]['mb_is_system'] == 'Y') { // 기본 편지함(받은편지함 등) $left_li_class .= ' mb-system'; } if ($G_SYS[USER_MAIL_BOX][$i]['mb_child_count'] > 0) { // 하위 편지함 있을 경우 $left_li_class .= ' has-child'; if ($G_SYS[USER_MAIL_BOX][$i]['mb_open'] == 'Y') { $left_li_class .= ' child-open'; } else { $left_li_class .= ' child-close'; } } if ($G_SYS[USER_MAIL_BOX][$i]['mb_id'] == $_GET['mb_id']) { // 현재 편지함 $left_li_class .= ' active'; } ?>