标题:模板设置怎么添加关键词和描述啊?
只看楼主
ychxr002
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2012-6-19
 问题点数:0 回复次数:0 
模板设置怎么添加关键词和描述啊?
菜鸟第一次接触这些,我想通过修改Templates-moban.dwt 在标题下面添加上关键词和描述
<meta name="Keywords" content="电热丝,电热管,铸铝加热器,陶瓷电加热圈,石英加热器,法兰不锈钢加热管,远红外陶瓷加热板" />
<meta name="Description" content="盐城市庆邦电器有限公司专业生产电热丝,电热管,铸铝加热器,陶瓷电加热圈,石英加热器,法兰不锈钢加热管,远红外陶瓷加热板,质量稳定深受用户青睐 " />
(本来以为直接复制黏贴上去就可以了的)基于模板更新整个站点的时候 又是错误,又是不均衡的body标签。。。伤心呢

求大神帮看看,给修改下

以下是内容:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.
<html xmlns="http://www.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>电热丝,电热管,铸铝加热器,陶瓷电加热圈,石英加热器,法兰不锈钢加热管,远红外陶瓷加热板-盐城市庆邦电器有限公司</title>
<!-- TemplateEndEditable -->
<link rel="stylesheet" type="text/css" href="../images/index.css">
<SCRIPT type=text/javascript src="../images/channelmenu_6.js"></SCRIPT>
 
<LINK
href="../images/css.css" type=text/css rel=stylesheet
tppabs="../images/css.css">
<META content="MSHTML 6.00.6000.16981" name=GENERATOR><LINK
href="../images/index.css"
type=text/css rel=stylesheet tppabs="../images/index.css">
 <!--#include file="../conn.asp"-->
 
<link href="../images/style.css" type="text/css" rel="stylesheet"/>

<script type="text/javascript">
    function qiehuan(num){
        for(var id = 0;id<=7;id++)
        {
            if(id==num)
            {
                document.getElementById("qh_con"+id).style.display="block";
                document.getElementById("mynav"+id).className="nav_on";
            }
            else
            {
                document.getElementById("qh_con"+id).style.display="none";
                document.getElementById("mynav"+id).className="";
            }
        }
    }


</script>
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
</head>

<body>
<div align="center">
  <table width="1002" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><table width="1002" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="1002" height="436" valign="top">
          <div class="top">
            <table width="1002" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="125" valign="top"><table width="1002" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="650" height="125"><div align="left"><div class="logo"></div></div></td>
                    <td valign="top"><table width="352" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td height="40"><div class="tophelp"><img src="../images/home.jpg" width="11" height="10" /><A href=http://www. onmouseover="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.');">设为首页</a>
