<!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=<!--{$page_charset}-->" />
<link href="<!--{$skinpath}-->cp/style/msg_base.css" rel="stylesheet" type="text/css" />
<link href="<!--{$skinpath}-->cp/style/msg_index.css" rel="stylesheet" type="text/css" />
<link href="<!--{$skinpath}-->cp/style/msg_module_open.css" rel="stylesheet" type="text/css" />
<link href="<!--{$skinpath}-->cp/style/msg_greet.css" rel="stylesheet" type="text/css" />
<link href="<!--{$skinpath}-->themes/css/button.css" rel="stylesheet" type="text/css" />
<!--{include file="<!--{$tplpath}-->cp/<!--{$tplpre}-->block_headjs.tpl"}-->
</head>
<body>

<!--{if $a eq 'contact'}-->
<div id="finish_wish" class="op_bg op_type_hello" style="display: block; left: 0px; top: 0px;">
  <form id="myform" name="myform" action="<!--{$urlpath}-->usercp.php?c=home&halttype=jdbox" method="post">
    <input type='hidden' name='a' id='a' value="paycontact" />
	<input type='hidden' name='uid' id='uid' value="<!--{$home.userid}-->" />
    <div class="op_subbg">
      <h1><a href="javascript:void(0);" onclick="parent.JqueryDialog.Close();" class="op_close"></a>查看<!--{$home.username}-->的联系方式</h1>
      <div class="e_clear">
        <div class="greet_content">
          <div class="greet_left"> 
		    <!--{avatar width='74' height='90' value=$home.avatarurl}-->
            <p class="blue"><!--{$home.username}--></p>
            <p><!--{$home.age}-->岁 <!--{area type='text' value=$home.provinceid}--></p>
          </div>
          <div class="greet_right">
            <h3 style="padding-left:0px"><span>支付查看费用</span>
			  <img src="<!--{$skinpath}-->themes/images/cid<!--{if $home.idnumberrz==0}-->_h<!--{/if}-->.png" title="<!--{if $home.idnumberrz==0}-->身份证未认证<!--{else}-->已身份证认证<!--{/if}-->" /> 
			  <img src="<!--{$skinpath}-->themes/images/video<!--{if $home.videorz==0}-->_h<!--{/if}-->.png" title="<!--{if $home.videorz==0}-->视频未认证<!--{else}-->已视频认证<!--{/if}-->" />  
			  <img src="<!--{$skinpath}-->themes/images/email<!--{if $home.emailrz==0}-->_h<!--{/if}-->.png" title="<!--{if $home.emailrz==0}-->邮箱未认证<!--{else}-->已邮箱认证<!--{/if}-->" /> 
			  <img src="<!--{$skinpath}-->themes/images/mobile<!--{if $home.mobilerz==0}-->_h<!--{/if}-->.png" title="<!--{if $home.mobilerz==0}-->手机未认证<!--{else}-->已手机认证<!--{/if}-->" />
			</h3>
            <div class="post" id="post" style="display:">
              <textarea name="textfield" cols="48" rows="6" id="textfield" class="textfield" style="font-color:#999999;overflow-x:hidden;overflow-y:hidden;" disabled>对不起，你需要支付 <!--{$g.fee.contactfee}--> 个金币才可以查看TA的联系方式。</textarea>
              <div id="textlimit" style="float:left">（您的帐号剩余可用金币：<b><!--{$u.money}--></b> 个） </div>
              <div class="but_greet"> 
			  <a href="###" onclick="return check_pay_contact();">确定支付</a> 
			  </div>
            </div>
          </div>
          <div style="clear:both"></div>
        </div>
        <div class="letters_tip" id="letters_tip" style="margin-top:10px;"> 
		  <b class="tl"></b> <b class="tr"></b> <b class="bl"></b> <b class="br"></b>
          <p><span class="channel_13">只需付一次费用，以后查看对方的联系方式不再需要支付金币<br />如果您不够金币支付，<a href="<!--{$urlpath}-->usercp.php?c=payment" target="_top">请先充值&gt;&gt;</a> 或者<a href="<!--{$urlpath}-->usercp.php?c=vip" target="_top">升级会员&gt;&gt;</a></span> </p>
        </div>
      </div>
    </div>
  </form>
</div>
<script>
function check_pay_contact() {
	if (confirm("确定支付？")) {
		$('#myform').submit();
		return true;
	}
	else {
		return false;
	}
}
</script>
<!--{/if}-->

