<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_module_content_title])']; ?>资料更新 - ([$dy_module_name]) - <?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>
<script src="lib/fckeditor.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="([$form_action])" method="POST" name="([$form_name])">
		<h2>修改([$dy_module_content])的资料</h2>
		<div style="padding:30px">
		<table width="500px" border="0"  cellspacing="5" cellpadding="5">
			([foreach from=$fields_html item=line ])
			<tr class="info_box">
				<td width="60px" class="top">
					([$line.text])
				</td>
				<td class="top">
					([$line.box])
				</td>
			</tr>
			([/foreach])
			<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="cid" value="<?php echo $_REQUEST['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>([$vf_js])
		<script>
		([foreach from=$fields item=line ])
		set( '([$line.dy_en_name])' , '<?php echo jsnl2br(add_slashes_on_quote(  $item['([$line.dy_en_name])'] )) ?>' );
		([/foreach])
		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>