<?php
if( !defined('ISDVBBS') ){
	header('HTTP/1.0 404 Not Found');
	exit;
}
?>
<!--<?php
$EncodedUserName =urlencode($UserName);
$UserFace=strtolower($UserFace);
if(file_exists($UserFace)){
	$UserFace='<img src='.$UserFace.' width=20 height=20 align=absmiddle>';
}
else{
	$UserFace='';
}
print <<<EOT
-->

<!-- dispuser.php||用户资料显示页面--最近活动部分 -->
<table cellspacing="0" cellpadding="0" class="mainbox tableborder" style="border-bottom:none;">
  <tr>
	<th id=tabletitlelink style="text-align:center"><a href="query.php?stype=1&nsearch=3&keyword={$EncodedUserName}&searchdate=all&isweb=1">{$lang['tpl.str1']}</a></th>
	<th id=tabletitlelink style="text-align:center"><a href="query.php?stype=6&nsearch=0&psearch=0&keyword={$EncodedUserName}&isweb=1">{$lang['tpl.str2']}</a></th>
	<th id=tabletitlelink style="text-align:center"><a href="query.php?stype=4&nsearch=0&psearch=0&keyword={$EncodedUserName}&isweb=1">{$lang['tpl.str3']}</a></th>
	<th id=tabletitlelink style="text-align:center"><a href="show.php?username={$EncodedUserName}">{$lang['tpl.str4']}</a></th>
  </tr>
</table>

<!-- dispuser.php||用户资料显示页面--标题 -->

<table border=0 cellspacing=0 cellpadding=0 class="mainbox tableborder" style="border-bottom:none;">
  <tr align="left">
	<th nowrap >{$UserFace} <b><font color="#ff6600">{$UserName}</font></b> {$lang['tpl.str5']}</th>
	<th nowrap width="*" >{$usermagicface}&nbsp;</th>
	<th nowrap style="text-align:right">{$lang['tpl.str6']}[{$WhereUser}]<img src="{$Pic_Stats}stats.gif" align=absmiddle>{$lang['tpl.str7']}{$UserStats}{$UserOnTime}</th>
  </tr>
</table>


