布罗格的烘培机

Firefox、Opera、Safari下有的页面会出错,原因是以前的HTML数据不规范所致。

RainbowSoft首页源码

把rainbowsoft.org首页的代码写在这里,总有人会问RainbowSoft.Org首页是如何做的,其实只是index.asp用Server.Execute方法聚合了网站里的4个Blog的相应文件,Blog的信息一发生改变,首页自然就会变化了。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <meta http-equiv="Content-Language" content="zh-cn" />
  <meta name="author" content="朱煊(zx.asd)"/>
  <meta name="description" content="RainbowSoft Studio"/>
  <link rel="Shortcut Icon" href="http://www.rainbowsoft.org/favicon.ico" />
  <link rel="Bookmark" href="http://www.rainbowsoft.org/favicon.ico" />
  <meta name="copyright" content="© 1999-2004 RainbowSoft Studio|版权所有 1999-2005 彩虹软件工作室"/>
  <title>RainbowSoft Studio|Z-Blog官方网站:提供基于ASP平台的开放、高效、健壮、实用、美观、大方的Blog程序</title>
  <style type="text/css">



/*--------------------------全--局-------------------------------*/
body{
  margin:0;
  padding:0;
  color:#000000;
  font-size:12px;
  background:#FBFBFB;
  text-align:center;
  background:#FFFFFF url("image/bg2.gif") repeat-x 0 -25px;
}
a{
  text-decoration: none;
}
a:link {
  color: #095C83;
}
a:visited {
  color: #095C83;
}
a:hover {
  color: #DC143C;
  text-decoration: underline;
}
a:active {
  color: #DC143C;
  text-decoration: underline;
}
ul{
  list-style-type:none;
  list-style-position : outside;
  margin:0 0 0 0;
  padding:0 0 0 0;
  word-break:break-all;
}
li{
  margin:0 0 0 0;
  padding:0 0 0 0;
}
p{
  margin:0 0 0 0;
  padding:0 0 0 0;
  word-break:break-all;
}
img{
  border:0;
}

/*---------------------------------------------------------------*/
#divAll{
  width:602px;
  margin:0 auto;
  padding:0
}

#divPage{
  width:602px;
  margin:0;
  padding:0 0 0 0;
  text-align:left;
  float:left;
}

#divMiddle{
  width:602px;
  margin:0;
  padding:0;
  text-align:left;
  float:left;

}

#divTop{
  width:602px;
  margin:0 0 0 0;
  padding:0;
  text-align:left;
  float:left;
  background:url("http://www.rainbowsoft.org/zblog/style/default/zblog.gif") no-repeat 4px 21px;
  height:91px;
}


#divMain{
  width:600px;
  margin:0 0 0 0;
  padding: 0;
  text-align:left;
  float:left;
  border-right:1px solid #999;
  border-left:1px solid #999;
}

#divBottom{
  width:600px;
  margin:0 auto;
  padding:0;
  float:left;
  height:70px;
  background:url("image/bottom.gif") repeat-x 0 0;
  border-right:1px solid #999;
  border-left:1px solid #999;
}


/*---------------------------------------------------------------*/
#BlogTitle{
  font-size:32px;
  margin:28px 0 0 12px;
  padding:0 0 0 64px;
  font-weight:bold;
  font-family:"黑体","宋体";
  color:#FFFFFF;
}
#BlogTitle a{
  color:#FFFFFF;
}
#BlogTitle a:hover {
  color: #FFFFFF;
  text-decoration: none;
}
#BlogTitle a:active {
  color: #FFFFFF;
  text-decoration: none;
}
#BlogSubTitle{
  color: #FFFFFF;
  font-size:12px;
  margin:0 0 0 12px;
  padding:0 0 0 64px;
}
#BlogCopyRight{
  display:none;
}

/*---------------------------------------------------------------*/
#divNavBar{
  float:left;
  width:600px;
  height:25px;
  border-right:1px solid #999;
  border-left:1px solid #999;
}

#divNavBar h3{
  display:none;
}

#divNavBar ul{
  margin:0;
  padding:0;
}

#divNavBar li{
  float:left;
  padding:0 0 0 0;
  margin:0 0 0 0;
  font-family:"宋体","黑体";
  background:url("http://www.rainbowsoft.org/zblog/style/default/navbg2.gif") no-repeat right 0;
}

#divNavBar a{
  float:left;
  margin:0;
  padding:6px 10px 4px 10px;
  height:14px;
  text-decoration: none;
}

#divNavBar a:link {
  color: black;
}
#divNavBar a:visited {
  color: black;
}
#divNavBar a:hover {
  color: white;
  background:#DC143C;
}
#divNavBar a:active {
  color: white;
  background:#DC143C;
}



/*---------------------------------------------------------------*/
div.list{
  padding:0;
  margin:0;
  width:600px;
}

div.list img{
  float:left;
  border:0;
  padding:0;
  margin:0;
}
div.list ul{
  float:left;
}
div.list h3{
  background:url("image/titlebg.gif") repeat-x 0 0;
  font-size:14px;
  height:26px;
  padding:7px 0 0 10px;
  margin:0;
}


div.art{
  float:left;
  width:350px;
  padding:0 0 10px 0;
}
div.art li{
  width:315px;
  height:18px;
  overflow:hidden;
  padding:0 0 0 25px;
  background:url("http://www.rainbowsoft.org/zblog/style/default/pointblue.gif") no-repeat 12px 2px;
  line-height:18px;
}


