<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>在线商城后台管理</title>
<link rel="stylesheet" type="text/css" href="view/admin/style/basic.css" />
<link rel="stylesheet" type="text/css" href="view/admin/style/nav.css" />
<script type="text/javascript" src="view/admin/js/nav.js"></script>
{literal}
<script type="text/javascript">
function updatesellercate() {
	var fm = document.update;
	
	if (fm.name.value == '') {
		alert('名称不能为空！');
		fm.name.focus();
		return false;
	}	
	return true;
}
</script>
{/literal}
</head>
<body>

<h2>修改商家分类</h2>

<form method="post" name="update" action="?a=sellercate&m=update&id={$OneCate->id}">
	<input type="hidden" name="flag" id="flag" />	
	<div class="add_update">		
		<table cellspacing="0">					
			<tr>
				<td class="text_right">名　　称： </td>
				<td class="text_left">
					<input type="text" name="name"  id="name" class="text" value="{$OneCate->name}" />
				</td>
			</tr>
			<tr>
				<td class="text_right">显示状态：</td>
				<td class="text_left">
					<select name="state" style="width:100px;">
						{$OneCate->state}
					</select>
				</td>
			</tr>			
			<tr>
				<td class="text_right">排　　序：</td>
				<td class="text_left">
					<input type="text" name="sort"  id="sort" class="text"  value="{$OneCate->sort}"/>
				</td>
			</tr>		
			
			<tr>
				<td></td>
				<td><input type="submit" name="send" onclick="return updatesellercate();" value="修改商家分类" class="submit" /></td>
			</tr>
		</table>
	</div>
	
	
</form>

</body>
</html>