
<!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="aspmps v{aspmps:global.cfg_version}" />
<meta name="author" content="www.aspmps.com" />
<title>分类信息置顶 - {aspmps:global.cfg_sitename} - Powered by Aspmps</title>
<link rel="stylesheet" href="{aspmps:global.cfg_skinurl}/style/common.css" type="text/css" />
<link rel="stylesheet" href="{aspmps:global.cfg_skinurl}/style/member.css" type="text/css" />
<script type="text/javascript" src="{aspmps:global.cfg_baseurl}/file/js/config.js"></script>
<script type="text/javascript" src="{aspmps:global.cfg_baseurl}/file/js/jquery.js"></script>
<script type="text/javascript" src="{aspmps:global.cfg_baseurl}/file/js/jquery.thickbox.js"></script>
<script type="text/javascript" src="{aspmps:global.cfg_skinurl}/js/common.js"></script>
<script type="text/javascript">
function checkdays(v){
	var vv = Number(v.value);
	var paymoney = Math.round(parseFloat(vv*{aspmps:field.price}) * 100) / 100 ;
	v.value=v.value.replace(/[^\d]/g,'')
	if (v.value!=""){
		if(paymoney>{aspmps:global.c_usermoney}){
			$('#zhiding').attr("disabled","disabled");
			$('#pay').html("，余额不足，<a href='user_payment.asp' target='_blank'>[立即充值]</a>");
		}else{
			$('#zhiding').attr("disabled","");
			$('#pay').html("");
		}
		$('#money').html(paymoney);		
	}else{
		$('#money').html(0);
	}
}
</script>

</head>

<body>
<div id="aspmps_layout">
<!--#include file="head.tpl"-->
<div id="aspmps_location"><h4>您所在的位置：<a href="http://www.tlxx.com">首页</a> &gt; <a href="/member/">会员中心</a></h4></div>	
<div id="aspmps_body">
<div class="memberbox">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="left">
<!--#include file="member_menu.tpl"-->
</td>
<td class="center"></td>
<td class="right">
<div class="title"><h3 class="current">信息置顶</h3></div>
<div class="settop">
<form action="user_info_action.asp?action=top&id={aspmps:field.id}" method="post" name="form" onsubmit="return checkform()">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <th>置顶信息：</th>
    <td style="color:#CC3300">{aspmps:field.title}</td>
  </tr>

  <tr>
    <th>置顶周期：</th>
    <td><input name="days" type="text" class="input" value="" onkeyup="checkdays(this)" /> 天</td>
  </tr>
  <tr>
    <th>所需费用：</th>
    <td><span id="money">0</span>元&nbsp;&nbsp;/&nbsp;&nbsp;您的帐户余额为 <span id="money">{aspmps:global.c_usermoney}</span> 元 <span id="pay"></span></td>
  </tr>
  <tr>
    <th></th>
    <td><input type="submit" value="确定置顶该信息" class="submit" id="zhiding" disabled="disabled" /></td>
  </tr>
</table>
</form>


</div>
</td>
</tr>
</table>
</div>
</div>
<!--#include file="foot.TPL"-->
</div>
</body>
</html>