摘要: {dede:channel type='son' currentstyle="<li class='font cur'><a href='~typelink~' title='~typename~' >~typename~</a></li>" } <li class="font "><a href= 阅读全文
posted @ 2021-08-04 11:11 shawli 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 打开 /include/taglib/channelartlist.lib.php 找到,大概在78或者79行, ORDER BY sortrank ASC 改成$order 继续找到,大概在65行 $typeids = array();在它下面加入$order = " ORDER BY sortr 阅读全文
posted @ 2021-08-04 11:05 shawli 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 测试$('one').click.function(){ window.location.href="123.html";} 阅读全文
posted @ 2015-07-23 09:18 shawli 阅读(498) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 5 6 7 8 9 10需要得到一个数组 new Array=(1,2,3,4,5,6,7,8,9,10)var arr = document.getElementsByTagName('li'),temp = [];fo... 阅读全文
posted @ 2015-07-23 09:01 shawli 阅读(2060) 评论(0) 推荐(0) 编辑
摘要: 比如你的INPUT是:那么你在里边加入:onKeypress="javascript:if(event.keyCode == 32)event.returnValue = false;"成为: 阅读全文
posted @ 2015-06-08 15:57 shawli 阅读(1043) 评论(0) 推荐(0) 编辑
摘要: select distinct aa,* from TableInfo where ID in (select MAX(ID) from TableInfogroup by aa) select top 5 * from CH_PlanInfo left join CH_PlanTypeInfo ... 阅读全文
posted @ 2015-06-08 12:24 shawli 阅读(726) 评论(0) 推荐(0) 编辑
摘要: 方法一:利用Httphandler实现URL重写(伪URL及伪静态)我们有时候会见到这样的地址:“http://www.huoho.com/show-12-34.html”,你或许认为在站点服务器根目录“/”下存在名为“show-12-34.html”的文件,其实实际它可能是不存在的,而可能你看到的... 阅读全文
posted @ 2015-04-16 10:37 shawli 阅读(221) 评论(0) 推荐(0) 编辑
摘要: Page.ClientScript.RegisterStartupScript(GetType(), "", "");Response.Write("");this.LinkButton3.Attributes.Add("onclick", "return confirm('确定要删除吗?');")... 阅读全文
posted @ 2015-04-14 14:30 shawli 阅读(286) 评论(0) 推荐(0) 编辑
摘要: CREATE procedure News_Class--资讯新闻百万级分页(@StrWhere varchar(100),--条件@PageSize int, --页面大小@PageIndex int --页面索引)ASdeclare @strSQL varchar(2000) -- 主语句dec... 阅读全文
posted @ 2015-04-13 16:14 shawli 阅读(96) 评论(0) 推荐(0) 编辑