<?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 = 0; $maskNo < 8; $maskNo++)
$mask->makeMaskNo($maskNo, $width, $frame, $bitMask, true);
}
QRtools::markTime('after_build_cache');
}
//----------------------------------------------------------------------
public static function log($outfile, $err) {
if (QR_LOG_DIR !== false) {
if ($err != '') {
if ($outfile !== false) {
file_put_contents(
没有合适的资源?快使用搜索试试~ 我知道了~
小猪收银台多商户多门店代收款系统
共1918个文件
png:726个
php:344个
js:337个
5星 · 超过95%的资源 需积分: 36 69 下载量 101 浏览量
2016-11-14
20:56:48
上传
评论 5
收藏 24.09MB ZIP 举报
温馨提示
众所周知,小猪CMS目前已拥有6大产品线。问鼎移动互联,各有千秋。近日,小猪CMS产品家族又迎来第七位成员——微信收银系统诞生啦!这款收银系统,融合了线上与线下,丰富微信支付场景,打造商业闭环。话不多说,先祭出七大亮点,召唤财神爷!小猪CMS微信收银系统,打破传统收银概念,利用微信支付融合线上与线下,无需POS机、扫码枪,轻松实现收银操作。零成本硬件投入,为您节省大量资金。与此同时,小猪CMS微信收银系统适配多种终端设备。无论是手机、平板,还是PC电脑,皆可无缝兼容。无论您身在何处,收银情报,一手掌握。
资源推荐
资源详情
资源评论
收起资源包目录
小猪收银台多商户多门店代收款系统 (1918个子文件)
._fonts 4KB
COPYING 10KB
style.css 153KB
summernote-bs3.css 143KB
bootstrap.css 138KB
style.min.css 123KB
bootstrap.min.css 115KB
animate.css 69KB
animate_new.css 69KB
animate.css 64KB
datepicker3.css 33KB
weixin_pay.css 32KB
jquery-ui.css 32KB
bootstrap-rtl.css 31KB
style.css 29KB
framework.css 29KB
card_control.css 29KB
font-awesome.css 28KB
foreverpay.css 27KB
base.css 26KB
base2.css 25KB
ambiance.css 25KB
jquery-ui.min.css 25KB
style.min.css 25KB
index.css 25KB
bootstrap-rtl.min.css 24KB
font-awesome.min.css 23KB
fullcalendar.css 23KB
card_detail.css 20KB
sweetalert.css 18KB
cashier.css 16KB
style.css 14KB
chartist.min.css 14KB
jasny-bootstrap.min.css 14KB
jquery-ui-1.10.4.custom.min.css 14KB
chosen.css 13KB
ui.jqgrid.css 13KB
social-buttons.css 13KB
mobiscroll.animation-2.5.2.css 13KB
style.css 12KB
public.css 12KB
wxCoupon.css 12KB
dropzone.css 11KB
summernote.css 10KB
section_card_notification.css 9KB
mobiscroll.core-2.5.2.css 9KB
login.css 8KB
codemirror.css 7KB
toastr.min.css 7KB
blueimp-gallery.min.css 7KB
daterangepicker-bs3.css 7KB
awesome-bootstrap-checkbox.css 7KB
dataTables.tableTools.min.css 6KB
jquery-jvectormap-2.0.2.css 6KB
jquery.steps.css 6KB
owl.carousel.css 6KB
layer.css 6KB
blueimp-gallery.css 6KB
mobiscroll.android-ics-2.5.2.css 6KB
swipebox.css 5KB
404.css 5KB
footable.core.css 5KB
fullcalendar.print.css 5KB
dataTables.bootstrap.css 5KB
owl.theme.css 5KB
._clockpicker.css 4KB
._awesome-bootstrap-checkbox.css 4KB
._sweetalert.css 4KB
._daterangepicker-bs3.css 4KB
._footable.core.css 4KB
datepicker.css 4KB
clockpicker.css 4KB
datepicker.css 4KB
basic.css 4KB
bootstrap-colorpicker.min.css 3KB
cropper.min.css 3KB
ion.rangeSlider.css 3KB
jquery.nouislider.css 3KB
layer.ext.css 3KB
dataTables.responsive.css 3KB
jquery.gritter.css 2KB
libdetail.css 2KB
colorbox.css 2KB
blueimp-gallery-video.css 2KB
ion.rangeSlider.skinFlat.css 2KB
jquery.justifiedgallery.css 2KB
ion.rangeSlider.skinSimple.css 2KB
ion.rangeSlider.skinNice.css 2KB
blueimp-gallery-indicator.css 2KB
app.css 2KB
jquery.justifiedgallery.min.css 1KB
custom.css 1KB
demo.css 867B
tiaozhuan.css 841B
switchery.css 641B
webuploader.css 515B
morris-0.4.3.min.css 443B
tiki.css 440B
tiddlywiki.css 220B
WdatePicker.css 192B
共 1918 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
- 郑华滨2023-07-27猪收银台多商户多门店代收款系统的操作界面简洁明了,提供了多种收款方式,非常符合我们的实际需求。
- 湯姆漢克2023-07-27个文件详细介绍了小猪收银台多商户多门店代收款系统的安装和设置步骤,让我们能够迅速搭建起高效的收款系统。
- 鲸阮2023-07-27个文件介绍了小猪收银台多商户多门店代收款系统的主要功能和操作方式,让人很容易上手和使用。
- 深层动力2023-07-27猪收银台多商户多门店代收款系统方便快捷,帮助我们提高了收款效率。
- 莫少儒2023-07-27用小猪收银台多商户多门店代收款系统,我们可以轻松管理多个门店的收款事务,省去了不少麻烦。
wh_fyc
- 粉丝: 1
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功