<?php
/*
* PHP QR Code encoder
*
* This file contains MERGED version of PHP QR Code library.
* It was auto-generated from full version for your convenience.
*
* This merged version was configured to not requre any external files,
* with disabled cache, error loging and weker but faster mask matching.
* If you need tune it up please use non-merged version.
*
* For full version, documentation, examples of use please visit:
*
* http://phpqrcode.sourceforge.net/
* https://sourceforge.net/projects/phpqrcode/
*
* PHP QR Code is distributed under LGPL 3
* Copyright (C) 2010 Dominik Dzienia <deltalab at poczta dot fm>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* Version: 1.1.4
* Build: 2010100721
*/
//---- qrconst.php -----------------------------
/*
* PHP QR Code encoder
*
* Common constants
*
* Based on libqrencode C library distributed under LGPL 2.1
* Copyright (C) 2006, 2007, 2008, 2009 Kentaro Fukuchi <fukuchi@megaui.net>
*
* PHP QR Code is distributed under LGPL 3
* Copyright (C) 2010 Dominik Dzienia <deltalab at poczta dot fm>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
// Encoding modes
define('QR_MODE_NUL', -1);
define('QR_MODE_NUM', 0);
define('QR_MODE_AN', 1);
define('QR_MODE_8', 2);
define('QR_MODE_KANJI', 3);
define('QR_MODE_STRUCTURE', 4);
// Levels of error correction.
define('QR_ECLEVEL_L', 0);
define('QR_ECLEVEL_M', 1);
define('QR_ECLEVEL_Q', 2);
define('QR_ECLEVEL_H', 3);
// Supported output formats
define('QR_FORMAT_TEXT', 0);
define('QR_FORMAT_PNG', 1);
class qrstr {
public static function set(&$srctab, $x, $y, $repl, $replLen = false) {
$srctab[$y] = substr_replace($srctab[$y], ($replLen !== false)?substr($repl,0,$replLen):$repl, $x, ($replLen !== false)?$replLen:strlen($repl));
}
}
//---- merged_config.php -----------------------------
/*
* PHP QR Code encoder
*
* Config file, tuned-up for merged verion
*/
define('QR_CACHEABLE', false); // use cache - more disk reads but less CPU power, masks and format templates are stored there
define('QR_CACHE_DIR', false); // used when QR_CACHEABLE === true
define('QR_LOG_DIR', false); // default error logs dir
define('QR_FIND_BEST_MASK', true); // if true, estimates best mask (spec. default, but extremally slow; set to false to significant performance boost but (propably) worst quality code
define('QR_FIND_FROM_RANDOM', 2); // if false, checks all masks available, otherwise value tells count of masks need to be checked, mask id are got randomly
define('QR_DEFAULT_MASK', 2); // when QR_FIND_BEST_MASK === false
define('QR_PNG_MAXIMUM_SIZE', 1024); // maximum allowed png image width (in pixels), tune to make sure GD and PHP can handle such big images
//---- qrtools.php -----------------------------
/*
* PHP QR Code encoder
*
* Toolset, handy and debug utilites.
*
* PHP QR Code is distributed under LGPL 3
* Copyright (C) 2010 Dominik Dzienia <deltalab at poczta dot fm>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
class QRtools {
//----------------------------------------------------------------------
public static function binarize($frame)
{
$len = count($frame);
foreach ($frame as &$frameLine) {
for($i=0; $i<$len; $i++) {
$frameLine[$i] = (ord($frameLine[$i])&1)?'1':'0';
}
}
return $frame;
}
//----------------------------------------------------------------------
public static function tcpdfBarcodeArray($code, $mode = 'QR,L', $tcPdfVersion = '4.5.037')
{
$barcode_array = array();
if (!is_array($mode))
$mode = explode(',', $mode);
$eccLevel = 'L';
if (count($mode) > 1) {
$eccLevel = $mode[1];
}
$qrTab = QRcode::text($code, false, $eccLevel);
$size = count($qrTab);
$barcode_array['num_rows'] = $size;
$barcode_array['num_cols'] = $size;
$barcode_array['bcode'] = array();
foreach ($qrTab as $line) {
$arrAdd = array();
foreach(str_split($line) as $char)
$arrAdd[] = ($char=='1')?1:0;
$barcode_array['bcode'][] = $arrAdd;
}
return $barcode_array;
}
//----------------------------------------------------------------------
public static function clearCache()
{
self::$frames = array();
}
//----------------------------------------------------------------------
public static function buildCache()
{
QRtools::markTime('before_build_cache');
$mask = new QRmask();
for ($a=1; $a <= QRSPEC_VERSION_MAX; $a++) {
$frame = QRspec::newFrame($a);
if (QR_IMAGE) {
$fileName = QR_CACHE_DIR.'frame_'.$a.'.png';
QRimage::png(self::binarize($frame), $fileName, 1, 0);
}
$width = count($frame);
$bitMask = array_fill(0, $width, array_fill(0, $width, 0));
for ($maskNo
没有合适的资源?快使用搜索试试~ 我知道了~
2024最新修复版独立付费进群系统源码全开源 带安装教程说明
共1720个文件
php:363个
dat:360个
js:167个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 1 下载量 126 浏览量
2024-07-29
21:40:56
上传
评论
收藏 31.74MB ZIP 举报
温馨提示
产品特色: ① 开源无加密无授权,方便二次开发 ② 优化电脑端访问布局 ③ 后台自定义内容 ④ 代理可自定义内容 ⑤ 对接易支付通道,代理可以配置自己易支付接口 ⑥ 支持落地页炮灰域名,后台更换便捷 产品介绍: 付费进群,顾名思义就是缴费后才可以进去,和平时所见到的别人拉你进群是不一样的,付费进群需要先缴费以后,才会看到群的二维码,扫码进群或者是长按二维码图片识别进群,付费进群这个功能广泛应用于拼多多的砍价群,活动的助力群,资源分享群,还有一些交友群等等,当然并不局限于这几个场景,只要是有需要用到收费才能进群这个需求的都是可以使用付费进群功能的。 源码为thinkphp独立开发,搭建简单,效率上线。 自带防洪跳转,前台所有文字/图片可在后台修改 有代理系统,代理可以自定义页面,易支付后台直接修改。 更新日志: ①增加同城定位功能,详情看前端演示大图 ②美化落地页面(前端)简洁而又不失优雅 ③修复微信支付(商户)不跳转支付页面 ④修复易支付网关,分站可以自定义对接易支付平台,无需在文件里修改网关地址
资源推荐
资源详情
资源评论
收起资源包目录
2024最新修复版独立付费进群系统源码全开源 带安装教程说明 (1720个子文件)
【点击查最新更新】.bat 30B
【点击查最新更新】.bat 30B
【点击查最新更新】.bat 30B
【点击查最新更新】.bat 30B
merge.bat 22B
CHANGELOG 1KB
layui.css 73KB
ueditor.css 44KB
ueditor.min.css 34KB
admin.css 25KB
video-js.css 21KB
image.css 19KB
layim.css 15KB
video.css 15KB
attachment.css 15KB
layer.css 14KB
template.css 12KB
video-js.min.css 11KB
css.css 10KB
layui.mobile.css 10KB
layim.css 9KB
styles.min.css 9KB
laydate.css 7KB
shCoreDefault.css 7KB
spop.css 7KB
spop.min.css 5KB
scrawl.css 4KB
navbar.css 3KB
codemirror.css 3KB
login.css 3KB
charts.css 3KB
background.css 2KB
emotion.css 2KB
dialogbase.css 2KB
music.css 2KB
edittable.css 1KB
code.css 1KB
template.css 1KB
toast.css 588B
webuploader.css 515B
toast.min.css 482B
help.css 395B
iframe.css 42B
mask_177_6.dat 441B
mask_173_6.dat 429B
mask_177_7.dat 407B
frame_40.dat 406B
mask_173_7.dat 405B
frame_39.dat 404B
mask_165_6.dat 400B
mask_161_6.dat 399B
mask_169_6.dat 391B
mask_169_7.dat 383B
frame_37.dat 376B
mask_161_7.dat 376B
mask_165_7.dat 375B
frame_36.dat 370B
mask_149_6.dat 370B
mask_177_5.dat 369B
mask_153_6.dat 367B
mask_173_5.dat 362B
frame_38.dat 358B
mask_141_6.dat 357B
mask_145_6.dat 357B
mask_137_6.dat 355B
mask_149_7.dat 351B
mask_153_7.dat 351B
mask_145_7.dat 349B
frame_33.dat 343B
frame_35.dat 342B
mask_169_5.dat 336B
mask_165_5.dat 332B
frame_34.dat 331B
mask_157_6.dat 331B
mask_137_7.dat 331B
mask_141_7.dat 330B
frame_32.dat 329B
frame_31.dat 328B
mask_161_5.dat 328B
frame_30.dat 324B
frame_28.dat 318B
mask_157_7.dat 316B
mask_177_3.dat 312B
mask_129_6.dat 310B
frame_29.dat 309B
mask_121_6.dat 309B
mask_153_5.dat 307B
mask_173_3.dat 307B
mask_149_5.dat 306B
mask_125_6.dat 305B
mask_113_6.dat 303B
mask_121_7.dat 301B
mask_117_6.dat 300B
mask_145_5.dat 300B
mask_177_4.dat 300B
mask_173_4.dat 299B
mask_141_5.dat 297B
mask_169_4.dat 297B
mask_133_6.dat 296B
frame_26.dat 296B
共 1720 条
- 1
- 2
- 3
- 4
- 5
- 6
- 18
资源评论
- 2401_876907882024-10-03感谢资源主分享的资源解决了我当下的问题,非常有用的资源。
希希分享
- 粉丝: 6927
- 资源: 3826
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 【分析报告】-03-培训需求分析报告.docx
- 【分析报告】-02-培训需求调查分析报告.docx
- 【需求调查】-02-培训需求调查表.docx
- 【分析报告】-04-培训需求分析报告.docx
- 【分析报告】-01-年度培训需求调查分析报告.doc
- 【需求调查】-04-公司高层培训需求访谈提纲.docx.doc
- 【需求调查】-03-员工培训需求调查表.docx
- GPA使用K8S-Spark集群示例模型
- 【计划表】-02-公司年度培训计划表格.docx
- 【计划表】-01-公司年度培训计划表.docx
- 【计划表】-06-公司年度培训计划表.xlsx
- 【计划表】-05-年度员工教育培训计划表.docx
- 【计划表】-03-物业公司年度培训计划.docx
- 【计划表】-04-公司年度培训计划表.docx
- 【计划表】-08-年度培训计划表.xlsx.xls
- 【计划表】-10-公司年度培训计划表模板.xlsx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功