<!--
EOT;
if( $foundUseMagic > 0 ){
	$magicfaceid = $foundUseMagic;
	$usermagicface = <<<EOT
-->

<!--魔法表情部分，用于资料浏览页面-->
<div id="MagicFace" Style="position:absolute;z-index:110;visibility:hidden;"></div>
<div>
<a href="javascript:DispMagicEmot({$magicfaceid},350,500)">
{$lang['tpl.str8']}</a>
</div>
<SCRIPT LANGUAGE="JavaScript">
<!--
function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  obj=document.getElementById("MagicFace");
  for (i=0; i<(args.length-2); i+=3) if (obj) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function DispMagicEmot(MagicID,H,W){
	MagicFaceUrl = "Dv_plus/tools/magicface/swf/" + MagicID + ".swf";
	var obj = document.getElementById("MagicFace");
	if (obj){
		obj.innerHTML = '<OBJECT codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + W + '" height="' + H + '"><PARAM NAME=movie VALUE="'+ MagicFaceUrl +'"><param name=menu value=false><PARAM NAME=quality VALUE=high><PARAM NAME=play VALUE=false><param name="wmode" value="transparent"><embed src="' + MagicFaceUrl +'" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="' + W + '" height="' + H + '"></embed>';
		obj.style.top = (document.body.scrollTop+((document.body.clientHeight-300)/2))+"px";
		obj.style.left = (document.body.scrollLeft+((document.body.clientWidth-480)/2))+"px";
		obj.style.visibility = "visible";
		//MagicID += Math.random();
		setTimeout("MM_showHideLayers('MagicFace','','hidden')",5000);
		//NowMeID = MagicID;
	}
}
DispMagicEmot({$magicfaceid},350,500);
//-->
</SCRIPT>

<!--
EOT;
} else{
	$usermagicface = '';
}
if( $setUserInfo == 1 || $showUserID == $userid ){
	if($UserPhoto==''){
		$UserPhoto='';
	}
	else{
		$UserPhoto='<img src='.$UserPhoto.' border=0>';
		if(strpos($UserPhoto,'forum')===false){
			$UserPhoto=str_replace('uploadfile/','uploadfile/forum/',$UserPhoto);
		}
	}
	print <<<EOT
-->
<!-- dispuser.php||用户资料显示页面--基本资料部分 -->
<table cellspacing="0" cellpadding="0" border=0 align=center class="mainbox tableborder">
<col width="20%" ><col width=*><col width="40%" > 
  <tr >
	<th colspan=2 >{$lang['tpl.str9']}</th>
	<td rowspan=12 style="border-top:none;border-left:1px solid #E9EFF4 " width="40%" valign=top>{$UserPhoto}&nbsp;</td>
  </tr>   
<tr align="left"> 
<td class="tablebody6" align=right>{$lang['tpl.str10']}</td>
<td class="tablebody5">{$UserSex}&nbsp;</td>
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>{$lang['tpl.str11']}</td>
<td class="tablebody5">{$UserBirthday}&nbsp;</td>
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>{$lang['tpl.str12']}</td>
<td class="tablebody5">{$Pic_Star}&nbsp;</td>
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>email：</td>
<td class="tablebody5"><a href="mailto:{$UserEmail}">{$UserEmail}&nbsp;</a></td>
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>{$lang['tpl.str13']}QQ：</td>
<td class="tablebody5">{$UserOicq}&nbsp;</td>
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>ICQ：</td>
<td class="tablebody5">{$UserIcq}&nbsp;</td>
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>MSN：</td>
<td class="tablebody5">{$UserMsn}&nbsp;</td>
</tr>
<tr align="left"> 
<td align=right>AIM：</td>
<td>{$UserAIM}&nbsp;</td>
</tr>
<tr align="left"> 
<td align=right>YAHOO：</td>
<td>{$UserYahoo}&nbsp;</td>
</tr>
<tr align="left"> 
<td align=right>UC：</td>
<td>{$UserUC}&nbsp;</td>
</tr>
<tr align="left"> 
<td align=right>{$lang['tpl.str14']}</td>
<td><a href="{$UserHomePage}" target=_blank>{$UserHomePage}</a>&nbsp;</td>
</tr>
<tr align="left"> 
<td align=right valign=top>&nbsp;</td>
<td>&nbsp;</td>
<td align=center>
<script type="text/javascript">var touser = '{$EncodedUserName}';</script>
<b><a href="#" onclick="openScript('plus_tools_infosetting.php?action=0&ToUserID={$UserID}',500,400)">{$lang['tpl.str15']}</a> | <b><a href="javascript:openScript('messanger.php?action=new&amp;touser='+touser,500,400)">{$lang['tpl.str16']}</a> | 
<a href="friendlist.php?action=addF&myFriend={$EncodedUserName}" target=_blank>{$lang['tpl.str17']}</a></b>
</td>
</tr></table><br>

<!-- dispuser.php||用户资料显示页面--详细资料部分 -->
<table cellspacing="0" cellpadding="0" align=center class="mainbox tableborder">
<col width="20%" ><col width=*><col width=40% > 
  <tr >
	<th colspan=2 >{$lang['tpl.str18']}</th>
	<td rowspan=14 style="border-top:none;border-left:1px solid #E9EFF4 " width="40%" valign=top>
	<br><b>{$lang['tpl.str19']}</b><br>{$UserCharacter}
	<br><br><hr size=1 style="width:98%;border-style:dotted;color: #000000;"><br>
	<b>{$lang['tpl.str20']}</b><br>{$User_Personal}
	</td>
  </tr>   
<tr align="left"> 
<td class="tablebody6" align=right>{$lang['tpl.str21']}</td>
<td class="tablebody5">{$UserRealName}&nbsp;</td>
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>{$lang['tpl.str22']}</td>
<td class="tablebody5">{$UserCountry}&nbsp;</td>
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>{$lang['tpl.str23']}</td>
<td class="tablebody5">{$UserPhone}&nbsp;</td>
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>{$lang['tpl.str24']}</td>
<td class="tablebody5">{$UserAddress}&nbsp;</td>
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>{$lang['tpl.str25']}</td>
<td class="tablebody5">{$UserProvince}&nbsp;</td>
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>{$lang['tpl.str26']}</td>
<td class="tablebody5">{$UserCity}&nbsp;</td>
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>{$lang['tpl.str27']}</td>
<td class="tablebody5">{$UserShengXiao}&nbsp;</td>
</tr>
<tr align="left">
<td class="tablebody6" align=right>{$lang['tpl.str28']}</td>
<!--
EOT;
if($UserBlood) {
print <<<EOT
-->
<td class="tablebody5">{$UserBlood} {$lang['tpl.str29']} &nbsp;</td>
<!--
EOT;
} else {
print <<<EOT
-->
<td class="tablebody5">&nbsp;</td>
<!--
EOT;
}
print <<<EOT
-->
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>{$lang['tpl.str30']}</td>
<td class="tablebody5">{$UserBelief}&nbsp;</td>
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>{$lang['tpl.str31']}</td>
<td class="tablebody5">{$UserOccupation}&nbsp;</td>
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>{$lang['tpl.str32']}</td>
<td class="tablebody5">{$UserMarital}&nbsp;</td>
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>{$lang['tpl.str33']}</td>
<td class="tablebody5">{$UserEducation}&nbsp;</td>
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>{$lang['tpl.str34']}</td>
<td class="tablebody5">{$UserCollege}&nbsp;</td>
</tr></table><br>

<!--
EOT;
}
print <<<EOT
-->

