<div style="height:28px; font-weight:normal;" class="admin_right_top">
	<input onclick="history.back();" value="«返回" class="btn" name="" type="button" />&nbsp;&nbsp;
	<{if $re.fromuserid&&$re.msgtype==1}>
		<input onclick="window.location='main.php?m=message&s=admin_message_sed&id=<{$smarty.get.id}>'" value="<{$lang.reply}>" class="btn" name="" type="button" />
	<{/if}>
	
	<{if $re.is_save!=1}>
		<input onclick="window.location='main.php?m=message&s=admin_message_det&save_id=<{$smarty.get.id}>';" class="btn" name="save" type="submit" value="<{$lang.transferred}>" />
	<{/if}>
	
	<{if $re.iflook==2}>
	<input onclick="window.location='main.php?m=message&s=admin_message_det&remove=<{$smarty.get.id}>';" class="btn" name="del" type="submit" value="彻底删除" />
	<input onclick="window.location='main.php?m=message&s=admin_message_det&recover=<{$smarty.get.id}>';" class="btn" name="del" type="submit" value="<{$lang.recover}>" />
	<{else}>
	<input onclick="window.location='main.php?m=message&s=admin_message_det&deid=<{$smarty.get.id}>';" class="btn" name="del" type="submit" value="<{$lang.del}>" />
	<{/if}>
</div>
<table class="admin_table" border="0" cellpadding="0" cellspacing="0">
<tr><td bgcolor="#F3F3F3" colspan="2"><b><{$re.sub}></b></td></tr>
<{if $re.fromuserid}>
	<tr> 
	  <td colspan="2" bgcolor="#F3F3F3">
	  <table width="100%" cellpadding="0" cellspacing="0">
	   <tr>
	   <td width="15%"><{if $re.msgtype=='2'}><{$lang.receiv}><{else}><{$lang.cname}><{/if}></td>
	   <td>
		<{$re.fromInfo.name}>(<a href="shop.php?uid=<{$re.fromInfo.company_id}>" target="_blank"><{$re.fromInfo.company}></a>)
		
		<{if $re.is_myfriend}>
			<a href="main.php?m=message&s=admin_friends&detail_id=<{$re.is_myfriend}>" target="_blank">
				<img src="image/default/icon.gif" />
			</a>
		<{else}>
			<a target="_blank" href="main.php?m=message&s=admin_friends&friendid=<{$re.fromInfo.userid}>">
				<img src="image/default/add.gif" />
			</a>
		<{/if}>
	   </td>
	   </tr>
	  	<tr> 
		  <td bgcolor="#F3F3F3" ><{$lang.caddr}></td>
		  <td bgcolor="#F3F3F3"><{$re.fromInfo.email}></td>
		</tr>
		<tr> 
		  <td bgcolor="#F3F3F3"  ><{$lang.ctel}></td>
		  <td bgcolor="#F3F3F3"><{$re.fromInfo.tel}></td>
		</tr>
		<tr> 
		  <td bgcolor="#F3F3F3" ><{$lang.date}></td>
		  <td bgcolor="#F3F3F3"><{$re.date}></td>
		</tr>
		</table>
	  </td>
	</tr>
<{elseif $re.fromInfo}>
	<tr> 
	  <td height="23" bgcolor="#F3F3F3" ><{$lang.cinfo}></td>
	  <td bgcolor="#F3F3F3"><{$re.fromInfo}></td>
	</tr>
<{/if}>

<tr> 
  <td colspan="2" valign="top">
  <{$re.con}>
  
  <{if $re.inquire_con}>
  <br /> <b><{$lang.about}></b><br /><{$re.inquire_con}>
  <{/if}>
  
  <{if $re.reply_by}>
  	<br /> <font color="red">请在<{$re.reply_by|date_format}>回复我</font>
  <{/if}>
  
  <{if $re.receive_type}><br />询价类型:<{$re.receive_type}><{/if}>
  </td>
</tr>
</table>	  