div.cmt{
  float:left;
  width:250px;
  padding:0 0 10px 0;
}
div.cmt li{
  width:220px;
  height:18px;
  overflow:hidden;
  padding:0 0 0 18px;
  background:url("http://www.rainbowsoft.org/zblog/style/default/pointblue.gif") no-repeat 5px 2px;
  line-height:18px;
}
  </style>
</head>
<body>





<div id="divAll">
  <div id="divPage">
  <div id="divMiddle">
    <div id="divTop">
<h1 id="BlogTitle">Z-Blog官方网站</h1>
<h2 id="BlogSubTitle">提供基于<abbr title="Active Server Pages">ASP</abbr>平台的开放、高效、健壮、实用、美观、大方的<acronym title="WebLog|网络日志">Blog</acronym>程序</h2>
    </div>
    <div id="divNavBar">
<h3></h3>
<ul>
    <li><a href="zblog/">布罗格的烘培机</a></li>
    <li><a href="down/">Z-Blog资源下载</a></li>
    <li><a href="product/">Z-Blog技术中心</a></li>
    <li><a href="bbs/">Z-Blog交流论坛</a></li>
    <li><a style="color:red;" href="http://www.zblogger.net/bbs/">Z-Blog官方论坛</a></li>
</ul>
    </div>
    <div id="divMain">

<div class="list">
  <img width="600" height="200" src="image/banner.png" alt="Z-Blog下载" title="Z-Blog下载" usemap="#topbutton" ismap="ismap"/>
  <map name="topbutton" id="TopbarMap">
    <area shape="rect" coords="443, 149, 567, 175" href="http://www.rainbowsoft.org/down/post/45.asp" alt="Z-Blog下载" />
  </map>
</div>


<div class="list">
  <a href="zblog/"><img width="600" height="50" src="image/sub4.gif" alt="布罗格的烘培机" title="布罗格的烘培机"/></a>
  <div class="art">
  <h3>最新日志</h3><!-- <a href="zblog/rss.xml"><img width="27" height="14" src="image/xml.png" alt="RSS" title="RSS"/></a> -->
  <ul>
<%
Server.Execute "zblog/include/previous.asp"
%>
  </ul>
  </div>

  <div class="list cmt">
  <h3>最新评论</h3>
  <ul>
<%
Server.Execute "zblog/include/comments.asp"
%>
  </ul>
  </div>
</div>



<div class="list">
  <a href="down/"><img width="600" height="50" src="image/sub1.gif" alt="Z-Blog资源下载" title="Z-Blog资源下载"/></a>
  <div class="art">
  <h3>最新下载</h3><!-- <a href="down/rss.xml"><img width="27" height="14" src="image/xml.png" alt="RSS" title="RSS"/></a> -->
  <ul>
<%
Server.Execute "down/include/previous.asp"
%>
  </ul>
  </div>

  <div class="cmt">
  <h3>最新评论</h3>
  <ul>
<%
Server.Execute "down/include/comments.asp"
%>
  </ul>
  </div>
</div>


<div class="list">
  <a href="product/"><img width="600" height="50" src="image/sub2.gif" alt="Z-Blog交流论坛" title="Z-Blog技术中心"/></a>
  <div class="art">
  <h3>最新文章</h3><!-- <a href="product/rss.xml"><img width="27" height="14" src="image/xml.png" alt="RSS" title="RSS"/></a> -->
  <ul>
<%
Server.Execute "product/include/previous.asp"
%>
  </ul>
  </div>

  <div class="cmt">
  <h3>最新评论</h3>
  <ul>
<%
Server.Execute "product/include/comments.asp"
%>
  </ul>
  </div>
</div>


<div class="list">
  <a href="bbs/"><img width="600" height="50" src="image/sub3.gif" alt="RainbowSoft Studio" title="Z-Blog交流论坛"/></a>
  <div class="art">
  <h3>最新贴子</h3><!-- <a href="bbs/rss.xml"><img width="27" height="14" src="image/xml.png" alt="RSS" title="RSS"/></a> -->
  <ul>
<%
Server.Execute "bbs/include/previous.asp"
%>
  </ul>
  </div>

  <div class="cmt">
  <h3>最新评论</h3>
  <ul>
<%
Server.Execute "bbs/include/comments.asp"
%>
  </ul>
  </div>
</div>

    </div>

    <div id="divBottom">
<img width="27" height="15" src="image/rs.gif" alt="RainbowSoft Studio" title="RainbowSoft Studio" style="margin:46px 0 0 435px;padding:0;"/>

<h2 id="BlogCopyRight">Copyright lin 1999-2005 RainbowSoft Studio. Some Rights Reserved.</h2>


    </div>
    <div style="font-size:1px;">鄂ICP备05008527号</div>
  </div>
  </div>
</div>


</body>
</html>

  • 明月星光 :
  • 多了XML链接代码?……

  • 2005-11-14 , 星期一 , 17:57:41
  • rainbowsoft :
  • 那是没用的

  • 2005-11-14 , 星期一 , 18:00:03
  • 小串 :
  • 这个页乱了,应该要修改一下文章内容。

  • 2005-11-15 , 星期二 , 21:32:06
  • 一为空间 :
  • 可惜我的服务器只支持PHP了,等CPU换了把ASP也弄上,哈

  • 2005-11-25 , 星期五 , 16:41:39
  • sunk :
  • 我的用这个后怎么全成乱码了? 我装的IIS,不支持这个,但我最后取消了,还是乱码

  • 2006-01-18 , 星期三 , 17:15:05
[<<] [<] [1] [>] [>>]

发表评论:

­

Powered by Zdevo 1.0.3125.32067,Template by Nagrand.

­