<?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, $
没有合适的资源?快使用搜索试试~ 我知道了~
Thinkphp大灌篮游戏源码_微信投篮源码.zip
共1888个文件
txt:975个
php:229个
jpg:181个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 89 浏览量
2022-04-18
10:29:17
上传
评论
收藏 14.53MB ZIP 举报
温馨提示
适用范围:Thinkphp内核微信大灌篮游戏源码微信投篮源码下载 免公众号 个人免签支付接口 运行环境:php mysql 源码详细: Thinkphp大灌篮游戏源码 微信投篮源码 运行环境:PHP MYSQL 程序内核:Thinkphp 内含详细安装教程,请严格按照文档来安装,顺序错了也会安装不起来。 大灌篮游戏源码 投篮源码微信精彩源码手动提现 【免公众号 个人免签支付接口】
资源推荐
资源详情
资源评论
收起资源包目录
Thinkphp大灌篮游戏源码_微信投篮源码.zip (1888个子文件)
LoginAction.class.php.bak 5KB
web.config 257B
ts.css 190KB
bootstrap.css 138KB
bootstrap.min.css 115KB
hdx.min.css 102KB
bootstrap.extend.css 56KB
basic.css 38KB
basic160128.css 38KB
m.css 29KB
bootstrap-theme.css 22KB
default.css 21KB
tuan.css 20KB
tuan160128.css 20KB
bootstrap-theme.min.css 19KB
stylea.css 16KB
style.css 16KB
my.css 12KB
swiper.min.css 12KB
media50px.min.css 9KB
media50px.min.css 9KB
sklcss.css 8KB
default.css 8KB
header-class.css 6KB
www.css 4KB
datepicker.css 4KB
datepicker.css 4KB
swfupload.css 3KB
promo.css 3KB
vipstyle.css 2KB
vipstyle.css 2KB
reset.css 1KB
reset.css 1KB
mobile.css 1KB
prettify.css 1KB
Reset.css 606B
WdatePicker.css 158B
fontawesome-webfont.eot 59KB
glyphicons-halflings-regular.eot 20KB
font_4.fnt 1KB
font_1.fnt 1KB
font_5.fnt 998B
font_2.fnt 996B
font_3.fnt 989B
font_6.fnt 907B
font_7.fnt 833B
font_8.fnt 827B
logo.gif 59KB
M9UQl3TuH.gif 9KB
defaultpic.gif 6KB
static.gif 5KB
loading.gif 3KB
img.gif 2KB
img.gif 2KB
ajaxloader.gif 1KB
flash.gif 1KB
datePicker.gif 1KB
media.gif 1KB
rm.gif 989B
ajaxloading.gif 781B
align_left.gif 639B
align_right.gif 636B
align_top.gif 625B
loading.gif 381B
anchor.gif 371B
admin_barclose.gif 125B
admin_baropen.gif 124B
blank.gif 43B
.gitignore 153B
.htaccess 253B
showdate.htm 1KB
Field_type.html 23KB
Product_show.html 21KB
Daili_index.html 16KB
Red_red.html 11KB
Red_index.html 9KB
payewm.html 8KB
pay.html 8KB
Daili_tixian.html 8KB
Login_index.html 8KB
Index_index.html 8KB
Attachment_index.html 7KB
Category_edit.html 7KB
Daili_index.html 7KB
Content_index.html 7KB
Daili_apply_blue.html 7KB
User_index.html 6KB
Daili_shangfeng.html 6KB
Index_index.html 6KB
Field_edit.html 6KB
Link_index.html 6KB
Index_ewm.html 6KB
Kefu_index.html 5KB
Config_attach.html 5KB
Daili_apply.html 5KB
Apply_index.html 5KB
Index_main.html 5KB
Index_chonzhi.html 4KB
Pay_wxpay.html 4KB
Apply_edit.html 4KB
共 1888 条
- 1
- 2
- 3
- 4
- 5
- 6
- 19
资源评论
智慧浩海
- 粉丝: 1w+
- 资源: 5004
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功