mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
92 lines
3.8 KiB
HTML
92 lines
3.8 KiB
HTML
<!-- 메뉴를 출력하기 위한 javascript 소스가 담긴 파일을 import -->
|
|
<!--%import("js/layout.js")-->
|
|
|
|
<!-- 메뉴를 미리 javscript object에 등록 -->
|
|
<script type="text/javascript">
|
|
|
|
<!-- main_menu 메뉴 생성 -->
|
|
<!--@foreach($main_menu->list as $first_menu)-->
|
|
|
|
xe_add_menu('main_menu', 1, "{htmlspecialchars($first_menu['text'])}","{htmlspecialchars($first_menu['href'])}","{$first_menu['open_window']}","{$first_menu['normal_btn']}","{$first_menu['hover_btn']}","{$first_menu['active_btn']}","", "", {$first_menu['selected']?'true':'false'});
|
|
|
|
<!-- 선택된 메뉴일 경우 2차 메뉴 생성 -->
|
|
<!--@if($first_menu['selected'])--><!--@foreach($first_menu['list'] as $second_menu)-->
|
|
|
|
xe_add_menu('main_menu', 2, "{htmlspecialchars($second_menu['text'])}","{htmlspecialchars($second_menu['href'])}","{$second_menu['open_window']}","{$second_menu['normal_btn']}","{$second_menu['hover_btn']}","{$second_menu['active_btn']}","<br />", "", {$second_menu['selected']?'true':'false'});
|
|
|
|
<!-- 선택된 메뉴일 경우 3차 메뉴 생성 -->
|
|
<!--@if($second_menu['selected'])--><!--@foreach($second_menu['list'] as $third_menu)-->
|
|
|
|
xe_add_menu('main_menu', 3, "{htmlspecialchars($third_menu['text'])}","{htmlspecialchars($third_menu['href'])}","{$third_menu['open_window']}","{$third_menu['normal_btn']}","{$third_menu['hover_btn']}","{$third_menu['active_btn']}","<br />", "", {$third_menu['selected']?'true':'false'});
|
|
|
|
<!--@end--><!--@end-->
|
|
|
|
<!--@end--><!--@end-->
|
|
<!--@end-->
|
|
|
|
<!-- bottom_menu 메뉴 생성 -->
|
|
<!--@foreach($bottom_menu->list as $first_menu)-->
|
|
xe_add_menu('bottom_menu', 1, "{htmlspecialchars($first_menu['text'])}","{htmlspecialchars($first_menu['href'])}","{$first_menu['open_window']}","{$first_menu['normal_btn']}","{$first_menu['hover_btn']}","{$first_menu['active_btn']}","", "", {$first_menu['selected']?'true':'false'});
|
|
<!--@end-->
|
|
|
|
</script>
|
|
|
|
<div style="height:50px;border:1px solid;margin-bottom:10px;">
|
|
{$layout_info->top_title}
|
|
|
|
<div style="float:right">
|
|
|
|
<div>
|
|
<!-- main_menu 1차 시작 -->
|
|
<script type="text/javascript">
|
|
xe_print_menu('main_menu', 1);
|
|
</script>
|
|
<!-- main_menu 1차 끝 -->
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
<table border="0" width="100%" style="table-layout:fixed">
|
|
<col width="220" />
|
|
<col width="*" />
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
<img src="./common/tpl/images/blank.gif" class="zbxe_plugin_output" plugin="login_info" skin="default" colorset="normal" style="width:100px;height:100px;"/>
|
|
</div>
|
|
|
|
<div>
|
|
<!-- main_menu 2차 시작 -->
|
|
<script type="text/javascript">
|
|
xe_print_menu('main_menu', 2, true);
|
|
</script>
|
|
<!-- main_menu 2차 끝 -->
|
|
</div>
|
|
|
|
<!-- 레이아웃 관리 메뉴 -->
|
|
<!--@if($logged_info->is_admin == 'Y')-->
|
|
<div>
|
|
<a href="#" onclick="location.href='{getUrl('act','dispLayoutAdminMenu','layout_srl',$layout_info->layout_srl)}';return false;">{$lang->cmd_layout_management}</a>
|
|
</div>
|
|
<!--@end-->
|
|
|
|
</td>
|
|
<td>
|
|
<div id="content">{$content}</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" align="center">
|
|
<div style="margin-top:20px;">
|
|
<!-- bottom_menu 메뉴 시작 -->
|
|
<script type="text/javascript">
|
|
xe_print_menu('bottom_menu', 1);
|
|
</script>
|
|
<!-- 메뉴 표시 끝 -->
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|