<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 _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="?u=game_save" method="POST" name="game_add_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_game_uid" id="dy_game_uid" >
				</td>
			</tr>
						<tr class="info_box">
				<td width="60px" class="top">
					英文名
				</td>
				<td class="top">
					<input name="dy_game_en_name" id="dy_game_en_name" >
				</td>
			</tr>
						<tr class="info_box">
				<td width="60px" class="top">
					中文名
				</td>
				<td class="top">
					<input name="dy_game_cn_name" id="dy_game_cn_name" >
				</td>
			</tr>
						<tr class="info_box">
				<td width="60px" class="top">
					图片地址
				</td>
				<td class="top">
					<img border="0" id="dy_game_pic_url_pic"> <input name="dy_game_pic_url" id="dy_game_pic_url" onchange="dy_game_pic_url_pic.src=this.value" style="width:200px">
				</td>
			</tr>
						<tr class="info_box">
				<td width="60px" class="top">
					游戏简介
				</td>
				<td class="top">
					<textarea name="dy_game_intro" id="dy_game_intro" cols="60" rows="5" rel="fck"></textarea>
				</td>
			</tr>
						<tr class="info_box">
				<td width="60px" class="top">
					游戏类型
				</td>
				<td class="top">
					<input name="dy_game_type" id="dy_game_type" >
				</td>
			</tr>
						<tr class="info_box">
				<td width="60px" class="top">
					下载链接
				</td>
				<td class="top">
					<input name="dy_game_download" id="dy_game_download" >
				</td>
			</tr>
						<tr class="info_box">
				<td width="60px" class="top">
					版本
				</td>
				<td class="top">
					<input name="dy_game_version" id="dy_game_version" >
				</td>
			</tr>
						<tr class="info_box">
				<td width="60px" class="top">
					容量
				</td>
				<td class="top">
					<input name="dy_game_size" id="dy_game_size" >
				</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>
				</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("game_add_form"); 
f.addV( "dy_game_uid" , "req" , "请填写官方唯一编号" );
f.addV( "dy_game_en_name" , "req" , "请填写英文名" );
f.addV( "dy_game_cn_name" , "req" , "请填写中文名" );
f.addV( "dy_game_pic_url" , "req" , "请填写图片地址" );
f.addV( "dy_game_version" , "req" , "请填写版本" );
</script>

		
		</td>
		<td width="300px" class=top>
		<!-- right -->
		
		</td>
	</tr>
</table>
<?php  
	include_once( ROOT . 'res/tpl/footer.tpl.html' );
?>
</body>

</html>