<%@ 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="name" class="text" size="40" value="${map.name}" placeholder="请输入电视剧名称"  maxlength="20"/>
        </li>
        <li>
            <span class="label labelW80 labelRight alignTop"><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"><em>*</em>&nbsp;体裁</span>
			<select name="firstTheme" id="firstTheme">
			    <c:if test="${empty map.firstTheme}">
				   <option value=""></option>
				</c:if>
				<c:if test="${not empty map.firstTheme}">
				   <option value="${map.firstTheme}">${map.firstTheme}</option>
				</c:if>
			</select>
	    </li>
        <li>
            <span class="label labelW80 labelRight"><em>*</em>&nbsp;细分体裁</span>
            <select name="secondTheme" id="secondTheme">
				<c:if test="${empty map.secondTheme}">
				   <option value=""></option>
				</c:if>
				<c:if test="${not empty map.secondTheme}">
				   <option value="${map.secondTheme}">${map.secondTheme}</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/adtv/adtv.js"></script>
<script type="text/javascript">
$(function(){
    $.resetText();
    $(".text").input();
    $(".select").uiSelect();
    /*上传单张图片按钮初始化*/
    uploadImg('picker_imgUrl', '+', 2, true, false, null,"myCallbcak");
});
function myCallbcak(url){
    $("#imgUrl").show();
    $("#imgUrl").attr("src",url);
}
</script>
</body>
</html>