사용자: 레이아웃 작업 중

This commit is contained in:
whitedot
2013-01-23 15:33:32 +09:00
parent 2edb6438c6
commit 1efe74347f
8 changed files with 88 additions and 50 deletions

View File

@ -3,11 +3,10 @@
/* 초기화 */
html {overflow-y:scroll}
body {margin:0;padding:0;background:#f7f7f2;font-size:0.75em;font-family:"dotum"}
html, body, h1, h2, h3, h4, h5, h6, form, dl, ul, ol {margin:0;padding:0}
html, body, h1, h2, h3, h4, h5, h6, form, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:"dotum"}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
header ul, nav ul {margin:0;padding:0;list-style:none}
form, img {border:0}
header ul, nav ul, footer ul {margin:0;padding:0;list-style:none}
label, input, select, img {vertical-align:middle}
input {margin:0;padding:0;font-family:"dotum"}
p {margin:5px 0;padding:10px 0;line-height:1.5em}
@ -16,9 +15,43 @@ hr {display:none}
/* 웹접근성 스킬 --- 기본 block 속성에는 적용 안됨*/
.sound_only {display:inline-block;margin:0;padding:0;width:0;height:0;border:0;overflow:hidden}
/* 본문 바로가기 */
#to_content a {z-index:100000000;display:block;position:absolute;top:0;left:0;height:0;overflow:hidden}
#to_content a {z-index:100000;display:block;position:absolute;top:0;left:0;height:0;overflow:hidden}
#to_content a:focus,
#to_content a:active {padding:10px 0;width:100%;height:auto;background:#333;color:#fff;text-align:center;overflow:auto}
#to_content a:active {padding:10px 0;width:100%;height:auto;background:#333;color:#fff;font-size:2em;text-align:center;text-decoration:none;overflow:auto}
/* 레이아웃 */
#header {}
/* 상단 레이아웃 */
#hd {margin-bottom:30px;height:100px;background:#fff}
#hd h1 {width:0;height:0;overflow:hidden}
#hd_wrapper {position:relative;margin:0 auto;width:980px}
#logo {padding-top:30px}
#snb {position:absolute;top:10px;right:190px;zoom:1}
#snb:after {display:block;visibility:hidden;clear:both;content:""}
#snb li {float:left}
#snb a {display:inline-block;padding:7px 10px 6px;color:#000;text-decoration:none}
#schall {position:absolute;top:10px;right:0;margin:0;padding:0;width:180px;border:0}
#schall legend {width:0;height:0;overflow:hidden}
#schall_stx {width:150px;height:21px;border:3px solid #484848;border-right:0;background:#fff}
#schall_submit {position:absolute;top:0;right:0}
#lnb {position:absolute;top:130px;right:0;width:220px}
/* 하단 레이아웃 */
#ft {background:#484848}
#ft h1 {width:0;height:0;overflow:hidden}
#popular {background:#515151}
#popular div {margin:0 auto;width:980px;zoom:1}
#popular div:after {display:block;visibility:hidden;clear:both;content:""}
#popular h2 {float:left;color:#fff}
#popular ul {float:left;list-style:none}
#popular li {float:left}
#popular a {color:#fff;text-decoration:none}
#ft_catch {padding:30px 0;text-align:center}
#ft_copy {background:#414141}
#ft_copy p {margin:0 auto;width:980px;color:#4a9ab8}
#ft_copy b {color:#079cd3}
/* Contents 레이아웃 */
#wrapper {margin:0 auto;padding-right:250px;width:730px}

View File

