diff --git a/adm/mail_select_list.php b/adm/mail_select_list.php index db05cca50..d43d6c200 100644 --- a/adm/mail_select_list.php +++ b/adm/mail_select_list.php @@ -94,7 +94,7 @@ include_once('./admin.head.php'); while ($row=sql_fetch_array($result)) { $i++; $ma_list .= $cr . $row['mb_email'] . "||" . $row['mb_id'] . "||" . $row['mb_name'] . "||" . $row['mb_nick'] . "||" . $row['mb_datetime']; - $cr = "\n"; + $cr = chr(30); $bg = 'bg'.($i%2); ?> diff --git a/adm/mail_select_update.php b/adm/mail_select_update.php index 3bec09bae..5b0f5874e 100644 --- a/adm/mail_select_update.php +++ b/adm/mail_select_update.php @@ -33,10 +33,10 @@ flush(); ob_flush(); $ma_id = trim($_POST['ma_id']); -$select_member_list = addslashes(trim($_POST['ma_list'])); +$select_member_list = trim($_POST['ma_list']); //print_r2($_POST); EXIT; -$member_list = explode("\n", $select_member_list); +$member_list = explode(chr(30), $select_member_list); // 메일내용 가져오기 $sql = "select ma_subject, ma_content from {$g5['mail_table']} where ma_id = '$ma_id' "; diff --git a/css/default.css b/css/default.css index a51a5b7fa..d986cfdc3 100644 --- a/css/default.css +++ b/css/default.css @@ -58,29 +58,21 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline} #tnb a:focus, #tnb a:hover, #tnb a:active {text-decoration:none} #tnb img {margin-right:3px} -/* gnb js off */ +/* 메인메뉴 */ #gnb {position:relative;margin:-1px 0 0;border-top:1px dotted #dde4e9;border-bottom:1px solid #dde4e9;background:#ecf0f7} #gnb h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} #gnb #gnb_1dul {margin:0 auto !important;padding:0;width:970px;zoom:1} #gnb #gnb_1dul:after {display:block;visibility:hidden;clear:both;content:""} -.gnb_1dli {z-index:10;clear:both;zoom:1} +.gnb_1dli {z-index:10;position:relative;float:left;zoom:1} .gnb_1dli:after {display:block;visibility:hidden;clear:both;content:""} -.gnb_1da {display:block;float:left;width:80px;height:35px;font-weight:bold;line-height:2.95em;text-decoration:none} -.gnb_1da:focus, .gnb_1da:hover {text-decoration:none} -.gnb_2dul {float:left;width:auto} -.gnb_2dli {float:left} -.gnb_2da {display:block;float:left;width:80px;height:35px;line-height:2.95em;text-decoration:none} +.gnb_1da {display:block;float:left;padding:0 10px;width:80px;height:35px;background:url('../img/gnb_bg00.gif') center right no-repeat;font-weight:bold;line-height:2.95em;text-decoration:none} +.gnb_1da:focus, .gnb_1da:hover {background:url('../img/gnb_bg00.gif') #333 center right no-repeat;text-decoration:none} +.gnb_1dli_air a {background-color:#333;color:#fff} +.gnb_1dli_on a {background-color:#333;color:#fff} +.gnb_2dul {display:none;position:absolute;top:35px} +.gnb_2da {display:block;width:80px;} +.gnb_2da {display:inline-block;padding:0 10px;width:161px;height:35px;text-align:left;text-decoration:none;line-height:2.95em} .gnb_2da:focus, .gnb_2da:hover {text-decoration:none} -/* gnb js on */ -.gnb_js {} -.gnb_js #gnb_1dul {zoom:1} -.gnb_js #gnb_1dul:after {display:block;visibility:hidden;clear:both;content:""} -.gnb_js .gnb_1dli {clear:none;position:relative;float:left} -.gnb_js .gnb_1da {text-align:center} -.gnb_js .gnb_1dli_air a {float:none;background:#333;color:#fff} -.gnb_js .gnb_1dli_on a {float:none;background:#333;color:#fff} -.gnb_js .gnb_2dul {display:none;position:absolute;top:35px} -.gnb_js .gnb_2da {display:inline-block;float:none !important;padding:0 10px;width:161px;text-align:left} .gnb_1dli_over .gnb_2dul {display:block;left:0;width:180px;background:#fff} .gnb_1dli_over2 .gnb_2dul {display:block;right:1px;width:180px;background:#fff} diff --git a/head.php b/head.php index 65fb3a2b8..72e14e0e0 100644 --- a/head.php +++ b/head.php @@ -114,7 +114,6 @@ if (G5_IS_MOBILE) {