<%@ Page CodeFileBaseClass="IlgharCMS.Lib.MemberPageBase" %>
<ilghar:Get ID="Movie" Object="Movie" InnerID="Request.QueryString['MovieID']" />
<ilghar:Get ID="Player" Mark="System" Object="Player" Operation="List(-1, -1, null, null)" />
<table border="0" cellpadding="4" cellspacing="1" class="ListTable">
	<thead>
		<tr>
			<th width="60">名称</th>
			<th>地址</th>
			<th>播放器</th>
			<th width="40">错误</th>
			<th width="40">修改</th>
			<th width="40">删除</th>
		</tr>
	</thead>
	<tbody>
		<ilghar:List Object="Movie.Url" Condition="MovieID=Movie[ID] and CategoryID=Request.QueryString['CategoryID']" Validate="True">
			<ilghar:Record>
				<tr id="<%=InnerID%>">
					<form>
						<td><input type="text" name="Name" value="<%=Name%>" size="10" maxlength="50" class="Text <%=PageLang%>Font" /></td>
						<td><input type="text" name="URL" value="<%=URL%>" size="30" maxlength="255" class="Text" /></td>
						<td>
							<select name="PlayerID" class="<%=PageLang%>Font">
								<ilghar:List Mark="System" Object="Player" Source="Player">
									<ilghar:Record>
										<%If Guid.Equals(ID, PlayerID)%>
											<option value="<%=ID%>" selected="selected"><%=Name%></option>
										<%Else%>
											<option value="<%=ID%>"><%=Name%></option>
										<%EndIf%>
									</ilghar:Record>
								</ilghar:List>
							</select>
						</td>
						<td><%=Error%></td>
						<td><input type="image" src="<%=ImagePath%>modify.gif" /></td>
						<td><a href="">删除</a></td>
					</form>
				</tr>
			</ilghar:Record>
		</ilghar:List>
	</tbody>
</table>
