<?php
defined('IN_IA') or exit('Access Denied'); class Lzl_numcardModuleSite extends WeModuleSite { public function doMobileindex() { goto nsNMj; yQsK4: goto AxaeN; goto Pj9_z; He8PJ: message('兑换成功', $this->createMobileUrl('index'), 'success'); goto KK8vN; AXaCX: JqYqY: goto oq0h0; jwQGJ: foreach ($redeem_type_array as $key => $value) { goto x3_TC; x3_TC: $serve_id = str_replace('serve', '', $key); goto ki4ya; q4Oeq: Qfo6_: goto j48QI; ki4ya: $this->recharge_execute($uid, $serve_id, $value, '使用兑换码'); goto q4Oeq; j48QI: } goto ZpM71; nykzN: $redeem_on = $system['redeem_on']; goto fu_HC; WQ5Go: vB0PJ: goto AOTts; iuHQN: $redeem_type_array = unserialize($redeem_type['content']); goto jwQGJ; n58Il: if ($redeem['end_time'] != '' && $redeem['end_time'] < $time) { goto sJlgF; } goto ea3nY; oq0h0: if ($_GPC['num'] != '') { goto j4Jnj; } goto H9S76; L6jwC: goto f6tv5; goto BUr3Z; t5377: $uid = $_W['member']['uid']; goto lNPR0; dCvj4: message('该兑换码无效!', $this->createMobileUrl('index'), 'error'); goto fQpJr; bmLPB: return message('请从微信中打开应用', 'refresh', 'error'); goto LYirW; csU9S: f6tv5: goto WQ5Go; ea3nY: if ($redeem['serve_id'] > 0) { goto g5WA6; } goto Nk4o0; yGe9p: if (!empty($serve_list)) { goto swTZB; } goto UYLll; WK444: LGj4y: goto VhJgT; xC8TR: $redeem = pdo_fetch('SELECT * FROM ' . tablename('lzl_numcard_redeem') . " WHERE num = '{$num}' and uniacid = '{$uniacid}'"); goto hmZXN; aIl5U: pdo_insert('lzl_numcard_user', array("uniacid" => $uniacid, "uid" => $uid)); goto xfP4p; AzAjn: message('该兑换码已使用!', $this->createMobileUrl('index'), 'error'); goto xg3Nn; xg3Nn: goto z430O; goto YMkdm; eBGcn: cQOs3: goto AzAjn; WzKd7: pdo_update('lzl_numcard_redeem', array("uid" => $uid, "redeem_time" => time()), array("id" => $redeem['id'])); goto iuHQN; GrJlo: $this->recharge_execute($uid, $redeem['serve_id'], $redeem['add_num'], '使用兑换码'); goto eVFkP; NL9uC: message('兑换码套餐无效,请联系客服!', $this->createMobileUrl('index'), 'error'); goto yQsK4; BUr3Z: j4Jnj: goto jgAhO; Nk4o0: $redeem_type = pdo_fetch('SELECT * FROM ' . tablename('lzl_numcard_redeem_type') . " WHERE id = '{$redeem['type_id']}' and uniacid = '{$uniacid}'"); goto n6Ytv; ajwS4: $user = pdo_fetch('SELECT o.*,g.sort_num,g.name,g.num FROM ' . tablename('mc_members') . ' as o left join ' . tablename('lzl_numcard_user') . " as g on g.uid = o.uid where o.uid = '{$uid}'"); goto xDb9r; tJvb_: if (!empty($user_c)) { goto m_s6I; } goto aIl5U; AOTts: DLch2: goto eT_8i; VhJgT: if ($redeem['redeem_time'] != '') { goto cQOs3; } goto n58Il; exixs: pdo_update('lzl_numcard_redeem', array("uid" => $uid, "redeem_time" => time()), array("id" => $redeem['id'])); goto GrJlo; bbBqi: $order_list = pdo_fetchall('SELECT * FROM ' . tablename('lzl_numcard_order') . " WHERE uid = '{$uid}' order by id desc"); goto h40C4; SJSbm: Kv3Zw: goto aq2q7; Pj9_z: v23eH: goto WzKd7; mIEws: if (!empty($_W['fans']['nickname'])) { goto UtpWW; } goto KFiy6; jgAhO: $num = $_GPC['num']; goto xC8TR; KFiy6: mc_oauth_userinfo(); goto n0SVg; ZpM71: OLeCT: goto He8PJ; eVFkP: message('兑换成功', $this->createMobileUrl('index'), 'success'); goto SJSbm; KK8vN: AxaeN: goto p_tou; fu_HC: if ($redeem_on == '1') { goto JqYqY; } goto NY73v; aq2q7: goto z430O; goto eBGcn; zNpFt: $uniacid = $_W['uniacid']; goto bQAf7; EX247: g5WA6: goto exixs; lNPR0: $user_c = pdo_fetch('SELECT * FROM ' . tablename('lzl_numcard_user') . " WHERE uid = '{$uid}'"); goto tJvb_; eT_8i: include $this->template('index'); goto j3oVn; jQzf8: goto vB0PJ; goto AXaCX; p_tou: goto Kv3Zw; goto EX247; HJUfP: z430O: goto cUi9M; LYirW: oJSgJ: goto mIEws; h40C4: if (!($_GPC['op'] == 'redeem')) { goto DLch2; } goto nykzN; fQpJr: goto vlG08; goto WK444; UYLll: return message('程序未添加任何服务项目!', 'refresh', 'error'); goto qMvdO; NY73v: message('系统已关闭兑换!', $this->createMobileUrl('index'), 'error'); goto jQzf8; n0SVg: UtpWW: goto zNpFt; hmZXN: if (!empty($redeem)) { goto LGj4y; } goto dCvj4; cUi9M: vlG08: goto csU9S; mZ2_F: if (!(strpos($_SERVER['HTTP_USER_AGENT'], 'MicroMessenger') == false)) { goto oJSgJ; } goto bmLPB; YMkdm: sJlgF: goto c7AXf; nsNMj: global $_GPC, $_W; goto mZ2_F; H9S76: message('请输入兑换码!', $this->createMobileUrl('index'), 'error'); goto L6jwC; c7AXf: message('该兑换码已过期!', $this->createMobileUrl('index'), 'error'); goto HJUfP; xDb9r: $user_num = unserialize($user['num']); goto eCuc2; xfP4p: m_s6I: goto ajwS4; SwJtp: $system = $this->module['config']; goto t5377; eCuc2: $serve_list = pdo_fetchall('SELECT * FROM ' . tablename('lzl_numcard_serve') . " WHERE uniacid = '{$uniacid}' order by id asc"); goto yGe9p; bQAf7: $time = time(); goto SwJtp; qMvdO: swTZB: goto bbBqi; n6Ytv: if (!empty($redeem_type)) { goto v23eH; } goto NL9uC; j3oVn: } public function doMobilededuct() { goto bxFW0; zU66u: message('请正确选择扣费项目及扣除数量!', $this->createMobileUrl('deduct', array("uid" => $user_uid)), 'error'); goto tszDl; bVoMe: if ($_GPC['remarks_shop'] != '') { goto oWlII; } goto O271y; t3iDv: wYuvV: goto AVR3s; WQA4P: ydq1n: goto QtVlU; ldpAB: $admin_uid = $_W['member']['uid']; goto r35xT; CkIj7: $serve = pdo_fetch('SELECT * FROM ' . tablename('lzl_numcard_serve') . " WHERE id = '{$serve_id}'"); goto UTTGN; UTTGN: if ($serve_id > 0 && $num > 0) { goto sHVY2; } goto zU66u; DBB9O: sHVY2: goto FFKoz; OnP7Y: goto r3JQx; goto ortnI; oWiye: if (in_array($admin_uid, $admin_uid_array)) { goto Ar81M; } goto d0fMP; MgIka: yn3YB: goto bVoMe; FzN1h: $user_num = unserialize($user_user['num']); goto oWiye; Ab3cf: Ar81M: goto RqgYJ; RqgYJ: $serve_list = pdo_fetchall('SELECT * FROM ' . tablename('lzl_numcard_serve') . " WHERE uniacid = '{$uniacid}' order by id asc"); goto ecxW_; sGRc5: $serve_id = $_GPC['serve_id']; goto HrMxL; d27xB: if ($user_num[$serve_array_name] >= $num) { goto yn3YB; } goto maT1H; y3f1y: k16iT: goto uP5tm; gtLmq: goto ydq1n; goto MgIka; ortnI: oWlII: goto fjxkw; FFKoz: $serve_array_name = 'serve' . $serve_id; goto d27xB; itX1l: r3JQx: goto gk33t; r35xT: $user_uid = $_GPC['uid']; goto aYyQ5; O271y: $remarks = '消费扣除'; goto OnP7Y; QtVlU: O70Pn: goto t3iDv; S8bZA: $uniacid = $_W['uniacid']; goto TvrTC; d0fMP: message('', $this->createMobileUrl('index', array("text" => "您不是管理员,无权操作!", "state" => "0")), 'error'); goto xr_X_; nB8GG: message('', $this->createMobileUrl('index', array("text" => "扣除成功!", "state" => "1")), 'success'); goto WQA4P; aYyQ5: $user_user = pdo_fetch('SELECT * FROM ' . tablename('lzl_numcard_user') . " WHERE uid = '{$user_uid}'"); goto FzN1h; maT1H: message('', $this->createMobileUrl('index', array("text" => '扣除失败,剩余' . $serve['name'] . '的' . $system['num_name'] . '不足!', "state" => "0")), 'error'); goto gtLmq; ecxW_: if (!($_GPC['op'] == 'post')) { goto wYuvV; } goto sGRc5; tszDl: goto O70Pn; goto DBB9O; AVR3s: include $this->template('deduct'); goto y3f1y; bxFW0: global $_GPC, $_W; goto S8bZA; fjxkw: $remarks = '消费扣除(' . $_GPC['remarks_shop'] . ')'; goto itX1l; TvrTC: $system = $this->module['config']; goto HUVdx; gk33t: $this->recharge_execute($user_uid, $serve_id, '-' . $num, $remarks); goto nB8GG; xr_X_: goto k16iT; goto Ab3cf; HUVdx: $admin_uid_array = explode(',', $system['admin_uid']); goto ldpAB; HrMxL: $num = $_GPC['num']; goto CkIj7; uP5tm: } public function doMobilepay() { goto zFjtk; bAAH6: message($serve['name'] . '的最低充值' . $system['num_name'] . '为' . $serve['recharge_limit'], $this->createMobileUrl('index'), 'error'); goto ILPum; zFjtk: global $_GPC, $_W; goto HOEIN; ILPum: goto KH_0m; goto ibHv7; h1YPS: KH_0m: goto SxreC; xmLCE: $price = $serve['price'] * $num; goto wrxGh; qrc2J: if ($num >= $serve['recharge_limit']) { goto KDUqR; } goto bAAH6; ibHv7: KDUqR: goto xmLCE; L44kX: $uid = $_W['member']['uid']; goto TP4Id; HOEIN: $system = $this->module['config']; goto L44kX; C3kZI: pdo_insert('lzl_numc
没有合适的资源?快使用搜索试试~ 我知道了~
会员计次卡V1.1.1 WQ微赞通用微信源码开心版
共36个文件
html:19个
png:8个
php:3个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 1 下载量 30 浏览量
2022-03-15
15:13:09
上传
评论 1
收藏 162KB ZIP 举报
温馨提示
WQ功能模块 会员计次卡V1.1.1,适用于任何行业的多功能计次会员卡。
资源推荐
资源详情
资源评论
收起资源包目录
会员计次卡V1.1.1 WQ微赞通用微信源码开心版.zip (36个子文件)
会员计次卡V1.1.1 WQ微赞通用微信源码开心版
会员计次卡 1.1.1
lzl_numcard
module.php 1KB
manifest.xml 4KB
site.php 35KB
map.json 0B
icon.jpg 71KB
template
css
style.css 5KB
setting.html 6KB
add_redeem_type.html 2KB
images
msg0.png 5KB
nav1.png 7KB
nav4.png 7KB
nav2.png 7KB
nav5.png 7KB
nav3.png 7KB
msg1.png 5KB
nav6.png 8KB
order_export.html 994B
add_redeem.html 2KB
add_order.html 2KB
order.html 2KB
serve.html 1KB
js
jquery.qrcode.min.js 14KB
jquery-1.7.1.min.js 92KB
redeem_desc.html 3KB
add_serve.html 1KB
add_user.html 2KB
user.html 1KB
redeem.html 2KB
mobile
index.html 7KB
deduct.html 1KB
header.html 520B
redeem_type.html 1KB
recharge.html 1KB
delete_redeem.html 1KB
recharge_export.html 997B
upgrade.php 8KB
共 36 条
- 1
资源评论
- 2301_791175682023-07-24终于找到了超赞的宝藏资源,果断冲冲冲,支持!
智慧浩海
- 粉丝: 1w+
- 资源: 5189
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功