| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 624 人关注过本帖
标题:新闻页面显示头部信息和底部信息
只看楼主 加入收藏
酷酷的鱼
Rank: 1
等 级:新手上路
威 望:1
帖 子:472
专家分:0
注 册:2005-8-9
收藏
 问题点数:0 回复次数:3 
新闻页面显示头部信息和底部信息

这是我的程序<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>郑州科普网</title>
<style type="text/css">
<!--
@import url("link.css");
@import url("text1.css");
-->
</style>
</head>

<body background="image/BG05.gif" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<iframe frameborder="0" marginheight="0" marginwidth="0" width="780" height="208" scrolling="no" src="top.htm"></iframe>
</tr>
<tr>
<td height="220" align="center" valign="top">
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="268" height="208" align="left" valign="top">
<table width="519" border="0" align="left" cellpadding="0" cellspacing="0">
<tr align="left" valign="top">
<td colspan="2"><img src="image/kpdt.jpg" width="520" height="25" border="0" usemap="#Map"></td>
</tr>
<tr>
<td width="218" height="196" align="right" valign="middle"> <div align="right"><img src="image/t1.jpg" width="204" height="183" align="middle"></div></td>
<td width="301" align="left" valign="top"><table width="300" border="0" align="left" cellpadding="0" cellspacing="0" class="text1">
<tr>
<td height="125" align="center" valign="middle"><table class=124 cellspacing=0 cellpadding=0 width="100%" border=0>
<tbody>
<tr>
<td><script language="javascript" src="lnews.asp?typeid=1&n=5"></script></td>

</tbody>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="512" align="right" valign="top"><table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr align="right" valign="top">
<td><div align="left"><img src="image/kpzt1.jpg" width="253" height="51"></div></td>
</tr>
<tr>
<td height="158" align="center" valign="top" background="image/kpzt2.jpg"><table width="90%" border="0" cellpadding="0" cellspacing="0" class="text1">
<tr>
<td height="17" colspan="2"><font color="#800000" face="黑体">&nbsp;</font></td>
<td width="78%" height="17"><font color="#800000" face="黑体">&nbsp;</font></td>
</tr>
<tr>
<td width="10%" align="center" valign="middle"> </td>
<td width="12%" align="center" valign="middle"><font color="#800000" face="黑体"><img src="image/stars.gif" width="12" height="12"></font></td>
<td height="25" align="left" valign="middle"><strong><font color="#800000">专题报道</font></strong></td>
</tr>
<tr>
<td align="center" valign="middle"> </td>
<td align="center" valign="middle"><font color="#800000" face="黑体"><img src="image/stars.gif" width="12" height="12"></font></td>
<td height="25" align="left" valign="middle"><strong><font color="#800000">科普网站</font></strong></td>
</tr>
<tr>
<td align="center" valign="middle"> </td>
<td align="center" valign="middle"><font color="#800000" face="黑体"><img src="image/stars.gif" width="12" height="12"></font></td>
<td height="25" align="left" valign="middle"><strong><font color="#800000">科技活动周</font></strong></td>
</tr>
<tr>
<td align="center" valign="middle"> </td>
<td align="center" valign="middle"><font color="#800000" face="黑体"><img src="image/stars.gif" width="12" height="12"></font></td>
<td height="25" align="left" valign="middle"><strong><font color="#800000">活动日</font></strong></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="184" align="center" valign="top">
<table width="780" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="392" height="184" align="right" valign="top"> <table width="368" border="0" align="left" cellpadding="0" cellspacing="0">
<tr align="left" valign="top">
<td width="392"><img src="image/zcfg.jpg" width="386" height="25" border="0" usemap="#Map2"></td>
</tr>
<tr background="image/zcfgbj1.jpg">
<td height="107" align="center" valign="top" background="image/zcfgbj1.jpg">
<table width="93%" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td width="25%" height="151" align="center" valign="middle"><img src="image/zcfgt.jpg" width="92" height="91"></td>
<td width="75%" align="center" valign="top"><table width="263" border="0" align="left" cellpadding="0" cellspacing="0" class="text1">
<tr>
<td height="125" align="center" valign="middle"><script language="javascript" src="lnews.asp?typeid=2&n=5"></script></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="8" align="left" valign="top"><img src="image/zcfgbj2.jpg" width="388" height="8"></td>
</tr>
</table>

