<!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=gb2312" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="generator" content="anxinMall v{anxinMall:global.cfg_version}" />
<meta name="author" content="www.xuzhou.it" />
<title>短消息查阅与回复管理 - {anxinMall:global.cfg_sitename} - Powered by anxinMall</title>
<link rel="stylesheet" href="/skin/default/style/common.css" type="text/css" />
<link rel="stylesheet" href="/skin/default/style/member.css" type="text/css" />
<script type="text/javascript" src="/file/js/config.js"></script>
<script type="text/javascript" src="/file/js/jquery.js"></script>
<script type="text/javascript" src="/file/js/jquery.thickbox.js"></script>
<script type="text/javascript" src="/file/js/jquery.asyncbox.js"></script>
<script type="text/javascript" src="/skin/default/js/common.js"></script>
<script type="text/javascript"> 
$(document).ready(function() { 
	$("#selectAll").click(function() { 
		$(".id").each(function() { 
			if($(this).attr("checked"))
			{
				$(this).attr("checked", false); 
			}
			else
			{
				$(this).attr("checked", true); 
			}
		}); 
	}); 

	var ids=""; 

	$("#delete").click(function() {
		$("[.id][checked]").each(function(){ids+=$(this).val()+",";});
		if (ids==""){$.error('请选择要删除的短消息');return false}	
			$.confirm("删除后不可恢复，确定要删除吗？",'删除确认',function(action){
				if(action == 'ok'){
					window.location.href = "message_action.asp?page={anxinMall:asp}response.write request.querystring("page"){/anxinMall:asp}&action=delete&id="+ids;
				}
			});
	});
	
	$("#refresh").click(function() {
		$("[.id][checked]").each(function(){ids+=$(this).val()+",";});
		if (ids==""){$.error('请选择要刷新的短消息');return false}			
			window.location.href = "message_action.asp?page={anxinMall:asp}response.write request.querystring("page"){/anxinMall:asp}&action=refresh&id="+ids
	});

}); 


function anxinMall_delete(t,l){
	if(t=="")t="确定要删除吗？ 删除后不可恢复！";
	$.confirm(t,'删除确认',function(action){
		if(action == 'ok'){
			window.location.href = l;
		}
	});
}


</script>

</head>
<body>
<div id="anxinMall_layout">
<!--#include file="my_head.tpl"-->
<div id="anxinMall_body2">
<div class="memberbox">
	<table width="980" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="left">
			<!--#include file="my_menu.tpl"-->
		</td>
		<td class="center"></td>
        <td class="right">
			<div class="title">
			<h3 class="current">短消息列表</h3>
			<h3><a href="message_edit.asp?action=addmessage"><font color="#008000" size=3>添加短消息</font></a></h3>
			</div>
<table width="98%" border="0" align="align" cellpadding="8" cellspacing="0" bgcolor="#FFFFFF">
<tr> 
  <td height="58" style="line-height:150%;border-bottom:#cccccc 2px solid;">[{anxinMall:field.sendusername}]于<font size="1" face="Verdana, Arial, Helvetica, sans-serif" color=#999999>[{anxinMall:field.addtime}]</font>对我说：<font color="#666666"><b>{anxinMall:field.title}</b></font></font> 
    
    <br>
  </td>
</tr>
<tr> 
  <td height="120" valign="top" align=left style="line-height:180%;font-size:10.3pt;color:#666666">
  <font color="#008000" size="2"><b>短信正文内容：</b></font><br>
  {anxinMall:field.content}
  </td>
</tr>
</table>

<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr> 
  <td align="center" valign="middle" bgcolor="#FFFFFF">
	  <hr align="center" color="#cccccc" width="100%"> 


    <table width="470" height="133" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"  style="border:#EAEAEA 1px solid;">
      <form method="post" action="Message.asp?action=addmessage" name="form">
	<tr> 
	  <td colspan="2" align="center" height="42"><h4>回复上面的短信</h4></td>
	</tr>
	<tr>
	  <td width="100" align=right><font color="#666666">标题：</td>
	  <td width="370" height="40" align=left>
	    <input type="hidden" name="username" value="{anxinMall:field.username}">
	    <input type="hidden" name="senduserID" value="{anxinMall:field.senduserid}">
	    <input type="hidden" name="sendusername" value="{anxinMall:field.sendusername}">					
	    <input type="hidden" name="new" value="1">
	    <input name="title" type="text" class="input" size="30" maxlength="30"> 
	    <input type="hidden" name="submitok" value="add">
	    <input name=alone type="hidden" id="alone" value="0">
	 </td>
	</tr>
	<tr> 
	  <td height="65" valign="top" align=right><font color="#666666">内容：</font></td>
	  <td height="128" valign="top" align=left> 
	    <textarea name="content" cols="50" rows="10" id="content" style="border-right:#D4D0C4 1px solid;border-bottom:#D4D0C4 1px solid;border-left:#41403C 1px solid;border-top:#41403C 1px solid; border-width: 1;font-size:9pt;"></textarea>
	  </td>
	</tr>
	<tr> 
	  <td height="33" colspan="2" valign="top" align="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" name="Submit" value="发送信息" class="submit" /></td>
	</tr>
      </form>
    </table>








</div>
</div>
<!--#include file="my_foot.TPL"-->
</div>
</body>
</html>
