标题:求助本地测试正常,上传到空间主页最上面和左侧产品列表显示不正常?
取消只看楼主
wzm0011
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2013-6-22
结帖率:0
已结贴  问题点数:20 回复次数:2 
求助本地测试正常,上传到空间主页最上面和左侧产品列表显示不正常?
这是主页代码,本地好使,上传到空间top位置不显示,左侧产品列表也不显示,首页的flash显示正常,以上是电脑访问的问题!用手机访问提示下载index.asp。各位朋友帮我看看。谢谢了!
下面的是测试空间。huiji.hk132.

<%option explicit%>
<!--#include file="../inc/setting.asp"-->
<!--#include file="../inc/conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="keywords" content="上海惠基餐饮企业管理有限公司">
<META name="description" content="几年来的发展步伐稳健而迅速,以“惠基”为核心品牌,旗下拥有金桔柠檬酱、青柠柚子酱、蓝莓果酱等众多分产品。">
<title><%= site_name_cn %></title>
<link href="../inc/css.css" rel="stylesheet" type="text/css">
</head>

<body background="images/a2_01.jpg" leftmargin="0" topmargin="0">
<!--#include file="head.asp"-->
<table width="863" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="218" valign="top" bgcolor="#FFFFFF">
      <!--#include file="left.asp"--> </td>
    <td valign="top" bgcolor="#FFFFFF">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="images/a2_08.jpg" width="646" height="24" alt=""></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="348" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="images/a2_10.jpg" width="348" height="40" alt=""></td>
              </tr>
              <tr>
                <td height="117"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td valign="top">
                        <%
dim sql_news,rs_news
sql_news = "select top 8 id,title_cn from news where sortid=62 order by orderID desc,submit_date desc"
set rs_news = Server.CreateObject("ADODB.RecordSet")
rs_news.open sql_news,conn,1,1
%>
                        <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr>
                            <td><table width="98%" border="0" align="center" cellpadding="0" cellspacing="1">
                                <%
      dim temp,wf,title
      wf = "<td width=""5%""><font face=""webdings"" color=""#000"">4</font></td>"
      do while not rs_news.eof
          temp = "<tr>"
          temp = temp & wf

          title = rs_news("title_cn")
          if len(title)>22 then
              title = left(title,22) & "…"
          end if

          temp = temp & "<td width=""95%""><a href=""#"" onclick=""javascript:location.href='news.asp?ID=" &  rs_news("id") & "';"">" & title & "</td>"
          temp = temp & "</tr>" & vbcrlf
          response.write temp
          rs_news.movenext
      loop
      rs_news.close
      set rs_news = nothing

    %>
                              </table></td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td><img src="images/a2_17.jpg" width="346" height="12" alt=""></td>
              </tr>
            </table></td>
          <td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="images/a2_11.jpg" width="297" height="40" alt=""></td>
              </tr>
              <tr>
                <td height="117"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="119"><img src="images/a2_13.jpg" width="119" height="117" alt=""></td>
                    <%
            dim strSQLAnn,rsAnn
            strSQLAnn = "Select * from Basic"
            Set rsAnn = Server.CreateObject("adodb.recordset")
            rsAnn.open strSQLAnn,conn,1,1
%>  
                      <td width="58%" valign="top"><table width="90%" border="0" align="left" cellpadding="3" cellspacing="3">
                          <tr>
                            <td><marquee scrollAmount=1 width=150 height=64 direction=up><%= rsAnn("Basic_Announce") %></marquee></td>
                          </tr>
                        </table></td>
搜索更多相关主题的帖子: 餐饮企业 有限公司 content 手机访问 include 
2013-06-24 09:56
wzm0011
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2013-6-22
得分:0 
回复 2楼 elongtown
在空间里cn/目录下,为什么本地测试没事?
2013-06-25 12:07
wzm0011
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2013-6-22
得分:0 
如何修改?谢谢了!
2013-06-26 07:22



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-415904-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.036906 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved