<?php
error_reporting(1);
defined('IN_IA') or exit( 'Access Denied' );
define("V", '1.8.0');
include('tpl.php');
include('pinyin.php');
include('extLoad.php');
require_once('sms/vendor/autoload.php');
spl_autoload_register('extLoader::autoload');
class gd_zlyqkModuleSite extends tpl
{
public $page = NULL;
public $pDo = NULL;
public $listRow = NULL;
public $qrcode = NULL;
public $plugin = NULL;
public $pStatic = NULL;
public $pRoot = NULL;
public $pClass = NULL;
public $baseDir = "";
public $pAdmin = false;
public $outTotal = array( );
public $fileList = array( );
protected $isAjax = false;
public $statusLine = array( );
public $apiUrl = "http://api.k9k.org/";
public $msg = array( "code" => 2, "msg" => "", "data" => "" );
public function __construct($isChild = false)
{
global $_GPC;
global $_W;
if( isset($_GPC["Ajax"]) || $_W["isajax"] )
{
$this->isAjax = true;
}
$this->page = (empty($_GPC["page"]) ? 1 : $_GPC["page"]);
$this->listRow = (empty($_GPC["list_row"]) ? 10 : $_GPC["list_row"]);
if( !$isChild )
{
$this->registerPlugin();
}
}
public function doMobileCcp()
{
global $_GPC;
$id = (empty($_GPC["id"]) ? 0 : $_GPC["id"]);
$list = pdo_getall("gd_pp", array( "parent" => $id ));
$parent = (isset($list[0]) ? $list[0]["parent"] : 0);
$pInfo = pdo_get("gd_pp", array( "code" => $parent ));
$parent = (isset($pInfo["parent"]) ? $pInfo["parent"] : 0);
include($this->template("ccp"));
}
public function doMobileSelectPb()
{
global $_GPC;
$ids = $_GPC["id"];
$list = array( );
if( !empty($ids) )
{
$list = pdo_fetchall("select * from " . tablename("gd_pp") . " where id in (" . $ids . ") ");
}
include($this->template("select_pb"));
}
public function beforeHbList(&$where)
{
global $_GPC;
if( $_GPC["name"] )
{
$where .= " and send_name like '%" . $_GPC["name"] . "%' ";
}
}
public function beforeHblogList(&$where)
{
global $_GPC;
if( $_GPC["name"] )
{
$where .= " and member_name like '%" . $_GPC["name"] . "%' ";
}
$where .= " and hb_id=" . $_GPC["id"];
}
public function beforeTplList(&$where)
{
global $_GPC;
if( !empty($_GPC["name"]) )
{
$where .= " and name like '%" . $_GPC["name"] . "%' ";
}
}
public function softAuth()
{
defined("V") or exit( "<a href=\"http://www.dz74.com\">智慧表单官网 http://www.dz74.com</a>" );
}
public function doWebSelectHb()
{
global $_W;
$hbList = pdo_getall("gd_hb", array( "status" => 1, "uniacid" => $_W["uniacid"] ));
include($this->template("select_hb"));
}
public function registerPlugin()
{
global $_GPC;
if( !$this->checkPlugin() )
{
return false;
}
if( !$this->parsePlugin() )
{
return false;
}
$loader = IA_ROOT . "/addons/gd_zlyqk/apps/index.php";
if( file_exists($loader) )
{
include_once($loader);
pluginRegister($this->plugin, $this->pClass, $this->pDo, $this->pAdmin);
exit( 1 );
}
return NULL;
}
protected function checkPlugin()
{
global $_GPC;
if( !isset($_GPC["plugin"]) )
{
return false;
}
$plg = trim($_GPC["plugin"]);
if( empty($plg) )
{
return false;
}
$this->plugin = strtolower($_GPC["plugin"]);
$this->pStatic = "/addons/gd_zlyqk/apps/" . $this->plugin;
$this->pRoot = IA_ROOT . $this->pStatic;
if( !is_dir($this->pRoot) )
{
return false;
}
return true;
}
public function sendHb($hbId, $memberInfo, $appInfo, $gdSn)
{
$nbModel = new ext\apps\libs\hb();
foreach( $hbId as $val )
{
$hbInfo = pdo_get("gd_hb", array( "id" => $val ));
if( !empty($hbInfo) )
{
$param["re_openid"] = $memberInfo["open_id"];
$param["total_amount"] = $hbInfo["total_amount"] * 100;
$param["send_name"] = $hbInfo["send_name"];
$param["wishing"] = $hbInfo["wishing"];
$param["act_name"] = $hbInfo["act_name"];
$param["remark"] = $hbInfo["remark"];
$scene["name"] = $appInfo["name"];
$scene["gd_sn"] = $gdSn;
$nbModel->send($param, $scene, $hbInfo);
}
}
return NULL;
}
protected function parsePlugin()
{
global $_GPC;
$do = strtolower($_GPC["do"]);
if( empty($do) )
{
return false;
}
$router = explode("_", $do);
if( count($router) == 1 )
{
$this->pClass = "index";
$this->pDo = $router[0];
return true;
}
if( count($router) == 2 )
{
list($this->pClass, $this->pDo) = $router;
return true;
}
if( count($router) == 3 )
{
list(, $this->pClass, $this->pDo) = $router;
$this->pAdmin = true;
return true;
}
return false;
}
public function getAccArr()
{
$accList = require_once("access.php");
return $accList;
}
public function beforeMemberList(&$where)
{
global $_GPC;
if( $_GPC["name"] )
{
$where .= " and name like '%" . $_GPC["name"] . "%' ";
}
if( $_GPC["mobile"] )
{
$where .= " and mobile like '%" . $_GPC["mobile"] . "%' ";
}
if( $_GPC["label"] )
{
$where .= " and label=" . $_GPC["label"] . " ";
}
}
public function memberAct()
{
$data["label"] = $this->getLabelList();
return $data;
}
public function selectApps()
{
global $_GPC;
global $_W;
$member = $this->initUser();
$baseConfig = $this->getConfig(8);
if( isset($_GPC["app_id"]) )
{
$where["id"] = $_GPC["app_id"];
$appInfo = $this->getDefaultApp($where);
if( empty($appInfo) && 0 < $_GPC["app_id"] )
{
message("运用未找到", $this->createMobileUrl("member"), "info");
}
$_SESSION["app_id"] = $_GPC["app_id"];
$_SESSION["app_name"] = $appInfo["name"];
}
if( $baseConfig["register_in"] == 1 )
{
if( $member["is_register"] == 0 )
{
$url = $this->createMobileUrl("memberInfo");
$url = $_W["siteroot"] . "app/" . $url;
parse_str($_SERVER["REQUEST_URI"], $urlInfo);
if( !empty($urlInfo) && isset($urlInfo["do"]) && strtolower($urlInfo["do"]) != "memberinfo" )
{
$url .= "&_url=" . base64_encode($_SERVER["REQUEST_URI"]);
}
header('location:' .
没有合适的资源?快使用搜索试试~ 我知道了~
智慧表单流程V8.3.0 商业版2019功能模块
共864个文件
php:202个
html:181个
png:122个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 8 下载量 37 浏览量
2022-03-16
14:09:25
上传
评论 1
收藏 5.13MB ZIP 举报
温馨提示
网站环境:CentOS 7.6+宝塔 Linux v7.0.1+Nginx 1.15.10 + MySQL 5.6.46 + PHP-7.1;WQ版本:2.5.7(商业版); 源码带公众号H5前端,主程序后端
资源推荐
资源详情
资源评论
收起资源包目录
智慧表单流程V8.3.0 商业版2019功能模块 (864个子文件)
weui.css 350KB
f2c60be8d3b2c311743309a82947e1f0.css 156KB
2ba049ddbbf9ea7b7bb8d81c41080a29.css 139KB
bootstrap.css 117KB
bootstrap-ie6.css 113KB
bootstrap-ie6.css 113KB
bootstrap.min.css 112KB
bootstrap.css 110KB
bootstrap.min.css 104KB
bootstrap-ie6.min.css 94KB
bootstrap-ie6.min.css 94KB
bpmn-embedded.css 82KB
bootstrap.v3.css 81KB
froala_editor.pkgd.css 70KB
jq.min.css 65KB
froala_editor.pkgd.min.css 58KB
loaders.css 56KB
ui.css 50KB
layui-v2.css 50KB
weui.min.css 50KB
b21cbeca0ba271bf71a28dcd452c045e.css 48KB
main.css 41KB
font-awesome-ie7.css 40KB
layui.css 40KB
royal.css 38KB
dark.css 38KB
gray.css 38KB
font-awesome-ie7.min.css 37KB
red.css 35KB
royal.min.css 33KB
gray.min.css 33KB
dark.min.css 33KB
froala_editor.css 33KB
red.min.css 30KB
froala_editor.min.css 27KB
font-awesome.css 27KB
font-awesome.min.css 26KB
bootstrap-responsive.css 22KB
font-awesome.min.css 22KB
wx.css 21KB
swiper.min.css 19KB
doc.css 18KB
global.css 17KB
bootstrap-responsive.min.css 16KB
layer.css 14KB
layer.css 14KB
main.css 11KB
diagram-js.css 11KB
froala_style.css 10KB
bpmn.css 9KB
froala_style.min.css 8KB
laydate.css 8KB
image_manager.css 8KB
layui.mobile.css 8KB
example.css 8KB
image_manager.min.css 7KB
smart_wizard_vertical.css 7KB
smart_wizard.css 6KB
audioplayer.css 6KB
slider-1.css 5KB
layer.css 5KB
style.css 5KB
codemirror.min.css 5KB
video.css 5KB
image.css 5KB
video.min.css 4KB
table.css 4KB
image.min.css 4KB
colors.css 4KB
table.min.css 3KB
colors.min.css 3KB
LArea.min.css 3KB
file.css 3KB
code_view.css 3KB
style.css 2KB
phone.css 2KB
code_view.min.css 2KB
file.min.css 2KB
style.css 2KB
spell_checker.css 2KB
site.css 2KB
quick_insert.css 2KB
spell_checker.min.css 1KB
help.css 1KB
ie.css 1KB
ie.css 1KB
jquery.ferro.ferroMenu.css 1KB
quick_insert.min.css 1KB
char_counter.css 1KB
embedly.css 1KB
special_characters.css 1KB
help.min.css 1KB
special_characters.min.css 1KB
char_counter.min.css 1KB
embedly.min.css 1KB
code.css 1KB
next.css 990B
user.css 949B
emoticons.css 897B
draggable.css 868B
共 864 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9
智慧浩海
- 粉丝: 1w+
- 资源: 5459
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- (174298652)基于QT的酒店管理系统设计
- (175720404)安卓期末大作业(AndroidStudio开发),垃圾分类助手app,分为前台后台,代码有注释,均能正常运行
- wireshark抓包-OSPF
- (176182006)python小游戏(免费)
- (176485414)基于servlet+jsp+mysql的图书馆管理系统.zip
- (176703248)QT图书管理系统的源代码
- (177098224)安卓期末大作业Android Studio 简易计算器实现
- (177234252)单片机LCD滚动显示汉字proteus仿真实例.rar
- (177294410)数据库课设医药信息管理系统
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页