<!-- dispuser.php||用户资料显示页面--论坛属性部分 -->
<table cellspacing="0" cellpadding="0" align=center  class="mainbox tableborder">
  <tr >
	<th colspan=5 >{$lang['tpl.str35']}</th>
  </tr>   
<tr align="left">
<td class="tablebody6" width="15%" align=right>{$lang['tpl.str36']}</td>
<td class="tablebody6" width="35%" ><b>{$UserEP}</b></td>
<td class="tablebody6" width="15%" align=right >{$lang['tpl.str37']}</td>
<td class="tablebody6" width="35%"><b>{$UserBest}</b>{$lang['tpl.str38']}</td>
<td class="tablebody5">&nbsp;</td>
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>{$lang['tpl.str39']}</td>
<td class="tablebody6"><b>{$UserCP}</b></td>
<td align=right class="tablebody6">{$lang['tpl.str40']}</td>
<td class="tablebody6"><b>{$UserPost}</b> {$lang['tpl.str38']}</td>
<td class="tablebody5">&nbsp;</td>
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>{$lang['tpl.str41']}</td>
<td class="tablebody6"><b>{$UserClass}</b></td>
<td align=right class="tablebody6">{$lang['tpl.str42']}</td>
<td class="tablebody6"><b><font color="{$color}">{$UserDel}</font></b> {$lang['tpl.str38']}
<td class="tablebody5">&nbsp;</td>
</td>
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>{$lang['tpl.str43']}</td>
<td class="tablebody6"><b><font color="{$color}">{$UserPower}</font></b></td>
<td align=right class="tablebody6">{$lang['tpl.str44']}</td>
<td class="tablebody6"><font color="{$color}"><b>{$UserDelPC}</b></font> 
<td class="tablebody5">&nbsp;</td>
</td>
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>{$lang['tpl.str45']}</td>
<td class="tablebody6"><b><font color=gray>{$UserGroup}</font>&nbsp;</b>
</td>
<td class="tablebody6" align=right>{$lang['tpl.str46']}</td>
<td class="tablebody6"><b>{$UserLogins}</b></td>
<td class="tablebody5">&nbsp;</td>
</tr>
<tr align="left"> 
<td class="tablebody6" align=right>{$lang['tpl.str47']}</td>
<td class="tablebody6"><b>{$UserJoinDate}</b></td>
<td class="tablebody6" align=right>{$lang['tpl.str48']}</td>
<td class="tablebody6"><b>{$UserLastLogin}</b></td>
<td class="tablebody5">&nbsp;</td>
</tr></table><br>
<!-- dispuser.php||用户资料显示页面--资产情况部分 -->
<table  cellspacing="0" cellpadding="0" align=center class="mainbox tableborder">
  <tr >
	<th colspan=4 >{$lang['tpl.str49']}</th>
  </tr>   