<!--{if $a eq 'viewcontact'}-->
<div id="finish_wish" class="op_bg op_type_hello" style="display: block; left: 0px; top: 0px;">
    <div class="op_subbg">
      <h1><a href="javascript:void(0);" onclick="parent.JqueryDialog.Close();" class="op_close"></a>查看<!--{$home.username}-->的联系方式</h1>
      <div class="e_clear">
        <div class="greet_content">
          <div class="greet_left"> 
		    <!--{avatar width='74' height='90' value=$home.avatarurl}-->
            <p class="blue"><!--{$home.username}--></p>
            <p><!--{$home.age}-->岁 <!--{area type='text' value=$home.provinceid}--></p>
          </div>
          <div class="greet_right">
            <h3 style="padding-left:0px"><span>联系方式</span>
			  <img src="<!--{$skinpath}-->themes/images/cid<!--{if $home.idnumberrz==0}-->_h<!--{/if}-->.png" title="<!--{if $home.idnumberrz==0}-->身份证未认证<!--{else}-->已身份证认证<!--{/if}-->" /> 
			  <img src="<!--{$skinpath}-->themes/images/video<!--{if $home.videorz==0}-->_h<!--{/if}-->.png" title="<!--{if $home.videorz==0}-->视频未认证<!--{else}-->已视频认证<!--{/if}-->" />  
			  <img src="<!--{$skinpath}-->themes/images/email<!--{if $home.emailrz==0}-->_h<!--{/if}-->.png" title="<!--{if $home.emailrz==0}-->邮箱未认证<!--{else}-->已邮箱认证<!--{/if}-->" /> 
			  <img src="<!--{$skinpath}-->themes/images/mobile<!--{if $home.mobilerz==0}-->_h<!--{/if}-->.png" title="<!--{if $home.mobilerz==0}-->手机未认证<!--{else}-->已手机认证<!--{/if}-->" />
			</h3>
            <div class="post" id="post" style="display:">
			  <table border="0" cellspacing="10" cellpadding="10" class="tb-home" width="100%">
				<tr>
				  <td width='15%'><b>邮 箱：</b></td>
				  <td width='35%'>
				  <!--{if $g.view.viewemail == 1}-->
					  <!--{$home.email}-->
				  <!--{else}-->
					  ~~
				  <!--{/if}-->
				  </td>
				  <td width='15%'><b>手 机：</b></td>
				  <td width='35%'>
				  <!--{if empty($home.mobile)}-->
				      <font color="#999999">未透露</font>
				  <!--{else}-->
					  <!--{if $g.view.viewmobile == 1}-->
						  <!--{$home.mobile}-->
					  <!--{else}-->
						  ~~
					  <!--{/if}-->
				  <!--{/if}-->
				  </td>
				</tr>
				<tr>
				  <td><b>Q Q：</b></td>
				  <td>
				  <!--{if empty($home.qq)}-->
				      <font color="#999999">未透露</font>
				  <!--{else}-->
					  <!--{if $g.view.viewqq == 1}-->
						  <!--{$home.qq}-->
					  <!--{else}-->
						  ~~
					  <!--{/if}-->
				  <!--{/if}-->
				  </td>
				  <td><b>MSN：</b></td>
				  <td>
				  <!--{if empty($home.msn)}-->
				      <font color="#999999">未透露</font>
				  <!--{else}-->
					  <!--{if $g.view.viewmsn == 1}-->
						  <!--{$home.msn}-->
					  <!--{else}-->
						  ~~
					  <!--{/if}-->
				  <!--{/if}-->
				  </td>
				</tr>
				<tr>
				  <td><b>微 博：</b></td>
				  <td colspan='3'>
				  
				  <!--{if empty($home.homepage)}-->
				      <font color="#999999">未透露</font>
				  <!--{else}-->
					  <!--{if $g.view.viewweibo == 1}-->
						  <!--{$home.homepage}-->
					  <!--{else}-->
						  ~~
					  <!--{/if}-->
				  <!--{/if}-->
				  </td>
				</tr>
			  </table>
            </div>
          </div>
          <div style="clear:both"></div>
        </div>
        <div class="letters_tip" id="letters_tip" style="margin-top:10px;"> 
		  <b class="tl"></b> <b class="tr"></b> <b class="bl"></b> <b class="br"></b>
          <p><span class="channel_13"><font color="green">您已支付过查看费用；</font><br />如果您不够金币支付，<a href="<!--{$urlpath}-->usercp.php?c=payment" target="_top">请先充值</a>&gt;&gt; 或者<a href="<!--{$urlpath}-->usercp.php?c=vip" target="_top">升级会员</a></span> </p>
        </div>
      </div>
    </div>
