<!--#include virtual="/show/userhead.asp"-->
<script>document.getElementById('o_1').setAttribute("class", "ed"); document.getElementById("t_1").style.display="";document.getElementById('s_1_8').setAttribute("class", "ed4");</script>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<% 
'call chktel()
'call iszizhu()

%>



<title><%=webname%>-商户认证</title>
<br>
<DIV id=main2> 
<DIV style="PADDING-LEFT:0px">
<DIV id=main_right_content>

<H2><SPAN>消息推送</SPAN></H2>
<DIV class=main4>
<%
if SafeRequestform("act")="edit" then
tsmaichu=SafeRequestform("tsmaichu")
tskucun=SafeRequestform("tskucun")

if tsmaichu="" then tsmaichu=0
if tskucun="" then tskucun=0

sql="select * from ayname where aynameid="&clng(request.Cookies("aynameid"))&"" 
rs.open sql,conn,1,3
rs("tsmaichu")=tsmaichu
rs("tskucun")=tskucun
rs.update
rs.close
call logadd(request.Cookies("aynameid"),"消息推送修改成功",0,0)
call PopErr2("修改成功","tuisong")
end if


sql="select * from ayname where aynameid="&clng(request.Cookies("aynameid"))&"" 
rs.open sql,conn,1,1
%>
<br>
<form action="" method="post">
<table width="99%" align="center" class="table_style_home_info">
  <tbody>
    <tr>
      <td width="127" align="right">商品卖出通知
	   </td>
      <td width="785"><input name="tsmaichu" type="checkbox" id="tsmaichu" value="1" <%if cint(rs("tsmaichu"))=1 then response.Write("checked")%>/>
        开启推送</td>
    </tr>
    <tr>
      <td width="127" align="right">库存不足通知
	   </td>
      <td width="785"><input name="tskucun" type="checkbox" id="tskucun" value="1" <%if cint(rs("tskucun"))=1 then response.Write("checked")%>/>
        开启推送</td>
    </tr>
    <tr>
      <td height="60" colspan="2" align="left">
       &nbsp;&nbsp;&nbsp;&nbsp;<input class="butbaocun" type="submit" name="Submit" id="tijiao" value=" 提 交 " />
       <input name="act" type="hidden" id="act" value="edit" /></td>
    </tr>
    <tr>
      <td height="50" colspan="2" align="left"><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;提示：当关闭消息推送时，该类通知信息系统将不再发送，包括站内通知，邮件通知，手机通知，微信通知。<br><br></td>
    </tr>
  </tbody>
</table>
</form>
<%rs.close%>
<br>

</DIV></DIV>
<DIV class=clear></DIV></DIV>
</DIV>

<br>

	<!--#include virtual="/show/foot.asp"-->