</td>
<td width="388" align="right" valign="top"><table width="386" border="0" align="right" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">
<td height="20" colspan="2"><img src="image/kpcl.jpg" width="386" height="25" border="0" usemap="#Map3MapMap"></td>
</tr>
<tr align="center" valign="middle">
<td height="30" colspan="2">
<table width="365" border="0" cellpadding="0" cellspacing="0" class="text1">
<tr align="center" valign="middle">
<td width="97" height="22" align="right"><a href="http://www.zznet.com.cn/kjxg/rwzz/index.htm">[院士专栏]</a></td>
<td width="66" align="right"><a href="http://www.zznet.com.cn/kjxg/lsmr/index.htm">[历史名人]</a></td>
<td width="99">[科技知识讲座]</td>
<td width="138" align="left"><a href="http://www.zznet.com.cn/hdz05/kpflash.asp">[科普flash]</a>
<map name="Map3MapMap">
<area shape="rect" coords="321,2,374,21" href="list.asp?typeid=3">
</map> </td>
</tr>
</table></td>
</tr>
<tr align="right" valign="top">
<td colspan="2"><div align="right"><img src="image/kpclxian.jpg" width="386" height="1"></div></td>
</tr>
<tr>
<td width="101" height="121" align="center" valign="middle"><img src="image/kpclt.jpg" width="86" height="100"></td>
<td width="320" align="center" valign="top" class="text1"><table width="90%" height="59" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top" class="text1">   朱光亚:湖北省武汉市人,1924年生,男,中共党员,核物理学家,中国科学院院士,中国工程院院士。<br>
  1945年毕业于西南联合大学物理系。1946年赴美国密执安大学从事实验核物理研究工作.....</td>
</tr>
</table> </td>
</tr>
</table>
<map name="Map3Map">
<area shape="rect" coords="321,2,374,21" href="list.asp?typeid=3">
</map></td>
</tr>
</table></td>
</tr>
<tr>
<td height="203" align="center" valign="top">
<table width="780" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="251" align="left" valign="top"><table width="251" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="image/kjsh1.jpg" width="251" height="56" border="0" usemap="#Map4"></td>
</tr>
<tr>
<td align="center" valign="middle" background="image/kjsh2.jpg"><table width="95%" border="0" cellpadding="0" cellspacing="0" class="text1">
<tr>
<td height="100" align="center" valign="middle"><script language="javascript" src="lnews.asp?typeid=4&n=5"></script></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="image/kjsh3.jpg" width="251" height="14"></td>
</tr>
</table></td>
<td width="268" align="right" valign="top">
<table width="251" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top"><img src="image/qsnkp1.jpg" width="251" height="56" border="0" usemap="#Map5"></td>
</tr>
<tr>
<td align="center" valign="middle" background="image/qsnkp2.jpg">
<table width="95%" border="0" cellpadding="0" cellspacing="0" class="text1">
<tr>
<td height="100" align="center" valign="middle"><script language="javascript" src="lnews.asp?typeid=5&n=5"></script></td>
</tr>
</table>
</td>
</tr>
<tr>
<td><img src="image/qsnkp3.jpg" width="251" height="13"></td>
</tr>
</table>
</td>
<td width="268" align="right" valign="top"><table width="251" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top"><img src="image/ldgbkp1.jpg" width="252" height="66" border="0" usemap="#Map6"></td>
</tr>
<tr>
<td height="137" align="center" valign="top" background="image/ldgbkp2.jpg">
<table width="89%" border="0" cellpadding="0" cellspacing="0" class="text1">
<tr>
<td height="104" align="center" valign="middle"><script language="javascript" src="lnews.asp?typeid=7&n=3"></script></td>
</tr>
</table> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="178" align="center" valign="top">
<table width="780" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="398" height="178" align="left" valign="top">
<table width="366" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td width="395"><img src="image/nckp.jpg" width="386" height="25" border="0" usemap="#Map7"></td>
</tr>
<tr>
<td height="143" align="left" valign="top"> <table width="92%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="22%" height="116" align="left" valign="top"><img src="image/nckpt.jpg" width="132" height="153"></td>
<td width="78%" align="center" valign="top"><table width="232" border="0" align="left" cellpadding="0" cellspacing="0" class="text1">
<tr>
<td height="125" align="center" valign="middle"><script language="javascript" src="lnews.asp?typeid=6&n=5"></script></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="10" align="center" valign="top"><img src="image/nckpxian.jpg" width="4" height="178"></td>
<td width="372" align="center" valign="top"><table width="379" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td width="386" align="right"><img src="image/kpjd.jpg" width="386" height="25" border="0" usemap="#Map8"></td>
</tr>
<tr>
<td height="152" align="left" valign="top" background="image/kpjdbj.jpg">
<table width="89%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="11%" height="116" align="left" valign="top"> </td>
<td width="89%" align="center" valign="top">
<table width="291" border="0" align="left" cellpadding="0" cellspacing="0" class="text1">
<tr>
<td height="125" align="center" valign="middle"><script language="javascript" src="lnews.asp?typeid=8&n=5"></script></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" valign="top"><table width="780" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top"><img src="image/kjyq1.jpg" width="780" height="43" border="0" usemap="#Map9"></td>
</tr>
<tr>
<td height="105" align="center" valign="top" background="image/kjyq2.jpg"><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="50%" height="104" align="center" valign="top"><table width="89%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="69%" height="88" align="right" valign="top">
<table width="95%" border="0" align="left" cellpadding="0" cellspacing="0" class="text1">
<tr>
<td height="125" align="center" valign="middle"><script language="javascript" src="lnews.asp?typeid=9&n=3"></script></td>
</tr>
</table>
</td>
<td width="31%" align="right" valign="bottom"><img src="image/kjyqt1.jpg" width="129" height="112"></td>
</tr>
</table></td>
<td width="50%" align="center" valign="top"><table width="98%" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="69%" height="88" align="right" valign="top">
<table width="95%" border="0" align="right" cellpadding="0" cellspacing="0" class="text1">
<tr>
<td height="125" align="center" valign="middle"><script language="javascript" src="lnews.asp?typeid=10&n=3"></script>
 </td>
