资源简介
推券客基于ThinkPHP框架开发
推券客PHP+客户端+手机端,开源系统,可用于二次开发,用来做淘宝天猫优惠券网站。
cms2.2最新版升级的功能:
1. 优化了电脑版本首页布局
2. 新添加 品牌优惠券板块
3. 后端新添加百度链接推送功能 (把你的网站数据主动推送给百度,能够让百度更快的收录你的页面内容)
4. 重新优化手机版界面的前台代码让滑动更流畅。
5. 优化手机版本界面布局
6. 手机产品介绍页面新添加 图片+二维码分享 以及一键复制文案分享
7. 注册登录页面新添加验证码 防止站点被软件批量注册:
8. 优化直播数据,只显示优惠券大于30元的商品
9. 处理其它少量已知的BUG
安装文档:直接上传运行域名就可自动安装
代码片段和文件信息
/*
* YUI Compressor
* http://developer.yahoo.com/yui/compressor/
* Author: Julien Lecomte - http://www.julienlecomte.net/
* Author: Isaac Schlueter - http://foohack.com/
* Author: Stoyan Stefanov - http://phpied.com/
* Copyright (c) 2011 Yahoo! Inc. All rights reserved.
* The copyrights embodied in the content of this file are licensed
* by Yahoo! Inc. under the BSD (revised) open source license.
*/
package com.yahoo.platform.yui.compressor;
import java.io.IOException;
import java.io.Reader;
import java.io.Writer;
import java.util.regex.Pattern;
import java.util.regex.Matcher;
import java.util.ArrayList;
public class CssCompressor {
private StringBuffer srcsb = new StringBuffer();
public CssCompressor(Reader in) throws IOException {
// Read the stream...
int c;
while ((c = in.read()) != -1) {
srcsb.append((char) c);
}
}
// Leave data urls alone to increase parse performance.
protected String extractDataUrls(String css ArrayList preservedTokens) {
int maxIndex = css.length() - 1;
int appendIndex = 0;
StringBuffer sb = new StringBuffer();
Pattern p = Pattern.compile(“url\\(\\s*([\“‘]?)data\\:“);
Matcher m = p.matcher(css);
/*
* Since we need to account for non-base64 data urls we need to handle
* ‘ and ) being part of the data string. Hence switching to indexOf
* to determine whether or not we have matching string terminators and
* handling sb appends directly instead of using matcher.append* methods.
*/
while (m.find()) {
int startIndex = m.start() + 4; // “url(“.length()
String terminator = m.group(1); // ‘ “ or empty (not quoted)
if (terminator.length() == 0) {
terminator = “)“;
}
boolean foundTerminator = false;
int endIndex = m.end() - 1;
while(foundTerminator == false && endIndex+1 <= maxIndex) {
endIndex = css.indexOf(terminator endIndex+1);
if ((endIndex > 0) && (css.charAt(endIndex-1) != ‘\\‘)) {
foundTerminator = true;
if (!“)“.equals(terminator)) {
endIndex = css.indexOf(“)“ endIndex);
}
}
}
// Enough searching start moving stuff over to the buffer
sb.append(css.substring(appendIndex m.start()));
if (foundTerminator) {
String token = css.substring(startIndex endIndex);
token = token.replaceAll(“\\s+“ ““);
preservedTokens.add(token);
String preserver = “url(___YUICSSMIN_PRESERVED_TOKEN_“ + (preservedTokens.size() - 1) + “___)“;
sb.append(preserver);
appendIndex = endIndex + 1;
} else {
// No end terminator found re-add the whole match. Should we throw/warn here?
sb.append(css.substring(m.start() m.end()));
appendIndex = m.end();
}
}
sb.append(css.substring(appendIndex));
return sb.toString();
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-05-09 10:16 install\
文件 6148 2018-03-23 13:17 install\.DS_Store
目录 0 2018-05-09 10:16 install\Conf\
文件 178 2018-03-23 13:17 install\Conf\config.php
文件 0 2018-03-23 13:17 install\index.html
目录 0 2018-05-09 10:16 install\Lang\
文件 2981 2018-03-23 13:17 install\Lang\common.php
文件 789 2018-03-23 13:17 install\Lang\xieyi.html
目录 0 2018-05-09 10:16 install\Lib\
目录 0 2018-05-09 10:16 install\Lib\Action\
文件 10705 2018-03-23 13:17 install\Lib\Action\indexAction.class.php
目录 0 2018-05-09 10:16 install\Lib\ORG\
文件 15583 2018-03-23 13:17 install\Lib\ORG\Dir.class.php
目录 0 2018-05-09 10:16 install\Runtime\
目录 0 2018-05-09 10:16 install\Runtime\Cache\
文件 2676 2018-05-09 10:18 install\Runtime\Cache\073d34d9e7b1ac73120daea81ee4ce8d.php
文件 2097 2018-05-09 10:25 install\Runtime\Cache\5e6b1939ecfba2cf7fb38809d0bfa0be.php
文件 4692 2018-05-09 10:18 install\Runtime\Cache\99a4c0c29e7fe01b54da88607d456887.php
文件 2387 2018-05-09 10:51 install\Runtime\Cache\a694eb75ada0ceeb1a80e34d7ebbba3f.php
目录 0 2018-05-09 10:16 install\Runtime\Data\
文件 279 2018-05-09 10:18 install\Runtime\Data\temp_data.php
目录 0 2018-05-09 10:17 install\Runtime\Logs\
文件 73419 2018-03-23 13:17 install\Runtime\Logs\16_08_18.log
文件 73419 2018-03-23 13:17 install\Runtime\Logs\16_09_08.log
文件 274906 2018-03-23 13:17 install\Runtime\Logs\16_09_12.log
文件 433559 2018-03-23 13:17 install\Runtime\Logs\16_09_13.log
文件 7278 2018-05-09 10:51 install\Runtime\Logs\18_05_09.log
目录 0 2018-05-09 10:16 install\Sql_data\
文件 697508 2018-03-23 13:17 install\Sql_data\initdata.sql
文件 10200 2018-03-23 13:17 install\Sql_data\update2_1.sql
文件 12548 2018-03-23 13:17 install\Sql_data\update2_2.sql
............此处省略4295个文件信息
评论
共有 条评论