%load.template._MessageHead%>
<%if {errorcount}>0%>
<%load.template._errmsgbox%>
<%else%>
<%set (string){scoreUnit}=string.Empty%>
<%set (string){scoreName}=string.Empty%>
<%if {ispost}&&{postpay}=="true"%>
<%load.template._msgbox%>
<%else if {ispost}%>
<%set {scoreName}=ScoreName[selectId]%>
请核实充值信息:
充入用户账号:{PayUserInfo.Nickname}({PayUserInfo.Seqid})
充值金额:{payamount}元
充值方式:{ItemSetInfo.Name}
充值积分:{scoreName},{GetPayHandselCreditsHtml(ItemSetInfo,selectId,payamount,2)}
<%if !{Utils.InArray(ItemSetInfo.Distinguish.ToUpper(),"ALIPAY,TENPAY")}%>
充值卡号:
{strcardNo}
充值密码:
{strcardPwd}
<%end if%>
确认
<%if !{Utils.InArray(ItemSetInfo.Distinguish.ToUpper(),"ALIPAY,TENPAY")}%>
<%end if%>
重新输入
[hr]
返回上一步
<%else%>

[url=User/exchange.Type]积分兑换[/url]|[url=User/Transfer.Type]积分转账[/url]|[url=User/Paylog.Type]收支记录[/url]|积分充值[br]
您好!{CurrentUserInfo.Nickname} 您的用户ID {CurrentUserInfo.Seqid}
<%if {selectId}>=1 && selectId<=10%>
<%set {scoreUnit}=ScoreUnit[selectId]%>
<%set {scoreName}=ScoreName[selectId]%>
您有:{scoreName}{Scoresets.GetAssignationCredits(CurrentUserInfo,selectId)}{scoreUnit}
<%else%>
<%if {AvailableScore.Rows.Count}==1%>
<%set {scoreUnit}=AvailableScore.Rows[0]["unit"].ToString()%>
<%set {scoreName}=AvailableScore.Rows[0]["name"].ToString()%>
<%set (string){score}=AvailableScore.Rows[0]["score"].ToString()%>
您有:{scoreName}{score}{scoreUnit}
<%else%>
<%foreach Info AvailableScore%>
{Info[name]}:随身有{Info[score]}{Info[unit]}
<%foreach%>
<%end if%>
<%end if%>
[hr]
<%set {ItemSetInfo}=string.IsNullOrEmpty(cardtype)?null:PayItemSet.GetItemSet(cardtype)%>
<%if {ItemSetInfo}!=null%>
充值方式:{ItemSetInfo.Name}
<%if {selectId}>=1||{AvailableScore.Rows.Count}==1%>
<%if {selectId}<1%>
<%set {selectId}=TypeConverter.ObjectToByte(AvailableScore.Rows[0]["id"])%>
<%end if%>
<%set (string){HandselHtml}=GetPayHandselCreditsHtml(ItemSetInfo,selectId,10)%>
充值积分:{scoreName},{HandselHtml}
输入需充值的用户号(ID):
<%if {!string.IsNullOrEmpty(ItemSetInfo.Parvalue)}%>
<%set (string[]){Parvalue}=ItemSetInfo.Parvalue.Split(',')%>
充值金额:(必须与充值卡面额相同,否则金额丢失)
<%else%>
充值金额:([s]单笔限额<%if {config.Mincreditstobuy}>0%>不能低于{config.Mincreditstobuy}元,<%end if%>不能大于<%if {Utils.InArray(ItemSetInfo.Distinguish.ToUpper(),"ALIPAY,TENPAY")}%>599<%else%>{config.Maxcreditstobuy}<%end if%>元[/s])
<%end if%>
<%if {Utils.InArray(ItemSetInfo.Distinguish.ToUpper(),"ALIPAY,TENPAY")}%>
确认
<%else%>
输入卡号:
输入密码:
确认
<%end if%>
<%set (string){_Link}=""%>
<%if {selectId}>=1 && selectId<=10%>
<%set {_Link}="?credits="+selectId%>
<%end if%>
[hr]
<%if {AvailableScore.Rows.Count}>1%>
<<选择其它积分
<%end if%>
<<选择其它类型
<%else%>
[b]请选择要充值的积分类型[/b]
[hr]
<%foreach Info AvailableScore%>
<%set (byte){currentIds}=TypeConverter.ObjectToByte(Info["id"])%>
>>充值[ {Info[name]} ]
┗{GetPayHandselCreditsHtml(ItemSetInfo,currentIds,10)}
<%foreach%>
[hr]
<<选择其它类型
<%end if%>
<%else%>
<%set (string){_Link}=""%>
<%if {selectId}>=1 && selectId<=10%>
<%set {_Link}="&credits="+selectId%>
<%end if%>
<%foreach (PayItemInfo) Info PayItemSet.GetItemSetList()%>
<%if {Info.Distinguish.ToUpper()}!="CREDITS"&&{Info.State}==1%>
{Info.Name}
<%end if%>
<%foreach%>
<%end if%>
[hr]
>>查看充值记录
<%end if%>
<%end if%>
<%load.template._Foot%>