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