<%@ Page CodeFileBaseClass="AliCMS.Lib.SystemPageBase" %>
<%@ Register TagPrefix="alicmsUC" TagName="Ime" Src="../../ime.dwt.ascx"%>
<%@ Register TagPrefix="alicmsUC" TagName="LanguageMenu" Src="../../language_menu.dwt.ascx"%>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>添加播放器</title>
<link rel="stylesheet"  href="<%=CommonPath%>jquery/themes/lightness/all.css" >
<ali:Comment><link rel="stylesheet"  href="../../S01/CHS/css/common.css" ></ali:Comment>
<link rel="stylesheet" href="<%=CssPath%>common.css" >
<alicmsUC:Ime Ime="true" Eot="true" runat="server" />
<script >
var _page = 'player_add',
    _lang = '<%=ContentLang%>',
    _webPath = '<%=WebPath%>',
    _imagePath = '<%=ImagePath%>',
    _id,
    _guid,
    _uploadFile = false,
    _lang_working = '正在操作...',
    _lang_operation_fail = '操作失败！',
    _lang_operation_success = '操作成功！',
    _lang_start_upload = '开始上传文件...',
    _lang_uploading = '正在上传文件...',
    _lang_name_empty = '名称不能空！',
    _lang_getting_innerid = '正在获取InnerID...',
    _lang_innerid_fail = '获取InnerID失败！';
</script>
</head>
<body>
<div class="WhiteHeader">
	<div class="Left"><img src="<%=ImagePath%>close_frame.gif" ></div>
	<div class="Title">添加播放器</div>
	<div class="Right">
		<alicmsUC:LanguageMenu runat="server" />
		<img height="15" src="<%=ImagePath%>dropdown.gif" > 语言：<%=CurrentLanguage%>
	</div>
</div>
<div class="Block">
	<ul class="TabMenu">
		<li class="Left"></li>
		<li class="Middle"><a href="../player/list.aspx?Lang=<%=ContentLang%>">播放器列表</a></li>
		<li class="Right"></li>
		<li class="Left Selected"></li>
		<li class="Middle Selected">添加播放器</li>
		<li class="Right Selected"></li>
	</ul>
	<ul class="Title">
		<li class="Left"></li>
		<li class="Middle"></li>
		<li class="Right"></li>
	</ul>
	<form>
		<table border="0" cellpadding="4" cellspacing="1">
			<tbody>
				<tr>
					<th>名称：</th>
					<td><input type="text" name="Name" size="30" maxlength="50" class="Text <%=ContentLang%>Font" ></td>
				</tr>
				<tr>
					<th>代码：</th>
					<td>
						{#ID#} : 播放器ID<br />
						{#File#} : 文件路径<br />
						<textarea type="text" name="Code" cols="80" rows="10" wrap="off"></textarea>
					</td>
				</tr>
				<tr>
					<th>打包扩展名：</th>
					<td><input type="text" name="PackExtention" size="10" maxlength="50" class="Text" ></td>
				</tr>
				<tr>
					<th>打包：</th>
					<td>
						{#Name#}：媒体名称<br />
						{#URL#}：媒体地址<br />
						<textarea type="text" name="Pack" cols="80" rows="10" wrap="off"></textarea>
					</td>
				</tr>
				<tr>
					<th>文件：</th>
					<td>
						<input id="FileTextbox" type="text" name="File" size="60" class="Text" >
						<input id="FileBrowse" type="button" value="浏览..." >
					</td>
				</tr>
				<tr>
					<th>规则：</th>
					<td>
						<textarea type="text" name="Rule" cols="80" rows="4" wrap="off"></textarea>
						<ul>
							<li>播放页面地址中获取播放地址的规则。</li>
							<li>一行或三行。如果只从播放页面地址中能获取播放地址，则写一行正则表达式。</li>
							<li>如果页面内容中获取播放地址，则第一行正则表达式获取网页地址，第二行是编码（GB2312，BIG5，UTF-8），第三行正则表达式从网页内容中获取播放地址。</li>
							<li>每一行正则表达式可用组名"v"。</li>
						</ul>
					</td>
				</tr>
				<tr>
					<th>类型：</th>
					<td>
						<input type="radio" name="Type" id="TypeVideo" value="Video" checked="checked" ><label for="TypeVideo">视频播放器</label>
						<input type="radio" name="Type" id="TypeAudio" value="Audio" ><label for="TypeAudio">音乐播放器</label>
					</td>
				</tr>
				<tr>
					<th>描述：</th>
					<td><textarea type="text" name="Description" cols="80" rows="10" wrap="off" class="Text"></textarea></td>
				</tr>
			</tbody>
			<tfoot>
				<tr>
					<td colspan="2"><input type="submit" class="Button" value="添加" ></td>
				</tr>
			</tfoot>
		</table>
	</form>
	<div class="Footer"></div>
</div>
<script src="<%=CommonPath%>jquery/core.js"></script>
<script src="<%=CommonPath%>jquery/ui.js"></script>
<script src="<%=CommonPath%>uploader.js"></script>
<script src="<%=CommonPath%>utility.js"></script>
<script src="<%=JsPath%>global.js"></script>
<script src="<%=ModuleJsPath%>module.js"></script>
</body>
</html>