摘要:
<!DOCTYPE html><html > <head> <meta charset="UTF-8"> <title>Vue Demo</title> </head> <body> <div id="my_view"> 搜索:<input v-model="search" type="text" 阅读全文
摘要:
<?php /*http://www.jb51.net/article/22199.htm*/header("Content-type: text/html; charset=utf-8"); header("Content-type:application/vnd.ms-excel"); head 阅读全文
摘要:
<?php // 时间日期 //y返回年最后两位,Y年四位数,m月份数字,M月份英文。d月份几号数字,D星期几英文 $date=date("Y-m-d"); $date=date("Y-m-d H:i:s");//带时分秒 //include,include_once.require,require 阅读全文
摘要:
<?phpheader("Content-type: text/html; charset=utf-8"); /** * 获取客户端IP * @return [string] [description] */function getClientIp() { $ip = NULL; if (isset 阅读全文
摘要:
https://www.w3cschool.cn/smarty/smarty-escaping.html 避免Smarty解析 避免Smarty解析 有时候部分模板中的代码是不需要或者不希望被Smarty解析的, 比较典型的例子是嵌入在页面HTML中的Javascript或CSS代码。 问题通常发生 阅读全文
摘要:
<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title>胶卷式放映</title> <style type="text/css" id="style1"> * { margin: 0; padding: 0 } body 阅读全文
摘要:
<script type="text/javascript"> $("#nav_down").click(function(){ //var h = $(document).height()-$(window).height(); //$(document).scrollTop(h); $('htm 阅读全文
摘要:
冒泡排序 void BubbleSort(int *a, int n){ int i,j,t; for(i=0; i<n-1; i++) { for(j=0; j<n-1-i; j++) { if(a[j]>a[j+1]) { t = a[j]; a[j] = a[j+1]; a[j+1] = t; 阅读全文
摘要:
21个常用的PHP函数代码段 1. PHP可阅读随机字符串 此代码将创建一个可阅读的字符串,使其更接近词典中的单词,实用且具有密码验证功能。 /***************@length – length of random string (must be a multiple of 阅读全文
摘要:
<html><head> <title>js判断输入字符串长度(汉字算两个字符,字母数字算一个)</title> <style type="text/css"> .pbt { margin-bottom: 10px; } .ie6 .pbt .ftid a, .ie7 .pbt .ftid a { 阅读全文