%load.template._AdminHead%>
<%if {errorcount}>0%>
<%load.template._Adminerrmsgbox%>
<%else%>
<%set (DateTime){Birthday}=DateTime.Parse(Userinfo.Birthday)%>
<%set (int){newUserage}=Utils.GetBirthdayToAge(Birthday)%>
<%if {newUserage}!={Userinfo.Userage}%>
<%set (int){Updatestatus}=WebUser.UpdateUserage(newUserage,Userinfo.Seqid)%>
<%end if%>
[breadcrumb][link=Admin.Type]管理首页[/link][link=Admin/UserManage.Type]用户管理[/link][link]修改资料[/link][/breadcrumb]
<%if {pageAction}=="helper"%>
[hr]
操作成功!
<%else%>
<%if {ispost}%>
[hr]
<%if {pageAction}=="credits"%>
<%if {CreditsType}=="add"%>
增加用户积分成功!
<%else%>
编辑用户积分成功!
<%end if%>
<%else if {pageAction}=="medals"%>
编辑用户勋章成功!
<%else if {pageAction}=="group"%>
转移用户分组成功!
<%else%>
编辑用户信息成功!
<%end if%>
编辑其它信息:
用户资料|基本信息|用户积分|用户勋章|转移分组
<%else%>
<%if {pageAction}=="group"%>
用户资料|基本信息|用户积分|用户勋章|转移分组
[hr]
用户昵称:{WmlCode(Userinfo.Nickname)}(ID:{Userinfo.Seqid})
<%set (UserGroupInfo){groupInfo}=UserGroups.GetUserGroupInfo(Userinfo.Groupid)%>
当前分组:{groupInfo.Grouptitle}{WebUtils.GetStarsHtml(groupInfo.Stars)}
<%if {tmpGroupid}<1%>
+请选择转移目标分组
[hr]
<%set (int){i}=0%>
<%code%>
Wapkang.Common.Generic.List UserGroupInfoList=UserGroups.GetUserGroupList();
UserGroupInfoList.Sort(delegate(UserGroupInfo x, UserGroupInfo y) { return (y.Groupid - x.Groupid); });
<%/code%>
<%foreach (UserGroupInfo) info UserGroupInfoList%>
<%if ({Userinfo.Groupid}=={info.Groupid}||({info.Groupid}>4&&{info.Groupid}<8)||{info.Groupid}==11||{info.System}==1||{info.Radminid}==-1||{info.Radminid}>0)&&{info.Groupid}!=7%>
<%set {i}=i+1%>
{i}.<%if {info.Radminid}>0%>[*管]<%end if%>{WmlCode(info.Grouptitle)} <%if !{Utils.InArray(info.Groupid.ToString(),"4,5,9")}%>确认<%end if%>转移
<%end if%>
<%foreach%>
[hr]
>>用户组管理
<%else%>
<%set (UserGroupInfo){TgroupInfo}=UserGroups.GetUserGroupInfo(tmpGroupid)%>
<%if {TgroupInfo}!=null%>
目标分组:{TgroupInfo.Grouptitle} {WebUtils.GetStarsHtml(TgroupInfo.Stars)}
过期时间([s]格式2013-12-10[/s])
<%set (string){dateToString}=WebUtils.IntdateToString(Userinfo.Groupexpiry)%>
<%if {dateToString}=="0"%>
<%set {dateToString}=DateTime.Now.AddMonths(1).ToString("yyyy-MM-dd")%>
<%end if%>
<%if {tmpGroupid}==9%>
VIP每天增加积分点([s]实现VIP升级,VIP每日成长积分点[/s])
VIP当前成长积分点([s]系统根据此值判断VIP阶段/级别[/s])
<%end if%>
转移
<%if {tmpGroupid}==9%>
<%end if%>
<%else%>
目标分组{tmpGroupid} 不存在!
<%end if%>
<%end if%>
<%else if {pageAction}=="credits"%>
用户资料|基本信息|用户积分|用户勋章|转移分组
[hr]
<%set (DataRow){dr}=Scoresets.GetScoreSet().Rows[0]%>
用户昵称:{WmlCode(Userinfo.Nickname)}(ID:{Userinfo.Seqid})
<%if {CreditsType}=="add"%>
<%set (int){CreditsTail}=MyRequest.GetInt("Tail",0)%>
<%if (CreditsTail<1 || CreditsTail>10)%>
+请选择要增加的积分类型
<%foreach scoreInfo Scoresets.GetValidScoreList()%>
<%set (int){scoreId}=TypeConverter.ObjectToInt(scoreInfo["id"])%>
>>增加{scoreInfo[name]}(余额:{TypeConverter.FloatToStr(UserCredits.GetAssignationCredits(Userinfo,scoreId))}{scoreInfo[unit]})
<%foreach%>
<%else%>
<%set (string){scoreName}=ScoreName[CreditsTail]%>
<%set (string){scoreUnit}=ScoreUnit[CreditsTail]%>
当前用户{scoreName}余额:{TypeConverter.FloatToStr(Wapkang.Data.UserCredits.GetUserCredits(Userinfo.Seqid,CreditsTail))}{scoreUnit}
请输入{scoreName}数量([s]正数为增加,负数为减少[/s])
保存记录([s]保存到消费记录列表,用户可以在前台查看[/s])
操作原因([s]保存记录选择"是" ,务必输入原因,用户可以前台查阅[/s])
执行
>>切换编辑积分模式
<%end if%>
<%else%>
积分数量:{Userinfo.Seqid} 提交后自动计算,上限为999999999(积分公式:{Scoresets.GetScoreCalFormula()})
<%foreach scoreInfo Scoresets.GetValidScoreList()%>
<%set (int){scoreId}=TypeConverter.ObjectToInt(scoreInfo["id"])%>
{scoreInfo[name]}:{scoreInfo[unit]}
<%foreach%>
保存记录([s]保存到消费记录列表,用户可以在前台查看[/s])
操作原因([s]保存记录选择"是" ,务必输入原因,用户可以前台查阅[/s])
保存修改
>>切换增加积分模式
<%end if%>
>>查看积分策略配置
<%else if {pageAction}=="medals"%>
用户资料|基本信息|用户积分|用户勋章|转移分组
[hr]
勋章|勋章管理|增加勋章
目标用户:{WmlCode(Userinfo.Nickname)}(ID:{Userinfo.Seqid})
<%set (DataTable){InfoList}=WebMedals.GetMedalsList()%>
<%set (DataTable){ReasonList}=WebMedals.GetMedalLogList(Userinfo.Seqid)%>
<%set (string){Medalspostfield}=""%>
<%set (string){Reasonpostfield}=""%>
<%if {InfoList.Rows.Count}>0%>
<%foreach Info InfoList%>
<%set (string){available}=Info["available"].ToString()%>
<%set (string){image}=Info["image"].ToString()%>
<%set (string){name}=Info["name"].ToString()%>
<%set (string){description}=Info["description"].ToString()%>
<%set (int){Medalsid}=Convert.ToInt32(Info["medalid"].ToString())%>
<%set (bool){isExist}={Utils.InArray(Medalsid.ToString(),Userinfo.Medals)}%>
<%if {available}=="1"&&image!=""%>
{image}
名称:{Utils.HtmlEncode(name)}
说明:<%if {description.Trim()}!=""%>{Utils.HtmlEncode(description)}<%else%>无<%end if%>
授予/收回理由:
<%set {Medalspostfield}=Medalspostfield+""%>
<%set {Reasonpostfield}=Reasonpostfield+""%>
<%end if%>
<%foreach%>
<%else%>
尚未增加勋章
<%end if%>
提交
{Medalspostfield}
{Reasonpostfield}
<%else%>
用户资料|基本信息|用户积分|用户勋章|转移分组
[hr]
})
删除以上头像:(非系统头像有效)
用户编号:{Userinfo.Seqid}
用户账号:
手机号码:
用户密码:不修改请留空
电子邮箱:
邮箱状态:
用户昵称:
用户性别:
用户生日:
注册时间:
最后活动:
上次访问:
在线时长:分钟
最后登录:(IP)
注册账号:(IP)
发帖数量:
精帖数量:
回帖数量:
每页记录:显示条记录
每页文字:显示个字
每页图片:显示张图片
登录隐身:
新消息方式:
加友验证方式:
登录验证密码设置:(用户组设置项优先于此设置)
支付安全设置:(如果用户未设置支付密码此项设置无效)
用户签名:
自我介绍:
自定义头衔:
MSN帐号:
QQ号码:
真实姓名:
身份证号码:
联系电话号码:
保存修改
<%end if%>
<%end if%>
<%end if%>
[hr]
[breadcrumb][link=Admin.Type]管理首页[/link][link=Admin/UserManage.Type]用户管理[/link][link]修改资料[/link][/breadcrumb]
<%end if%>
<%load.template._AdminFoot%>