</div>
<!--{/if}-->


<!--{if $a eq 'album'}-->
<div id="finish_wish" class="op_bg op_type_hello" style="display: block; left: 0px; top: 0px;">
  <form id="myform" name="myform" action="<!--{$urlpath}-->usercp.php?c=home&halttype=jdbox" method="post">
    <input type='hidden' name='a' id='a' value="payalbum" />
	<input type='hidden' name='uid' id='uid' value="<!--{$home.userid}-->" />
    <div class="op_subbg">
      <h1><a href="javascript:void(0);" onclick="parent.JqueryDialog.Close();" class="op_close"></a>查看<!--{$home.username}-->的相册</h1>
      <div class="e_clear">
        <div class="greet_content">
          <div class="greet_left"> 
		    <!--{avatar width='74' height='90' value=$home.avatarurl}-->
            <p class="blue"><!--{$home.username}--></p>
            <p><!--{$home.age}-->岁 <!--{area type='text' value=$home.provinceid}--></p>
          </div>
          <div class="greet_right">
            <h3 style="padding-left:0px"><span>支付查看相册费用</span>
			  <img src="<!--{$skinpath}-->themes/images/cid<!--{if $home.idnumberrz==0}-->_h<!--{/if}-->.png" title="<!--{if $home.idnumberrz==0}-->身份证未认证<!--{else}-->已身份证认证<!--{/if}-->" /> 
			  <img src="<!--{$skinpath}-->themes/images/video<!--{if $home.videorz==0}-->_h<!--{/if}-->.png" title="<!--{if $home.videorz==0}-->视频未认证<!--{else}-->已视频认证<!--{/if}-->" />  
			  <img src="<!--{$skinpath}-->themes/images/email<!--{if $home.emailrz==0}-->_h<!--{/if}-->.png" title="<!--{if $home.emailrz==0}-->邮箱未认证<!--{else}-->已邮箱认证<!--{/if}-->" /> 
			  <img src="<!--{$skinpath}-->themes/images/mobile<!--{if $home.mobilerz==0}-->_h<!--{/if}-->.png" title="<!--{if $home.mobilerz==0}-->手机未认证<!--{else}-->已手机认证<!--{/if}-->" />
			</h3>
            <div class="post" id="post" style="display:">
              <textarea name="textfield" cols="48" rows="6" id="textfield" class="textfield" style="font-color:#999999;overflow-x:hidden;overflow-y:hidden;" disabled>对不起，你需要支付 <!--{$g.fee.albumfee}--> 个金币才可以查看TA的相册。</textarea>
              <div id="textlimit" style="float:left">（您的帐号剩余可用金币：<b><!--{$u.money}--></b> 个） </div>
              <div class="but_greet"> 
			  <a href="###" onclick="return check_pay_album();">确定支付</a> 
			  </div>
            </div>
          </div>
          <div style="clear:both"></div>
        </div>
        <div class="letters_tip" id="letters_tip" style="margin-top:10px;"> 
		  <b class="tl"></b> <b class="tr"></b> <b class="bl"></b> <b class="br"></b>
          <p><span class="channel_13">只需付一次费用，以后查看对方的相册不再需要支付金币<br />如果您不够金币支付，<a href="<!--{$urlpath}-->usercp.php?c=payment" target="_top">请先充值&gt;&gt;</a> 或者<a href="<!--{$urlpath}-->usercp.php?c=vip" target="_top">升级会员&gt;&gt;</a></span> </p>
        </div>
      </div>
    </div>
  </form>
</div>
<script>
function check_pay_album() {
	if (confirm("确定支付？")) {
		$('#myform').submit();
		return true;
	}
	else {
		return false;
	}
}
</script>
<!--{/if}-->

