View Single Post
  #2295  
Old 10-02-2003, 01:57 AM
NightWalk8r NightWalk8r is offline
 
Join Date: Jul 2002
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
{htmldoctype}
<html>
<head>
<title>$bbtitle - Update profile</title>
$headinclude
</head>
<body>
<SCRIPT LANGUAGE="JAVASCRIPT">
<!--
$racearrays
$classarrays
$typearrays
function updateRaces(){
  with (document.profile.alignment){
    var choice = options[selectedIndex].value;
  }
  document.profile.rpgrace.length = 0;
    choice = eval(choice);
  for (var i=0;i<choice.length;i++){
    with (document.profile.rpgrace){
       options[length] = new Option(choice[i],choice[++i],false,false);
    }
  }
  if ((parseInt(navigator.appVersion) < 5) && (navigator.appName == "Netscape"))  {        history.go(0); 
  }
}

function updateType(){
  with (document.profile.rpggender){
    var gender = options[selectedIndex].value;
  }
  if (gender == "gd1"){
    with (document.profile.rpgclass){
      var rclass = options.selectedIndex;
    }
    rclass = eval(rclass);
    document.profile.rpgtypename.value = typename1[rclass];
    document.profile.rpgtypeid.value = typeid1[rclass];

  } else if(gender == "gd2") {
    with (document.profile.rpgclass){
      var rclass = options.selectedIndex;
    }
    rclass = eval(rclass);
    document.profile.rpgtypename.value = typename2[rclass];
    document.profile.rpgtypeid.value = typeid2[rclass];
  } else {
    document.profile.rpgtypename.value = typename0[0];
    document.profile.rpgtypeid.value = typeid0[0];

  }
  if ((parseInt(navigator.appVersion) < 5) && (navigator.appName == "Netscape"))  {        history.go(0); 
  }
}

function updateClasses(){
  with (document.profile.rpggender){
    var choice = options[selectedIndex].value;
  }
  document.profile.rpgclass.length = 0;
    choice = eval(choice);
  for (var i=0;i<choice.length;i++){
    with (document.profile.rpgclass){
       options[length] = new Option(choice[i],choice[++i],false,false);
    }
  }
  document.profile.rpgtypename.value = typename0[0];
  document.profile.rpgtypeid.value = typeid0[0];
  updateType();
  if ((parseInt(navigator.appVersion) < 5) && (navigator.appName == "Netscape"))  {        history.go(0); 
  }
}
//-->
</script>
$header

<!-- breadcrumb -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
	<td width="100%"><img src="{imagesfolder}/vb_bullet.gif" align="middle" alt="vBulletin">
	<normalfont><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a> &gt;
	<a href="usercp.php?s=$session[sessionhash]">User Control Panel For $bbuserinfo[username]</a> &gt;
	Edit Profile</b></normalfont></td>
</tr>
</table>
<!-- /breadcrumb -->

<br>
$cpnav
<br>

<center>$coppatext</center>

<form name="profile" action="member.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]">

<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr>
	<td bgcolor="{categorybackcolor}" colspan="2"><normalfont color="{categoryfontcolor}"><b>Edit Profile - $bbuserinfo[username]</b></normalfont></td>
</tr>
<tr>
	<td bgcolor="{tableheadbgcolor}" colspan="2"><normalfont color="{tableheadtextcolor}" class="thtcolor"><b>Registration: Required Information</b></normalfont>
	<smallfont color="{tableheadtextcolor}" class="thtcolor">All fields are required.</smallfont></td>
</tr>
$parentemail
<tr>
	<td bgcolor="{secondaltcolor}"><normalfont><b>Email Address:</b></normalfont></td>
	<td bgcolor="{secondaltcolor}"><normalfont><input type="text" class="bginput" name="email" value="$bbuserinfo[email]" size="30" maxlength="150"></normalfont></td>
</tr>
<tr>
	<td bgcolor="{secondaltcolor}"><normalfont><b>Confirm Email Address:</b></normalfont></td>
	<td bgcolor="{secondaltcolor}"><normalfont><input type="text" class="bginput" name="emailconfirm" value="$bbuserinfo[email]" size="30" maxlength="150"></normalfont></td>
</tr>


<tr>
	<td bgcolor="{tableheadbgcolor}" colspan="2"><normalfont color="{tableheadtextcolor}" class="thtcolor"><b>Optional Information</b></normalfont> <smallfont color="{tableheadtextcolor}" class=thtcolor>All information will be viewable by other $bbtitle members.</smallfont></td>
</tr>



<tr>
	<td bgcolor="{secondaltcolor}"><b><normalfont>Homepage:</normalfont></b></td>
	<td bgcolor="{secondaltcolor}"><normalfont><input type="text" class="bginput" name="homepage" value="$bbuserinfo[homepage]" size="30" maxlength="200"></normalfont></td>
