标签名称:{$MY_栏目左导航} 1、查询语句:(参数为父ID) select classID,ClassName,RootID,linkurl,Child from PE_Class where ChannelID=1 and ParentID={input(0)} order by OrderID asc 2、标签内容: table width=277 border=0 align=center cellPadding=0 cellSpacing=0 class=bian4 style=MA

Posted at (11-01-26)Views(60)

今天是script language=JavaScript type=text/JavaScript src=../zb/date.js/scriptscript language=JavaScripttoday=new Date();function initArray(){this.length=initArray.arguments.length;for(vari=0;ithis.length;i++) this[i+1]=initArray.arguments[i]};var d=new

Posted at (11-01-26)Views(86)

!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtdhtml xmlns=http://www.w3.org/1999/xhtmlheadmeta http-equiv=Content-Type content=text/html; charset=gb2312 /title始终居中的弹出层/titlestyle typ

Posted at (11-01-21)Views(50)

mysql中有个limit函数,可以很方便的调用从指定记录开始的记录条数。比如limit 2,10 就是调用从第二条记录开始的十条记录。其实5UCMS用独立sql同样也可以做到,缺点就是不支持分页。标签语法如下: $Sql=Select top 10 * From [{pre}content] Where id not in ( select top 1 id from [{pre}content])

Posted at (11-01-08)Views(44)

一共有2种方法.. 在文章页articel.html 的模板下进行 第一种: 找到: div id=new {field:content} /div 下面我们将这2个DIV div style=float: left; clear: left; height: 200px; width: 1px;/div div style=height: 250px;width: 250px;float: left;clear: left;margin: 15px 15px 15px 0px; {my:ads

Posted at (11-01-08)Views(39)

5ucms大类下面显示所有文章: 比如有一个大类:新闻,新闻下面又添加了几个小类,国内新闻,国外新闻。 如果我想点击新闻的时候把所有的新闻都显示出来(国内新闻、国外新闻),现在程序实现不了这个功能,于是就查看了一下5u的程序,找到了解决的办法,于是发个帖子,分享出来: 打开inc/class_template.asp这个文件,找到289行, 把 If Len(CID) 0 And isnumeric(CID) Then Tag_Where = Tag_Where And [CID]= CID

Posted at (11-01-05)Views(47)

引用的方法,参考演示 嵌入网页的引用: 图片组就在 a 标签中添加 rel=lyteframe 注意参考演示。 h3 style=clear: both;a href=http://51xuediannao.com rel=lyteframe title=懒人建站 rev=width: 400px; height: 300px; scrolling: no;懒人建站/a/h3 嵌入网页组的引用: 图片组就在 a 标签中添加 rel=lyteframe[catalog] 注意参考演示。 a hre

Posted at (11-01-04)Views(47)

!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtdhtml xmlns=http://www.w3.org/1999/xhtmlheadmeta http-equiv=Content-Type content=text/html; charset=gb2312 /title打造兼容(IE,FF,Opera,Safari

Posted at (11-01-04)Views(42)