<img src="../images/bookmark.jpg" width="11" height="9" /> <a href="javascript:window.external.AddFavorite('http://www.','盐城庆邦电器有限公司')"> 加入收藏 </a><img src="../images/mail.jpg" width="9" height="10" /><a href="../incinfo.asp?id=41"> 联系我们</a></div></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td><span style=" font-size:18px; font-weight:bold; color:red; padding-left:20px; font-family:'黑体'">24小时服务热线:18921842011</span></td>
                      </tr>
                    </table></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td height="270" valign="top">                  <div align="center">  <script language=JavaScript> //js代码               

                            var bannerAD=new Array(); //用于存放图片路径(相对路径)

                            var adNum=0;        

                            bannerAD[0]="images/1.jpg";

                            bannerAD[1]="images/2.jpg";

                             

                            function setTransition(){

                                          if (document.all){

                                          bannerADrotator.filters.revealTrans.Transition=Math.floor(Math.random()*23);//设置图片切换

                                                        bannerADrotator.filters.revealTrans.apply(); //应用图片切换

                                          }

                            }            

                            function playTransition(){

                                          if (document.all)

                                                        bannerADrotator.filters.revealTrans.play() //播放图片

                            }            

                            function nextAd(){

                                          if(adNum<bannerAD.length-1)adNum++;

                                          else adNum=0;

                                          setTransition();

                                          document.images.bannerADrotator.src=bannerAD[adNum];

                                          playTransition();

                                          theTimer=setTimeout("nextAd()", 5000); //5秒钟切换一张图片

                            }                          

                            </script>
                    <img style="FILTER: revealTrans(duration=2,transition=20)" height=270 src="../images/1.jpg" width=990 border=1 name=bannerADrotator />
                    <SCRIPT language=JavaScript>nextAd()</SCRIPT>

 </div></td>
              </tr>
              <tr>
                <td height="45"><div id=menu_out>
        <div id=menu_in>
            <div id=menu>
                <UL id=nav>
            <li><A class=nav_on id=mynav0 onmouseover=javascript:qiehuan(0) href="../index.asp"><SPAN>网站首页</SPAN></A></li>
                    <li><a href="../incinfo.asp?id=37" onmouseover="javascript:qiehuan(1)" id="mynav1" class="nav_off"><span>公司简介</span></a></li>
                    <li><a href="../product.asp" onmouseover="javascript:qiehuan(2)" id="mynav2" class="nav_off"><span>产品中心</span></a></li>
                    <li><a href="../news.asp?id=14" onmouseover="javascript:qiehuan(3)" id="mynav3" class="nav_off"><span>技术支持</span></a></li>
                    <li><a href="../news.asp?id=12" onmouseover="javascript:qiehuan(4)" id="mynav4" class="nav_off"><span>新闻资讯</span></a></li>
                    <li><a href="../incinfo.asp?id=40" onmouseover="javascript:qiehuan(5)" id="mynav5" class="nav_off"><span>销售网络</span></a></li>
                    <li><a href="../zxly.asp" onmouseover="javascript:qiehuan(6)" id="mynav6" class="nav_off"><span>在线留言</span></a></li>
                    <li><a href="../incinfo.asp?id=41" onmouseover="javascript:qiehuan(7)" id="mynav7" class="nav_off"><span>联系我们</span></a></li>
                </UL>
                <div id=menu_con>
                    <div id=qh_con0 style="DISPLAY: block"></div>
                    <div id=qh_con1 style="DISPLAY: none"></div>
                    <div id=qh_con2 style="DISPLAY: none"></div>
                    <div id=qh_con3 style="DISPLAY: none"></div>
                    <div id=qh_con4 style="DISPLAY: none"></div>
                    <div id=qh_con5 style="DISPLAY: none"></div>
                    <div id=qh_con6 style="DISPLAY: none"></div>
                    <div id=qh_con7 style="DISPLAY: none"></div>
                </div>
            </div>
        </div>
    </div>    </td>
              </tr>
            </table>
          </div>         </td>
        </tr>
        <tr>
          <td valign="top"> <div class="mobanmidddle">
        <table width="1002" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="200" valign="top"><table width="200" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="../images/title.jpg" width="202" height="40" /></td>
      </tr>
      
      <tr>
        <td><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD align=middle> <TABLE borderColor=#111111 cellSpacing=0 cellPadding=2 width="100%" border=0  >
               
              <tr>
                        <TD width=100% height="16">
                        
  <script language="JavaScript" type="text/JavaScript">
                     <!--
            function MM_jumpMenu(targ,selObj,restore){ //v3.0
                      eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
                      if (restore) selObj.selectedIndex=0;
                     }
            //-->
<!--
    function ToggleDisplay(oButton, oItems){
        if ((oItems.style.display == "") || (oItems.style.display == "block"))    {
            oItems.style.display = "none";
            oButton.src = "../images/tree_plus.gif";
        }   
        else {
            oItems.style.display = "block";
            oButton.src = "../images/tree_minus.gif";
        }
        return false;
    }
    function UnFoldAll() {
        temp = document.all.length;
        for(i=0;i<temp;i++)
            if(document.all[i].id.substr(0,3) =="Img")
                document.all[i].src = "../images/tree_minus.gif"
            else if(document.all[i].id.substr(0,4) =="Tree")
                document.all[i].style.display ="block"
    }
    function FoldAll() {
        temp = document.all.length;
        for(i=0;i<temp;i++)
            if(document.all[i].id.substr(0,3) =="Img")
                document.all[i].src = "../images/tree_plus.gif"
            else if(document.all[i].id.substr(0,4) =="Tree")
                document.all[i].style.display ="none"
    }
//-->
</SCRIPT>
                           
  <%   
sql = "SELECT * FROM P_class ORDER BY p_id"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.OPEN sql,Conn,0,1
if rs.eof and rs.bof then
Response.Write"还没有分类"
else
do while not rs.eof