</tr>
<tr>
	<td bgcolor="{firstaltcolor}"><b><normalfont>ICQ Number:</normalfont></b></td>
	<td bgcolor="{firstaltcolor}"><normalfont><input type="text" class="bginput" name="icq" value="$bbuserinfo[icq]" size="30" maxlength="30"></normalfont></td>
</tr>
<tr bgcolor="{secondaltcolor}">
	<td><b><normalfont>AOL Instant Messenger Handle:</normalfont></b></td>
	<td><normalfont><input type="text" class="bginput" name="aim" value="$bbuserinfo[aim]" size="30" maxlength="30"></normalfont></td>
</tr>
<tr>
	<td bgcolor="{firstaltcolor}"><b><normalfont>Yahoo Messenger Handle:</normalfont></b></td>
	<td bgcolor="{firstaltcolor}"><normalfont><input type="text" class="bginput" name="yahoo" value="$bbuserinfo[yahoo]" size="30" maxlength="30"></normalfont></td>
</tr>
<tr>
	<td bgcolor="{secondaltcolor}" valign="top"><b><normalfont>Signature:</normalfont></b><br>
	<smallfont>Optional signature you may use to appear at bottom of your posts.</smallfont>
		<p><smallfont>HTML code is $htmlonoff<br>
		<a href="misc.php?s=$session[sessionhash]&amp;action=bbcode">vB Code</A> is $bbcodeonoff<br>
		[img] code is $imgcodeonoff<br>
		<a href="misc.php?s=$session[sessionhash]&amp;action=showsmilies">Smilies</a> are $smiliesonoff
		</smallfont></p></td>
	<td bgcolor="{secondaltcolor}"><textarea name="signature" rows="6" cols="40">$signature</textarea></td>
</tr>
$birthday
$customtext
<tr>
	<td bgcolor="{tableheadbgcolor}" colspan="2"><normalfont color="{tableheadtextcolor}" class="thtcolor"><b>Additional Information</b></normalfont></td>
</tr>
$customfields
<tr>

<td bgcolor="$bgcolor"><normalfont><b>Element Type:</b></normalfont><br>
		<smallfont>The Element type you want to be at the boards.</smallfont></td>
		<td bgcolor="$bgcolor"><normalfont>

		<select name="element">
                       	$elementoptions
		</select>

		</normalfont></td>
		</tr>
<tr>
		<td bgcolor="$bgcolor"><normalfont><b>RPG Alignment:</b></normalfont><br>
		<smallfont>The side you want your character to be on the RPG.</smallfont></td>
		<td bgcolor="$bgcolor"><normalfont>
	            <select name="alignment" onchange="updateRaces()">
	$alignmentoptions
	            </select></normalfont></td>
</tr>
<tr>
		<td bgcolor="$bgcolor"><normalfont><b>RPG Race:</b></normalfont><br>
		<smallfont>The Race you want your character to be on the RPG.</smallfont></td>
		<td bgcolor="$bgcolor"><normalfont>
                            <select name="rpgrace">
	$raceoptions
	            </select></normalfont></td>
</tr>
<tr>
		<td bgcolor="$bgcolor"><normalfont><b>RPG Gender:</b></normalfont><br>
		<smallfont>This would be your RPG Character's Gender, not your gender in real life.</smallfont></td>
		<td bgcolor="$bgcolor"><normalfont>
	            <select name="rpggender" onchange="updateClasses()">
	$genderoptions
	            </select></normalfont></td>
</tr>

<tr>
		<td bgcolor="$bgcolor"><normalfont><b>RPG Class:</b></normalfont><br>
		<smallfont>The Class you want your character to be on the RPG.</td>
		<td bgcolor="$bgcolor"><smallfont>
		<select name="rpgclass" onchange="updateType()">
$classoptions
</select></smallfont>

</td>
</tr>
<tr>
<td bgcolor="$bgcolor"><normalfont><b>RPG Type:</b></normalfont><br><smallfont>Your type is automatically determined by your class.</smallfont></td>

<td bgcolor="$bgcolor" >
<input type="text" class="bginput" name="rpgtypename" value="$rpgtypename" length="30" READONLY><input type="hidden" name="rpgtypeid" value="$rpgtypeid">
</td>
</tr>
<tr>
		<td bgcolor="$bgcolor"><normalfont><b>Build Stats</b></normalfont><br>
		<smallfont>Click here if you want to have stats shown on the board.</smallfont></td>
		<td bgcolor="$bgcolor"><normalfont>
<input type="checkbox" name="updatestats">Update stats
		</normalfont></td>
		</tr>

</table>
</td></tr></table>

<br>

<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
	<td align="center"><normalfont>
	<input type="hidden" name="action" value="updateprofile">
	<input type="submit" class="bginput" name="Submit" value="Submit Modifications" accesskey="s">
	<input type="reset" class="bginput" name="Reset" value="Reset Fields">
	</normalfont></td>
</tr>
</table>

</form>

$footer

</body>
</html>
ok.......that's my modifyprofile template.
what's wrong w/ it? =(
TIA~
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01362 seconds
  • Memory Usage 1,835KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete