<?php
if( !defined('ISDVBBS') ){
	header('HTTP/1.0 404 Not Found');
	exit;
}
?><?php include "header.php";?>
<script language="JavaScript" src="templates/lang/<?=$GLOBALS['fsetting']['lang']?>/js/mymodify.js"></script>
<div id="nav_top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr width="100%">
<td id="user_right_td">
<!---##########################右边样式部分##########################--->
<form action="mymodify.php?t=2&action=update_contact&username=<?=$user_id?>" method=POST name="theForm">
	<div id="tabtitle">
		<div id="topicbodyuser">
		<span>
			<div class="user_nav_topic">
				<table width="96%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td colspan="5" class="title"> -=> <?=$lang['tpl.chgc.str1']?></td>
				</tr>
				  <tr id="user_nav">
					<td class="tdcolor"><?=$lang['template.strings33']?></td>
					<td><?=$lang['template.strings34']?></td>
				  </tr>
				  <tr>
					<td class="tdcolor"><?=$lang['tpl.chgc.str2']?></td>
					<td>
						<input type="password" name="password" value="" size=30 maxlength=30>
						&nbsp;&nbsp;<span id="password_info"><?=$lang['tpl.chgc.str2_desc']?></span>
					</td>
				  </tr>
				  <tr>
					<td class="tdcolor"><?=$lang['tpl.chgc.str3']?></td>
					<td>
						<input type="TEXT" name="homepage" value="<?=$user_homepage?>" size=30 maxlength=100>
						&nbsp;&nbsp;<span id="homepage_info"><?=$lang['tpl.chgc.str3_desc']?></span>
					</td>
				  </tr>
				  <tr>
					<td class="tdcolor"><?=$lang['tpl.chgc.str4']?></td>
					<td>
						<input type="TEXT" name="Email" size=30 maxlength=50 value="<?=$user_email?>">
						&nbsp;&nbsp;<span id="Email_info"><?=$lang['tpl.chgc.str4_desc']?></span>
					</td>
				  </tr>
				  <tr>
					<td class="tdcolor"><?=$lang['tpl.chgc.str5']?></td>
					<td>
						<input type="TEXT" name="Oicq" value="<?=$user_oicq?>" size=30 maxlength=20>
						&nbsp;&nbsp;<span id="Oicq_info"><?=$lang['tpl.chgc.str5_desc']?></span>
					</td>
				  </tr>
				  <tr>
					<td class="tdcolor"><?=$lang['tpl.chgc.str6']?></td>
					<td>
						<input type="TEXT" name="Icq" value="<?=$user_icq?>" size=30 maxlength=20>
						&nbsp;&nbsp;<span id="Icq_info"><?=$lang['tpl.chgc.str6_desc']?></span>
					</td>
				  </tr>
				  <tr>
					<td class="tdcolor"><?=$lang['tpl.chgc.str7']?></td>
					<td>
						<input type="TEXT" name="Msn" value="<?=$user_Msn?>" size=30 maxlength=50>
						&nbsp;&nbsp;<span id="Msn_info"><?=$lang['tpl.chgc.str7_desc']?></span>
					</td>
				  </tr>
				  <tr>
					<td class="tdcolor"><?=$lang['tpl.chgc.str8']?></td>
					<td>
						<input type="TEXT" name="Yahoo" value="<?=$user_Yahoo?>" size=30 maxlength=20>
						&nbsp;&nbsp;<span id="Yahoo_info"><?=$lang['tpl.chgc.str8_desc']?></span>
					</td>
				  </tr>
				  <tr>
					<td class="tdcolor"><?=$lang['tpl.chgc.str9']?></td>
					<td>
						<input type="TEXT" name="UserAim" value="<?=$user_Aim?>" size=30 maxlength=20>
						&nbsp;&nbsp;<span id="UserAim_info"><?=$lang['tpl.chgc.str9_desc']?></span>
					</td>
				  </tr>
				  <tr>
					<td class="tdcolor"><?=$lang['tpl.chgc.str10']?></td>
					<td>
						<input type="TEXT" name="UC" value="<?=$user_UC?>" size=30 maxlength=20>
						&nbsp;&nbsp;<span id="UC_info"><?=$lang['tpl.chgc.str10_desc']?></span>
					</td>
				  </tr>
				  <tr>
					<td colspan='2' align="center">
						<button type=Submit name="Submit" onMousemove="button_move(this)" onMouseout="button_out(this)" ><?=$lang['tpl.chgc.str11']?></button> &nbsp; 
						<button type="reset" name="Submit2" onMousemove="button_move(this)" onMouseout="button_out(this)" ><?=$lang['tpl.chgc.str12']?></button>
					</td>
				  </tr>
				</table><br />
			</div>
		</span>
		</div>
	</div>
</form>
</td><tr>
</table>
<!---########################## end 右边样式部分##########################--->
</div>
<SCRIPT LANGUAGE="JavaScript">
<!--
function checktext(str){
	if (str=="")
	{
	document.getElementById("ThisText").innerHTML="{$lang['tpl.chgp.str3']}"
	}
	else{document.getElementById("ThisText").innerHTML=""}
}
var obj = document.getElementById("topicbodyuser");
var o=obj.document.getElementsByTagName("input");
for (i=0;i<o.length;i++){
	o[i].onfocus=function(){FocusShowInfo(this.name)}
	o[i].onblur=function(){BlurShowInfo(this.name)}
}
function FocusShowInfo(o){
	getObj(o).className = "modifyOver";
	if (getObj(o+"_info"))
	getObj(o+"_info").className = "modifytext";
}
function BlurShowInfo(o){
	getObj(o).className = "";
	if (getObj(o+"_info"))
	getObj(o+"_info").className = "";
}

//-->
</SCRIPT>