資源簡介
推券客基于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個文件信息
評論
共有 條評論