<!--{if $a eq 'viewalbum'}-->
<div id="finish_wish" class="op_bg op_type_hello" style="display: block; left: 0px; top: 0px;">
    <div class="op_subbg">
      <h1><a href="javascript:void(0);" onclick="parent.JqueryDialog.Close();" class="op_close"></a>查看<!--{$home.username}-->的相册</h1>
      <div class="e_clear">
        <div class="greet_content">
          <div class="greet_left"> 
		    <!--{avatar width='74' height='90' value=$home.avatarurl}-->
            <p class="blue"><!--{$home.username}--></p>
            <p><!--{$home.age}-->岁 <!--{area type='text' value=$home.provinceid}--></p>
          </div>
          <div class="greet_right">
            <h3 style="padding-left:0px"><span><!--{$home.username}-->的相册</span>
			  <img src="<!--{$skinpath}-->themes/images/cid<!--{if $home.idnumberrz==0}-->_h<!--{/if}-->.png" title="<!--{if $home.idnumberrz==0}-->身份证未认证<!--{else}-->已身份证认证<!--{/if}-->" /> 
			  <img src="<!--{$skinpath}-->themes/images/video<!--{if $home.videorz==0}-->_h<!--{/if}-->.png" title="<!--{if $home.videorz==0}-->视频未认证<!--{else}-->已视频认证<!--{/if}-->" />  
			  <img src="<!--{$skinpath}-->themes/images/email<!--{if $home.emailrz==0}-->_h<!--{/if}-->.png" title="<!--{if $home.emailrz==0}-->邮箱未认证<!--{else}-->已邮箱认证<!--{/if}-->" /> 
			  <img src="<!--{$skinpath}-->themes/images/mobile<!--{if $home.mobilerz==0}-->_h<!--{/if}-->.png" title="<!--{if $home.mobilerz==0}-->手机未认证<!--{else}-->已手机认证<!--{/if}-->" />
			</h3>
            <div class="post" id="post" style="display:">
			  <table border="0" cellspacing="0" cellpadding="0" width="100%">
				<tr>
				  <td height="180px;">
					<!--{if !empty($album)}-->
					<script type="text/javascript" src="<!--{$urlpath}-->tpl/static/js/jquery.slide.js"></script>
					<script type="text/javascript" src="<!--{$urlpath}-->tpl/static/js/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
					<script type="text/javascript" src="<!--{$urlpath}-->tpl/static/js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
					<link rel="stylesheet" type="text/css" href="<!--{$urlpath}-->tpl/static/js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
					<script type="text/javascript">
					$(document).ready(function() {
						$("a[rel=example_group]").fancybox({
							'transitionIn'		: 'none',
							'transitionOut'		: 'none',
							'titlePosition' 	: 'over',
							'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
								return '<span id="fancybox-title-over">[<!--{$home.username}-->] 的相册 ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
							}
						});
					});

					$(function (){
						/* 用按钮控制图片左右滚动 */
						$(".album_Pic .JQ-slide").Slide({
							effect:"scroolLoop",
							autoPlay:false,
							speed:"normal",
							timer:3000,
							steps:1
						});
					});
					</script>
					  <div class="album_Pic">
						<div class="JQ-slide">
						  <div class="JQ-slide-nav"><a class="prev" href="javascript:void(0);">&#8249;</a><a class="next" href="javascript:void(0);">&#8250;</a></div>
						  <div class="wrap">
							<ul class="JQ-slide-content imgList">
							  <!--{foreach $album as $volist}-->
							  <li> <a rel="example_group" href="<!--{$volist.uploadfiles}-->" class="img"><img src="<!--{$volist.thumbfiles}-->" alt="<!--{$volist.title}-->" /></a> <font class="txt"><!--{$volist.title}--></font> </li>
							  <!--{/foreach}-->
							</ul>
						  </div>
						</div>
					  </div
					<!--{/if}-->


				  </td>
				</tr>
			  </table>
            </div>
          </div>
          <div style="clear:both"></div>
        </div>
        <div class="letters_tip" id="letters_tip" style="margin-top:10px;"> 
		  <b class="tl"></b> <b class="tr"></b> <b class="bl"></b> <b class="br"></b>
          <p><span class="channel_13"><font color="green">您已支付过查看费用；</font><br />如果您不够金币支付，<a href="<!--{$urlpath}-->usercp.php?c=payment" target="_top">请先充值</a>&gt;&gt; 或者<a href="<!--{$urlpath}-->usercp.php?c=vip" target="_top">升级会员</a></span> </p>
        </div>
      </div>
    </div>
</div>
<!--{/if}-->

<!--{if $a eq 'sms'}-->
<script language="javascript">
function checkTextLimit(obj, event){
	event = event||window.event; 
	currentKey = event.charCode||event.keyCode;
	var content = obj.value;
	var len = strQuantity(content);
	var has_write_obj = document.getElementById("has_write");
	var will_write_obj = document.getElementById("will_write");

	has_write_obj.innerHTML = len;
	will_write_obj.innerHTML = <!--{$maxlen}--> - len;
	
	if(len >=<!--{$maxlen}-->) {
		if (currentKey != 8){
			obj.value = content.substring(0, <!--{$maxlen}-->);
			return false;
		}
	}
}

