5.3 버전 내용 적용
This commit is contained in:
@ -23,8 +23,10 @@ add_stylesheet('<link rel="stylesheet" href="'.$search_skin_url.'/style.css">',
|
||||
</select>
|
||||
|
||||
<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="stx" value="<?php echo $text_stx ?>" id="stx" required class="frm_input required" maxlength="20">
|
||||
<input type="submit" class="btn_submit" value="검색">
|
||||
<span class="sch_wr">
|
||||
<input type="text" name="stx" value="<?php echo $text_stx ?>" id="stx" required class="frm_input" size="40">
|
||||
<button type="submit" class="btn_submit"><i class="fa fa-search" aria-hidden="true"></i> 검색</button>
|
||||
</span>
|
||||
|
||||
<script>
|
||||
function fsearch_submit(f)
|
||||
@ -54,10 +56,12 @@ add_stylesheet('<link rel="stylesheet" href="'.$search_skin_url.'/style.css">',
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<input type="radio" value="or" <?php echo ($sop == "or") ? "checked" : ""; ?> id="sop_or" name="sop">
|
||||
<label for="sop_or">OR</label>
|
||||
<input type="radio" value="and" <?php echo ($sop == "and") ? "checked" : ""; ?> id="sop_and" name="sop">
|
||||
<label for="sop_and">AND</label>
|
||||
<span class="sch_rd">
|
||||
<input type="radio" value="or" <?php echo ($sop == "or") ? "checked" : ""; ?> id="sop_or" name="sop">
|
||||
<label for="sop_or">OR</label>
|
||||
<input type="radio" value="and" <?php echo ($sop == "and") ? "checked" : ""; ?> id="sop_and" name="sop">
|
||||
<label for="sop_and">AND</label>
|
||||
</span>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
@ -68,7 +72,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$search_skin_url.'/style.css">',
|
||||
if ($board_count) {
|
||||
?>
|
||||
<section id="sch_res_ov">
|
||||
<h2><?php echo $stx ?> 전체검색 결과</h2>
|
||||
<h2><strong><?php echo $stx ?></strong> 전체검색 결과</h2>
|
||||
<dl>
|
||||
<dt>게시판</dt>
|
||||
<dd><strong class="sch_word"><?php echo $board_count ?>개</strong></dd>
|
||||
@ -109,7 +113,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$search_skin_url.'/style.css">',
|
||||
for ($i=0; $i<count($list[$idx]) && $k<$rows; $i++, $k++) {
|
||||
if ($list[$idx][$i]['wr_is_comment'])
|
||||
{
|
||||
$comment_def = '<span class="cmt_def">댓글 | </span>';
|
||||
$comment_def = '<span class="cmt_def"><i class="fa fa-commenting-o" aria-hidden="true"></i><span class="sound_only">댓글</span></span> ';
|
||||
$comment_href = '#c_'.$list[$idx][$i]['wr_id'];
|
||||
}
|
||||
else
|
||||
@ -120,15 +124,19 @@ add_stylesheet('<link rel="stylesheet" href="'.$search_skin_url.'/style.css">',
|
||||
?>
|
||||
|
||||
<li>
|
||||
<a href="<?php echo $list[$idx][$i]['href'] ?><?php echo $comment_href ?>" class="sch_res_title"><?php echo $comment_def ?><?php echo $list[$idx][$i]['subject'] ?></a>
|
||||
<a href="<?php echo $list[$idx][$i]['href'] ?><?php echo $comment_href ?>" target="_blank">새창</a>
|
||||
<div class="sch_tit">
|
||||
<a href="<?php echo $list[$idx][$i]['href'] ?><?php echo $comment_href ?>" class="sch_res_title"><?php echo $comment_def ?><?php echo $list[$idx][$i]['subject'] ?></a>
|
||||
<a href="<?php echo $list[$idx][$i]['href'] ?><?php echo $comment_href ?>" target="_blank" class="pop_a"><i class="fa fa-share-square-o" aria-hidden="true"></i>새창</a>
|
||||
</div>
|
||||
<p><?php echo $list[$idx][$i]['content'] ?></p>
|
||||
<?php echo $list[$idx][$i]['name'] ?>
|
||||
<span class="sch_datetime"><?php echo $list[$idx][$i]['wr_datetime'] ?></span>
|
||||
<div class="sch_info">
|
||||
<?php echo $list[$idx][$i]['name'] ?>
|
||||
<span class="sch_datetime"><i class="fa fa-clock-o" aria-hidden="true"></i> <?php echo $list[$idx][$i]['wr_datetime'] ?></span>
|
||||
</div>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<div class="sch_more"><a href="./board.php?bo_table=<?php echo $search_table[$idx] ?>&<?php echo $search_query ?>"><strong><?php echo $bo_subject[$idx] ?></strong> 결과 더보기</a></div>
|
||||
<div class="sch_more"><a href="./board.php?bo_table=<?php echo $search_table[$idx] ?>&<?php echo $search_query ?>"><strong><i class="fa fa-plus-circle" aria-hidden="true"></i> <?php echo $bo_subject[$idx] ?></strong> 결과 더보기</a></div>
|
||||
|
||||
<hr>
|
||||
<?php } ?>
|
||||
|
||||
@ -1,29 +1,53 @@
|
||||
@charset "utf-8";
|
||||
/* SIR 지운아빠 */
|
||||
|
||||
/* 전체검색결과 스킨 */
|
||||
#sch_res_detail {padding:0 0 10px;border-bottom:1px solid #e9e9e9;text-align:center}
|
||||
#sch_res_detail {background:#fff;padding:30px;border:1px solid #ccc;text-align:center;margin:0 0 10px}
|
||||
#sch_res_detail legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
|
||||
#sch_res_ov {margin:0 0 10px;padding:10px;border-bottom:1px solid #e9e9e9;background:#f5f6fa;zoom:1}
|
||||
#sch_res_detail select{border:1px solid #646982;height:40px;padding:0 5px}
|
||||
#sch_res_detail .frm_input{border:1px solid #646982;border-radius:0;}
|
||||
#sch_res_detail .sch_wr{position:relative;display:inline-block}
|
||||
#sch_res_detail .btn_submit{padding:0 10px;height:40px;color:#000;font-size:1.083em;font-weight:bold;color:#fff;background:#253dbe}
|
||||
#sch_res_detail .sch_rd{display:block;margin:5px 0 0;font-size:0.92em;color:#666}
|
||||
|
||||
#sch_res_ov {text-align:center;zoom:1}
|
||||
#sch_res_ov:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sch_res_ov h2 {float:left}
|
||||
#sch_res_ov dl {float:left;margin:0 0 0 10px}
|
||||
#sch_res_ov h2 {text-align:center;margin:30px 0 10px;font-size:1.5em;}
|
||||
#sch_res_ov h2 strong{color:#00c4ac;}
|
||||
#sch_res_ov dl {display:inline-block;line-height: 30px;font-size: 0.92em;color: #4e546f;background: #d4d4d4;padding: 0 10px;border-radius: 5px;}
|
||||
#sch_res_ov dl:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sch_res_ov dt {float:left}
|
||||
#sch_res_ov dd {float:left;margin:0 10px 0 5px}
|
||||
#sch_res_ov p {float:right;margin:0;padding:0;line-height:1em}
|
||||
#sch_res_ov dd .sch_word{color:#000}
|
||||
#sch_res_ov p {margin:0;padding:0;line-height:1em;color:#777;font-size:0.92em}
|
||||
|
||||
|
||||
#sch_res_board {background:#ecf2f3;padding:7px;margin:10px 0;border:1px solid #bed1d4}
|
||||
#sch_res_board h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#sch_res_board ul {zoom:1}
|
||||
#sch_res_board ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sch_res_board li {display:inline-block;padding:2px;}
|
||||
#sch_res_board a {display:block;line-height:26px;padding:0 10px;border-radius:3px;border:1px solid transparent}
|
||||
#sch_res_board a:focus, #sch_res_board a:hover {text-decoration:none;background:#d2d6dc;}
|
||||
#sch_res_board .cnt_cmt {font-weight:normal !important;display:inline-block;background:#c4dce0;margin-left:3px;color:#3497d9;border-radius:15px;height:18px;padding:0 5px;line-height:18px;font-size:0.92em}
|
||||
#sch_res_board .sch_on {z-index:2;background:#3497d9;color:#fff;font-weight:bold;border-bottom-color:#1977b5;
|
||||
-webkit-box-shadow: inset 0 2px 5px rgb(33, 135, 202);
|
||||
-moz-box-shadow: inset 0 2px 5px rgb(33, 135, 202);
|
||||
box-shadow:inset 0 2px 5px rgb(33, 135, 202);}
|
||||
#sch_res_board .sch_on:hover{;background:#3497d9;color:#fff;}
|
||||
|
||||
|
||||
|
||||
#sch_res_board {margin:0 0 10px;padding-left:1px;list-style:none;zoom:1}
|
||||
#sch_res_board:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sch_res_board li {float:left;margin-bottom:-1px}
|
||||
#sch_res_board a {display:block;position:relative;margin-left:-1px;padding:6px 0 5px;width:180px;border:1px solid #ddd;text-align:center;letter-spacing:-0.1em;line-height:1.2em;cursor:pointer}
|
||||
#sch_res_board a:focus, #sch_res_board a:hover, #sch_res_board a:active {text-decoration:none}
|
||||
#sch_res_board .cnt_cmt {font-weight:normal !important}
|
||||
|
||||
.sch_res_list {margin:0 0 10px;padding:10px 0 15px}
|
||||
.sch_res_list h2 {margin:0 0 15px;font-size:1.2em}
|
||||
.sch_res_list ul {margin:0;padding:0;list-style:none}
|
||||
.sch_res_list li {margin:0 0 10px;padding:0 0 10px;border-bottom:1px solid #e9e9e9}
|
||||
.sch_res_list h2 {margin:0 0 10px;font-size:1.2em}
|
||||
.sch_res_list ul {margin:0;padding:0;list-style:none;border-top:1px solid #000}
|
||||
.sch_res_list li {;border-bottom:1px solid #e0e0e0;background:#fff;position:relative}
|
||||
.sch_res_list .sch_tit{display:block;background:#f4f4f4;padding:10px 70px 10px 10px}
|
||||
.sch_res_list .pop_a{position:absolute;top:10px;right:10px;color:#666;}
|
||||
.sch_res_title {display:inline-block;margin:0 0 5px}
|
||||
.sch_res_list p {margin:0 0 10px;line-height:1.8em}
|
||||
.sch_more {text-align:right}
|
||||
.sch_on {color:#ff3061}
|
||||
.sch_res_list p {padding:10px;color:#666;line-height:1.5em}
|
||||
.sch_res_list .sch_info{padding:10px;color:#777}
|
||||
.sch_res_list .sch_info:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.sch_res_list .profile_img img{border-radius:50%}
|
||||
.sch_res_list .sch_datetime{float:right;}
|
||||
.sch_more {text-align:right;margin:10px 0 30px}
|
||||
.sch_more a{display:inline-block;color:#f2664f}
|
||||
|
||||
Reference in New Issue
Block a user