<? if ( !defined("_INCLUDED_GLOBAL") ) exit;		// [Security]Allow_url_fopen = On ?>

		<div class="sidebar-nav">
			<div class="navbar navbar-default" role="navigation">
				<div class="navbar-header">
					<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-navbar-collapse">
						<span class="sr-only">Toggle navigation</span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</button>
					<!--<span class="visible-xs navbar-brand"><small>left menu</small></span>-->
				</div>
				<div class="navbar-collapse collapse sidebar-navbar-collapse admin-sidebar">
					<ul class="nav navbar-nav" id="sidenav01">
						<li class="active">
							<a href1="#" data-toggle="collapse" data-target="#toggleDemo0" data-parent="#sidenav01" class="collapsed">
								<h4>
									<b class="txt-shadow_g"><span class="glyphicon glyphicon-wrench"></span> 메일서버관리</b>
								</h4>
							</a>
						</li>
						<li class="active1"><a href="<?= $nmpath ?>/index.php"><span class="glyphicon glyphicon-envelope"></span> 웹메일 메뉴</a></li>
						<li class="admin_menu"><a href="<?= $nmpath ?>/admin.php"><span class="glyphicon glyphicon-cog"></span> 관리자 메뉴</a></li>
						<li class="admin_menu"><a href="<?= $nmpath ?>/sadmin.php"><span class="glyphicon glyphicon-wrench"></span> 메일서버관리</a></li>
						<li class="menu-bottom-split"><a href="<?= $nmpath ?>/sserver_config.php"><span class="glyphicon glyphicon-minus"></span> <b>서버 설정</b></a></li>
						<li><a href="<?= $nmpath ?>/sdomain_list.php"><span class="glyphicon glyphicon-minus"></span> <b>도메인관리</b></a></li>
						<li class="step-3"><a href="<?= $nmpath ?>/sdomain_alias_list.php">&#8226; 앨리어스 도메인 관리</a></li>
						<? if ($G_SYS['NM_TEAM_MAIL']) { ?>
						<li class="step-3"><a href="<?= $nmpath ?>/admin_team_mail_list.php">&#8226; 전체 대표 계정 관리</a></li>
						<? } ?>
						<li class="step-3"><a href="<?= $nmpath ?>/admin_alias_list.php">&#8226; 전체 앨리어스 주소 관리</a></li>
						<li class="step-3 menu-bottom-split"><a href="<?= $nmpath ?>/admin_mailing_list.php">&#8226; 전체 메일링 리스트 관리</a></li>

						<li><a href="<?= $nmpath ?>/admin_mbr_list.php?mode_sadmin=1"><span class="glyphicon glyphicon-minus"></span> <b>전체회원관리</b></a></li>
						<li class="step-3"><a href="<?= $nmpath ?>/admin_mbr_add.php?mode_sadmin=1">&#8226; 메일계정 추가</a></li>
						<li class="step-3"><a href="<?= $nmpath ?>/admin_mbr_csv_add.php?mode_sadmin=1">&#8226; 메일계정 일괄 추가</a></li>

						<? if (file_exists($G_SYS['PAGE_ROOT'] . '/admin_security_list.php')) { ?>
						<li class="step-3"><a href="<?= $nmpath ?>/admin_security_list.php">&#8226; 계정 보안 관리</a></li>
						<li class="step-3"><a href="<?= $nmpath ?>/admin_login_device_list.php">&#8226; 로그인 기기 관리</a></li>
						<? } ?>

						<li class="step-3"><a href="<?= $nmpath ?>/admin_forward_list.php">&#8226; 메일 포워딩 관리</a></li>
						<li class="step-3"><a href="<?= $nmpath ?>/admin_mbr_log.php">&#8226; 메일계정 관리 로그</a></li>
						<li class="step-3 menu-bottom-split"><a href="<?= $nmpath ?>/admin_mbr_login.php">&#8226; 웹메일 로그인 로그</a></li>

		<? if ($G_SYS[WEBHARD_USE]) { ?>
						<!--li><a href="<?= $nmpath ?>/webhard/admin_webhard_guest_list.php">&nbsp; &nbsp;<span class="glyphicon glyphicon-minus"></span> 전체 웹하드 Guest 계정관리</a></li-->
		<? }	// if() ?>
						<li><a href="<?= $nmpath ?>/admin_mail_log.php"><span class="glyphicon glyphicon-minus"></span> <b>메일 로그 - SMTP</b></a></li>
						<li><a href="<?= $nmpath ?>/admin_mail_log_pop3.php"><span class="glyphicon glyphicon-minus"></span> <b>메일 로그 - POP3</b></a></li>
		<? if ($G_SYS['NM_SMTP_SEND_LIMIT']) { ?>
						<li class="menu-bottom-split"><a href="<?= $nmpath ?>/admin_mail_send_stat.php"><span class="glyphicon glyphicon-minus"></span> <b>메일 발송 상태</b></a></li>
		<? }	// if() ?>
		<? if (has_mail_send_reserve()) { ?>
						<li><a href="<?= $nmpath ?>/admin_mail_send_reserve.php"><span class="glyphicon glyphicon-minus"></span> <b>메일 예약 발송 관리</b></a></li>
		<? }	// if() ?>
						<li><a href="<?= $nmpath ?>/sadmin_ip.php?kind=BLACK"><span class="glyphicon glyphicon-minus"></span> <b>스팸차단 설정</b></a></li>
						<li class="step-3"><a href="<?= $nmpath ?>/sadmin_ip.php?kind=BLACK">&#8226; 스팸 IP 관리</a></li>
						<li class="step-3"><a href="<?= $nmpath ?>/sadmin_spam_word.php">&#8226; 스팸 단어 관리</a></li>
						<li class="step-3"><a href="<?= $nmpath ?>/sadmin_spam_addr.php">&#8226; 스팸 주소 관리</a></li>
						<li class="menu-bottom-split"><a href="<?= $nmpath ?>/sadmin_ip.php?kind=WHITE"><span class="glyphicon glyphicon-minus"></span> <b>White IP 관리</b></a></li>
						<? if ($G_SYS['NM_WEB_ALLOW_IP_USUSE']) { ?>
						<li><a href="<?= $nmpath ?>/admin_web_allow_ip_list.php"><span class="glyphicon glyphicon-minus"></span> 전체 웹메일 접근 IP 관리</a></li>
						<? }	// if() ?>
						<?php if ( ! function_exists('nmail_cloud_admin_ip') || nmail_cloud_admin_ip()) { ?>
						<li class="menu-bottom-split"><a href="<?= $nmpath ?>/sadmin_ip.php?kind=RELAY"><span class="glyphicon glyphicon-minus"></span> SMTP Relay IP 관리</a></li>
						<?php } ?>
		<? if ($G_SYS['NM_LETTER_USE']) {		// 편지지 사용시 ?>
						<li><a href="<?= $nmpath ?>/admin_letter_list.php"><span class="glyphicon glyphicon-minus"></span> 편지지 관리</a></li>
		<? }	// if() ?>
						<li class="menu-bottom-split"><a href="<?= $nmpath ?>/sadmin_holiday_list.php"><span class="glyphicon glyphicon-minus"></span> 공휴일 일정 관리</a></li>
						<?php if ( ! function_exists('nmail_cloud_admin_ip') || nmail_cloud_admin_ip()) { ?>
						<li><a href="<?= $nmpath ?>/ssendmail_test.php"><span class="glyphicon glyphicon-minus"></span> 메일 발송 테스트</a></li>
						<li><a href="<?= $nmpath ?>/cache_busting.php"><span class="glyphicon glyphicon-minus"></span> Cache Busting</a></li>
						<li class="menu-bottom-split"><a href="<?= $nmpath ?>/sadmin_phpinfo.php" target="_blank"><span class="glyphicon glyphicon-minus"></span> PHPINFO</a></li>
						<li><a href="<?= $nmpath ?>/snmail.php"><span class="glyphicon glyphicon-minus"></span> <b>Nmail 정보</b></a></li>
						<li class="step-3"><a href="<?= $nmpath ?>/snmail_reg.php">&#8226; Nmail 정품 등록</a></li>
						<!--<li class="menu-bottom-split"><a href="<?php /*= $nmpath */?>/snmail_reg2.php">&nbsp; &nbsp; &nbsp; &#8226; Nmail 비영리 등록</a></li>-->
						<?php } ?>
						<li><a href="<?= $nmpath ?>/help.php?id=SAFAQ"><b><span class="glyphicon glyphicon-info-sign"></span> 도움말</b></a></li>


	<? if ($AUTH['auth_m_level'] >= $G['LEVEL']['serveradmin'] ) { ?>
						<?php if ( ! function_exists('nmail_cloud_admin_ip') || nmail_cloud_admin_ip()) { ?>
						<li><a href="<?= $nmpath ?>/help.php?id=SKIN"><b><span class="glyphicon glyphicon-minus"></span> 디자인 수정안내</b></a></li>
						<li><a href="<?= $nmpath ?>/help.php?id=SAFAQ"><b><span class="glyphicon glyphicon-minus"></span> 메일서버관리 FAQ</b></a></li>
						<?php } ?>
						<li><a href="<?= $nmpath ?>/help/bigfile_webhard_manual.html" target="_blank"><span class="glyphicon glyphicon-minus"></span> 대용량첨부, 웹하드 안내</a></li>
						<li><a href="<?= $nmpath ?>/help.php?id=LICENSE"><span class="glyphicon glyphicon-minus"></span> Nmail 라이센스 규정</a></li>
	<? }	// if() ?>
						<li><a href="<?= $nmpath ?>/help.php?id=POP3"><span class="glyphicon glyphicon-minus"></span> POP3 이용안내</a></li>
						<li><a href="<?= $nmpath ?>/help.php?id=POP3_CHK"><span class="glyphicon glyphicon-minus"></span> SMTP/POP3 문제해결</a></li>
						<li><a href="<?= $nmpath ?>/help.php?id=RETURNMAIL"><span class="glyphicon glyphicon-minus"></span> 리턴메일 분석</a></li>

					</ul>
				</div>
			</div>
		</div>
