<!--<?php print <<<EOT
-->
<table width='$tablewidth' cellspacing=0 cellpadding=0 align=center>
<tr><td align=left><img src='$imgpath/$stylepath/index/home.gif' align=absbottom> 
<b><a href='$db_bfn'>$db_bbsname </a>{#userdb_guide}</b></td></tr></table><br>
<!--
EOT;
if($windid==$userdb['username']){
print <<<EOT
-->
<table width='$tablewidth' cellspacing=1 cellpadding=4 align=center $i_table style='TABLE-LAYOUT: fixed;WORD-WRAP: break-word;'>
	<tr align=center>
		<td class='f_one'><a href='profile.php'>{#profile_index}</a></td>
		<td class='f_one'><a href='profile.php?action=modify'>{#profile_edit}</a></td>
		<td class='f_one'><a href="profile.php?action=show&uid=$winddb[uid]">{#profile_view}</a></td>
		<td class='f_one'><a href="profile.php?action=permission">{#profile_right}</a></td>
<!--
EOT;
if($_G['atclog']){print <<<EOT
-->
		<td class='f_one'><a href="profile.php?action=log">{#profile_log}</a></td>
<!--
EOT;
}print <<<EOT
-->
		<td class='f_one'><a href='userpay.php'>{#currencycp}</a></td>
		<td class='f_one'><a href='profile.php?action=favor'>{#profile_favor}</a></td>
	</tr>
</table>
<!--
EOT;
}print <<<EOT
-->
<br>
<table width='$tablewidth' align=center cellspacing=1 cellpadding=5 align=center $i_table>
<tr><td align='center' class=head colspan=2>{#userdb_info}</td></tr>
<tr><td width=35% class='f_two'>{#username}</td><td class='f_two'>$userdb[username] (
<!--
EOT;
if($userdb['thisvisit']+$db_onlinetime*1.5>$timestamp){print <<<EOT
-->
{#userdb_online} 
<!--
EOT;
} else{print <<<EOT
-->
{#userdb_leave}
<!--
EOT;
}print <<<EOT
-->
)--- <a href='search.php?authorid=$userdb[uid]'>{#userdb_search}</a> 
<a href='search.php?authorid=$userdb[uid]&digest=1'>{#userdb_disgest}
<a href='hack.php?H_name=toolcenter&action=user&uid=$userdb[uid]'>{#userdb_tool}</a>
<a href='show.php?uid=$userdb[uid]'>{#userdb_show}</a>
</td></tr>
<!--
EOT;
if($groupid==3){print <<<EOT
-->
<tr class='f_one'><td>{#userdb_admin}</td>
<td>
[<a href="admin.php?adminjob=setuser&action=edit&uid=$userdb[uid]" target="_blank">{#userdb_edituser}</a>]
[<a href="admin.php?adminjob=banuser&username=$userdb[username]" target="_blank">{#userdb_banuser}</a>]
[<a href="admin.php?adminjob=superdel&a_type=article&action=deltpc&fid=-1&ifkeep=1&author=$userdb[username]&lines=30" target="_blank">{#userdb_deltopic}</a>] 
[<a href="admin.php?adminjob=superdel&a_type=article&action=delrpl&fid=-1&author=$userdb[username]&nums=30" target="_blank">{#userdb_delrpl}</a>]
</td></tr>
<!--
EOT;
}if($systitle){print <<<EOT
-->
<tr><td class='f_one'>{#userdb_system}</td><td class='f_one'>$systitle</td></tr>
<!--
EOT;
}print <<<EOT
-->
<tr><td class='f_two'>{#userdb_level}</td><td class='f_two'>$memtitle</td></tr>
<!--
EOT;
if($md_ifopen){print <<<EOT
-->
<tr><td class='f_two'>{#medal}</td>
<td class='f_two'>
<!--
EOT;
if($userdb['medals']){
foreach($userdb['medals'] as $key=>$value){
if($_MEDALDB[$value][picurl]){print <<<EOT
-->
			<img src="$imgpath/medal/{$_MEDALDB[$value][picurl]}" alt="{$_MEDALDB[$value][name]}"> 
<!--
EOT;
}}}else{print <<<EOT
-->
			{#userdb_nomedal}
<!--
EOT;
}print <<<EOT
-->
</td></tr>
<!--
EOT;
}if($windid==$manager || $groupid==3){print <<<EOT
-->
<tr><td class='f_one'>{#userdb_lastip}</td><td class='f_one'>$logininfo[0]</td></tr>
<!--
EOT;
}print <<<EOT
-->
<tr><td class='f_one'>{#posts}</td><td class='f_one'>$userdb[postnum]</td></tr>
<tr><td class='f_one'>{#digests}</td><td class='f_one'>$userdb[digests]</td></tr>
<tr><td class='f_two'>$db_rvrcname</td><td class='f_two'>$userdb[rvrc] $db_rvrcunit</td></tr>
<tr><td class='f_one'>$db_moneyname</td><td class='f_one'>$userdb[money] $db_moneyunit</td></tr>
<!--
EOT;
if($db_ads){print <<<EOT
-->
<tr><td class='f_two'>$db_creditname</td><td class='f_two'>$userdb[credit] $db_creditunit</td></tr>
<tr><td class='f_two'>{#userdb_credit}$db_creditname</td><td class='f_two'>{#getcredit}</td></tr>
<!--
EOT;
}foreach($_CREDITDB as $key => $value){
$usercredit = $creditdb ? $creditdb[$key][1] : 0;
print <<<EOT
-->
<tr><td class='f_one'>$value[0]($value[2])</td>
<td class='f_one'>$usercredit $value[1]</td></tr>
<!--
EOT;
}if($userdb['honor']){print <<<EOT
-->
<tr><td class='f_one'>{#honor}</td><td class='f_one'>$userdb[honor]</td></tr>
<!--
EOT;
}if($colonydb){print <<<EOT
-->
<tr>
<td class='f_two'>{#profile_colony}</td>
<td class='f_two'>
<!--
EOT;
foreach($colonydb as $key=>$value){print <<<EOT
-->
<a href="hack.php?H_name=colony&cyid=$value[id]&job=view&id=$value[id]" target="_blank">$value[cname]</a> 
<!--
EOT;
}print <<<EOT
-->
</td>
</tr>
<!--
EOT;
}print <<<EOT
-->
<tr><td class='f_two'>{#userdb_img}</td><td class='f_two'>$usericon</td></tr>
<tr><td class='f_one'>Email</td><td class='f_one'>$sendemail</td></tr>
<tr><td class='f_two'>OICQ:</td><td class='f_two'>$userdb[oicq]</td></tr>
<tr><td class='f_one'>ICQ:</td><td class='f_one'>$userdb[icq]</td></tr>
<tr><td class='f_two'>Yahoo:</td><td class='f_two'>$userdb[yahoo]</td></tr>
<tr><td class='f_one'>Msn:</td><td class='f_one'>$userdb[msn]</td></tr>
<tr><td class='f_two'>{#gender}</td><td class='f_two'>
<!--
EOT;
if($userdb[gender]==1){print <<<EOT
-->
{#male}
<!--
EOT;
}elseif($userdb[gender]==2){print <<<EOT
-->
{#female}
<!--
EOT;
}else{print <<<EOT
-->
{#unknown}
<!--
EOT;
}print <<<EOT
-->
</td></tr>
<tr><td class='f_one'>{#birth}</td><td class='f_one'>$userdb[bday]</td></tr>
<tr><td class='f_two'>{#site}</td>
<td class='f_two'><a href="$userdb[site]" target="_blank">$userdb[site]</a></td></tr>
<tr><td class='f_one'>{#userdb_sign}</td>
<td class='f_one'><table style='TABLE-LAYOUT: fixed;WORD-WRAP: break-word'>
<tr><td>$tempsign</td></tr></table>
</td></tr>
<tr><td class='f_two'>{#introduce}</td><td class='f_two'>
<table style='TABLE-LAYOUT: fixed;WORD-WRAP: break-word'>
<tr><td>$tempintroduce</td></tr></table></td></tr>
<tr><td class='f_one'>{#regdate}</td><td class='f_one'>$show_regdate</td></tr>
<!--
EOT;
if($db_ifonlinetime){print <<<EOT
-->
<tr><td class='f_one'>{#oltime}</td><td class='f_one'>$userdb[onlinetime] {#userdb_time}</td></tr>
<!--
EOT;
}print <<<EOT
-->
<tr><td class='f_two'>{#userdb_avepost}</td><td class='f_two'>{#userdb_ave_post}</td></tr>
<tr><td class='f_one'>{#lasttime}</td><td class='f_one'>$lasttime </td></tr>
$printlastpost
<tr><td class='f_two'>{#userdb_action}</td>
<td class='f_two'><a href='message.php?action=write&touid=$userdb[uid]'>
<img src='$imgpath/$stylepath/read/message.gif'></a>
<a href='sendemail.php?username=$rawauthor'>
<img src='$imgpath/$stylepath/read/email.gif'></a>
</td></tr></table>

<br><center><input type=submit value='{#back}' onclick='javascript:history.go(-1)'></center>
<!--
EOT;
?>-->