<!--#include file="head.asp"-->
<style>body{background-color: #fff;}</style>

<% 
'call iszizhu()

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
%>



<main>
<div  class="container">
<div class="ui-lrctnei">
<%call userleft()%>
<div class="r"> 
<div class="ui-content">
                        
					
                            
<div class="neiye">

                   
                                                     
            <!-------------------------------------- 开始 -------------------------------------->
            <div class="neibiaoti"></div>
            <div class="neibiaoti2">推送设置</div>
                	<div class="gexian"></div>
					<%
                    sql="select * from ayname where aynameid="&clng(request.Cookies("aynameid"))&"" 
                    rs.open sql,conn,1,1
                    %>
                    <form action="" method="post">
    				<table class="neitableanquan">
                        
           		  		<tr>
                            <td width="110" align="center">商品卖出通知</td>
                            <td><input name="tsmaichu" type="checkbox" id="tsmaichu" value="1" <%if cint(rs("tsmaichu"))=1 then response.Write("checked")%>/>开启推送</td>
                        </tr>
                        
                 		<tr>
                            <td align="center">库存不足通知</td>
                            <td><input name="tskucun" type="checkbox" id="tskucun" value="1" <%if cint(rs("tskucun"))=1 then response.Write("checked")%>/>开启推送</td>
                        </tr>
                 		<tr>
                            <td colspan="2"><input name="act" type="hidden" id="act" value="edit" /><input class="logindlreg" type="submit" name="Submit" id="tijiao" value=" 设置 " /></td>
                        </tr>
                 		<tr>
                            <td colspan="2">&nbsp;</td>
                        </tr>
                    </table>
                    </form>
                    <%rs.close%>
					
            <!-------------------------------------- 结束 -------------------------------------->
            
            
            <div class="mzsmbox2">
			提示：当关闭消息推送时，该类通知信息系统将不再发送，包括站内通知，邮件通知，手机通知，微信通知。
            </div>
           
            
           

        <div class="clearfix"></div>



</div>








</div>
</div>
</div>
</div>
</main>


<footer>
<div class="container">
</div>
</footer>

</body>
</html>