<%@ 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 = 'payment_add',
	_lang = '<%=ContentLang%>',
	_webPath = '<%=WebPath%>',
	_imagePath = '<%=ImagePath%>',
	_lang_working = '正在操作...',
	_lang_operation_fail = '操作失败！',
	_lang_operation_success = '操作成功！',
	_lang_name_empty = '名称不能空！',
	_lang_pid = '合作者身份（PID）：',
	_lang_key = '安全校验码（Key）：',
	_lang_pid_chinabank = '商户编号：',
	_lang_key_chinabank = 'MD5私钥：',
	_lang_uploading = '正在上传图片...',
	_lang_type_must_be = '图片类型应为：';
</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="../payment/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>
						<textarea cols="70" rows="7" name="Description" class="Text <%=ContentLang%>Font" wrap="off"></textarea>
					</td>
				</tr>
				<tr>
					<th>银行：</th>
					<td>
						<select name="Type">
							<option value="FaceToFace">面对面</option>
							<option value="Alipay">支付宝</option>
							<option value="Tenpay">财付通</option>
							<option value="ChinaBank">网银在线</option>
							<option value="ICBC">工商银行</option>
							<option value="ABC">农业银行</option>
							<option value="CCB">建设银行</option>
							<option value="CMB">招商银行</option>
							<option value="BCM">交通银行</option>
							<option value="BOC">中国银行</option>
							<option value="CMBC">民生银行</option>
							<option value="CIB">兴业银行</option>
						</select>
					</td>
				</tr>
				<tr>
					<th>标志：</th>
					<td>
						<input id="LogoTextbox" type="text" name="Logo" size="60" class="Text" >
						<input id="LogoBrowse" type="button" value="浏览..." >
						<input type="hidden" name="LogoAllowedType" value="gif|jpg|jpeg|png|bmp" >
						<img height="22" id="LogoView" alt="预览" style="vertical-align:bottom" >
					</td>
				</tr>
				<tr>
					<th>账户名：</th>
					<td><input type="text" name="AccountName" size="30" maxlength="50" class="Text <%=ContentLang%>Font" ></td>
				</tr>
				<tr>
					<th>账号：</th>
					<td><input type="text" name="Account" size="30" maxlength="50" class="Text" ></td>
				</tr>
				<tr>
					<th>支付费率：</th>
					<td><input type="text" name="Rate" value="0" size="5" maxlength="10" class="Text" > %</td>
				</tr>
				<tr id="pid" style="display:none">
					<th>合作者身份（PID）：</th>
					<td><input type="text" name="PartnerID" size="30" maxlength="50" class="Text" ></td>
				</tr>
				<tr id="key" style="display:none">
					<th>安全校验码（Key）：</th>
					<td><input type="password" name="Key" size="30" maxlength="50" class="Text" ></td>
				</tr>
				<!--Service是支付宝的接口名称-->
				<tr id="service" style="display:none">
					<th>接口名称：</th>
					<td>
						<select name="Service">
							<option value="create_direct_pay_by_user">即时到帐</option>
							<option value="trade_create_by_buyer">双功能</option>
						</select>
					</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>