//htmlapi.php<?php//header("content-type:text/html;charset=utf-8");$dsn=‘mysql:host=127.0.0.1;dbname=edusoho‘;$db=newPDO($dsn,‘root‘,‘root‘);$page=isset($_GET[‘p‘])?$_GET[‘p‘]:‘1‘;$pagesize=‘10‘;$limit=($page-1)*$pagesize;$sql=‘selectcount(*)asnumfromcou..
<?php class Text_Filter { var $words; //文字 function Text_Filter() { $this->words=NULL; } function wordsFilter(&$message=null, &$matche_row=array()) {
分类:
其他好文 时间:
2016-02-17 19:03:11
阅读次数:
144
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 二分查询 { class Program { s...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Common { public static c
分类:
其他好文 时间:
2016-02-17 17:29:35
阅读次数:
219
overflow: hidden;text-overflow: ellipsis;white-space: nowrap;
分类:
其他好文 时间:
2016-02-17 17:24:04
阅读次数:
113
function selectText(){ if(document.selection){ //ie return document.selection.createRange().text; } else{ //标准 return window.getSelection().toString()
分类:
Web程序 时间:
2016-02-17 14:45:52
阅读次数:
183
jstl_fmt.jsp <%@ page language="java" contentType="text/html; charset=GB18030" pageEncoding="GB18030"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/f
分类:
Web程序 时间:
2016-02-17 14:31:24
阅读次数:
180
//只能输入数字 $('.Text').keyup(function () { $(this).val($(this).val().replace(/^0+/g, "").replace(/[^0-9]/g, '')) }) //输入数字和小数(精确到小数点后两位) $('.Text').keyup
分类:
其他好文 时间:
2016-02-17 13:06:34
阅读次数:
175
文字阴影text-shadow:x y blur color, …参数x 横向偏移y 纵向偏移blur 模糊距离color 阴影颜色文本阴影如果加很多层,会很卡 1 /*双重阴影*/ 2 p:nth-last-of-type(1){ 3 color:red; font-size:80px; font
分类:
其他好文 时间:
2016-02-17 13:00:50
阅读次数:
134
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SqlClient; using System.Data; /// <summary> //
分类:
数据库 时间:
2016-02-17 12:47:16
阅读次数:
231