<%@ page language="java" errorPage="/sys/error.jsp" pageEncoding="GB2312" contentType="text/html;charset=GB2312" %>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<%@ include file="/common/meta.jsp"%>
<title>新闻栏目管理</title>
<link href='<c:url value="/sys/css/css.css"/>' type="text/css" rel="stylesheet">
<script language="javascript">
<!--
function setValue() {
	var myform = window.opener.articleForm;
	var form = columnTree.document.articleForm;
	if(myform) {
		for(var i = 0; i < form.length; i++) {
			var e = form[i];
			if(e.type == "radio" && e.checked) {
				//alert(e.value);
				var evalues = e.value.split(",");			
				myform.movecolumnid.value = evalues[0];
				break;
			}//end if
		}//end for
		if(myform.movecolumnid.value == '') {
			alert("请选择栏目！");
			return;
		}
		myform.action = '<c:url value="/sys/article/moveArticle.html"/>';
		myform.method.value = "moveArticle";
		myform.submit();
		window.close();
	}
}
//-->
</script>
</head>
<body  leftmargin=0 topmargin=0 marginheight="0" marginwidth="0">
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%" height="100%">
<tr>
<!-- left start -->
<td width="100%" valign="top" bgcolor="#ffffff">
	<table border="1" cellpadding="0" cellspacing="0" width="100%" height="100%" class="lefttable">
	<html:form action="/sys/article/moveArticle.html">
	<html:hidden property="id"/>
	<input type="hidden" name="parentid" value="">
	<input type="hidden" name="set" value="set">
	<input type="hidden" name="method" value="moveArticle">
	  <tr><td><font color="red"><c:out value="${errorMsg}"/></font></td></tr>
	  <tr>
		<td width="100%" height="100%" align="left" valign="top">
		<iframe id="columnTree" src='<c:url value="/sys/article/moveArticle.html"/>?method=moveArticle&iframe=iframe&id=<c:out value="${articleForm.id}"/>' width="100%" height="100%" border="0" frameborder="0">
		</iframe>
		</td>
	  </tr>
	  <tr>
	    <td align="center">
		  <input type="button" value="确定" onclick="setValue();">
		  <input type="button" value="关闭" onclick="window.close();">
		</td>
	  </tr>
	</html:form>
	</table>
</td>
<!-- left end -->
</tr>
</table>
</body>
</html>