<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="description" content="[.$ourphp_web.webdescriptions.]"/>
<meta name="keywords" content="[.$ourphp_web.webkeywords.]"/>
<meta name="author" content="www.ourphp.net"/>
<meta name="viewport" content="initial-scale=1, maximum-scale=3, minimum-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-title" content="[.$ourphp_web.website.]">
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name="HandheldFriendly" content="true">
<meta name="MobileOptimized" content="320">
<meta name="screen-orientation" content="portrait">
<meta name="x5-orientation" content="portrait">
<meta name="full-screen" content="yes">
<meta name="x5-fullscreen" content="true">
<meta name="browsermode" content="application">
<meta name="x5-page-mode" content="app">
<meta name="msapplication-tap-highlight" content="no">
<title>站内信件_[.$ourphp_web.website.]</title>
[.include file="cn/cn_shophead.html".]
<script src="../../function/plugs/layer/layer.min.js"></script>
</head>
<body>
<div id="YIQI-UI">
	<div class="top">
		<dd class="f-l mt-10 text-c">站内信件</dd>
		<div class="pos-a back"><a href="?cn-usercenter.html"><i class="icon YIQI-UI-iconfont">&#xe67d;</i></a></div>
	</div>
	<div class="pages">
        <div class="content2" style="margin:60px 0; background:#fff; padding:15px 0;">

            [.*开始*.]
              <table class="table">
                <tr>
                  <td colspan="3">
                  	信件列表<span class="f-r f-14 "><a onclick="sms();" class="btn-link"><span class="icon YIQI-UI-iconfont YIQI-UI-iconfont-fabu f-20"></span> 发送</a></span>
                  </td>
                </tr>
                [.foreach $mail as $op.]
                <tr>
                	<td>
                    	
                    	<table class="table line pd-0">
                         <tbody>
                            <tr>
                              <th width="60"><div align="right">发送人：</div></th>
                              <td>[.if $op.send == $user.email.]我[.else.][.$op.send.][./if.]</td>
                            </tr>
                            <tr>
                              <th><div align="right">接收人：</div></th>
                              <td>[.if $op.collect == $user.email.]我[.else.][.$op.collect.][./if.]</td>
                            </tr>
                            <tr>
                              <th><div align="right">内容：</div></th>
                              <td>[.$op.content.]</td>
                            </tr>
                         </tbody>
                         </table>
                         
                	</td>
                </tr>
                [./foreach.]
                <tr>
                	<td>[.$ourphppage.]</td>
                </tr>
              </table>
              [.*结束*.]
              
        </div>
    </div>

</div>

<script type="text/javascript">
function sms(){
    $.layer({
        type: 1,
		title:false,
        shade: [0],
		border: [5, 0.3, '#000'],
        area: ['90%', '270px'],
        page: {html: '<div id="YIQI-UI"><form id="form1"name="form1"method="post"action="[.$webpath.]client/user/ourphp_play.class.php?ourphp_cms=mail&type=wap"><table width="100%"border="0"class="table table-border table-hover"><tr><td width="80"><div align="left"><font color="#FF0000">*</font>收件账号</div></td><td><input type="text"name="OP_Usercollect"class="userinput"datatype="*"placeholder="输入收件人账户"style="width:205px;"/></td></tr><tr><td valign="top"><div align="left"><font color="#FF0000">*</font>信件内容</div></td><td><textarea name="OP_Usercontent"class="textarea"datatype="*"placeholder="输入发送内容"style="border:none;line-height: 12px; */"></textarea></td></tr><tr><td><div align="left">验证码</div><input type="hidden"name="lang"value="[.$ip.lang.]"/></td><td><input type="text"name="code"class="input3"datatype="*"onfocus="document.getElementById(\'checkcode\').src+=\'?\'" placeholder="输入验证码"/><font color="#FF0000">*</font>&nbsp;<img title="点击刷新"id="checkcode"src="[.$webpath.]function/ourphp_code.php"align="absbottom"onclick="this.src=\'[.$webpath.]function/ourphp_code.php?\'+Math.random();"width="80"height="25"></img></td></tr><tr><td></td><td><input type="submit"name="Submit"value="发送"class="btn btn-success radius-20 pt-5 pb-5 pl-30 pr-30"/></td></tr></table></form></div>'}
    });
};
</script>
<script type="text/javascript">
$(function(){
	$("#ourphp_user").addClass("on");
});
</script>
</body>
</html>