<%@ 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" style="height:370px">
    <form id="dataForm" method="post">
    <ul class="ulFrm">
        <li>
            <span class="label labelW80 labelRight"><em>*</em>&nbsp;媒体名称</span>
            <input type="text" name="name" class="text" size="40" value="${map.name}" placeholder="请输入媒体名称"  maxlength="10"/>
        </li>
        <li>
            <span class="label labelW80 labelRight alignTop"><em></em>&nbsp;产品<br />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"><em>*</em>&nbsp;媒体等级</span>
            <div class="select select-block286 {height:100,width:284}">
                <select name="rank" id="rank">
                    <option value="">下拉选择</option>
                    <option value="0" <c:if test="${map.rank == 0}"> selected="selected"</c:if>>央视频道</option>
                    <option value="1" <c:if test="${map.rank == 1}"> selected="selected"</c:if>>一线卫视</option>
                    <option value="2" <c:if test="${map.rank == 2}"> selected="selected"</c:if>>二线卫视</option>
                    <option value="3" <c:if test="${map.rank == 3}"> selected="selected"</c:if>>三线卫视</option>
                    <option value="4" <c:if test="${map.rank == 4}"> selected="selected"</c:if>>四线卫视</option>
                    <option value="5" <c:if test="${map.rank == 5}"> selected="selected"</c:if>>五线卫视</option>
                    <option value="6" <c:if test="${map.rank == 6}"> selected="selected"</c:if>>六线卫视</option>
                    <option value="7" <c:if test="${map.rank == 7}"> selected="selected"</c:if>>七线卫视</option>
                    <option value="8" <c:if test="${map.rank == 8}"> selected="selected"</c:if>>卡通频道</option>
                </select>
            </div>
        </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/admedia/admedia.js"></script>
<script type="text/javascript">
$(function(){
    $.resetText();
    $(".text").input();
    $(".select").uiSelect();
    /*上传单张图片按钮初始化*/
    uploadImg('picker_imgUrl', '+', 3, true, false, null,"myCallbcak");
});
function myCallbcak(url){
    $("#imgUrl").show();
    $("#imgUrl").attr("src",url);
}
</script>
</body>
</html>