<?php include_once tpl('header');?>
<card title="站内短信 - <?php echo setting('webname');?>">
<p align="left">
<?php echo ilink('未读短信('.$newMessageCount.')',url('system',array('s'=>'member','c'=>'message','a'=>'list','do'=>'new')));?> 
<?php echo ilink('所有短信('.$messageCount.')',url('system',array('s'=>'member','c'=>'message','a'=>'list','do'=>'all')));?> 
<?php echo ilink('拒收列表',url('system',array('s'=>'member','c'=>'message','a'=>'ignore')));?>
<br/>
<br/>
【删除短信】
<br/>
<?php echo ilink('删除所有已读短信('.$allIsReadCount.')',url('system',array('s'=>'member','c'=>'message','a'=>'delete','do'=>'read')));?>
<br/>
<?php echo ilink('删除所有未读短信('.$newMessageCount.')',url('system',array('s'=>'member','c'=>'message','a'=>'delete','do'=>'unread')));?>
<br/>
<?php echo ilink('删除所有短信('.$messageCount.')',url('system',array('s'=>'member','c'=>'message','a'=>'delete','do'=>'all')));?>
<br/>
<br/>
【发送短信】
<br/>
<select name="type">
<option value="username">昵称</option>
<option value="uid">UID</option>
</select>
<input type='text' name='msgto' value='' maxlength='16' format='M*m' />
<br/>
标题:<input type='text' name='subject' value='' maxlength='70' format='M*m' />
<br/>
内容:<input type='text' name='message' value='' format='M*m' />
<br/>
<anchor><go href='<?php echo url('system',array('s'=>'member','c'=>'message','a'=>'send'));?>' accept-charset='utf-8' method='post'>
	<postfield name='type' value='$(type)'/>
	<postfield name='msgto' value='$(msgto)'/>
	<postfield name='subject' value='$(subject)'/>
	<postfield name='message' value='$(message)'/>
	</go>提交
</anchor>
<br/>
返回<?php echo ilink('首页',url('index'));?>|<?php echo ilink('书房',url('system',array('s'=>'member')));?>|<?php echo ilink('进度',url('system',array('s'=>'member','c'=>'my','a'=>'progress')));?>
<br/>
<?php include_once tpl('footer');?>