正 文

模板用xml的思路


www.7dspace.com  更新日期:2006-3-22 23:55:48  七度空间


生成文件:

<!--#include file="inc/setup.asp"--><!--#include file="inc/cjjerfunction.asp"--><!--#include file="inc/light.asp"--><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%=cjjer_hometitle%></title>
<meta http-equiv="content-type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Language" content="zh-CN" />
<meta name="author" content="老农" />
<meta name="copyright" content="环境工程系" />
<meta name="description" content="<%=cjjer_hometitle%>" />
<meta name="keywords" content="<%=cjjer_hometitle%>" />
<link href="styles/default/import.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="format">

<div id="site_top"></div>
<div id="top_ul"><%=get_cache(0)%></div>
<div id="format_two">
<div id="main_img">
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="100%">
<param name="movie" value="images/main.swf">
<param name="wmode" value="transparent">
<param name="quality" value="high">
<embed src="images/main.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%"></embed>
</object>
</div>
<div id="footer_ul"><%Call light()%></div>

</div>
<div id="site_footer"><%Call cc_footer()%></div>

</div>
</body>
</html>

这里,我的模块用了div,是利于样式表的使用.

主要思路如图:

其他的就不再说了,不知道说明白了.

3页,页码:[1] [2] [3] 

上一篇:多表查询技巧
下一篇:用php读取xml数据
模板用xml的思路 作者:5do8 来源:蓝色理想
收藏此页】【打印】【关闭
站 内 搜 索
 

热 点 导 读
特 别 推 荐