레벨 아이콘 문의 > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

레벨 아이콘 문의 정보

레벨 아이콘 문의

본문

로그인창 레벨 아이콘
skin/outlogin/각스킨/outlogin.skin.2.php파일의 <?=$mb_name?> <- 이름 옆에
<?=level_icon($member[mb_id])?>
----------------------------------------------------------------------------------
이렇게 설명 되었는데,,,,,↓아래 제파일 outlogin.skin.2.php소스
----------------------------------------------------------------------------------

<?
/**
 * Bechu-Outlogin Skin for Gnuboard4
 *
 * Copyright (c) 2008 Choi Jae-Young <www.miwit.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  *** 개인정보보호를 위한 전화번호 노출방지 ***  USA
 */

if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

// 회원가입후 몇일째인지? + 1 은 당일을 포함한다는 뜻
$sql = " select (TO_DAYS('$g4[time_ymdhis]') - TO_DAYS('$member[mb_datetime]') + 1) as days ";
$row = sql_fetch($sql);
$mb_reg_after = number_format($row[days]);
?>

<!-- 로그인 후 외부로그인 시작 -->
<div id="mw-outlogin">
<form name="flogin" method="post" action="javascript:flogin_submit(document.flogin);" autocomplete="off">
<input type="hidden" name="url" value="<?=$url?>">
<div class="box-outside">
<div class="box-inside">
    <? if ($is_admin == "super" || $is_auth) { ?>
    <div class="login-title"><a href="<?=$g4[admin_path]?>"><strong><?=$nick?></strong> 님 어서오세요.</a></div>
    <? } else { ?>
    <div class="login-title"><strong><?=$nick?></strong> 님 어서오세요.</div>
    <? } ?>
    <div class="login-memo"><a href="javascript:win_memo();"><strong>쪽지</strong>: <span class="login-memo-count"><?=$memo_not_read?></span></a></div>
    <div class="login-point"><a href="javascript:win_point();"><strong>포인트</strong>: <span class="login-point-number"><?=$point?></span> 점</a></div>
    <div class="login-level"><strong>권한</strong>: <?=$member[mb_level]?></div>
    <div class="login-days"><strong>가입일</strong>: <?=$mb_reg_after?> 일</div>
    <div class="login-membership">
        <a href="javascript:win_scrap();">스크랩</a> <span>|</span>
        <a href="<?=$g4[bbs_path]?>/member_confirm.php?url=register_form.php">정보수정</a> <span>|</span>
        <a href="<?=$g4[bbs_path]?>/logout.php?url=<?=$urlencode?>">로그아웃</a>
    </div>
</div>
</div>
</form>
</div>


<style type="text/css">
#mw-outlogin a { color:#7dacd8; font-size:8pt; text-decoration:none; }
#mw-outlogin .box-outside { width:180px; height:100px; background-color:#d0e1f1; }
#mw-outlogin .box-inside { position:absolute; margin:2px; width:176px; height:96px; background-color:#f3f9fc; background-color:#fff; }
#mw-outlogin .box-inside { line-height:16px; color:#7dacd8; font-size:8pt; font-family:gulim }
#mw-outlogin .login-title { position:absolute; margin:5px 0 0 7px; width:162px; border-bottom:1px solid #d0e1f1; }
#mw-outlogin .login-memo { position:absolute; margin:30px 0 0 7px; }
#mw-outlogin .login-memo-count { font-size:8pt; color:#ff6600; }
#mw-outlogin .login-point { position:absolute; margin:30px 0 0 55px; }
#mw-outlogin .login-point-number { color:#ff6600; color:#468AC8; }
#mw-outlogin .login-days { position:absolute; margin:48px 0 0 55px; }
#mw-outlogin .login-level { position:absolute; margin:48px 0 0 7px; }
#mw-outlogin .login-membership { position:absolute; margin:72px 0 0 7px; padding:3px 0 0 0; border-top:1px solid #d0e1f1; width:162px; }
#mw-outlogin .login-membership { text-align:center; font-size:8pt; color:#d0e1f1; }
#mw-outlogin .login-membership a { font-size:8pt; }
#mw-outlogin .box-outside { background-color:#d0d7f1; }
#mw-outlogin .box-inside { background-color:#fff; color:#6b7bb3; color:#444; }
#mw-outlogin .box-inside a { color:#6b7bb3; color:#444; }
#mw-outlogin .login-membership { color:#6b7bb3; }
#mw-outlogin .login-membership a { color:#6b7bb3; color:#444; }
</style>
------------------------------------------------------------------------------------
<?=$mb_name?> 검색하니 찾을 수 없다고 나오는데 어떻게 해야 하나요/
------------------------------------------------------------------------------------
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로