<tr align="left"> 
<td class="tablebody6" width="15%" align=right>{$lang['tpl.str50']}</td>
<td width="35%" class="tablebody6"><b>{$UserWealth}</b>&nbsp;</td>
<td width="50%" colspan=2 valign=top rowspan=4 style="border-left:1px solid #E9EFF4 ">{$lang['tpl.str51']}
<hr size=1 width=100 align=left>{$UserAdmin}&nbsp;<br>
</td>
</tr>
<tr align="left"> 
<td align=right>{$lang['tpl.str52']}</td>
<td><b>{$UserStock}</b></td>
</tr>
<tr align="left">
<td align=right>{$lang['tpl.str53']}</td>
<td><b>{$UserBank}</b></td>
</tr>
<tr align="left">
<td align=right>{$lang['tpl.str54']}</td>
<td><b>{$UserAssets}</b></td>
</tr></table><br>

<!--
EOT;
if( $supermaster || $master || ( $groupsetting[43] == 1 && $groupsetting[28] == 1 && $groupsetting[29] == 1 ) ):
	print <<<EOT
-->
<table cellspacing="0" cellpadding="0" align=center class="mainbox tableborder" style="border-top:none;">
<tr align="left"><th height="21" align=left colspan=2>{$lang['tpl.str55']}</th></tr>
<tr align="left"><td class="tablebody5" height=25 colspan=2>
<B>{$lang['tpl.str56']}</B>{$lang['tpl.str77']}
<a href="admin_lockuser.php?action=lock_1&name={$EncodedUserName}" title={$lang['tpl.str58']}>{$lang['tpl.str57']}</a> | 
<a href="admin_lockuser.php?action=lock_2&name={$EncodedUserName}" title={$lang['tpl.str60']}>{$lang['tpl.str59']}</a> | 
<a href="admin_lockuser.php?action=lock_3&name={$EncodedUserName}" title={$lang['tpl.str62']}>{$lang['tpl.str61']}</a> | 
<a href="admin_lockuser.php?action=power&name={$EncodedUserName}" title={$lang['tpl.str64']}>{$lang['tpl.str63']}</a> | 
<a href="admin_lockuser.php?action=getpermission&name={$EncodedUserName}&toid={$UserID}">{$lang['tpl.str65']}</a>{$lang['tpl.str78']}
</td></tr>
<tr align="left">
<FORM METHOD=POST ACTION="admin_lockuser.php?action=deltopic">
<td class="tablebody6" valign=middle width="50%">
<B>{$lang['tpl.str66']}</B>{$lang['tpl.str67']}&nbsp;
<input type="hidden" value="{$UserID}" name="toid">
<input type="hidden" value="{$UserName}" name="name">
<select name="deltopicdate" size=1>
<option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option>
</select>&nbsp;{$lang['tpl.str68']}&nbsp;<button type="submit" onMousemove="button_move(this)" onMouseout="button_out(this)" name="submit" >{$lang['tpl.str74']}</button>
</td>
</form>
<FORM METHOD=POST ACTION="admin_lockuser.php?action=deluserreply">
<td class="tablebody5" width="50%">{$lang['tpl.str69']}&nbsp;
<input type="hidden" value="{$UserID}" name="toid">
<input type="hidden" value="{$UserName}" name="name">
<select name="deltopicdate" size=1><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option>
</select>&nbsp;{$lang['tpl.str70']} 
<select size=1 name="delbbs">
{$UseTable}
</select>
{$lang['tpl.str71']}&nbsp;<button type="submit" name="submit" onMousemove="button_move(this)" onMouseout="button_out(this)" >{$lang['tpl.str74']}</button>
</td>
</FORM></tr>
<tr align="left"><td class="tablebody5" valign=middle height=25 colspan=2>
<B>{$lang['tpl.str72']}</B>
<a href="topicother.php?t=1&action=lookip&ip={$UserIP}">{$UserIP}</a>&nbsp;&nbsp;{$lang['tpl.str73']}
</td></tr>
</table>

<!--
EOT;
endif;
?>-->