<%@ Page CodeFileBaseClass="AliCMS.Lib.SystemPageBase" %>
<ali:Get ID="Type" Object="Type" InnerID="Request.QueryString['ID']" />
<table border="0" cellpadding="4" cellspacing="1">
	<thead>
		<tr>
			<th width="40">序号</th>
			<th>名称</th>
			<th width="60">颜色</th>
			<th width="70">是否上传</th>
			<th width="40">修改</th>
			<th width="40">选项</th>
			<th width="40">编辑</th>
			<th width="40">删除</th>
		</tr>
	</thead>
	<tbody>
		<ali:List Object="Type.Spec" Condition="TypeID=Type[ID]" Validate="True">
			<ali:Record>
				<tr id="Row<%=InnerID%>" ItemID="<%=InnerID%>" ParentID="" data-id="<%=InnerID%>">
					<form>
						<td><input type="text" name="Sort" value="<%=Sort%>" size="1" maxlength="1" class="Text" /></td>
						<td><input type="text" name="Name" value="<%=Name%>" class="Text <%=ContentLang%>Font" /></td>
						<td>
							<%If Convert.ToBoolean(IsColor)%>
								是
							<%Else%>
								否
							<%EndIf%>
						</td>
						<td>
							<%If Convert.ToBoolean(CanUpload)%>
								是
							<%Else%>
								否
							<%EndIf%>
						</td>
						<td><input type="image" src="<%=ImagePath%>modify.gif" /></td>
						<td><a href="../../type/spec/option/list.aspx?Lang=<%=ContentLang%>&amp;TypeID=<%=Request.QueryString["ID"]%>&amp;ID=<%=InnerID%>">选项</a></td>
						<td><a href="../../type/spec/edit.aspx?Lang=<%=ContentLang%>&amp;TypeID=<%=Request.QueryString["ID"]%>&amp;ID=<%=InnerID%>">编辑</a></td>
						<td><a href="">删除</a></td>
					</form>
				</tr>
			</ali:Record>
		</ali:List>
	</tbody>
</table>
