[inbox]<script type="text/javascript">
$(document).ready(function(){
	var query = $('#msg_query').val();
});
</script>
<div class="clear" style="height:15px;"></div>
<div class="friends_left_head">
  <a id="friends_left_head_activetab" href="/messages" onClick="Page.Go(this.href); return false;">{translate=lang_143}  </a>
  <a href="/messages/outbox" onClick="Page.Go(this.href); return false;">{translate=lang_144}</a>
</div>
<div style="float:left; width:620px; background-color:#fff; padding:10px; padding-right:0px; padding-top:0px; border-radius:4px; border:1px solid#d8d8d8;">
<div class="msg_se_bg">
  <input placeholder="{translate=lang_145}" type="text" id="msg_query" maxlength="130" onKeyPress="if(event.keyCode == 13)messages.search();" />
  <button style="margin-left:10px;" class="float_l" onClick="messages.search(); return false">{translate=lang_146}</button>
  <div class="clear"></div>
</div>
<div class="cover_edit_title" style="margin-left:-10px; margin-bottom:-1px;">{msg-cnt} &nbsp;|&nbsp;
  <a href="/" style="font-weight:normal" onClick="im.settTypeMsg(); return false" id="settTypeMsg">{msg-type}</a>
</div>
[/inbox]
[outbox]<script type="text/javascript">
$(document).ready(function(){
	var query = $('#msg_query').val();
});
</script>
<div class="clear" style="height:15px;"></div>
<div class="friends_left_head">
  <a href="/messages" onClick="Page.Go(this.href); return false;">{translate=lang_143}</a>
  <a id="friends_left_head_activetab" href="/messages/outbox" onClick="Page.Go(this.href); return false;"> {translate=lang_144} </a>
</div>
<div style="float:left; width:620px; background-color:#fff; padding:10px; padding-right:0px; padding-top:0px; border-radius:4px; border:1px solid#d8d8d8;">
<div class="msg_se_bg">
  <input placeholder="{translate=lang_145}" type="text" id="msg_query" maxlength="130" onKeyPress="if(event.keyCode == 13)messages.search(1);" />
  <button style="margin-left:10px;" class="float_l" onClick="messages.search(1); return false">{translate=lang_146}</button>
  <div class="clear"></div>
</div>
<div class="cover_edit_title" style="margin-left:-10px; margin-bottom:-1px;">{msg-cnt}</div>
[/outbox]
[review]
<div class="clear" style="height:15px;"></div>
<div class="friends_left_head">
  <a href="/messages" onClick="Page.Go(this.href); return false;">{translate=lang_143}</a>
  <a href="/messages/outbox" onClick="Page.Go(this.href); return false;">{translate=lang_144}</a>
  <a id="friends_left_head_activetab" href="/" onClick="Page.Go('/messages/show/{mid}'); return false">{translate=lang_147}  </a>
</div>
<div style="float:left; width:620px; background-color:#fff; padding:10px; padding-right:0px; padding-top:0px; border-radius:4px; border:1px solid#d8d8d8;">
[/review]