<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><?php echo _conf( 'WEB_SITE_SEO_TOP_WORD' ) ?><?php echo $title = $top_title = $item['dy_movie_title']; ?>资料更新 - 电 影 - <?php echo _conf( 'WEB_SITE_NAME' ) ?></title>
<meta name="keywords" content="<?php echo _conf( 'WEB_SITE_SEO_META_KEYWORD' ) ?>">
<meta name="description" content="<?php echo _conf( 'WEB_SITE_SEO_META_DESCRIP' ) ?>">
<?php echo _conf('WEB_SITE_SEO_HEADER_CODE'); ?>
<link href="res/css/douya.css" rel="stylesheet" type="text/css">
<script src="res/js/core.js"></script>
</head>

<body>

<?php  
	include_once( ROOT . 'res/tpl/header.tpl.html' );
?>
<table border="0" width="98%" id="table1" cellspacing="5" cellpadding="5" height="400px" align="center">
	<tr>
		<td valign="top">
		<!-- main -->
		<form action="?u=movie_update" method="POST" name="movie_modify_form">
		<h2>修改影片的资料</h2>
		<div style="padding:30px">
		<table width="500px" border="0"  cellspacing="5" cellpadding="5">
						<tr class="info_box">
				<td width="60px" class="top">
					电影名称
				</td>
				<td class="top">
					<input name="dy_movie_title" id="dy_movie_title" >
				</td>
			</tr>
						<tr class="info_box">
				<td width="60px" class="top">
					电影简介
				</td>
				<td class="top">
					<textarea name="dy_movie_intro" id="dy_movie_intro" cols="60" rows="5"></textarea>
				</td>
			</tr>
						<tr class="info_box">
				<td width="60px" class="top">
					相关标签
				</td>
				<td class="top">
					<input type="text" name="dy_tags" style="width:300px"><br/><span class="explain">多个标签请用空格分隔</span>
					<INPUT TYPE="hidden" name="id" value="<?php echo $item['id'] ?>">
					<INPUT TYPE="hidden" name="forward" value="<?php echo urlencode( $_SERVER['HTTP_REFERER'] )?>">
				</td>
			</tr>
			<tr class="info_box">
				<td width="60px" class="top">
					
				</td>
				<td class="top" align="center">
					<input class="dbutton" type="submit" value="提交" style="width:120px">
				</td>
			</tr>
		</table>
		</div>
		</form><script LANGUAGE="JavaScript" src="res/js/vf.js"></script>
<script LANGUAGE="JavaScript">
var f = new Validator("movie_modify_form"); 
f.addV( "dy_movie_title" , "req" , "请填写电影名称" );
</script>

		<script>
				set( 'dy_movie_title' , '<?php echo jsnl2br(add_slashes_on_quote(  $item['dy_movie_title'] )) ?>' );
				set( 'dy_movie_intro' , '<?php echo jsnl2br(add_slashes_on_quote(  $item['dy_movie_intro'] )) ?>' );
				set( 'dy_tags' , '<?php echo add_slashes_on_quote($item['dy_tags']) ?>' );
		</script>
		
		</td>
		<td width="300px" class=top>
		<!-- right -->
		
		</td>
	</tr>
</table>
<?php  
	include_once( ROOT . 'res/tpl/footer.tpl.html' );
?>
</body>

</html>