sql = "SELECT * FROM P_class_small where p_type ='"&rs("p_type")&"'"
Set rs2 = Server.CreateObject("ADODB.Recordset")
rs2.OPEN sql,Conn,1,1
if rs2.recordcount > 0 then
Response.Write"<div align='left' style='padding-left:20px;'><A border=0 style='CURSOR: hand;' id=Img"&rs("p_id")&" onclick=ToggleDisplay(Img"&rs("p_id")&",Tree"&rs("p_id")&")><img src='images/sortjiutuo.jpg' width='11' height='11' border=0>&nbsp;<b>"&rs("p_type")&"</b></a>"
else
Response.Write" <div align='left' style='padding-left:20px;'><A href=../product.asp?classtype="&rs("p_type")&" class='six'><img src='../images/sortjiutuo.jpg' width='11' height='11' border=0>&nbsp;<b>"&rs("p_type")&"</b></a>"
end if
counts=conn.execute("Select count(*) from P_info where p_other = 0 and p_type='"&rs("p_type")&"'")(0)
Response.Write" <br></div>"
%>
                      </td>
              </tr>
 
<tr><td>
                          <div id=Tree<%=rs("p_id")%>>
                            <%
do while not rs2.eof
%>
                            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                              <tr>
                                <td width="100%"><div align="left" style="padding-left:30px;"><img src="../images/i4.gif" width="10" height="12" border='0' />&nbsp;<a class="number" href='../product.asp?classtype=<%=rs2("p_type")%>&smallclass=<%=rs2("p_small_type")%>'><%=rs2("p_small_type")%></a></div></td>                  
                              </tr>
                            </table>
                            <%
rs2.movenext
loop
rs2.close
Set rs2=Nothing
%>
                            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                              <tr>
                                <td width="100%" height="5"></td>
                              </tr>
                            </table>
                          </div>
                          <%
rs.movenext
loop
end if
rs.close
Set rs=Nothing
%>
<SCRIPT language=javascript>FoldAll();</SCRIPT>
                        </td>
                      </tr>
                    </table>
         </TD>
        </TR>
        <TR>
          <TD vAlign=top>
            <TABLE cellSpacing=0 cellPadding=0 width="99%" align=center