@ -11,45 +11,45 @@ include_once($g4['path'].'/lib/popular.lib.php');
//print_r2(get_defined_constants());
?>
<header id="header">
<div id="to_content"><a href="#wrapper">본문 바로가기</a></div>
<div id="logo"><a href="<?=$g4['path']?>/"><img src="<?=$g4['path']?>/img/logo.jpg" alt="처음으로"></a></div>
<header id="hd">
<div id="hd_wrapper">
<div id="to_content"><a href="#wrapper">본문 바로가기</a></div>
<div id="logo"><a href="<?=$g4['path']?>/"><img src="<?=$g4['path']?>/img/logo.jpg" alt="처음으로"></a></div>
<h1><?=$config['cf_title']?></h1>
<h1><?=$config['cf_title']?></h1>
<ul id="tnb">
<? if ($is_member) { ?>
<? if ($is_admin) { ?><li><a href="<?=$g4['path']?>/adm">관리자</a></li><? } ?>
<li><a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php">정보수정</a></li>
<li><a href="<?=$g4['bbs_path']?>/logout.php">로그아웃</a></li>
<? } else { ?>
<li><a href="<?=$g4['bbs_path']?>/register.php">회원가입</a></li>
<li><a href="<?=$g4['bbs_path']?>/login.php">로그인</a></li>
<? } ?>
<li><a href="<?=$g4['bbs_path']?>/current_connect.php">현재접속자</a></li>
<li><a href="<?=$g4['bbs_path']?>/new.php">최근게시물</a></li>
</ul>
<fieldset id="hdsch">
<legend>사이트 내 전체검색</legend>
<form name="fsearchbox" method="get" action="<?=$g4['https_bbs_url'].'/search.php'?>" onsubmit="return fsearchbox_submit(this);">
<input type="hidden" name="sfl" value="wr_subject||wr_content">
<input type="hidden" name="sop" value="and">
<input type="text" id="hdsch_stx" name="stx" title="검색어" maxlength="20">
<input type="image" id="hdsch_submit" src="<?=$g4['path']?>/img/btn_search.jpg" alt="검색">
</form>
</fieldset>
<ul id="snb">
<? if ($is_member) { ?>
<? if ($is_admin) { ?><li><a href="<?=$g4['path']?>/adm">관리자</a></li><? } ?>
<li><a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php">정보수정</a></li>
<li><a href="<?=$g4['bbs_path']?>/logout.php">로그아웃</a></li>
<? } else { ?>
<li><a href="<?=$g4['bbs_path']?>/register.php">회원가입</a></li>
<li><a href="<?=$g4['bbs_path']?>/login.php">로그인</a></li>
<? } ?>
<li><a href="<?=$g4['bbs_path']?>/current_connect.php">현재접속자</a></li>
<li><a href="<?=$g4['bbs_path']?>/new.php">최근게시물</a></li>
</ul>
<fieldset id="schall">
<legend>사이트 내 전체검색</legend>
<form name="fsearchbox" method="get" action="<?=$g4['https_bbs_url'].'/search.php'?>" onsubmit="return fsearchbox_submit(this);">
<input type="hidden" name="sfl" value="wr_subject||wr_content">
<input type="hidden" name="sop" value="and">
<input type="text" id="schall_stx" name="stx" title="검색어" maxlength="20">
<input type="image" id="schall_submit" src="<?=$g4['path']?>/img/btn_search.jpg" alt="검색">
</form>
</fieldset>
<div id="lnb">
<?=outlogin('neo'); // 외부 로그인 ?>
<?=poll('neo'); // 설문조사 ?>
<?=visit("neo"); // 방문자수 ?>
<?=connect(); // 현재 접속자수 ?>
</div>
</div>
</header>
<div id="snb">
<?=outlogin('neo'); // 외부 로그인 ?>
<?=poll('neo'); // 설문조사 ?>
<?=visit("neo"); // 방문자수 ?>
<?=connect(); // 현재 접속자수 ?>
</div>
<hr>
<div id="wrapper">
<? if (!$bo_table || $w == 's') {?><h1 id="wrapper_title"><?=$g4['title']?></h1><?}?>
<? if ((!$bo_table || $w == 's' ) && !defined('_INDEX_')) {?><h1 id="wrapper_title"><?=$g4['title']?></h1><?}?>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

BIN
img/ft_catch.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

View File

@ -16,7 +16,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
// 사용방법
// latest(스킨, 게시판아이디, 출력라인, 글자수);
echo latest("neo", $row['bo_table'], 10, 70);
if ($i==9) exit;
if ($i==9) break;
}
?>
<!-- 메인화면 최신글 끝 -->

View File

@ -3,10 +3,12 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<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>
<? } ?>
</ul>
<div>
<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>
<? } ?>
</ul>
</div>
</section>

View File

@ -6,10 +6,13 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<hr>
<footer id="footer">
<footer id="ft">
<h1><?=$config['cf_title']?> 정보</h1>
<?=popular('neo'); // 인기검색어 ?>
<p>Copyright &copy; 소유하신 도메인. All rights reserved.</p>
<div id="ft_catch"><img src="<?=$g4['path']?>/img/ft_catch.jpg" alt="Sharing All Possibilities"></div>
<div id="ft_copy">
<p>Copyright &copy; <b>소유하신 도메인.</b> All rights reserved.</p>
</div>
</footer>
<?