first commit
This commit is contained in:
80
application/views/m/board/faq_view.php
Executable file
80
application/views/m/board/faq_view.php
Executable file
@@ -0,0 +1,80 @@
|
||||
<div class="mypage_top">
|
||||
<a href="/m/mypage/qna_add" class="pens"><img src="/img/mobile/penicon.png"></a>
|
||||
<div class="mypage_logo"><a href="/m"><img src="/img/mobile/logo_cm.jpg" alt="logo"></a>
|
||||
</div>
|
||||
<div class="mypage_title"><a href="/m/mypage/req_password">마이페이지</a>
|
||||
</div>
|
||||
<div class="mypage_menu"><a href=""><img src="/img/mobile/menu_list.gif" alt="menu"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul class="mypage_header">
|
||||
<li class="header_tit2"><span onclick="window.location='/m/board/notice'" style="cursor:pointer">공지사항</span> | <strong onclick="window.location='/m/board/faq'" style="cursor:pointer">FAQ</strong> | <span onclick="window.location='/m/mypage/qna'" style="cursor:pointer">1:1문의</span> </li>
|
||||
</ul>
|
||||
<div class="mi_search">
|
||||
<ul>
|
||||
<li class="searchs">
|
||||
<div><input type="text" name="search_keyword" id="search_keyword" value="<?=$search_keyword?>" placeholder="검색" ><a href="javascript:search_keyword();"><i class="xi-search"></i></a></div>
|
||||
</li>
|
||||
<li class="txtxs" style="text-align: right;">총<span><?=$total_count?></span>개</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="mypage_cont">
|
||||
<div class="list_view2 bgt">
|
||||
<?=$result['title']?>
|
||||
</div>
|
||||
<div class="list_view3">
|
||||
<?=$result['content']?>
|
||||
|
||||
<div class="banner" style="margin-top:20px;">
|
||||
<!-- <a href="#"><img src="/img/mobile/banner_grace1.png"></a> -->
|
||||
<!-- m크맵 _고객센터_FAQ_뷰 -->
|
||||
<ins class="adsbygoogle"
|
||||
style="display:inline-block;width:720px;height:74px"
|
||||
data-ad-client="ca-pub-7071495522658800"
|
||||
data-ad-slot="5412203153"></ins>
|
||||
<script>
|
||||
(adsbygoogle = window.adsbygoogle || []).push({});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="list_view3" style="padding:10px 20px">
|
||||
<a href="">다른 도움말</a>
|
||||
</div>
|
||||
|
||||
<?foreach($next_list as $data):?>
|
||||
<div class="list_view2">
|
||||
<a href="/m/board/faq_view/<?=$data['idx']?>?search_keyword=<?=$search_keyword?>&search_category1=<?=$search_category1?>&search_category2=<?=$search_category2?>&data_num=<?=$data_num?>"
|
||||
style="<?=@($_SESSION['read'][$data['idx']] == true) ? "opacity:0.3":""?>"
|
||||
><?=$data['title']?></a>
|
||||
</div>
|
||||
|
||||
<?endforeach;?>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(document).ready( function() {
|
||||
var jbOffset = $( '.mypage_header' ).offset();
|
||||
$( window ).scroll( function() {
|
||||
if ( $( document ).scrollTop() > $( '.mypage_header' ).offset().top ) {
|
||||
$( '.mi_search' ).addClass( 'fix' );
|
||||
$( '.mypage_cont' ).addClass( 'fix' );
|
||||
}
|
||||
else {
|
||||
$( '.mi_search' ).removeClass( 'fix' );
|
||||
$( '.mypage_cont' ).removeClass( 'fix' );
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
} );
|
||||
function search_keyword(){
|
||||
window.location.href = '/m/board/faq?search_keyword='+$("#search_keyword").val();
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
Reference in New Issue
Block a user