www.gusucode.com > Follow me超级搜索引擎 > admin/addgg.asp
<!--#include File="../Conn.asp" --> <% dbpath="../" dblink %> <!--#include file="check.asp"--> <html> <head> <style> <!-- p{color:000000;FONT-FAMILY: "??"; font-size: 9pt ;line-height: 20px;} a {color:#000000;FONT-FAMILY: "??"; font-size: 9pt ;text-decoration:none} a:hover {color:red;text-decoration:underline;; FONT-FAMILY: "??"; font-size: 9pt} --> <!-- a:link {FONT-FAMILY: "??"; font-size: 9pt; color:#000000; text-decoration: none} td { color:#0000000;FONT-FAMILY: "??"; font-size: 9pt ;line-height: 18px; } a:visited {FONT-FAMILY: "??"; font-size: 9pt; color:#000000} --> </style> <style> <!-- p{color:000000;FONT-FAMILY: "宋体"; font-size: 9pt ;line-height: 18px;} a {color:#000000;FONT-FAMILY: "宋体"; font-size: 9pt ;text-decoration:none} a:hover {color:red;text-decoration:underline;; FONT-FAMILY: "宋体"; font-size: 9pt} --> a:link {FONT-FAMILY: "宋体"; font-size: 9pt; color:#000000; text-decoration: none} td { color:#0000000;FONT-FAMILY: "宋体"; font-size: 9pt ;line-height: 18px; } a:visited {FONT-FAMILY: "宋体"; font-size: 9pt; color:#000000} --> </style> <%dim sql dim rs Set Rs=Server.Createobject("Adodb.Recordset") sql="select * from adminuser where username like '"&Session("admin")&"' " Rs.open Sql,Conn,1,3 %> <title>广告代码</title> <link rel="stylesheet" type="text/css" href="../css.css"> </head> <body > <div align="center"> <script type="text/javascript" charset="utf-8" src="../kindeditor/kindeditor.js"></script> <script type="text/javascript"> KE.show({ id : 'content1', allowUpload : false, afterCreate : function(id) { KE.event.ctrl(document, 13, function() { KE.util.setData(id); document.forms['example'].submit(); }); KE.event.ctrl(KE.g[id].iframeDoc, 13, function() { KE.util.setData(id); document.forms['example'].submit(); }); } }); KE.show({ id : 'content2', allowUpload : false, afterCreate : function(id) { KE.event.ctrl(document, 13, function() { KE.util.setData(id); document.forms['example'].submit(); }); KE.event.ctrl(KE.g[id].iframeDoc, 13, function() { KE.util.setData(id); document.forms['example'].submit(); }); } }); KE.show({ id : 'content3', allowUpload : false, afterCreate : function(id) { KE.event.ctrl(document, 13, function() { KE.util.setData(id); document.forms['example'].submit(); }); KE.event.ctrl(KE.g[id].iframeDoc, 13, function() { KE.util.setData(id); document.forms['example'].submit(); }); } }); KE.show({ id : 'content4', allowUpload : false, afterCreate : function(id) { KE.event.ctrl(document, 13, function() { KE.util.setData(id); document.forms['example'].submit(); }); KE.event.ctrl(KE.g[id].iframeDoc, 13, function() { KE.util.setData(id); document.forms['example'].submit(); }); } }); </script> <form name="fother1" METHOD="post" action="addinfo1.asp" onsubmit="return checkForm()" > <div align="center"> <center> <table border="1" width="100%" cellpadding="4" class=lowcolor cellspacing="0" bordercolor="#7bb5de" style="border-collapse: collapse"> <tr> <td valign="top" align="center" width="100%"><b>设置顶部广告位</b><br> <textarea id="content1" name="other1" style="width:100%;height:300px;visibility:hidden;"><%=rs("gg1")%></textarea> </td> </tr> <tr> <td valign="top" align="center"> <input type="submit" value=" 发布广告 " name="sub1" class="lkb"> </td> </tr> </table> </center> </div> </form> </div> <div align="center"> <form name="fother2" METHOD="post" action="addinfo2.asp" onsubmit="return checkForm()" > <div align="center"> <center> <table border="1" width="100%" cellpadding="4" class=lowcolor cellspacing="0" bordercolor="#7bb5de" style="border-collapse: collapse"> <tr> <td valign="top" align="center" width="100%"><b>设置logo下面广告位</b><br> <textarea id="content2" name="other2" style="width:100%;height:300px;visibility:hidden;"><%=rs("gg2")%></textarea> </td> </tr> <tr> <td valign="top" align="center"> <input type="submit" value=" 发布广告 " name="sub2" class="lkb"> </td> </tr> </table> </center> </div> </form> </div> <div align="center"> <form name="fother3" METHOD="post" action="addinfo3.asp" onsubmit="return checkForm()" > <div align="center"> <center> <table border="1" width="100%" cellpadding="4" class=lowcolor cellspacing="0" bordercolor="#7bb5de" style="border-collapse: collapse"> <tr> <td valign="top" align="center" width="100%"><b>设置首页底部</b><br> <textarea id="content3" name="other3" style="width:100%;height:300px;visibility:hidden;"><%=rs("gg3")%></textarea> </td> </tr> <tr> <td valign="top" align="center"> <input type="submit" value=" 发布广告 " name="sub3" class="lkb"> </td> </tr> </table> </center> </div> </form> </div> <div align="center"> <form name="fother4" METHOD="post" action="addinfo4.asp" onsubmit="return checkForm()" > <div align="center"> <center> <table border="1" width="100%" cellpadding="4" class=lowcolor cellspacing="0" bordercolor="#7bb5de" style="border-collapse: collapse"> <tr> <td valign="top" align="center" width="100%"><b>设置搜索页顶部广告</b><br> <textarea id="content4" name="other4" style="width:100%;height:300px;visibility:hidden;"><%=rs("gg4")%></textarea> </td> </tr> <tr> <td valign="top" align="center"> <input type="submit" value=" 发布广告 " name="sub4" class="lkb"> </td> </tr> </table> </center> </div> </form> </div> </body>