function tjTextLen(obj) {
	var len = strQuantity($('#'+obj).val());
	var has_write_obj = document.getElementById("has_write");
	var will_write_obj = document.getElementById("will_write");

	has_write_obj.innerHTML = len;
	will_write_obj.innerHTML = <!--{$maxlen}--> - len;
}
</script>
<div id="finish_wish" class="op_bg op_type_hello" style="display: block; left: 0px; top: 0px;">
  <form id="form_msg" name="form_msg">
	<input type='hidden' name='uid' id='uid' value="<!--{$home.userid}-->">
    <div class="op_subbg">
      <h1><a href="javascript:void(0);" onclick="parent.JqueryDialog.Close();" class="op_close"></a>给<!--{$home.username}-->发手机短信</h1>
      <div class="e_clear">
        <div class="greet_content">
          <div class="greet_left">
		    <!--{avatar width='74' height='90' value=$home.avatarurl}-->
            <p class="blue"><!--{$home.username}--></p>
            <p><!--{$home.age}-->岁 <!--{area type='text' value=$home.provinceid}--> <!--{area type='text' value=$home.cityid}--></p>
			<p><!--{hook mod='var' item='marrystatus' type='text' value=$home.marrystatus}--> <!--{hook mod='var' item='education' type='text' value=$home.education}--></p>
          </div>
          <div class="greet_right">
            <h3 style="padding-left:0px"><span>发手机短信（消息） 诚信认证：</span>
			  <img src="<!--{$skinpath}-->themes/images/cid<!--{if $home.idnumberrz==0}-->_h<!--{/if}-->.png" title="<!--{if $home.idnumberrz==0}-->身份证未认证<!--{else}-->已身份证认证<!--{/if}-->" /> 
			  <img src="<!--{$skinpath}-->themes/images/video<!--{if $home.videorz==0}-->_h<!--{/if}-->.png" title="<!--{if $home.videorz==0}-->视频未认证<!--{else}-->已视频认证<!--{/if}-->" />  
			  <img src="<!--{$skinpath}-->themes/images/email<!--{if $home.emailrz==0}-->_h<!--{/if}-->.png" title="<!--{if $home.emailrz==0}-->邮箱未认证<!--{else}-->已邮箱认证<!--{/if}-->" /> 
			  <img src="<!--{$skinpath}-->themes/images/mobile<!--{if $home.mobilerz==0}-->_h<!--{/if}-->.png" title="<!--{if $home.mobilerz==0}-->手机未认证<!--{else}-->已手机认证<!--{/if}-->" />
			</h3>
            <div class="post" id="post" style="display:;">
              <textarea name="content" id="content" class="textfield"  onkeyup="return checkTextLimit(this, event);"  onpaste="return checkTextLimit(this, event);">HI，你好，看了你的资料，感觉比较适合，想认识你。</textarea><br />
            </div>
            <div class="edit" id="edit">
			  目前已输入<strong id="has_write">0</strong>个字，您还可以输入<strong id="will_write"><!--{$maxlen}--></strong>个字。
			  短信含网站名：[<!--{$smssender}-->]
			  <script>tjTextLen('content');</script>
			  <br />
			  您当前 可用短信：<b><font color='blue'><!--{$u.mbsms}--></font></b> 条，可用金币：<font color='green'><b><!--{$u.money}--></b></font> 个<br />
			  <b>发信方式：</b><input type="radio" name='type' id='type' value='0' checked />使用短信&nbsp;&nbsp;&nbsp;<input type="radio" name='type' id='type' value='1' />使用金币&nbsp;&nbsp;（每条短信需要 <font color="#003300"><b><!--{$g.fee.smsfee}--></b></font> 个金币）
			</div>
          </div>
          <div style="clear:both"></div>
        </div>
		<div class="content_btn e_clear" style="display:block;">
          <ul>
		    <li>
			<a href="###" onclick="return checkSend('sms_status', '', 'jdbox');" class="btn_b1 btn"><span>发手机短信</span></a>  <span id='sms_status'></span>
			</li>
		  </ul>
		</div>

        <div class="letters_tip" id="letters_tip" style="margin-top:10px;"> 
		  <b class="tl"></b> 
		  <b class="tr"></b> 
		  <b class="bl"></b> 
		  <b class="br"></b> 
          <p><span class="channel_13">
		  注：请不要发布任何广告、色情、反动内容，否则无法通过。
		  <br /><a href="<!--{$urlpath}-->usercp.php?c=payment" target="_top">在线充值&gt;&gt;</a> &nbsp;&nbsp;<a href="<!--{$urlpath}-->usercp.php?c=buysms" target="_top">购买短信服务&gt;&gt;</a></span>
		  </span> </p>
        </div>
      </div>
    </div>
  </form>
