wy_trip_titlepci.asp
上传用户:hnxqingdao
上传日期:2013-05-22
资源大小:1283k
文件大小:5k
源码类别:

其他行业

开发平台:

ASP/ASPX

  1. <html>
  2. <head>
  3. <title>PTrip Server 2005 For 数据库课程设计
  4. </title>
  5. <META http-equiv=Content-Type content="text/html; charset=gb2312">
  6. <link rel="stylesheet" type="text/css" href="../wy_trip_css/wy_trip.css">
  7. </head>
  8. <SCRIPT LANGUAGE="JavaScript">
  9. adTime=8;
  10. chanceAd=1;
  11. var ns=(document.layers);
  12. var ie=(document.all);
  13. var w3=(document.getElementById && !ie);
  14. adCount=0;
  15. function initAd(){
  16.         if(!ns && !ie && !w3) return;
  17.         if(ie)                adDiv=eval('document.all.sponsorAdDiv.style');
  18.         else if(ns)        adDiv=eval('document.layers["sponsorAdDiv"]');
  19.         else if(w3)        adDiv=eval('document.getElementById("sponsorAdDiv").style');
  20.         randAd=Math.ceil(Math.random()*chanceAd);
  21.         if (ie||w3)
  22.         adDiv.visibility="visible";
  23.         else
  24.         adDiv.visibility ="show";
  25.         if(randAd==1) showAd();
  26. }
  27. function showAd(){
  28. if(adCount<adTime*10){adCount+=1;
  29.         if (ie){documentWidth  =document.body.offsetWidth/2+document.body.scrollLeft-20;
  30.         documentHeight =document.body.offsetHeight/2+document.body.scrollTop-20;}
  31.         else if (ns){documentWidth=window.innerWidth/2+window.pageXOffset-20;
  32.         documentHeight=window.innerHeight/2+window.pageYOffset-20;}
  33.         else if (w3){documentWidth=self.innerWidth/2+window.pageXOffset-20;
  34.         documentHeight=self.innerHeight/2+window.pageYOffset-20;}
  35.         adDiv.left=documentWidth-100;adDiv.top =documentHeight-0;
  36.         setTimeout("showAd()",100);}
  37. }
  38. function closeAd(){
  39. if (ie||w3)
  40. adDiv.display="none";
  41. else
  42. adDiv.visibility ="hide";
  43. }
  44. </script>
  45. <body leftmargin="0" topmargin="0"  bottommargin="0" rightmargin="0" link="#3357B3" vlink="#3357B3" alink="#3357B3" bgcolor="#e8eefc">
  46. <%up=request.QueryString("up")%>
  47. <table width="734" height="100%" cellpadding="0" cellspacing="0">
  48. <tr>
  49.   <td valign="top" class="Main">
  50. <p class="NoBreakBeforeAfter"><img src="../wy_trip_images/TopCol3.gif" WIDTH="247" HEIGHT="23"></p>
  51. <p class="NoBreakBeforeAfter"><img src="../wy_trip_images/HeaderOtherDestination.gif" width="229" height="28"></p>
  52. <p class="Indented1" align="center"><font size="6"><b>PTrip 2005 后台管理</b></font></p>
  53. <p class="Indented1" align="center"><b>欢迎管理员 <%=adname%> 登录</b></p>
  54. <hr align="center" width="80%" color="#999999">
  55.     <table width="85%"  border="0" align="center" cellpadding="0" cellspacing="0">
  56.               <tr>
  57.                 <th width="20%" scope="col">更新首页图片</th>
  58.                 <th width="80%" scope="col">
  59. <form method="post" action="wy_trip_admin_uppic/wy_upload2.asp?table=trip_infor&name=picpath&up=<%=up%>" enctype="multipart/form-data" name="form2" onsubmit="initAd();">
  60.    <input type=file name="sf_upfile" size="25" class=text>
  61.    <input type="submit" name="submit" value="上 传 图 片" class="text">
  62. </form>
  63. </th>
  64.               </tr>
  65.               <tr>
  66.                 <td>尺寸:103*145</td>
  67.                 <td>&nbsp;</td>
  68.               </tr>
  69.               <tr>
  70.                 <td>&nbsp;</td>
  71.                 <td>
  72. <div id="sponsorAdDiv" style="visibility:hidden; left: 2px; top: 15px; width: 197px; height: 13px"> 
  73. <table width="200" height="25" bgcolor="#0099cc" border=0 cellspacing=1>
  74.      <tr> 
  75.        <td> 
  76.          <table width="100%" height="100%"  border=0 cellspacing=0>
  77.            <tr bgcolor="#d2e9fe"> 
  78.              <td> &nbsp;&nbsp;&nbsp;&nbsp;正在上传图片,请稍候...... </td>
  79.            </tr>
  80.          </table>
  81.        </td>
  82.      </tr>
  83.    </table>  
  84. </div> 
  85. </td>
  86.               </tr>
  87.               <tr>
  88.                 <td>&nbsp;</td>
  89.                 <td>&nbsp;</td>
  90.               </tr>
  91.               <tr>
  92.                 <td>&nbsp;</td>
  93.                 <td>&nbsp;</td>
  94.               </tr>
  95.               <tr>
  96.                 <td>&nbsp;</td>
  97.                 <td>&nbsp;</td>
  98.               </tr>
  99.               <tr>
  100.                 <td>&nbsp;</td>
  101.                 <td>&nbsp;</td>
  102.               </tr>
  103.               <tr>
  104.                 <td>&nbsp;</td>
  105.                 <td>&nbsp;</td>
  106.               </tr>
  107.               <tr>
  108.                 <td>&nbsp;</td>
  109.                 <td>&nbsp;</td>
  110.               </tr>
  111.               <tr>
  112.                 <td>&nbsp;</td>
  113.                 <td><div align="right"><a href="wy_trip_admin.asp" target="main">返回上一页</a></div></td>
  114.               </tr>
  115.               <tr>
  116.                 <td>&nbsp;</td>
  117.                 <td>&nbsp;</td>
  118.               </tr>
  119.               <tr>
  120.                 <td>&nbsp;</td>
  121.                 <td>&nbsp;</td>
  122.               </tr>
  123.               <tr>
  124.                 <td>&nbsp;</td>
  125.                 <td>&nbsp;</td>
  126.               </tr>
  127.             </table>
  128.     <p>&nbsp;</p></td>
  129. </tr>
  130. </table>
  131. </body>
  132. </html>