모바일: 쪽지스킨 완료
This commit is contained in:
+6
-6
@@ -5,23 +5,23 @@ include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
|
||||
if ($is_guest)
|
||||
alert_close('회원만 이용하실 수 있습니다.');
|
||||
|
||||
if (!$member[mb_open] && $is_admin != 'super' && $member[mb_id] != $mb_id)
|
||||
alert_close('자신의 정보를 공개하지 않으면 다른분에게 쪽지를 보낼 수 없습니다.'.PHP_EOL.PHP_EOL.'정보공개 설정은 회원정보수정에서 하실 수 있습니다.');
|
||||
if (!$member['mb_open'] && $is_admin != 'super' && $member['mb_id'] != $mb_id)
|
||||
alert_close("자신의 정보를 공개하지 않으면 다른분에게 쪽지를 보낼 수 없습니다. 정보공개 설정은 회원정보수정에서 하실 수 있습니다.");
|
||||
|
||||
$content = "";
|
||||
// 탈퇴한 회원에게 쪽지 보낼 수 없음
|
||||
if ($me_recv_mb_id)
|
||||
{
|
||||
$mb = get_member($me_recv_mb_id);
|
||||
if (!$mb[mb_id])
|
||||
if (!$mb['mb_id'])
|
||||
alert_close('회원정보가 존재하지 않습니다.'.PHP_EOL.PHP_EOL.'탈퇴하였을 수 있습니다.');
|
||||
|
||||
if (!$mb[mb_open] && $is_admin != 'super')
|
||||
if (!$mb['mb_open'] && $is_admin != 'super')
|
||||
alert_close('정보공개를 하지 않았습니다.');
|
||||
|
||||
// 4.00.15
|
||||
$row = sql_fetch(" select me_memo from {$g4[memo_table]} where me_id = '{$me_id}' and (me_recv_mb_id = '{$member[mb_id]}' or me_send_mb_id = '{$member[mb_id]}') ");
|
||||
if ($row[me_memo])
|
||||
$row = sql_fetch(" select me_memo from {$g4['memo_table']} where me_id = '{$me_id}' and (me_recv_mb_id = '{$member['mb_id']}' or me_send_mb_id = '{$member['mb_id']}') ");
|
||||
if ($row['me_memo'])
|
||||
{
|
||||
$content = PHP_EOL.PHP_EOL.PHP_EOL.' >'
|
||||
.PHP_EOL.' >'
|
||||
|
||||
+11
-5
@@ -16,6 +16,7 @@ input[type=submit],
|
||||
input[type=image],
|
||||
button {border-radius:0 !important;font-size:1em;-webkit-appearance:none} /* 모바일에서만 사용 */
|
||||
select, textarea {font-size:1em}
|
||||
textarea {border-radius:0;-webkit-appearance:none}
|
||||
p {margin:0;padding:1em 0;line-height:1.7em;word-break:break-all}
|
||||
hr {display:none}
|
||||
pre {overflow-x:scroll;font-size:1.1em}
|
||||
@@ -110,7 +111,7 @@ pre {overflow-x:scroll;font-size:1.1em}
|
||||
.btn_cancel {display:inline-block;padding:0 1em;height:2.5em;border:1px solid #ccc;background:#fafafa;color:#000;font-size:1em;text-decoration:none;line-height:2.5em}
|
||||
.btn_frmline {display:inline-block;padding:0 7px 0 0.3em;height:22px;border:0;background:#333;color:#fff !important;letter-spacing:-0.1em;text-decoration:none;vertical-align:top;line-height:1.4em} /* 우편번호검색버튼 등 */
|
||||
.btn_win {clear:both;margin-bottom:1.5em;text-align:center} /* 새창용 */
|
||||
.btn_win a {display:inline-block;padding:0 1em;height:2.5em;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;line-height:2.5em;cursor:pointer}
|
||||
.btn_win a {display:inline-block;padding:0 1em;height:2.5em;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;vertical-align:middle;line-height:2.5em;cursor:pointer}
|
||||
/* 게시판용 버튼 */
|
||||
.btn_b01 {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #eee !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2em;vertical-align:middle}
|
||||
.btn_b01:focus,
|
||||
@@ -141,7 +142,7 @@ td.empty_table {padding:5em 0;text-align:center}
|
||||
/* 폼 테이블 */
|
||||
.frm_tbl {margin-bottom:1.5em;width:100%;border-collapse:collapse;border-spacing:0}
|
||||
.frm_tbl caption {padding:1em;color:#4b8b99;font-weight:bold;text-align:left}
|
||||
.frm_tbl th {padding-left:1em;width:100px;border-top:1px solid #eee;border-bottom:1px solid #eee;font-weight:normal;text-align:left}
|
||||
.frm_tbl th {padding-left:1em;width:110px;border-top:1px solid #eee;border-bottom:1px solid #eee;font-weight:normal;text-align:left}
|
||||
.frm_tbl td {padding:0.4em 0.5em;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent}
|
||||
.frm_tbl textarea,
|
||||
.frm_input {border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:middle;line-height:1.8em}
|
||||
@@ -173,7 +174,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
||||
.new_win h1 {margin-bottom:1.5em;padding:0 1.5em;height:3em;border-top:3px solid #4e5d60;border-bottom:1px solid #e9e9e9;font-size:1.2em;line-height:3.5em}
|
||||
.new_win table {margin:0 auto 1.5em !important;width:100% !important}
|
||||
.new_win caption {padding:1em}
|
||||
.new_win_ul {margin:-20px 0 1.5em 0;padding:0 0 0 1.5em;border-bottom:1px solid #455255;background:#484848;list-style:none;zoom:1}
|
||||
.new_win_ul {margin:-1.8em 0 1.5em 0;padding:0 0 0 1.5em;border-bottom:1px solid #455255;background:#484848;list-style:none;zoom:1}
|
||||
.new_win_ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.new_win_ul li {float:left;margin-left:-1px}
|
||||
.new_win_ul a {display:block;padding:1em 1em 8px;border-right:1px solid #455255;border-left:1px solid #455255;color:#fff;font-family:"dotum";font-weight:bold;text-decoration:none}
|
||||
@@ -219,7 +220,8 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
||||
#memo_view_ul a {}
|
||||
#memo_view section p {min-height:150px;height:auto !important;height:150px}
|
||||
|
||||
#memo_write textarea {height:100px}
|
||||
#memo_write #me_recv_mb_id {width:99%}
|
||||
#memo_write textarea {width:99%;height:100px}
|
||||
|
||||
/* 스크랩 */
|
||||
#scrap_do .cbg {margin:0 auto 1.5em;padding:1.5em;width:87%}
|
||||
@@ -262,7 +264,6 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
||||
#current_connect_tbl th:nth-of-type(2) {width:120px}
|
||||
|
||||
#current_connect_tbl td:nth-of-type(1) {padding:1em 0;text-align:center}
|
||||
#current_connect_tbl .sv {display:none}
|
||||
|
||||
/* 새글 */
|
||||
#new_sch {margin:0 0 0.3em;padding:0.3em 0.7em}
|
||||
@@ -410,6 +411,11 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
||||
|
||||
#bo_vc form {padding:0}
|
||||
|
||||
/* 사이드뷰 */
|
||||
.sv_wrap {display:inline-block;position:relative;font-weight:normal}
|
||||
.sv_wrap img {vertical-align:middle}
|
||||
.sv_wrap a {display:inline-block;color:#000;text-decoration:none;vertical-align:middle}
|
||||
|
||||
/* pagination */
|
||||
.pg_wrap {clear:both;margin:0 0 1em;padding-top:1em;text-align:center}
|
||||
.pg {display:inline-block;border:1px solid #cfded8;letter-spacing:-4px}
|
||||
|
||||
+1
-1
@@ -106,7 +106,7 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
|
||||
|
||||
<div id="wrapper">
|
||||
<div id="lnb">
|
||||
<?//=outlogin('basic'); // 외부 로그인 ?>
|
||||
<?=outlogin('basic'); // 외부 로그인 ?>
|
||||
<?//=poll('basic'); // 설문조사 ?>
|
||||
</div>
|
||||
<div id="container">
|
||||
|
||||
@@ -19,7 +19,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<tr>
|
||||
<th scope="row"><label for="me_recv_mb_id">받는 회원아이디<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<input type="text" id="me_recv_mb_id" name="me_recv_mb_id" class="frm_input required" size="47" required value="<?=$me_recv_mb_id?>">
|
||||
<input type="text" id="me_recv_mb_id" name="me_recv_mb_id" class="frm_input required" required value="<?=$me_recv_mb_id?>">
|
||||
<span class="frm_info">여러 회원에게 보낼때는 컴마(,)로 구분하세요.</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user