⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admindomodifyaccount.pl

📁 这个社区是虚拟社区使用的程序
💻 PL
字号:
################################################################################ AdminDoModifyAccount.pl                                                     ################################################################################# UltraBoard Ver. 1.61 by UltraScripts.com                                    ## Scripts written by Jacky W.W. Yung, WebMaster@UltraScripts.com              ## Available from http://www.UltraScripts.com/UltraBoard/                      ## --------------------------------------------------------------------------- ## PROGRAM NAME : UltraBoard                                                   ## VERSION : 1.61                                                              ## LAST MODIFIED : 30/06/1999                                                  ## =========================================================================== ## COPYRIGHT NOTICE :                                                          ##                                                                             ## Copyright (c) 1999 Jacky Yung. All Rights Reserved.                         ##                                                                             ## This program is free software; you can change or modify it as you see fit.  ## However, modified versions cannot be sold or distributed.  You cannot alter ## the copyright and "powered by" notices throughout the scripts. These        ## notices must be clearly visible to the end users.                           ##                                                                             ## WARRANTY DISCLAIMER:                                                        ##                                                                             ## THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ## ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR       ## FITNESS FOR A PARTICULAR PURPOSE.                                           ################################################################################################################################################################ DoModifyAccount                                                             ################################################################################sub DoModifyAccount {	@MemberInfo=&GetMemberData($in{'MemberID'});	open(GROUPS,"$MembersPath/Groups.db")||&CGIError("Couldn't open/read the Groups.db file<br>\nPath: $MembersPath<br>\nReason : $!");		flock(GROUPS,1) if ($FLock);		@GROUPS_DATA=<GROUPS>;	close(GROUPS);	for (my ($i)=0;$i<=$#GROUPS_DATA;$i++) {		@GroupInfo=&DecodeDBOutput($GROUPS_DATA[$i]);		if ($GroupInfo[0] ne "administrator") {			push (@Groups, $GroupInfo[1]." ($GroupInfo[0])", $GroupInfo[0]);		}	}###############################################################################	$HTML.=	&Table($TableWidth,$TableAlign,"","6","","").                &Tr("","","").					&Td("","","","","","","nowrap","","").						&Form("UBAdmin.$Ext","POST","","").                        &HiddenBox("Session",$SessionID).			       "</td>".				"</tr>".				&Tr("","","").					&Td("","","","","RIGHT","","","","").                        &GetMenuList.					"</td>".				"</tr>".                &Tr("","","").					&Td("","","","","","","nowrap","","").						"</form>".						&Form("UBAdmin.$Ext","POST","","").						&HiddenBox("Action","DoModifyAccount2").						&HiddenBox("MemberID",$in{'MemberID'}).						&HiddenBox("OldEmail",$MemberInfo[4]).						&HiddenBox("OldNickName",$MemberInfo[1]).                        &HiddenBox("OldGroup",$MemberInfo[3]).						&HiddenBox("Session",$SessionID).					"</td>".				"</tr>".			"</table>".			&BTable($TableWidth,$TableAlign,"0","0",$TableCellSpacing,$TableCellPadding,$TableBorderColor,"","").				&Tr("","",$HeaderBGColor).					&Td("","","2","","","","","","").						&Font($FontFace,$HeaderTextSize,$HeaderTextColor).							"<b>MODIFY ".uc($MemberInfo[0])." ACCOUNT</b>".						"</font>".					"</td>".				"</tr>".				&Tr("","",$CategoryBGColor).					&Td("","","2","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							"<b>Password (require)</b><br>".							&Font("",$CategoryDesTextSize,$CategoryTextColor).								"password can be up to 26 characters with letters or numbers, and it is case-sensitive! if you don't want to change the password, please leave it blank.".							"</font>".						"</font>".					"</td>".				"</tr>".				&Tr("","",$RowOddBGColor).					&Td("","","2","","","","",$ColumnOddBGColor,"").						&PasswordBox("MOD_NewPassword","",$TextBoxSize,"26","width:$IETextBoxSize").					"</td>".				"</tr>".				&Tr("","",$CategoryBGColor).					&Td("","","2","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							"<b>Verfiy Password (require)</b><br>".							&Font("",$CategoryDesTextSize,$CategoryTextColor).								"please enter the password again.".							"</font>".						"</font>".					"</td>".				"</tr>".				&Tr("","",$RowOddBGColor).					&Td("","","2","","","","",$ColumnOddBGColor,"").						&PasswordBox("MOD_VerfiyNewPassword","",$TextBoxSize,"","width:$IETextBoxSize").					"</td>".				"</tr>".				&Tr("","",$CategoryBGColor).					&Td("","","2","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							"<b>Members Group</b>".						"</font>".					"</td>".				"</tr>".				&Tr("","",$RowOddBGColor).					&Td("","","2","","","","",$ColumnOddBGColor,"").						&Select("MOD_Group","","width:$IETextBoxSize","",$MemberInfo[3],							@Groups						).					"</td>".				"</tr>".				&Tr("","",$CategoryBGColor).					&Td("","","2","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							"<b>Status</b>".						"</font>".					"</td>".				"</tr>".				&Tr("","",$RowOddBGColor).					&Td("","","2","","","","",$ColumnOddBGColor,"").						&Select("MOD_Status","","width:$IETextBoxSize","",$MemberInfo[6],							"Activate","Activate",							"Disactivate","Disactivate"						).					"</td>".				"</tr>".				&Tr("","",$CategoryBGColor).					&Td("","","2","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							"<b>Nick Name (require)</b><br>".							&Font("",$CategoryDesTextSize,$CategoryTextColor).								"his/her nick name can be up to 20 characters, it will used in his/her every message.".							"</font>".						"</font>".					"</td>".				"</tr>".				&Tr("","",$RowOddBGColor).					&Td("","","2","","","","",$ColumnOddBGColor,"").						&TextBox("MOD_NickName",$MemberInfo[1],$TextBoxSize,"20","width:$IETextBoxSize").					"</td>".				"</tr>".				&Tr("","",$CategoryBGColor).					&Td("","","2","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							"<b>Rank Level (require)</b><br>".							&Font("",$CategoryDesTextSize,$CategoryTextColor).								"Please modify user's rank level,Second number is user's Exp(Don't MODIFY THIS!).".							"</font>".						"</font>".					"</td>".				"</tr>".				&Tr("","",$RowOddBGColor).					&Td("","","2","","","","",$ColumnOddBGColor,"").						&TextBox("MOD_Rank",$MemberInfo[23],$TextBoxSize,"100","width:$IETextBoxSize").					"</td>".				"</tr>".				&Tr("","",$CategoryBGColor).					&Td("","","2","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							"<b>Sex (require)</b><br>".							&Font("",$CategoryDesTextSize,$CategoryTextColor).								"Male or Female .".							"</font>".						"</font>".					"</td>".				"</tr>".				&Tr("","",$RowOddBGColor).					&Td("","","2","","","","",$ColumnOddBGColor,"").						&Select("MOD_Sex","","width:$IETextBoxSize","",$MemberInfo[22],							"Male","male",							"Female","female"						).					"</td>".				"</tr>".				&Tr("","",$CategoryBGColor).					&Td("","","2","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							"<b>VR Money (require)</b><br>".							&Font("",$CategoryDesTextSize,$CategoryTextColor).								"VR Money.".							"</font>".						"</font>".					"</td>".				"</tr>".				&Tr("","",$RowOddBGColor).					&Td("","","2","","","","",$ColumnOddBGColor,"").						&TextBox("MOD_Money",$MemberInfo[18],$TextBoxSize,"20","width:$IETextBoxSize").					"</td>".				"</tr>".				&Tr("","",$CategoryBGColor).					&Td("","","2","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							"<b>Email (require)</b><br>".							&Font("",$CategoryDesTextSize,$CategoryTextColor).								"please use his/her real email address. ".							"</font>".						"</font>".					"</td>".				"</tr>".				&Tr("","",$RowOddBGColor).					&Td("","","2","","","","",$ColumnOddBGColor,"").						&TextBox("MOD_Email",$MemberInfo[4],$TextBoxSize,"","width:$IETextBoxSize").					"</td>".				"</tr>".				&Tr("","",$CategoryBGColor).					&Td("","","2","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							"<b>Home Page</b>".						"</font>".					"</td>".				"</tr>".				&Tr("","",$RowOddBGColor).					&Td("","","2","","","","",$ColumnOddBGColor,"").						&TextBox("MOD_HomePage",$MemberInfo[8],$TextBoxSize,"","width:$IETextBoxSize").					"</td>".				"</tr>".				&Tr("","",$CategoryBGColor).					&Td("","","2","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							"<b>Location</b>".						"</font>".					"</td>".				"</tr>".				&Tr("","",$RowOddBGColor).					&Td("","","2","","","","",$ColumnOddBGColor,"").						&TextBox("MOD_Location",$MemberInfo[9],$TextBoxSize,"","width:$IETextBoxSize").					"</td>".				"</tr>".				&Tr("","",$CategoryBGColor).					&Td("","","2","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							"<b>ICQ Number</b>".						"</font>".					"</td>".				"</tr>".				&Tr("","",$RowOddBGColor).					&Td("","","2","","","","",$ColumnOddBGColor,"").						&TextBox("MOD_ICQ",$MemberInfo[13],$TextBoxSize,"","width:$IETextBoxSize").					"</td>".				"</tr>".				&Tr("","",$CategoryBGColor).					&Td("","","2","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							"<b>Age</b>".						"</font>".					"</td>".				"</tr>".				&Tr("","",$RowOddBGColor).					&Td("","","2","","","","",$ColumnOddBGColor,"").						&TextBox("MOD_Age",$MemberInfo[10],$TextBoxSize,"2","width:$IETextBoxSize").					"</td>".				"</tr>".				&Tr("","",$CategoryBGColor).					&Td("","","2","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							"<b>Occupation</b>".						"</font>".					"</td>".				"</tr>".				&Tr("","",$RowOddBGColor).					&Td("","","2","","","","",$ColumnOddBGColor,"").						&TextBox("MOD_Occupation",$MemberInfo[11],$TextBoxSize,"","width:$IETextBoxSize").					"</td>".				"</tr>".				&Tr("","",$CategoryBGColor).					&Td("","","2","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							"<b>Interests</b>".						"</font>".					"</td>".				"</tr>".				&Tr("","",$RowOddBGColor).					&Td("","","2","","","","",$ColumnOddBGColor,"").						&TextBox("MOD_Interests",$MemberInfo[12],$TextBoxSize,"","width:$IETextBoxSize").					"</td>".				"</tr>".				&Tr("","",$CategoryBGColor).					&Td("","","2","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							"<b>Comments</b>".						"</font>".					"</td>".				"</tr>".				&Tr("","",$RowOddBGColor).					&Td("","","2","","","","",$ColumnOddBGColor,"").						&TextArea("MOD_Comments",$MemberInfo[14],$TextBoxSize,"3","VIRUAL","width:$IETextBoxSize").					"</td>".				"</tr>";	if ($UseSignatures) {		$HTML.=	&Tr("","",$CategoryBGColor).					&Td("","","2","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							"<b>Signature</b><br>".							&Font("",$CategoryDesTextSize,$CategoryTextColor).								"the signature will appear at bottom of his/her every posts. you can use ultraboard codes on this signature.".							"</font>".						"</font>".					"</td>".				"</tr>".				&Tr("","",$RowOddBGColor).					&Td("","","2","","","","",$ColumnOddBGColor,"").						&TextArea("MOD_Signature",&DecodeUBCodes($MemberInfo[15]),$TextBoxSize,"5","$TextAreaType","width:$IETextBoxSize").					"</td>".				"</tr>";	}	$HTML.=		&Tr("","",$CategoryBGColor).					&Td("20","","","","","","","","").						&Checkbox("MOD_ShowEmail","on","",$MemberInfo[17]).					"</td>".					&Td("100%","","","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							" <b>Show this member Email Address?</b>".						"</font>".					"</td>".				"</tr>".				&Tr("","",$CategoryBGColor).					&Td("","","2","","","","","","").						"<center>".&Submit("","MODIFY THIS MEMBER ACCOUNT","width:$IETextBoxSize")."</center>".					"</td>".				"</tr>".				&Tr("","",$MenuBGColor).					&Td("","","2","","","","","","").						&PrintVersion().					"</td>".				"</tr>".			"</table></td></tr></table>".			"</form>";	&PrintTheme("$UBName Administrator Center - Modify Member Account",$HTML);	exit;}###############################################################################1;# End of DoModifyAccount Function###############################################################################

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -