From f0413606bc9ddab8d1f17a6df72fcfcc05e447c7 Mon Sep 17 00:00:00 2001 From: whitedot Date: Wed, 23 Jan 2013 17:23:27 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90:=20=EC=B5=9C?= =?UTF-8?q?=EA=B7=BC=EA=B2=8C=EC=8B=9C=EB=AC=BC=20=EC=8A=A4=ED=83=80?= =?UTF-8?q?=EC=9D=BC=20=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/default.css | 10 ++++++---- main.php | 4 ++-- skin/latest/neo/latest.skin.php | 9 ++++++--- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/css/default.css b/css/default.css index f6ce2cc4c..36e45fef1 100644 --- a/css/default.css +++ b/css/default.css @@ -60,15 +60,17 @@ hr {display:none} /* ///// 콘텐츠별 스타일 ///// */ /* PC 초기화면 */ -#idx_catch {} +#idx_catch {margin-bottom:10px;padding: 29px 0 30px} /* ///// 스킨별 스타일 ///// */ /* 최근게시물 스킨 */ .lt {float:left;margin-bottom:20px;padding:20px;width:314px;height:149px;border-right:1px solid #ececec;border-bottom:1px solid #ececec;background:#fff} .lt ul {margin:0;padding:0;list-style:none} -.lt a {text-decoration:none} -.lt_title {display:block;text-align:center} -.lt_more {text-align:right} +.lt li {padding:3px 0} +.lt a {color:#000;text-decoration:none} +.lt_title {display:block;margin-bottom:20px;text-align:center} +.lt_more {text-align:center} +.lt_more a {display:block} /* paginate */ .pg {} \ No newline at end of file diff --git a/main.php b/main.php index faddbdc48..d9f4e256c 100644 --- a/main.php +++ b/main.php @@ -17,8 +17,8 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { // 사용방법 // latest(스킨, 게시판아이디, 출력라인, 글자수); - echo latest("neo", $row['bo_table'], 5, 70); - if ($i==9) break; + echo latest("neo", $row['bo_table'], 5, 25); + //if ($i==9) break; } ?> diff --git a/skin/latest/neo/latest.skin.php b/skin/latest/neo/latest.skin.php index 8aa8e6628..a09d8e90a 100644 --- a/skin/latest/neo/latest.skin.php +++ b/skin/latest/neo/latest.skin.php @@ -1,8 +1,10 @@ -
+
> +
    @@ -14,10 +16,11 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 echo "".$list[$i]['subject'].""; else echo $list[$i]['subject']; - echo ""; if ($list[$i]['comment_cnt']) - echo " ".$list[$i]['comment_cnt'].""; + echo " ".$list[$i]['comment_cnt'].""; + + echo ""; // if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; } // if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }