사용자: 전체스타일

This commit is contained in:
whitedot
2013-02-06 11:00:22 +09:00
parent b02e6f87bb
commit dc108a4205
7 changed files with 60 additions and 57 deletions

View File

@ -43,14 +43,14 @@ pre {overflow-x:scroll;font-size:1.1em}
#schall legend {width:0;height:0;overflow:hidden}
#schall_stx {width:150px;height:21px;border:3px solid #484848;border-right:0;background:#fff;line-height:1.5em}
#logo {clear:both;padding:30px 0 50px}
#logo {clear:both;padding:30px 0 40px}
/* 중간 레이아웃 */
#wrapper {margin:0 auto;padding-bottom:30px;width:980px;zoom:1}
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}
#wrapper_title {margin-bottom:20px;font-size:1.2em}
#lnb {float:right;width:219px;border-right:1px solid #eee;border-bottom:1px solid #eee;background:#f7f7f5}
#container {float:left;padding-top:20px;width:730px;zoom:1}
#container {float:left;width:730px;zoom:1}
#container:after {display:block;visibility:hidden;clear:both;content:""}
/* 하단 레이아웃 */
@ -90,7 +90,7 @@ pre {overflow-x:scroll;font-size:1.1em}
/* 콘텐츠별 스타일 */
/* PC 초기화면 */
#idx_catch {margin-bottom:10px;padding: 25px 0 25px}
#idx_catch {margin-bottom:50px;text-align:center}
/* 버튼 */
.btn01 {display:inline-block;padding:0 10px;height:24px;border:1px solid #2292d3 !important;background:#109ff1 !important;color:#fff !important;text-decoration:none;line-height:2.2em}
@ -421,20 +421,20 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#109ff1;color:#f
.cnt_cmt {display:inline-block;margin:0 4px;color:#109ff1}
/* 게시판 읽기 */
#bo_v_title {margin-bottom:10px;padding:0;font-weight:bold}
#bo_v_title {padding:0 20px 10px;font-weight:bold}
#bo_v {position:relative;margin-bottom:30px}
#bo_v a {color:#000;text-decoration:none}
#bo_v_h1 {padding:0 0 10px;font-size:1.2em;line-height:1.4em}
#bo_v_h1 span {display:inline-block;margin-right:5px;color:#000}
#bo_v_info {padding-bottom:15px;border-bottom:1px dotted #ccc}
#bo_v_h1 {padding:15px 20px 5px;border-right:1px solid #ddd;background:#f9f9f9;font-size:1.2em;line-height:1.4em}
#bo_v_h1 span {display:inline-block;color:#109ff1}
#bo_v_info {padding:0 20px 10px;border-right:1px solid #ddd;background:#f9f9f9}
#bo_v_info h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_info strong {display:inline-block;margin:0 15px 0 5px;font-weight:normal}
#bo_v_top {zoom:1}
#bo_v_top {padding:0 20px;border-right:1px solid #ddd;border-bottom:1px solid #ddd;background:#f9f9f9;zoom:1}
#bo_v_top:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_top h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_top ul {margin-bottom:10px;padding-top:5px;list-style:none}
#bo_v_top ul {margin-bottom:5px;list-style:none}
#bo_v_top a {margin:0;padding:0;border:0 !important;background:transparent !important;color:#000 !important}
#bo_v_bot {padding:0 0 10px;zoom:1}
#bo_v_bot:after {display:block;visibility:hidden;clear:both;content:""}
@ -445,16 +445,16 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#109ff1;color:#f
.bo_v_com {float:right}
.bo_v_com li {float:left;margin-left:5px}
#bo_v_file {background:#f9f9f9}
#bo_v_file {}
#bo_v_file h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_file ul {margin:0;padding:0;list-style:none}
#bo_v_file li {padding:0 20px;border-bottom:1px solid #eee}
#bo_v_file li {padding:0 20px;border-bottom:1px dotted #ddd}
#bo_v_file a {display:inline-block;padding:8px 0 7px}
.bo_v_file_cnt {display:inline-block;margin:0 10px}
#bo_v_link {background:#f9f9f9}
#bo_v_link {}
#bo_v_link h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_link ul {margin:0;padding:0;list-style:none}
#bo_v_link li {padding:0 20px;border-bottom:1px solid #eee}
#bo_v_link li {padding:0 20px;border-bottom:1px dotted #ddd}
#bo_v_link a {display:inline-block;padding:8px 0 7px}
.bo_v_link_cnt {display:inline-block;margin:0 10px}
@ -462,10 +462,11 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#109ff1;color:#f
#bo_v_atc:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_atc h1 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_img {width:730px;overflow:hidden}
#bo_v_img {margin:10px auto;width:689px;border-right:1px solid #ddd;overflow:hidden}
#bo_v_img img {max-width:100%;height:auto}
#bo_v_con {padding:20px 0 30px;width:730px;min-height:200px;height:auto !important;height:200px;line-height:1.8em;word-break:break-all;overflow:hidden}
#bo_v_con {padding:20px 20px 30px;width:689px;min-height:200px;height:auto !important;height:200px;border-right:1px solid #ddd;line-height:1.8em;word-break:break-all;overflow:hidden}
#bo_v_con a {color:#109ff1;text-decoration:underline}
#bo_v_con img {max-width:100%;height:auto}
#bo_v_act {padding:0 0 20px;text-align:center}
#bo_v_act a {margin-right:5px;vertical-align:top}
@ -474,9 +475,9 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#109ff1;color:#f
#bo_v form {padding-top:20px}
/* 게시판 댓글 */
#bo_vc {margin:0 0 10px;padding:20px 20px 20px 20px;background:#f7f7f7}
#bo_vc {margin:0 0 10px;padding:20px 20px 20px 20px;border-right:1px solid #ddd;border-bottom:1px solid #ddd;background:#f9f9f9}
#bo_vc h2 {margin-bottom:10px}
#bo_vc article {padding:0 0 10px;border-top:1px solid #e3e3e3}
#bo_vc article {padding:0 0 10px;border-top:1px dotted #ccc}
#bo_vc header {position:relative;padding:15px 0 5px}
#bo_vc header .icon_reply {position:absolute;top:15px;left:-20px}
#bo_vc .sv_wrap {margin-right:15px}

View File

@ -69,6 +69,7 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
</fieldset>
<div id="logo"><a href="<?=G4_URL?>"><img src="<?=G4_IMG_URL?>/logo.jpg" alt="처음으로" width="224" height="38"></a></div>
<?if (defined('_INDEX_')) {?><div id="idx_catch"><img src="<?=G4_URL?>/img/idx_catch.jpg" alt="Sharing All Possibilities" width="471" height="61"></div><?}?>
</div>
</header>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

@ -5,8 +5,6 @@ include_once('./_common.php');
include_once('./_head.php');
?>
<div id="idx_catch"><img src="<?=G4_URL?>/img/idx_catch.jpg" alt="Sharing All Possibilities" width="471" height="61"></div>
<!-- 메인화면 최신글 시작 -->
<?
// 최신글

View File

@ -26,6 +26,34 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
}
?>
<nav id="bo_v_top">
<h2>게시물 상단 버튼</h2>
<?
ob_start();
?>
<? if ($prev_href || $next_href) { ?>
<ul class="bo_v_nb">
<? if ($prev_href) { ?><li><a href="<?=$prev_href?>" class="btn02">이전글</a></li><? } ?>
<? if ($next_href) { ?><li><a href="<?=$next_href?>" class="btn02">다음글</a></li><? } ?>
</ul>
<? } ?>
<ul class="bo_v_com">
<? if ($update_href) { ?><li><a href="<?=$update_href?>" class="btn02">수정</a></li><? } ?>
<? if ($delete_href) { ?><li><a href="<?=$delete_href?>" onclick="del(this.href); return false;" class="btn02">삭제</a></li><? } ?>
<? if ($copy_href) { ?><li><a href="<?=$copy_href?>" onclick="board_move(this.href); return false;" class="btn03">복사</a></li><? } ?>
<? if ($move_href) { ?><li><a href="<?=$move_href?>" onclick="board_move(this.href); return false;" class="btn03">이동</a></li><? } ?>
<? if ($search_href) { ?><li><a href="<?=$search_href?>" class="btn02">검색</a></li><? } ?>
<li><a href="<?=$list_href?>" class="btn02">목록</a></li>
<? if ($reply_href) { ?><li><a href="<?=$reply_href?>" class="btn02">답변</a></li><? } ?>
<? if ($write_href) { ?><li><a href="<?=$write_href?>" class="btn01">글쓰기</a></li><? } ?>
</ul>
<?
$link_buttons = ob_get_contents();
ob_end_flush();
?>
</nav>
<? if($cnt) { ?>
<section id="bo_v_file">
<h2>첨부파일</h2>
@ -81,47 +109,21 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
</section>
<? } ?>
<nav id="bo_v_top">
<h2>게시물 상단 버튼</h2>
<?
ob_start();
?>
<? if ($prev_href || $next_href) { ?>
<ul class="bo_v_nb">
<? if ($prev_href) { ?><li><a href="<?=$prev_href?>" class="btn02">이전글</a></li><? } ?>
<? if ($next_href) { ?><li><a href="<?=$next_href?>" class="btn02">다음글</a></li><? } ?>
</ul>
<? } ?>
<ul class="bo_v_com">
<? if ($update_href) { ?><li><a href="<?=$update_href?>" class="btn02">수정</a></li><? } ?>
<? if ($delete_href) { ?><li><a href="<?=$delete_href?>" onclick="del(this.href); return false;" class="btn02">삭제</a></li><? } ?>
<? if ($copy_href) { ?><li><a href="<?=$copy_href?>" onclick="board_move(this.href); return false;" class="btn03">복사</a></li><? } ?>
<? if ($move_href) { ?><li><a href="<?=$move_href?>" onclick="board_move(this.href); return false;" class="btn03">이동</a></li><? } ?>
<? if ($search_href) { ?><li><a href="<?=$search_href?>" class="btn02">검색</a></li><? } ?>
<li><a href="<?=$list_href?>" class="btn02">목록</a></li>
<? if ($reply_href) { ?><li><a href="<?=$reply_href?>" class="btn02">답변</a></li><? } ?>
<? if ($write_href) { ?><li><a href="<?=$write_href?>" class="btn01">글쓰기</a></li><? } ?>
</ul>
<?
$link_buttons = ob_get_contents();
ob_end_flush();
?>
</nav>
<article id="bo_v_atc">
<header>
<h1>본문</h1>
</header>
<div id="bo_v_img">
<?
// 파일 출력
for ($i=0; $i<=count($view['file']); $i++) {
if ($view['file'][$i]['view'])
echo $view['file'][$i]['view'];
<?
// 파일 출력
for ($i=0; $i<=count($view['file']); $i++) {
if ($view['file'][$i]['view']) {
if ($i == 0) echo "<div id=\"bo_v_img\">";
echo $view['file'][$i]['view'];
if ($i == 0) echo "</div>";
}
?>
</div>
}
?>
<div id="bo_v_con"><?=$view['content'];?></div>
<?//echo $view[rich_content]; // {이미지:0} 과 같은 코드를 사용할 경우?>

View File

@ -24,7 +24,7 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
//$str = preg_replace("/\[\<a\s.*href\=\"(http|https|ftp)\:\/\/([^[:space:]]+)\.(swf)\".*\<\/a\>\]/i", "<script>doc_write(flash_movie('$1://$2.$3'));</script>", $str);
$str = preg_replace("/\[\<a\s*href\=\"(http|https|ftp)\:\/\/([^[:space:]]+)\.(gif|png|jpg|jpeg|bmp)\"\s*[^\>]*\>[^\s]*\<\/a\>\]/i", "<img src='$1://$2.$3' id='target_resize_image[]' onclick='image_window(this);'>", $str);
?>
<article id="c_<?=$comment_id?>" <?if ($cmt_depth) {?>style="margin-left:<?=$cmt_depth?>px;border-top-color:#eee"<?}?>>
<article id="c_<?=$comment_id?>" <?if ($cmt_depth) {?>style="margin-left:<?=$cmt_depth?>px;border-top-color:#e0e0e0"<?}?>>
<header>
<h1><?=$list[$i]['wr_name']?>님의 댓글</h1>
<?=$list[$i]['name']?>

View File

@ -1,5 +1,6 @@
<?
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 회원수는 $row['mb_cnt'];
?>
<strong><?=$row['total_cnt']?></strong>명 중 회원 <?=$row['mb_cnt']?>
<?=$row['total_cnt']?>명