%load.template._MessageHead%>
<%if {errorcount}>0%>
<%load.template._errmsgbox%>
<%else if {buyAction}%>
<%load.template._msgbox%>
<%else if {ispost}%>
[breadcrumb][link=Space.Type]我的空间[/link][link=user/Vip/transact.Type?id={buyId}]办理VIP会员[/link][link]确认[/link][/breadcrumb]
您将购买
<%if {buyId}==1%>
一个月VIP会员,付费{config.VipMonthsPrice}{VipCreditsInfo.Name},每天{config.VipMonthsGrowing}点VIP成长值![br]
<%else if {buyId}==2%>
三个月VIP会员,付费{config.VipThreeMonthsPrice}{VipCreditsInfo.Name},每天{config.VipThreeMonthsGrowing}点VIP成长值![br]
<%else if {buyId}==3%>
六个月VIP会员,付费{config.VipSixMonthsPrice}{VipCreditsInfo.Name},每天{config.VipSixMonthsGrowing}点VIP成长值![br]
<%else if {buyId}==4%>
一年的VIP会员,付费{config.VipYearPrice}{VipCreditsInfo.Name},每天{config.VipYearGrowing}点VIP成长值![br]
<%else%>
参数有误[br]
<%end if%>
目标用户:{TargetUserInfo.Nickname}({TargetUserInfo.Seqid})[br]
<%set (string){_name}=""%>
<%if {TargetUserInfo.Groupid}!=9%>
<%if {CurrentUserInfo.Seqid}!={TargetUserInfo.Seqid}%>{TargetUserInfo.Nickname}<%else%>您<%end if%> 当前还不是VIP会员[br]
<%set {_name}="开通"%>
<%else%>
<%if {CurrentUserInfo.Seqid}!={TargetUserInfo.Seqid}%>{TargetUserInfo.Nickname}<%else%>您<%end if%> 当前已经是VIP会员,续费前过期时间:{WebUtils.IntdateToString(TargetUserInfo.Groupexpiry)}[br]
<%set {_name}="续费"%>
<%end if%>
{_name}VIP会员后预计
<%code%>
int MonthsLength = 0;
switch (buyId)
{
case 1:
MonthsLength = 1;
break;
case 2:
MonthsLength = 3;
break;
case 3:
MonthsLength = 6;
break;
case 4:
MonthsLength = 12;
break;
}
DateTime GroupexpiryDate = TargetUserInfo.Groupexpiry.ToString().Length == 8 ? DateTime.Parse(WebUtils.IntdateToString(TargetUserInfo.Groupexpiry)) : DateTime.Now.Date;
if (GroupexpiryDate >= DateTime.Now.Date)
GroupexpiryDate = GroupexpiryDate.AddMonths(MonthsLength);
else
GroupexpiryDate = DateTime.Now.Date.AddMonths(MonthsLength);
<%/code%>
{Utils.GetDate(GroupexpiryDate)} 过期![br]
<<重新输入用户编号
[hr]
[url=Index.Type]{config.WebSiteTitle}首页[/url][br]
<%else%>
[breadcrumb][link=Space.Type]我的空间[/link][link=user/Vip/Index.Type]VIP会员[/link][link]办理VIP会员[/link][/breadcrumb]
您好!{nickname}({userid})[br]
<%set (string){_name}=""%>
<%if {CurrentUserInfo.Groupid}!=9%>
您当前还不是VIP会员,当前随身{VipCreditsInfo.Name}余额:{TypeConverter.FloatToStr(Scoresets.GetAssignationCredits(CurrentUserInfo,VipCreditsInfo.Id))}{VipCreditsInfo.Unit} 前往充值[br]
<%set {_name}="开通"%>
<%else%>
您当前已经是VIP会员,将于:{WebUtils.IntdateToString(CurrentUserInfo.Groupexpiry)}过期,当前随身{VipCreditsInfo.Name}余额:{TypeConverter.FloatToStr(Scoresets.GetAssignationCredits(CurrentUserInfo,VipCreditsInfo.Id))}{VipCreditsInfo.Unit} 前往充值[br]
<%set {_name}="续费"%>
<%end if%>
[hr]
<%if {buyId}<=0%>
{_name}一个月VIP会员[br]
┗需要{config.VipMonthsPrice}{VipCreditsInfo.Name},每天{config.VipMonthsGrowing}点VIP成长值.[br]
{_name}三个月VIP会员[br]
┗需要{config.VipThreeMonthsPrice}{VipCreditsInfo.Name},每天{config.VipThreeMonthsGrowing}点VIP成长值.[br]
{_name}六个月VIP会员[br]
┗需要{config.VipSixMonthsPrice}{VipCreditsInfo.Name},每天{config.VipSixMonthsGrowing}点VIP成长值.[br]
{_name}一年的VIP会员[br]
┗需要{config.VipYearPrice}{VipCreditsInfo.Name},每天{config.VipYearGrowing}点VIP成长值.[br]
<%else%>
您选择
<%if {buyId}==1%>
{_name}一个月VIP会员,将付费{config.VipMonthsPrice}{VipCreditsInfo.Name},每天{config.VipMonthsGrowing}点VIP成长值![br]
<%else if {buyId}==2%>
{_name}三个月VIP会员,将付费{config.VipThreeMonthsPrice}{VipCreditsInfo.Name},每天{config.VipThreeMonthsGrowing}点VIP成长值![br]
<%else if {buyId}==3%>
{_name}六个月VIP会员,将付费{config.VipSixMonthsPrice}{VipCreditsInfo.Name},每天{config.VipSixMonthsGrowing}点VIP成长值![br]
<%else if {buyId}==4%>
{_name}一年的VIP会员,将付费{config.VipYearPrice}{VipCreditsInfo.Name},每天{config.VipYearGrowing}点VIP成长值![br]
<%else%>
参数有误[br]
<%end if%>
<%if {buyId}>=1&&{buyId}<=4%>
<<重新选择类型
<%end if%>
<%end if%>
[hr]
VIP会员服务条款[br]
查看VIP等级制度[br]
[hr]
[url=Index.Type]{config.WebSiteTitle}首页[/url][br]
<%end if%>
<%load.template._Foot%>