-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmildmap.php
More file actions
53 lines (48 loc) · 1.28 KB
/
mildmap.php
File metadata and controls
53 lines (48 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<div class="lnb">
<ul class="lnb_map width">
<li class="home"><a href="<?php echo G5_URL ?>"><i class="ri-home-4-line"></i></a></li>
<!-- 1차 메뉴 -->
<li class="dep">
<a href="#"><span><?=$tNum?> <i class="ri-arrow-down-s-line"></i></span></a>
<ul>
<?php
foreach($topmenu as $tmenu=>$url){
?>
<li><a href="<?php echo $url?>" target="<?=$topmenu_target[$tmenu]?>"><?php echo $tmenu?></a></li>
<?php }
?>
</ul>
</li>
<!-- 2차 메뉴 -->
<li class="dep">
<a href="#">
<span><? if (false && $bo_table) { //게시판이 있다면 ?>
<?=$board[bo_subject]?>
<? } else { //그렇지 않다면 ?>
<?=$sNum?>
<?}?>
<i class="ri-arrow-down-s-line"></i>
</span>
</a>
<ul>
<?php
if(isset($submenu[$tNum])){
foreach($submenu[$tNum] as $smenu=>$surl){
?>
<li><a href="<?php echo $surl?>" target="<?php echo $submenu_target[$tNum][$smenu]?>"><?php echo $smenu?></a></li>
<?php
}
}
?>
</ul>
</li>
</ul>
</div>
<script type="text/javascript">
$(document).ready(function (){
$('.lnb .dep a').click(function(){
$('.lnb .dep ul').not($(this).siblings('ul')).hide();
$(this).siblings('ul').toggle();
});
});
</script>