</div>
<script language="javascript">
function checkSend(tipid, button, returntype) {
	if(typeof(tipid) == 'undefined') {tipid = '';}
	if(typeof(button) == 'undefined') {button = '';}
	if(typeof(returntype) == 'undefined') {returntype = '';}

	var len = strQuantity($('#content').val());
	if (len == 0) {
		alert('对不起，短信内容不能为空！');
		return false;
	}
	if(len >=<!--{$maxlen}-->) {
		alert('对不起，短信内容字数超过了<!--{$maxlen}-->个');
		return false;
	}
	else {
		var type = $("input[name='type']:checked").val();
		ajax_home_sendsms($('#uid').val(), $('#content').val(), type, tipid, button, returntype)
		return true;
	}
}
</script>
<!--{/if}-->


<!--{if $a eq 'msg'}-->
<div id="finish_wish" class="op_bg op_type_hello" style="display: block; left: 0px; top: 0px;">
  <form id="myform" name="myform" action="<!--{$urlpath}-->usercp.php?c=home&halttype=<!--{$halttype}-->" method="post">
    <input type='hidden' name='a' id='a' value="writemsg" />
	<input type='hidden' name='touid' id='touid' value="<!--{$touid}-->" />
	<input type='hidden' name='msgid' id='msgid' value="<!--{$msgid}-->" />
    <div class="op_subbg">
      <h1 style="display:<!--{if $closebtn=='y'}-->block<!--{else}-->none<!--{/if}-->;"><a href="javascript:void(0);" onclick="parent.JqueryDialog.Close();" class="op_close"></a>给<!--{$touser.username}-->写信件</h1>
      <div class="e_clear">
        <div class="greet_content">
          <div class="greet_left">
		    <!--{avatar width='74' height='90' value=$touser.avatarurl}-->
            <p class="blue"><!--{$touser.username}--></p>
            <p><!--{$touser.age}-->岁 <!--{area type='text' value=$touser.provinceid}--> <!--{area type='text' value=$touser.cityid}--></p>
			<p><!--{hook mod='var' item='marrystatus' type='text' value=$touser.marrystatus}--> <!--{hook mod='var' item='education' type='text' value=$touser.education}--></p>
          </div>
          <div class="greet_right">
            <div class="post" id="post" style="display:;">
              <textarea name="message" id="message" style="width:98%;height:130px;overflow:auto;"><!--{$message}--></textarea><br />
            </div>
            <div class="edit" id="edit">
			  您当前 可用金币：<font color='green'><b><!--{$u.money}--></b></font> 个，需要支付[<b><!--{$g.fee.sendmsgfee}--></b>]个金币才能写信<br />
			  注：请不要发布任何广告、色情、反动内容，否则无法通过。
		  <br /><a href="<!--{$urlpath}-->usercp.php?c=payment" target="_top">在线充值&gt;&gt;</a> &nbsp;&nbsp;<a href="<!--{$urlpath}-->usercp.php?c=vip" target="_top">升级会员服务&gt;&gt;</a>

			</div>
          </div>
          <div style="clear:both"></div>
        </div>
		<div class="content_btn e_clear" style="display:block;">
          <ul>
		    <li>
			<a href="###" onclick="return checkmsg();" class="btn_b1 btn"><span>确定支付发送(写)信件</span></a>  <span id='sms_status'></span>
			</li>
		  </ul>
		</div>
      </div>
    </div>
  </form>
</div>
<script language="javascript">
function checkmsg() {
    
	if ($('#touid').val() == '') {
		alert('对不起ID错误！');
		return false;
	}

	if ($('#message').val() == '') {
		alert('信件内容不能为空');
		return false;
	}
	if (confirm("确定支付？")) {
		$('#myform').submit();
		return true;
	}
	else {
		return false;
	}
}
</script>
<!--{/if}-->

</body>
</html>
