<?php
goto L98U0; Q3gC5: require_once 'jssdk.php'; goto wgUg5; tKV8M: include_once IA_ROOT . '/framework/library/phpexcel/PHPExcel/IOFactory.php'; goto SoQ9x; IJIAk: defined('IN_IA') or exit('Access Denied'); goto Q3gC5; L98U0: session_start(); goto IJIAk; wgUg5: include_once IA_ROOT . '/framework/library/phpexcel/PHPExcel.php'; goto tKV8M; SoQ9x: require_once IA_ROOT . '/addons/jk_answer/model.php'; goto XGwPN; XGwPN: include_once IA_ROOT . '/framework/library/qrcode/phpqrcode.php'; goto bLXW5; bLXW5: class jk_answerModuleSite extends WeModuleSite { public $questiontable = "jokerrr_answer_question"; public $fanstable = "jokerrr_answer_user"; public $gifttable = "jokerrr_answer_gift"; public $jiequantable = "jokerrr_answer_jiequan"; public $wintable = "jokerrr_answer_win"; public $gradetable = "jokerrr_answer_grade"; public $replytable = "jokerrr_answer_reply"; public function doMobileInterface() { goto ii91h; qUHoS: $from_user = $_W['openid']; goto AKd2o; FrMdH: $data['rid'] = $rid; goto Lg6zR; pbBmz: TrLN4: goto nLBiv; avWeG: message('本页面仅支持微信访问!非微信浏览器禁止浏览!', '', 'error'); goto MPLKF; nLBiv: $user = $this->checkinfo($rid); goto rr_d6; LgZ63: message('活动还没有开始呢', '', 'success'); goto GeXlJ; Mw0It: if (!($i < count($list))) { goto JVi6x; } goto tfCxo; jHyWU: nyIj1: goto yuPV2; YnP3m: $user_agent = $_SERVER['HTTP_USER_AGENT']; goto lb6R_; zHYpl: $index_des = '100名外'; goto BVMTT; APfCi: XMLZj: goto jHyWU; o4Pr1: JAmiK: goto Mw0It; MPLKF: tJYSf: goto MHJaH; A3JVW: vdwEW: goto ibn2K; ii91h: global $_GPC, $_W; goto AksGM; rr_d6: $package = $this->getSignPackage(); goto ttVFU; GeXlJ: hupVT: goto VECSm; lKLDw: $user_count = pdo_fetch('SELECT count(*) FROM' . tablename($this->fanstable) . 'WHERE `uniacid` = :uniacid and `rid` = :rid', array(":uniacid" => $_W['uniacid'], ":rid" => $rid)); goto DoKIn; TtiSH: $data['realname'] = $_GPC['name']; goto uADVD; hbOxF: FehKy: goto zlRVW; ttVFU: if (!($reply['start_day'] > time())) { goto hupVT; } goto LgZ63; tfCxo: if (!($list[$i]['openid'] == $user['openid'])) { goto XMLZj; } goto pR7Oh; tLBGb: fnYOT: goto NOANj; AksGM: $rid = $_GPC['rid']; goto YnP3m; uADVD: $data['phone'] = $_GPC['phone']; goto FrMdH; Crc38: JVi6x: goto AF4N1; SL9JY: exit; goto pbBmz; hTVnr: $gift_names = NULL; goto FFb94; ykouy: message('修改联系方式失败', 'refresh', 'error'); goto K_5x2; ltCSH: if ($res) { goto vdwEW; } goto ykouy; MHJaH: $reply = pdo_fetch('SELECT * FROM ' . tablename($this->replytable) . ' WHERE `rid` = :rid and `uniacid` = :uniacid', array(":rid" => $rid, ":uniacid" => $_W['uniacid'])); goto qUHoS; ibn2K: message('修改联系方式成功', $this->createMobileUrl('interface', array("rid" => $rid)), 'success'); goto hbOxF; FFb94: foreach ($gift as $index => $value) { $gift_names = $gift_names . $value['gift_name'] . '、'; DcHxp: } goto BF_64; DoKIn: $gift = pdo_fetchall('SELECT * FROM ' . tablename($this->gifttable) . ' WHERE `uniacid` = :uniacid and `rid` = :rid and gtype <> \'lose\'', array(":uniacid" => $_W['uniacid'], ":rid" => $rid)); goto hTVnr; zlRVW: Kpf_K: goto Lpza5; BVMTT: $i = 0; goto o4Pr1; AF4N1: if (!checksubmit('submit')) { goto Kpf_K; } goto TtiSH; AKd2o: $follow = pdo_fetchcolumn('select follow from ' . tablename('mc_mapping_fans') . ' where openid=:openid and uniacid=:uniacid order by `fanid` desc', array(":openid" => $from_user, ":uniacid" => $_W['uniacid'])); goto YwSZ4; QeROY: header('Location: ' . $reply['attention_url']); goto SL9JY; NOANj: $starttime = date('Y-m-d', $reply['start_day']); goto vCG1I; K_5x2: goto FehKy; goto A3JVW; vCG1I: $endtime = date('Y-m-d', $reply['end_day']); goto lGMfT; yuPV2: $i++; goto lGMPo; tbYhl: $mywin = pdo_fetchall('select * from ' . tablename($this->wintable) . ' where `uniacid` = :uniacid and status <> 2 and `from_user` = :from_user and `rid` = :rid order by id desc', array(":uniacid" => $_W['uniacid'], "from_user" => $user['openid'], "rid" => $rid)); goto lKLDw; Lpza5: include $this->template('interface'); goto r7NVd; lGMfT: $isHttps = $this->isHttpsType(); goto TLoaQ; YwSZ4: if (!($reply['is_attention'] == '1' && $follow == 0)) { goto TrLN4; } goto QeROY; lb6R_: if (!(strpos($user_agent, 'MicroMessenger') === false)) { goto tJYSf; } goto avWeG; Lg6zR: $res = pdo_update($this->fanstable, $data, array("id" => intval($user['id']), "rid" => $rid)); goto ltCSH; TLoaQ: $winlist = pdo_fetchall('SELECT a.fansID,a.from_user,a.gift_name,a.gift_type,a.gift_image,a.gift_id,a.uniacid,a.rid,b.headimgurl,b.nickname from ' . tablename($this->wintable) . ' as a left join ' . tablename($this->fanstable) . ' as b on a.from_user=b.openid where a.uniacid = :uniacid and a.rid = :rid and b.uniacid = :uniacid and b.rid = :rid and a.status <> 2 order by a.id desc limit 100', array(":uniacid" => $_W['uniacid'], ":rid" => $rid)); goto tbYhl; VECSm: if (!($reply['end_day'] < time())) { goto fnYOT; } goto dAxJv; lGMPo: goto JAmiK; goto Crc38; pR7Oh: $index_des = '第' . ($i + 1) . '名'; goto APfCi; BF_64: i_ygM: goto zHYpl; dAxJv: message('活动已经结束了!', '', 'success'); goto tLBGb; r7NVd: } public function doMobileAnswer() { goto ue2Kd; Bd1nv: $reply = pdo_fetch('SELECT * FROM ' . tablename($this->replytable) . ' WHERE rid = :rid and uniacid=:uniacid', array(":rid" => $rid, ":uniacid" => $_W['uniacid'])); goto tGjhV; w56Rn: $grade = $reply['grade']; goto JXlkV; hv3JK: $quest = $questionlist[$i]; goto G2Nlj; r8zXQ: $prize = pdo_fetchall('SELECT * FROM' . tablename($this->gifttable) . 'WHERE `uniacid` = :uniacid and `rid` = :rid', array(":uniacid" => $_W['uniacid'], "rid" => $rid)); goto B7lDL; fmPwo: message('当前题目数量不够', '', 'error'); goto rUxBc; HSkzb: XnGmV: goto j3fNS; LO0IO: $follow = pdo_fetchcolumn('select follow from ' . tablename('mc_mapping_fans') . ' where openid=:openid and uniacid=:uniacid order by `fanid` desc', array(":openid" => $from_user, ":uniacid" => $_W['uniacid'])); goto OK3If; tGjhV: $user = $this->checkinfo($rid); goto n3X7S; FCGU5: oQIr6: goto eEN7W; CrsWZ: $i = 0; goto DEnse; HtGXq: pdo_update($this->fanstable, array("answer_count" => $answer_count), array("id" => intval($user['id']), "rid" => $rid)); goto bLvdU; JXlkV: $onepoints = $grade / intval($total); goto epNjt; TvtPV: if (!($right_count > $question_cout)) { goto GgGRN; } goto QXgjz; SWzY1: message('当前答题次数用完了,下次再来,谢谢!', '', 'error'); goto aJU1C; XCxeJ: $rid = $_GPC['rid']; goto Bd1nv; OLRGP: if (!($answer_count >= $reply['answer_count'])) { goto e_bDZ; } goto SWzY1; iA8BC: $right_count = intval($reply['right_count']); goto TvtPV; vUYT8: header('Location: ' . $reply['attention_url']); goto zYAgN; GQ1Ea: aD9rh: goto ujIyQ; bLvdU: ADN3_: goto OdEK2; ZMXC2: if ($isrand == 1) { goto aD9rh; } goto pirEm; yMfF7: $input_ziliao = $reply['input_ziliao']; goto iA8BC; iMYUb: include $this->template('dati'); goto IgyKn; pirEm: $questionlist = pdo_fetchall('SELECT * FROM ' . tablename($this->questiontable) . ' WHERE `uniacid` = :uniacid and `rid` = :rid ORDER BY id LIMIT ' . intval($total), array(":uniacid" => $_W['uniacid'], ":rid" => $rid)); goto r6IKP; B7lDL: $question_count = pdo_fetchall('SELECT * FROM' . tablename($this->questiontable) . 'WHERE `uniacid` = :uniacid and `rid` = :rid', array(":uniacid" => $_W['uniacid'], ":rid" => $rid)); goto RahRc; QBIeA: if (!(intval($reply['answer_count']) != 0)) { goto ADN3_; } goto OLRGP; n3X7S: $isHttps = $this->isHttpsType(); goto TjL_b; ue2Kd: global $_GPC, $_W; goto TEZ0_; epNjt: $questtimes = $reply['answer_time']; goto yMfF7; RahRc: $total = $reply['question_count']; goto em4cz; j3fNS: $question_cout = count($questionlist); goto w56Rn; sBQev: GgGRN: goto iMYUb; em4cz: if (!(count($question_count) < $total)) { goto FL95o; } goto fmPwo; TEZ0_: $package = $this->getSignPackage(); goto XCxeJ; eEN7W: $i++; goto eSyrb; QXgjz: $right_count = $question_cout; goto sBQev; TjL_b: $answer_count = intval($user['answer_count']); goto QBIeA; rUxBc: FL95o: goto WPium; uAQ
没有合适的资源?快使用搜索试试~ 我知道了~
微信小程序 答题抽奖模块源码 v1.3.9
共119个文件
html:34个
php:23个
png:20个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 94 浏览量
2022-02-16
11:52:35
上传
评论
收藏 2.1MB ZIP 举报
温馨提示
模块简介: 采用随机抽题的方式进行答题,答题完毕后,满足设置的条件,可获得抽奖机会,进行抽奖。
资源推荐
资源详情
资源评论
收起资源包目录
微信小程序 答题抽奖模块源码 v1.3.9 (119个子文件)
common.min.css 244KB
bootstrap.css 187KB
mui.min.css 74KB
normal.css 20KB
style.css 17KB
square.css 14KB
index.css 10KB
common.css 3KB
demo.css 3KB
mui.imageviewer.css 2KB
music.css 1KB
iconfont.css 1KB
liMarquee.css 831B
app.css 481B
iconfont.eot 8KB
loading.gif 7KB
form.html 29KB
answer.html 28KB
dati.html 24KB
interface.html 12KB
add_question.html 7KB
add_gift.html 7KB
edit_question.html 7KB
viewgift.html 6KB
index.html 6KB
winlist.html 5KB
list.html 5KB
actlist.html 4KB
manage.html 4KB
edit_gift.html 4KB
demo.html 4KB
set_question.html 4KB
departmentfanslist.html 3KB
verify.html 3KB
addunit.html 3KB
addhitphone.html 3KB
adddepartment.html 3KB
edit_unit.html 2KB
set_unit.html 2KB
importgift.html 2KB
import.html 2KB
jiequan.html 2KB
giftlist.html 2KB
rule.html 2KB
datainfo.html 1KB
axq.html 1KB
hitphonelist.html 1KB
set_department.html 1KB
statistics.html 1013B
setting.html 622B
connect1.jpg 50KB
item9.jpg 18KB
preview.jpg 10KB
icon.jpg 10KB
place_thumb.jpg 2KB
paper-full.min.js 323KB
mui.min.js 113KB
jquery-2.1.1.min.js 82KB
zepto.js 67KB
jquery.liMarquee.js 35KB
mui.imageViewer.js 9KB
arttmpl.js 4KB
preload.js 2KB
common.js 2KB
custom.js 2KB
interface.js 94B
answer.js 51B
map.json 10KB
site.php 72KB
upgrade.php 27KB
module.php 12KB
jssdk.php 10KB
createexcel.inc.php 6KB
statistics.inc.php 5KB
importgift.inc.php 4KB
viewgift.inc.php 4KB
departmentfanslist.inc.php 3KB
datainfo.inc.php 2KB
processor.php 2KB
phonehitlist.inc.php 2KB
addhitphone.inc.php 1KB
adddepartment.inc.php 1KB
model.php 1KB
setdepartment.inc.php 1KB
addunit.inc.php 1KB
deleteunit.inc.php 1KB
editunit.inc.php 1KB
deletedepartment.inc.php 946B
deleteimportgift.inc.php 882B
unitmanager.inc.php 774B
giftlist.inc.php 765B
top.png 878KB
shark.png 436KB
bbanner.png 84KB
banner.png 46KB
pan2.png 43KB
success.png 32KB
failure.png 26KB
share.png 23KB
Yf_logo.png 15KB
共 119 条
- 1
- 2
资源评论
智慧浩海
- 粉丝: 1w+
- 资源: 5142
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功