<!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>
</head>
<body>
<h2>系统 -- 修改商铺分类</h2>
<form method="post" name="update" action="?a=shopcategory&m=update&id={$Oneshopcategory[0]->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">
					<select name="category" id="category" style="width:354px;">
							<option value="0">--请选择分类--</option>
							{html_options options=$category selected=$Oneshopcategory[0]->category}
					</select>
					<span>说明：分类名称用于调取api数据</span>					
				</td>
			</tr>			
			<tr>
				<td class="text_right">名　　称</td>
				<td class="text_left">
					<input type="text" name="name"  id="name" class="text" value="{$Oneshopcategory[0]->name}" /> (提示：用于搜索框下面显示商铺分类)
				</td>
			</tr>
			<tr>
				<td class="text_right">排　　序：</td>
				<td class="text_left">
					<input type="text" name="sort"  id="sort" class="text"  value="{$Oneshopcategory[0]->sort}"/>
				</td>
			</tr>
			<td class="text_right">描　　述：</td>
				<td class="text_left">
					<textarea name="info">{$Oneshopcategory[0]->info}</textarea> <span class="middle">( * 200位以内 )</span>
				</td>
			</tr>		
			<tr>
				<td></td>
				<td><input type="submit" name="send" onclick="return updateNav();" value="修改商铺分类" class="submit" /></td>
			</tr>
		</table>
	</div>
	
	
</form>

</body>
</html>