08 2013 档案

摘要:(原文来自博客园 wuchao.cnblogs.com)写一个简单的基于jquery的对话框css: 1 #dialog 2 { 3 border:solid 1px #CCC; 4 width:300px; 5 height:150px; 6 background-color:#e5e5e5; 7 position:fixed; 8 } 9 .title10 {11 width:100%... 阅读全文
posted @ 2013-08-22 10:41 Uoolo 阅读(1192) 评论(0) 推荐(0)
摘要:1 from VS in m2db.Inf_VehicleSale2 join RS1 in m2db.His_RecSale on new { VS.vehicleCode, auctionCode=VS.AuctionCode } equals new { RS1.vehicleCode, RS1.auctionCode } 阅读全文
posted @ 2013-08-21 15:58 Uoolo 阅读(1996) 评论(0) 推荐(0)
摘要:1.新建一个aspx页面生成验证码图像using System;using System.Data;using System.Configuration;using System.Collections;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using Syste 阅读全文
posted @ 2013-08-19 16:54 Uoolo 阅读(810) 评论(0) 推荐(0)
摘要:1.dropdownlist的绑定 BLLAuction bll_getAuction=new BLLAuction(); this.ddlauctioncode.DataSource = bll_getAuction.GetAuctionList(); this.ddlauctioncode.DataTextField = "Name"; this.ddlauctioncode.DataValueField = "code"; this.ddlauctioncode.DataBind... 阅读全文
posted @ 2013-08-19 16:29 Uoolo 阅读(326) 评论(0) 推荐(0)
摘要:wordpress本身不带文章浏览统计,可以用插件wp-postview,但是刷新还是算一个浏览次数。1.首先在主题下functions.php里增加以下代码,这段代码也是网上可以找到的 1 //add by charleswu 2 function getPostViews($postID) { 3 $count_key = 'post_views_count'; 4 $count = get_post_meta($postID, $count_key, true); 5 if ($count == '') { 6 delete_post_meta($... 阅读全文
posted @ 2013-08-15 10:52 Uoolo 阅读(2963) 评论(1) 推荐(0)
摘要:热腾腾的代码: 1 参考: http://blog.csdn.net/netpet/article/details/5220265 阅读全文
posted @ 2013-08-13 15:41 Uoolo 阅读(1465) 评论(0) 推荐(0)
摘要:Auto SyntaxHighlighterSyntaxHighlighter CKEditor Button下载以上两个插件,启用以下可有可无:(设置在编辑器的显示样式)ckeditor高级选项设置:editor css:define css;CSS path:http://www.wuchao.cc/wp-content/plugins/syntaxhighlighter-ckeditor-button/ckeditor.css域名替换成自己的 阅读全文
posted @ 2013-08-07 09:57 Uoolo 阅读(1140) 评论(0) 推荐(0)
摘要:CKEditor for WordPress搜索安装上传功能需要ckfinder下载 CKFinder for PHP: http://ckfinder.com/download上传ckfinder文件夹的内容到服务器“ckfinder”的根目录重命名ckfinder_config.php为config.php(覆盖掉原有文件夹下的config.php文件)删除ckfinder文件下“_samples”和 “userfiles”例子与用户文件夹两个子文件夹最后在左边CKEditor的管理菜单中选择upload options 中启用ckfinder功能即可 阅读全文
posted @ 2013-08-07 09:51 Uoolo 阅读(540) 评论(0) 推荐(1)
摘要:新建一个httpd.ini文件,插入代码:[ISAPI_Rewrite]RewriteCond Host: ^wuchao\.cc$RewriteRule (.*) http\://www\.wuchao\.cc$1 [R,I,L]# 3600 = 1 hourCacheClockRate 3600RepeatLimit 32# 解决中文tag问题 RewriteRule /tag/(.*) /index\.php\?tag=$1# sitemapxmlRewriteRule /sitemap.xml /sitemap.xml [L]RewriteRule /favicon.ico /favi 阅读全文
posted @ 2013-08-04 14:43 Uoolo 阅读(542) 评论(0) 推荐(0)