• 大小: 24.84MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-15
  • 语言: PHP
  • 标签:

资源简介

推券客CMS淘宝优惠券网站源码是一个以PHP MySQL进行开发的PHP淘宝客优惠券网站。支持电脑站、手机站以及微信公众号查券。支持多级代理返利和阿里妈妈最新的渠道管理等功能。
推券客CMS淘宝优惠券网站源码的安装
环境要求:PHP5.3 MySQL5.x或以上版本
配置要求:最低要求空间100M 数据库100M
安装方法:
1、下载程序包解压,上传www文件夹内的内容到你的网站空间
2、 如果设linux 空间,需要给网站目录下data文件夹设置写入权限
3、在浏览器地址栏内输入http://您的网址 根据提示安装即可
4、后台登陆地址:http://您的网址/admin.php
温馨提示:
安装成功后需要在网站后台填写好阿里妈妈的Appkey 和 Appsecret ,否则无法采集阿里妈妈的
商品,并且无法生成淘口令。
推券客CMS淘宝优惠券网站源码截图


相关阅读
同类推荐:淘宝客

资源截图

代码片段和文件信息

/*
 * 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  2019-04-20 11:40  tqkcms2.0.1\
     目录           0  2019-04-20 11:40  tqkcms2.0.1\www\
     文件         205  2017-11-15 17:15  tqkcms2.0.1\www\.htaccess
     文件          72  2018-09-10 16:27  tqkcms2.0.1\www\admin.php
     目录           0  2019-04-20 11:37  tqkcms2.0.1\www\app\
     目录           0  2019-04-20 11:37  tqkcms2.0.1\www\app\Common\
     文件       23760  2019-03-25 18:17  tqkcms2.0.1\www\app\Common\common.php
     目录           0  2019-04-20 11:36  tqkcms2.0.1\www\app\Extend\
     目录           0  2019-04-20 11:36  tqkcms2.0.1\www\app\Extend\Driver\
     目录           0  2019-04-20 11:36  tqkcms2.0.1\www\app\Extend\Driver\TagLib\
     文件        3389  2018-09-10 16:24  tqkcms2.0.1\www\app\Extend\Driver\TagLib\TagLibYh.class.php
     目录           0  2019-04-20 11:36  tqkcms2.0.1\www\app\Extend\Model\
     文件       15933  2018-09-10 16:24  tqkcms2.0.1\www\app\Extend\Model\RelationModel.class.php
     文件         635  2018-09-10 16:24  tqkcms2.0.1\www\app\Extend\README.txt
     目录           0  2019-04-20 11:37  tqkcms2.0.1\www\app\Extend\Vendor\
     目录           0  2019-04-20 11:36  tqkcms2.0.1\www\app\Extend\Vendor\ChinesePinyin\
     文件      168302  2018-09-10 16:24  tqkcms2.0.1\www\app\Extend\Vendor\ChinesePinyin\ChineseCharacters.dat
     文件        2483  2018-09-10 16:24  tqkcms2.0.1\www\app\Extend\Vendor\ChinesePinyin\ChinesePinyin.php
     文件         523  2018-09-10 16:24  tqkcms2.0.1\www\app\Extend\Vendor\ChinesePinyin\demo.php
     文件       26648  2018-09-10 16:24  tqkcms2.0.1\www\app\Extend\Vendor\index.php
     目录           0  2019-04-20 11:37  tqkcms2.0.1\www\app\Extend\Vendor\min\
     文件         292  2018-09-10 16:24  tqkcms2.0.1\www\app\Extend\Vendor\min\config-test.php
     文件        6850  2018-09-10 16:24  tqkcms2.0.1\www\app\Extend\Vendor\min\config.php
     文件         661  2018-09-10 16:24  tqkcms2.0.1\www\app\Extend\Vendor\min\groupsConfig.php
     文件        1886  2018-09-10 16:24  tqkcms2.0.1\www\app\Extend\Vendor\min\index.php
     目录           0  2019-04-20 11:37  tqkcms2.0.1\www\app\Extend\Vendor\min\lib\
     文件       30446  2018-09-10 16:24  tqkcms2.0.1\www\app\Extend\Vendor\min\lib\CSSmin.php
     文件        5089  2018-09-10 16:24  tqkcms2.0.1\www\app\Extend\Vendor\min\lib\DooDigestAuth.php
     文件       43622  2018-09-10 16:24  tqkcms2.0.1\www\app\Extend\Vendor\min\lib\FirePHP.php
     目录           0  2019-04-20 11:37  tqkcms2.0.1\www\app\Extend\Vendor\min\lib\HTTP\
     文件       11781  2018-09-10 16:24  tqkcms2.0.1\www\app\Extend\Vendor\min\lib\HTTP\ConditionalGet.php
............此处省略3577个文件信息

评论

共有 条评论