Processing math: 0%
私人领地

01 2016 档案

摘要:// 热门推荐悬浮效果 $("#recom_con li img").mouseenter(function(){ (this).stop(true, true); w = parseInt((this).width())+10; (this).animate({'width':$w},30 阅读全文
posted @ 2016-01-30 11:13 狂奔的蜗牛Snails 阅读(1221) 评论(0) 推荐(0) 编辑
摘要:问题描述:php提交数据的时候遇到特殊符号,需要转义才可以提交数据 如:提交单引号,双引号...php代码:str = "我但是'sdf6448"; data['goods_name'] = "'".addslashes(htmlspecialchars($str))."'";字段存储: 我... 阅读全文
posted @ 2016-01-22 14:31 狂奔的蜗牛Snails 阅读(291) 评论(0) 推荐(0) 编辑
摘要:include/cls_mysql.php正常操作例如:sql = “UPDATE ecs_user SET user = ‘buxuan’ WHERE user_id = 1″;db->query(sql);用ecshop的autoExecute操作,只需要table = “ecs_use... 阅读全文
posted @ 2016-01-21 18:20 狂奔的蜗牛Snails 阅读(1189) 评论(0) 推荐(0) 编辑
摘要:文件地址include/lib_order.php ,要引用需要先导入 lib_order.phprequire_once(ROOT_PATH . 'includes/lib_order.php');/** * 得到新订单号 * @return string */function get_or... 阅读全文
posted @ 2016-01-21 18:17 狂奔的蜗牛Snails 阅读(1275) 评论(0) 推荐(0) 编辑
摘要:html{insert_scripts files='region.js,utils.js'} php代码/* 取得国家列表、商店所在国家、商店所在国家的省列表 */ $smarty->assign('country_list', ... 阅读全文
posted @ 2016-01-21 17:06 狂奔的蜗牛Snails 阅读(675) 评论(0) 推荐(0) 编辑
摘要:文件位置:include/init.php1.新建文件lib_xxx.php(lib_liangxin.php)2.在文件init.php 第74行加入代码require(ROOT_PATH . 'includes/inc_constant.php');require(ROOT_PATH . 'in... 阅读全文
posted @ 2016-01-18 11:28 狂奔的蜗牛Snails 阅读(445) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2016-01-12 11:01 狂奔的蜗牛Snails 阅读(5) 评论(0) 推荐(0) 编辑
摘要:private function createNonceStr($length = 16) { chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; str = ""; for ($i... 阅读全文
posted @ 2016-01-08 15:01 狂奔的蜗牛Snails 阅读(230) 评论(0) 推荐(0) 编辑
摘要:// 判断订单状态 public function get_order_status(os,ps,$ss){ arr = array('已取消','待付款','待发货','待收货','确认收货','无效'); if(os==OS_CANCELED){ ... 阅读全文
posted @ 2016-01-08 14:36 狂奔的蜗牛Snails 阅读(188) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示