<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="ec" uri="/WEB-INF/tld/ecnet_tld.tld"%>
<script src="/js/dragNdropToImgs.js"></script>
<script type="text/javascript">
// 첨부파일 등록 종료 ----------------------
function fileDown(){
	var listForm = document.bizForm ;
	listForm.startCount.value = $("#start option:selected").val();
	listForm.phmType.value = $("#type option:selected").val();
	listForm.method = "get";
	listForm.action = "<c:url value='/web/mjon/test/selectCallNumDownFile.do'/>";
	listForm.submit();
}

</script>

<form id="bizForm" name="bizForm" method="post">
	<input type="hidden" id="startCount" name="startCount" value="">
	<input type="hidden" id="phmType" name="phmType" value="">
</form>

<!-- content 영역 -->
<div class="inner">
	<!-- send top -->
	<div class="send_top">
		<!-- tab button -->
		<ul class="tabType4">
			<li class="tab"><button type="button" onclick="location.href='/web/mjon/test/selectSendCategoryView.do'">카카오톡 카테고리 등록</button></li>	
			<li class="tab"><button type="button" onclick="location.href='/web/mjon/test/selectSendTestView.do'">카카오톡 발신프로필 등록</button></li>
			<li class="tab"><button type="button" onclick="location.href='/web/mjon/test/selectTemplateView.do'">카카오톡 템플릿 등록</button></li>
			<li class="tab"><button type="button" onclick="location.href='/web/mjon/test/selectKakaoImageView.do'">카카오톡 친구톡 이미지 등록</button></li>
			<li class="tab"><button type="button" onclick="location.href='/web/mjon/test/selectDownFileView.do'">사업자&재직증명서</button></li>
			<li class="tab"><button type="button" onclick="location.href='/web/mjon/test/selectCallNumDownFileView.do'">승인 발신번호</button></li>
		</ul>
		<form id="imgForm" name="imgForm" method="multipart/form-data">
			<!--// tab button -->
			<div class="serv_content current" id="tab5_5">
				<div class="heading">
					<h2>첨부파일 다운로드</h2>
				</div>
				<div class="pay_cont current" id="tab1_1">
					<p class="tType1_title">첨부파일 다운로드</p>
					<table class="tType1">
						<caption>카카오 친구톡 이미지 등록</caption>
						<colgroup>
							<col style="width: 190px;">
							<col style="width: auto;">
						</colgroup>
						<tbody>
							<tr class="autoY">
								<th scope="row">
									발신번호 수량 :
								</th>
								<td>
									 <c:out value="${totCut01}"/>
								</td>
								<th scope="row">
									차단번호 수량 :
								</th>
								<td>
									 <c:out value="${totCut03}"/>
								</td>
							</tr>
							<tr class="autoY">
								<th scope="row">
									타입
								</th>
								<td>
									<select name="type" id="type">
										<option value="01">발신</option>
										<option value="03">차단</option>
									</select>
								</td>
							</tr>
							<tr class="autoY">
								<th scope="row">
									시작
								</th>
								<td>
									<select name="start" id="start">
										<option value="0">0</option>
										<option value="1000">1000</option>
										<option value="2000">2000</option>
										<option value="3000">3000</option>
										<option value="4000">4000</option>
										<option value="5000">5000</option>
										<option value="6000">6000</option>
									</select>
								</td>
							</tr>
						</tbody>
					</table>
					<div style="text-align: center;">
						<button type="button" class="btnType btnType16" onclick="javascript:fileDown();">다운</button>
					</div>
				</div>
			</div>
		</form>
	</div>
	<!--// send top -->
</div>
<!--// send top -->
