사용자: 전체검색 보강, 사이드뷰 이슈 남았음

This commit is contained in:
whitedot
2013-01-07 12:03:30 +09:00
parent 9cf105cedc
commit 9743309a58
2 changed files with 12 additions and 13 deletions

View File

@ -192,15 +192,14 @@ h6 {margin:0 0 20px}
#current_connect_tbl .td_name {text-align:center}
/* 전체검색 */
.search_result {}
.search_result dt {font-weight:bold}
.search_result dd {margin-bottom:30px}
.search_result ul {padding:0}
.search_result li {padding:10px 0;border-bottom:1px solid #ddd}
.search_result li span {font-size:0.75em}
.search_result li span span {font-size:1em}
.search_result a span {font-size:1em}
.search_result p {margin:5px 0;padding:0;font-size:0.75em}
.sch_result {}
.sch_result dt {font-weight:bold}
.sch_result dd {margin-bottom:30px}
.sch_result ul {padding:0}
.sch_result li {padding:10px 0;border-bottom:1px solid #ddd}
.sch_result p {margin:5px 0;padding:0;font-size:0.75em}
.sch_sideview {display:inline-block;font-size:0.75em}
.sch_datetime {font-size:0.75em}
/* 새창 공통 */
.new_win h1 {padding:10px 30px;background:#333;color:#fff;font-size:1.2em}

View File

@ -67,7 +67,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if ($stx) {
if ($board_count) {
?>
<dl class="search_result">
<dl class="sch_result">
<dt>검색어가 들어간 게시물을 포함하고 있는 게시판 목록</dt>
<dd>
<ul>
@ -86,7 +86,7 @@ if ($stx) {
<hr>
<? if ($stx && $board_count) { ?><dl class="search_result"><? } ?>
<? if ($stx && $board_count) { ?><dl class="sch_result"><? } ?>
<?
$k=0;
for ($idx=$table_index, $k=0; $idx<count($search_table) && $k<$rows; $idx++) {
@ -107,8 +107,8 @@ for ($idx=$table_index, $k=0; $idx<count($search_table) && $k<$rows; $idx++) {
<a href="<?=$list[$idx][$i][href]?><?=$comment_href?>"><?=$list[$idx][$i][subject]?></a>
<a href="<?=$list[$idx][$i][href]?><?=$comment_href?>" target="_blank">새창</a>
<p><?=$list[$idx][$i][content]?></p>
<span><?=$list[$idx][$i][name]?></span>
<span><?=$list[$idx][$i][wr_datetime]?></span>
<div class="sch_sideview"><?=$list[$idx][$i][name]?></div>
<span class="sch_datetime"><?=$list[$idx][$i][wr_datetime]?></span>
</li>
<? } ?>
</ul>