[field:pubdaterunphp='yes']$a="<fontcolor='#ff0000'>";$d="<fontcolor='#858585'>";$b="</font>";$c=strftime("%m月%d日","@me");$ntime=time();$oneday=3600*24;if(($ntime-@me)<$oneday)@me=$a.$c.$b;else@me=$d.$c.$b;[/field:pubdate]...
http://www.jb51.net//article/15634.htm
protectedoverridevoidRender(HtmlTextWriterwriter){//把最终要输出的html压缩后再输出StringWriterhtml=newStringWriter();HtmlTextWritertw=newHtmlTextWriter(html);base.Render(tw);stringouthtml=html.ToString();outhtml=Regex.Replace(outhtml,"\\s+","");outhtml=Regex.Replace(outhtml,">\\s+<","><");outhtml=out...
http://www.jb51.net//article/15497.htm
所以就为FCKeditor写了个InsertCode的插件。整个插件的制作过程非常简单:FCKeditor插件开发请参考FCKeditor官网的文档:http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Customization/Plug-ins首先,我们在FCKeditor/editor/plugins目录下新建一个insertcode目录,并在insertcode目录下新建一个fckplugin.js文件。在新建的fckplugin.js文件中插入下面的代码://插入代码[code]FCKCommands.RegisterCom...
http://www.jb51.net//article/15492.htm
集成FCKEditorv2.6(当前为最新版本)的基本步骤如下:1.下载FCKeditor2.6基本文件(MainCode)。将解压缩的文件复制到项目的editors/FCKEditorV2目录下。 2.下载FCKeditor.Net/ASP.NET控件,复制FredCK.FCKeditorV2.dll文件到项目的bin目录。这样就基本可以FCKEditorv2.6超强的编辑器了,当然还需要在HostSettings中设置默认的编辑器。关于FCKEditor的一些基本配置信息,请参考如下的文章:如需要使用文件上传功能,还需要修改代码FCKEditorV2/editor/fileman...
http://www.jb51.net//article/15491.htm
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Security.Cryptography; using&nb...
http://www.jb51.net//article/15376.htm
朋友发的,界面不错。收藏......打包下载http://sh.jb51.net/yuanma/bianjiqi/QzoneEditor.rar...
http://www.jb51.net//article/15360.htm
而助易网的rss读取就是在这个程序的基础上稍做改造而成,主要是输出了一个数组字符串以及解决编码问题。php源代码及代码详细解释如下:<?php//RSS源地址列表数组$rssfeed = array("http://www.jb51.net/feed","http://rss.sina.com.cn/news/allnews/sports.xml","http://ent.163.com/special/00031K7Q/rss_toutiao.xml","http://tech.163.com/special/00091JPQ/techimportant.xml")...
http://www.jb51.net//article/15343.htm
...
http://www.jb51.net//article/15155.htm
DEDECMS 重置管理员admin的密码的php文件<?php/* 作用:DEDECMS 重置管理员admin的密码为123456,适用于DedeCms V5 方法:上传到服务器DEDE系统的目录,运行此文件,然后进入后台修改密码 注意:重置后请立刻删除此文件! 作者:itlearner*/ require_once(dirname(__FILE__)."/include/config_base.php"); &n...
http://www.jb51.net//article/15092.htm
亲试整理修改后可用,现提供如下:[dedecms5.X测试] 1、列表页的实现: /include/inc_arclist_view.php 查找 $row['arcurl'] = $this->GetArcUrl( 在前面加上: if($row['redirecturl']) $row['arcurl'] = $row['redirecturl']; else[无需修改其他地方] 2、主页直接跳转的实现: /include/inc/inc_fun_...
http://www.jb51.net//article/15084.htm
方案1:1G免费空间,8个FTP帐户,8个MySQL数据库,8个PostgreSQL数据库。方案2:2G免费空间,2个FTP帐户,2个MySQL数据库,2个PostgreSQL数据库。网址:http://www.bplaced.net点“Sign Up”,选择你要申请的免费空间类型,输入要申请的域名(即用户名)提交,再下一页中填写邮箱、密码、确认密码、验证码提交申请,然后收信确认并点信中最长链接激活帐户。FTP地址是你的域名,文件上传到根目录中。用你的用户名、密码在首页登陆(点一下英国国旗可变为英文版),看左面的菜单,“FTP accounts”、“MySQL d...
http://www.jb51.net//article/15076.htm
