영카트 5.4 버전 내용 적용
This commit is contained in:
@ -56,30 +56,28 @@ add_stylesheet('<link rel="stylesheet" href="'.$search_skin_url.'/style.css">',
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<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>
|
||||
|
||||
<div class="switch_field">
|
||||
<input type="radio" value="and" <?php echo ($sop == "and") ? "checked" : ""; ?> id="sop_and" name="sop">
|
||||
<label for="sop_and">AND</label>
|
||||
<input type="radio" value="or" <?php echo ($sop == "or") ? "checked" : ""; ?> id="sop_or" name="sop" >
|
||||
<label for="sop_or">OR</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<div id="sch_result">
|
||||
|
||||
<?php
|
||||
if ($stx) {
|
||||
if ($board_count) {
|
||||
?>
|
||||
<section id="sch_res_ov">
|
||||
<h2><strong><?php echo $stx ?></strong> 전체검색 결과</h2>
|
||||
<dl>
|
||||
<dt>게시판</dt>
|
||||
<dd><strong class="sch_word"><?php echo $board_count ?>개</strong></dd>
|
||||
<dt>게시물</dt>
|
||||
<dd><strong class="sch_word"><?php echo number_format($total_count) ?>개</strong></dd>
|
||||
</dl>
|
||||
<p><?php echo number_format($page) ?>/<?php echo number_format($total_page) ?> 페이지 열람 중</p>
|
||||
<ul>
|
||||
<li>게시판 <?php echo $board_count ?>개</li>
|
||||
<li>게시물 <?php echo number_format($total_count) ?>개</li>
|
||||
<li><?php echo number_format($page) ?>/<?php echo number_format($total_page) ?> 페이지 열람 중</li>
|
||||
</ul>
|
||||
</section>
|
||||
<?php
|
||||
}
|
||||
@ -107,7 +105,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$search_skin_url.'/style.css">',
|
||||
$k=0;
|
||||
for ($idx=$table_index, $k=0; $idx<count($search_table) && $k<$rows; $idx++) {
|
||||
?>
|
||||
<h2><a href="./board.php?bo_table=<?php echo $search_table[$idx] ?>&<?php echo $search_query ?>"><?php echo $bo_subject[$idx] ?> 게시판 내 결과</a></h2>
|
||||
<h2><a href="<?php echo get_pretty_url($search_table[$idx], '', $search_query); ?>"><?php echo $bo_subject[$idx] ?> 게시판 내 결과</a></h2>
|
||||
<ul>
|
||||
<?php
|
||||
for ($i=0; $i<count($list[$idx]) && $k<$rows; $i++, $k++) {
|
||||
@ -126,7 +124,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$search_skin_url.'/style.css">',
|
||||
<li>
|
||||
<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>
|
||||
<a href="<?php echo $list[$idx][$i]['href'] ?><?php echo $comment_href ?>" target="_blank" class="pop_a"><i class="fa fa-window-restore" aria-hidden="true"></i><span class="sound_only">새창</span></a>
|
||||
</div>
|
||||
<p><?php echo $list[$idx][$i]['content'] ?></p>
|
||||
<div class="sch_info">
|
||||
@ -136,9 +134,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$search_skin_url.'/style.css">',
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<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>
|
||||
<a href="<?php echo get_pretty_url($search_table[$idx], '', $search_query); ?>" class="sch_more">더보기</a>
|
||||
<?php } ?>
|
||||
<?php if ($stx && $board_count) { ?></section><?php } ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user