<?php
$admindir = $admindir ? $admindir : '/mayicms';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-CN"/>
<title>powered by mymps</title>
<style>
body{background-color:white; font-size:12px; margin:0px; padding:0px; color:#72849A;}
a{ color:#72849A; text-decoration:none; }
a:hover{ text-decoration:underline; }
.userid{ font-size:16px; margin-bottom:15px; margin-top:15px;text-align:center;display:block; margin-left:auto; margin-right:auto;}
.userid font{ line-height:30px;}
.detail{ text-align:center;}
.detail a{ font-size:14px; float:left;border-radius:4px; text-align:center; width:90px; height:36px; line-height:36px; margin:0 18px 10px 18px;}
.detail a:hover{ text-decoration:none;}
a.bluer{ background-color:#3F87F5; color:white; }
a.bluer:hover{  background-color:#5796F6;}

a.gray{ background-color:#EBF3FE; color:#3F87F5; }
a.gray:hover{ color:white; background-color:#3F87F5;}
.clear{height:10px;clear:both;visibility:hidden;overflow:hidden}
.clearfix{clear:both;visibility:hidden;overflow:hidden}
</style>
</head>
<body>
<div style="text-align:left; padding:10px">
<span class="userid">
<font><?php echo $tname?$tname.'<br>':'';?><?=$userid?><br>(ID：<font color="red"><?=$uid?></font>，信息：<a href="javascript:void(0);" onclick="parent.window.location.href='..<?=$admindir?>/information.php?keywords=<?=$userid?>&show=userid'" style="color:red;"><u><?=mymps_count("information","WHERE userid = '$userid'")?></u></a>，余额：<a title="点击查看消费记录" href="javascript:void(0);" onclick="parent.window.location.href='..<?=$admindir?>/record.php?userid=<?=$userid?>&do=member&part=money'"><font color="red"><img src="../member/images/mymps_icon_incomes.gif" align="absmiddle"><u><?=$row['money_own']?></u></font></a>，<font <?php if($row['levelid']==2){?>color="#ff6600"<?php }elseif($row['levelid']>2){?>color="red"<?php }?>><?=$levelname?></font>)</font>
</span>
<div class="detail"> 
<a class="bluer" href="..<?=$admindir?>/?mayicms=power&userid=<?=$userid?>&password=<?php echo $password; ?>" target="_blank">ta的后台</a>
<?php if($if_corp==1){?>
<a class="gray" href="<?=Rewrite('store',array('uid'=>$uid))?>" target="_blank">ta的店铺</a>
<?php }else{?>
<a class="gray" href="<?=Rewrite('space',array('user'=>$userid))?>" target="_blank">进入空间</a>
<?php }?>
<a class="gray" href="javascript:void(0);" onclick="parent.window.location.href='..<?=$admindir?>/pm.php?userid=<?=$userid?>'">发站内信</a> 
<a class="gray" href="javascript:void(0);" onclick="parent.window.location.href='..<?=$admindir?>/record.php?do=member&part=money&userid=<?=$userid?>'">消费记录</a> 
<a class="gray" href="javascript:void(0);" onclick="parent.window.location.href='..<?=$admindir?>/member.php?part=pay&id=<?=$uid?>'">给ta充值</a>
<a class="gray" href="javascript:void(0);" onclick="parent.window.location.href='..<?=$admindir?>/member.php?part=default&if_corp=<?php echo $if_corp?1:0;?>&userid=<?=$userid?>'">更多操作</a>
<!--<a class="gray" href="javascript:;" onclick='window.open("..<?=$admindir?>/member.php?part=default&if_corp=<?php echo $if_corp?1:0;?>&userid=<?=$userid?>");parent.closeopendiv();'>更多操作</a>-->
</div>
<div class="clearfix"></div>
</div>
</body>
</html>