</tr>
</table></td>
<td width="31%" align="right" valign="bottom"><img src="image/sqkpt.jpg" width="151" height="112"></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" valign="top"><img src="image/kjyq3.jpg" width="780" height="21"></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" valign="top"><iframe frameborder="0" marginheight="0" marginwidth="0" width="780" height="96" scrolling="no" src="bottom.htm"></iframe></td>
</tr>
</table>
<map name="Map">
<area shape="rect" coords="451,4,508,20" href="list.asp?typeid=1">
</map>
<map name="Map2">
<area shape="rect" coords="315,5,374,21" href="list.asp?typeid=2">
</map>
<map name="Map3">
<area shape="rect" coords="321,2,374,21" href="list.asp?typeid=3">
</map>
<map name="Map4">
<area shape="rect" coords="179,26,231,43" href="list.asp?typeid=4">
</map>
<map name="Map5">
<area shape="rect" coords="179,24,237,38" href="list.asp?typeid=5">
</map>
<map name="Map6">
<area shape="rect" coords="176,30,231,47" href="list.asp?typeid=7">
</map>
<map name="Map7">
<area shape="rect" coords="317,5,373,21" href="list.asp?typeid=6">
</map>
<map name="Map8">
<area shape="rect" coords="323,6,377,22" href="list.asp?typeid=8">
</map>
<map name="Map9">
<area shape="rect" coords="308,19,360,35" href="list.asp?typeid=9">
<area shape="rect" coords="677,18,731,34" href="list.asp?typeid=10">
</map>
</body>
</html>
这是一个新闻页面的模板程序,从后台添加上新闻,根据它生成新闻的htm页面
我给他内联了头和底,可htm页面上为什么没有显示?

搜索更多相关主题的帖子: 头部 页面 
2005-12-22 17:07
酷酷的鱼
Rank: 1
等 级:新手上路
威 望:1
帖 子:472
专家分:0
注 册:2005-8-9
收藏
得分:0 
大家帮忙看看,谢谢啦

2005-12-22 19:13
酷酷的鱼
Rank: 1
等 级:新手上路
威 望:1
帖 子:472
专家分:0
注 册:2005-8-9
收藏
得分:0 
我碰到一个情况,我在后台把模板修改了,数据库中的记录也是改变后的情况,可是显示页面却是改前的,可我看程序了,读的是改后的模板啊,这是为什么,晕

2005-12-22 19:38
酷酷的鱼
Rank: 1
等 级:新手上路
威 望:1
帖 子:472
专家分:0
注 册:2005-8-9
收藏
得分:0 

这个问题我已经解决了


2005-12-22 21:02
快速回复:新闻页面显示头部信息和底部信息
数据加载中...
 
   



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

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