<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../common/common.jsp"%>
<title>栏目详情</title>
</head>
<link rel="stylesheet" type="text/css" href="${staticPath}webupload/progress.css">
<body>
<div class="open-content open-pad">
    <form id="dataForm" method="post">
    <ul class="ulFrm">
        <li>
            <span class="label labelW80 labelRight"><em>*</em>&nbsp;栏目名称</span>
            <input type="text" name="platformName" class="text" size="40" value="${map.platformName}" placeholder="请输入栏目名称" maxlength="20"/>
        </li>
        <li>
            <span class="label labelW80 labelRight"><em></em>&nbsp;产品LOGO</span>
            <div class="webuploader">
                <img id="imgUrl" src="${map.imgUrl}"<c:if test="${empty(map.imgUrl)}"> class="contentTxt"</c:if> />
                <div id="picker_imgUrl" class="jia"></div>
            </div>
        </li>
        <li>
            <span class="label labelW80 labelRight alignTop"><em></em>&nbsp;内容</span>
            <input type="text" name="brandName" class="text" size="40" value="${map.brandName}" placeholder="请输入内容"  maxlength="20"/>
        </li>
        <li>
	        <span class="label labelW80 labelRight"><em>*</em>&nbsp;一级行业</span>
			<select name="firstInd" id="firstInd">
				<c:if test="${empty map.firstInd}">
				   <option value=""></option>
				</c:if>
				<c:if test="${not empty map.firstInd}">
				   <option value="${map.firstInd}">${map.firstInd}</option>
				</c:if>
			</select>
	    </li>
        <li>
            <span class="label labelW80 labelRight"><em>*</em>&nbsp;二级行业</span>
            <select name="secondInd" id="secondInd">
				<c:if test="${empty map.secondInd}">
				   <option value=""></option>
				</c:if>
				<c:if test="${not empty map.secondInd}">
				   <option value="${map.secondInd}">${map.secondInd}</option>
				</c:if>
			</select>
        </li>
    </ul>
    </form>
</div>
<div class="open-fixed-buttons">
    <a href="javascript:save();" class="btn-radius">提交</a>
    <a href="javascript:top.$.closeWindow();" class="btn-radius cancel">取消</a>
</div>
<script type="text/javascript" src="${staticPath}webupload/webuploader.min.js"></script>
<script type="text/javascript" src="${staticPath}webupload/upload.js"></script>
<script type="text/javascript" src="${staticPath}js/adplatform/adplatform.js"></script>
<script type="text/javascript">
$(function(){
    $.resetText();
    $(".text").input();
    $(".select").uiSelect();
    /*上传单张图片按钮初始化*/
    uploadImg('picker_imgUrl', '+', 1, true, false, null,"myCallbcak");
});
function myCallbcak(url){
    $("#imgUrl").show();
    $("#imgUrl").attr("src",url);
}
</script>
</body>
</html>