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> >
<a href="usercp.php?s=$session[sessionhash]">User Control Panel For $bbuserinfo[username]</a> >
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]&action=bbcode">vB Code</A> is $bbcodeonoff<br>
[img] code is $imgcodeonoff<br>
<a href="misc.php?s=$session[sessionhash]&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~