사용자: 전체레이아웃 작업 중

This commit is contained in:
whitedot
2012-12-28 16:47:51 +09:00
parent 308fc16cf6
commit 3cc1b5463a
15 changed files with 134 additions and 62 deletions

View File

@ -5,7 +5,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<h1><? if ($is_category) { echo ($category_name ? "[{$view['ca_name']}] " : ""); } ?><?=cut_hangul_last(get_text($view['wr_subject']))?></h1>
<aside>
<h2>상단 링크</h2>
<h2>게시물 상단 링크</h2>
<!-- 링크 버튼 -->
<? if ($update_href || $deleter_href) {?>
<ul>
@ -149,7 +149,7 @@ include_once('./view_comment.php');
?>
<aside>
<h2>하단 링크</h2>
<h2>게시물 하단 링크</h2>
<ul>
<? if ($prev_href) { ?><li><a href="<?=$prev_href?>">이전</a></li><? } ?>
<? if ($next_href) { ?><li><a href="<?=$next_href?>">다음</a></li><? } ?>

View File

@ -2,4 +2,7 @@
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<div><a href="<?=$g4['bbs_path']?>/current_connect.php">현재접속자 <?=$row['total_cnt']?> 중 회원 <?=$row['mb_cnt']?></a></div>
<section id="current_connect">
<h2>현재접속자</h2>
<div><a href="<?=$g4['bbs_path']?>/current_connect.php"><?=$row['total_cnt']?>명 중 회원 <?=$row['mb_cnt']?>명</a></div>
</section>

View File

@ -25,22 +25,25 @@ else {
}
?>
<section id="ol_before" class="outlogin">
<h2>사이트 회원</h2>
<!-- 로그인 전 외부로그인 시작 -->
<form name="fhead" method="post" onsubmit="return fhead_submit(this);" autocomplete="off">
<fieldset>
<legend>로그인</legend>
<input type="hidden" name="url" value="<?=$outlogin_url?>">
<label for="mb_id">아이디</label>
<input type="text" id="mb_id" name="mb_id" maxlength="20" required>
<label for="mb_password">패스워드</label>
<input type="password" id="mb_password" name="mb_password" maxlength="20">
<input type="checkbox" id="auto_login" name="auto_login" value="1" onclick="if (this.checked) { if (confirm('자동로그인을 사용하시면 다음부터 회원아이디와 패스워드를 입력하실 필요가 없습니다.\n\n\공공장소에서는 개인정보가 유출될 수 있으니 사용을 자제하여 주십시오.\n\n자동로그인을 사용하시겠습니까?')) { this.checked = true; } else { this.checked = false; } }">
<label for="auto_login">자동로그인</label>
<input type="submit" value="로그인">
<a href="javascript:win_password_lost();">아이디/패스워드 찾기</a>
<a href="<?=$g4['bbs_path']?>/register.php">회원가입</a>
</fieldset>
</form>
<form name="fhead" method="post" onsubmit="return fhead_submit(this);" autocomplete="off">
<fieldset>
<legend>로그인</legend>
<input type="hidden" name="url" value="<?=$outlogin_url?>">
<label for="mb_id">아이디</label>
<input type="text" id="mb_id" name="mb_id" maxlength="20" required>
<label for="mb_password">패스워드</label>
<input type="password" id="mb_password" name="mb_password" maxlength="20">
<input type="checkbox" id="auto_login" name="auto_login" value="1" onclick="if (this.checked) { if (confirm('자동로그인을 사용하시면 다음부터 회원아이디와 패스워드를 입력하실 필요가 없습니다.\n\n\공공장소에서는 개인정보가 유출될 수 있으니 사용을 자제하여 주십시오.\n\n자동로그인을 사용하시겠습니까?')) { this.checked = true; } else { this.checked = false; } }">
<label for="auto_login">자동로그인</label>
<input type="submit" value="로그인">
<a href="javascript:win_password_lost();">아이디/패스워드 찾기</a>
<a href="<?=$g4['bbs_path']?>/register.php">회원가입</a>
</fieldset>
</form>
</section>
<script src="<?=$g4[path]?>/js/capslock.js"></script>
<script>

View File

@ -3,8 +3,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<!-- 로그인 후 외부로그인 시작 -->
<section>
<h2>정보</h2>
<section id="ol_after" class="outlogin">
<h2>나의 회원정보</h2>
<?=$nick?>님
<? if ($is_admin == 'super' || $is_auth) { ?><a href="<?=$g4['admin_path']?>/">관리자</a><? } ?>
<a href="javascript:win_point();">포인트 : <?=$point?>점</a>

View File

@ -14,11 +14,11 @@ if (!$po_id)
$po = sql_fetch(" select * from $g4[poll_table] where po_id = '$po_id' ");
?>
<section>
<h2>사이트 설문조사</h2>
<form name="fpoll" method="post" action="<?=$g4[bbs_path]?>/poll_update.php" onsubmit="return fpoll_submit(this);" target="winPoll">
<input type="hidden" name="po_id" value="<?=$po_id?>">
<input type="hidden" name="skin_dir" value="<?=$skin_dir?>">
<section id="poll">
<h2>설문조사</h2>
<? if ($is_admin == "super") { ?><a href="<?=$g4[admin_path]?>/poll_form.php?w=u&amp;po_id=<?=$po_id?>">설문조사 관리</a><? } ?>
<?=$po['po_subject']?>
<ul>
@ -28,6 +28,7 @@ $po = sql_fetch(" select * from $g4[poll_table] where po_id = '$po_id' ");
</ul>
<input type="submit" value="투표하기">
<a href="javascript:;" onclick="poll_result('<?=$po_id?>');">결과보기</a>
</section>
</form>
<script>
@ -64,5 +65,4 @@ function poll_result(po_id)
win_poll("<?=$g4['bbs_path']?>/poll_result.php?po_id="+po_id+"&amp;skin_dir="+document.fpoll.skin_dir.value);
}
</script>
</section>
</script>

View File

@ -2,8 +2,8 @@
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<section>
<h2>사이트 인기검색어</h2>
<section id="popular">
<h2>인기검색어</h2>
<ul>
<? for ($i=0; $i<count($list); $i++) { ?>
<li><a href="<?=$g4['bbs_path']?>/search.php?sfl=wr_subject&amp;sop=and&amp;stx=<?=urlencode($list[$i]['pp_word'])?>"><?=$list[$i]['pp_word']?></a></li>

View File

@ -4,8 +4,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
global $is_admin;
?>
<section>
<h2>방문자</h2>
<section id="visit">
<h2>방문자집계</h2>
<dl>
<dt>오늘</dt>
<dd><?=number_format($visit[1])?></dd>