border=0>
              <TBODY>
              <TR>
                <TD height=1></TD></TR>
              <TR>
                <TD>
                  <TABLE cellSpacing=1 cellPadding=4 width="100%" align=center
                  bgColor=#ffffff border=0>
                    <TBODY></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
        <TR>
          <TD vAlign=top align=middle>
            <TABLE class=font-line22 cellSpacing=0 cellPadding=0 width=191
            border=0>
              <TBODY>
              <TR>
                <TD class=kuang vAlign=top align=middle>
                  <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                    <TBODY>
                    <TR>
                      <TD height=5></TD></TR></TBODY></TABLE>                  </TD>
              </TR></TBODY></TABLE></TD></TR>
        <TR>
          <TD vAlign=top ><img src="../images/title2.jpg" /></TD>
        </TR>
        <TR>
          <TD vAlign=top >
          <br/><br/><DIV align=center>
                                                      <table width="100%" height="34" border="0" cellpadding="0" cellspacing="0">
                                                        <form name="form1" method="post" action="../product.asp">
                                                          <tr>
                                                            <td width="110" class="font18">
                                                            <p style="padding-left:10px;"><input name="key" type="text" class="bd5" id="key" size="15"></p></td>
                                                            <td width="65" align="left"><input name="imageField2" type="image" src="../images/submit.gif" border="0"></td>
                                                          </tr>
                                                        </form>
                                                      </table>
                                                    </DIV><br/>
            </TD>
        </TR>
        <TR>
          <TD vAlign=top height=227>
            <TABLE cellSpacing=0 cellPadding=0 width=191 align=center
              border=0><TBODY>
              <TR>
                <TD vAlign=top
                background=../images/le02.jpg
                height=227 tppabs="/images/le02.jpg">
                  <TABLE width=191 height="212" border=0 cellPadding=0 cellSpacing=0>
                    <TBODY>
                    <TR>
                      <TD width=16>&nbsp;</TD>
                      <TD width=175 height=58>&nbsp;</TD>
                    </TR>
                    <TR>
                      <TD>&nbsp;</TD>
                      <TD width=175><p style="font-size:12px; text-align:left;">地址:盐城市工农巷8号<BR>
                        电话:0515-83275109
                        <br />
                        联系人:胡星辰<br />
                        手机:18921842011
                        <br />
                        QQ:1963820889
                        <br />
                        邮箱:ycqbdq@
                        <br />
                        网址:www.                        </TD>
                    </TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
        <TR>
          <TD vAlign=top align=middle><IMG height=58
            src="../images/left3.jpg"
            width=185 tppabs="/images/left3.jpg"></TD></TR>
        <TR>
          <TD vAlign=center align=middle height=55><div align="center"><A
            href="http://www.baidu.com"
            target=_blank tppabs="http://www.baidu.com/"><IMG height=44
            src="../images/1187686703.png"
            width=150 border=0
            tppabs="/images/1187686703.png"></A></div></TD>
        </TR>
        <TR>
          <TD vAlign=center align=middle height=55><div align="center"><A
            href="http://www.
            target=_blank tppabs="http://www. height=46
            src="../images/1187686768.png"
            width=148 border=0
            tppabs="/images/1187686768.png"></A></div></TD>
        </TR>
        <TR>
      <TD vAlign=center align=middle height=55><div align="center"><A
            href="http://www.
            target=_blank tppabs="http://www. height=42
            src="../images/1187686817.png"
            width=149 border=0
            tppabs="/images/1187686817.png"></A></div></TD>
        </TR></TBODY></TABLE></td>
      </tr>
      
    </table></td>
    <td width="802" valign="top"><!-- TemplateBeginEditable name="EditRegion3" -->
      <table width="802" border="0" cellspacing="0" cellpadding="0" style="padding-top:3px;">
        <tr>
          <td ><div class="mobantitle"> <span style=" line-height:40px; text-align:left; padding-left:50px; FONT: 14px/33px Simsun; FLOAT: left; COLOR:#333333; font-weight:bold;">公 司 简 介</span> </div></td>
        </tr>
        <tr>
          <td valign="top">&nbsp;</td>
        </tr>
      </table>
    <!-- TemplateEndEditable --></td>
  </tr>
</table>

          </div></td>
        </tr>
        <tr>
          <td><div class="bottom">
         
            
     
              
                    <p  style="padding-top:8px; text-align:center;">|&nbsp;&nbsp;&nbsp;&nbsp; <a href="../incinfo.asp?id=37" target="_self"><span style="color:#FFFFFF">关于我们</span>&nbsp;&nbsp; &nbsp;&nbsp; </a>|&nbsp;&nbsp;&nbsp; <a href="../incinfo.asp?id=41" target="_self"><span style="color:#FFFFFF">联系方式</span>&nbsp;&nbsp; &nbsp; </a>|&nbsp;&nbsp; <a href="../zxly.asp" target="_self">&nbsp; <span style="color:#FFFFFF">客户留言</span>&nbsp;&nbsp; </a>&nbsp; |&nbsp;&nbsp; <a href="../news.asp?id=14" target="_self"><span style="color:#FFFFFF">技术资讯</span>&nbsp;&nbsp;&nbsp; </a>| <a href="../incinfo.asp?id=40" target="_self">&nbsp;&nbsp; <span style="color:#FFFFFF">销售网络</span>&nbsp;&nbsp;&nbsp; </a>|</p>
               
                <br/>
                <br/>
                <DIV
style=" font-size:12px;TEXT-ALIGN: center; LINE-HEIGHT: 24px; MARGIN: 0px;  COLOR: #d4d4d4">
              
                   版权所有  Copyright(C)2010-2011 盐城庆邦电器有限公司&nbsp;&nbsp;<br/>
                 &nbsp; 地址:江苏省盐城市工农巷8号&nbsp;&nbsp; 联系电话:051588266807&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 技术支持:&nbsp;&nbsp; 思源网络&nbsp;&nbsp;&nbsp;&nbsp;苏ICP备11018598号-1</DIV
          >
          </div></td>
        </tr>
      </table></td>
    </tr>
  </table>
</div>
</body>
</html>
搜索更多相关主题的帖子: 有限公司 content 加热器 盐城市 关键词 
2012-06-19 09:42



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




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

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