Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php defined("\x49\x4e\137\x49\101") or exit("\x41\x63\143\x65\x73\x73\40\x44\145\x6e\x6..
Decoded Output download
<?php
defined("IN_IA") or exit("Access Denied");
class Common extends WeModuleSite
{
public $m = "xxb_book";
public $setting = array();
public $default_cates = array(1 => array(array("title" => "", "icon" => "icon-daocha", "color" => "#febb50", "type" => 2), array("title" => "", "icon" => "icon-jiaotonggongjiaochekanfangtuandabaxianxing", "color" => "#43c5ab", "type" => 2), array("title" => "", "icon" => "icon-tubiao-", "color" => "#81ce4c", "type" => 2), array("title" => "", "icon" => "icon-ertong", "color" => "#d3c79f", "type" => 2), array("title" => "", "icon" => "icon-fuzhuang", "color" => "#7672d3", "type" => 2), array("title" => "", "icon" => "icon-kouhong1", "color" => "#f76e9c", "type" => 2), array("title" => "", "icon" => "icon-weishengzhi", "color" => "#7ca0ea", "type" => 2), array("title" => "", "icon" => "icon-hongbao", "color" => "#f8756d", "type" => 2), array("title" => "", "icon" => "icon-shouji", "color" => "#48c0e3", "type" => 2), array("title" => "", "icon" => "icon-youxi", "color" => "#bf7fd6", "type" => 2), array("title" => "", "icon" => "icon-yiliao-copy", "color" => "#f8756d", "type" => 2), array("title" => "", "icon" => "icon-chongwu1", "color" => "#d3c79f", "type" => 2), array("title" => "", "icon" => "icon-cheliangweixiu", "color" => "#8494a1", "type" => 2), array("title" => "", "icon" => "icon-xianshiqi", "color" => "#bf7fd6", "type" => 2), array("title" => "", "icon" => "icon-fangzixuexiaohaiwaixianxing", "color" => "#48c0e3", "type" => 2), array("title" => "", "icon" => "icon-shuidian", "color" => "#84d6e1", "type" => 2), array("title" => "", "icon" => "icon-shuiguodian", "color" => "#fe943e", "type" => 2), array("title" => "", "icon" => "icon-gouwu2", "color" => "#81ce4c", "type" => 2), array("title" => "", "icon" => "icon-gongzi", "color" => "#43c5ab", "type" => 1), array("title" => "", "icon" => "icon-touzi", "color" => "#48c0e3", "type" => 1), array("title" => "", "icon" => "icon-jiangjinbi", "color" => "#fe943e", "type" => 1), array("title" => "", "icon" => "icon-jianzhi", "color" => "#7ca0ea", "type" => 1), array("title" => "", "icon" => "icon-hongbao", "color" => "#f8756d", "type" => 1), array("title" => "", "icon" => "icon-shoukuan", "color" => "#84d6e1", "type" => 1)), 2 => array(array("title" => "", "icon" => "icon-naizui", "color" => "#bf7fd6", "type" => 2), array("title" => "", "icon" => "icon-naifen", "color" => "#d38b59", "type" => 2), array("title" => "", "icon" => "icon-wan--", "color" => "#f76e9c", "type" => 2), array("title" => "", "icon" => "icon-weishengzhi", "color" => "#7ca0ea", "type" => 2), array("title" => "", "icon" => "icon-fuzhuang", "color" => "#fe943e", "type" => 2), array("title" => "", "icon" => "icon-iconfontmuyulu", "color" => "#7ca0ea", "type" => 2), array("title" => "", "icon" => "icon-yingerche", "color" => "#84d6e1", "type" => 2), array("title" => "", "icon" => "icon-zaojiao-", "color" => "#9a75df", "type" => 2), array("title" => "", "icon" => "icon-wanju", "color" => "#81ce4c", "type" => 2), array("title" => "", "icon" => "icon-shuji", "color" => "#81ce4c", "type" => 2), array("title" => "", "icon" => "icon-huodong", "color" => "#f8756d", "type" => 2), array("title" => "", "icon" => "icon-yiliao-copy", "color" => "#f8756d", "type" => 2), array("title" => "", "icon" => "icon-yimiao", "color" => "#7ca0ea", "type" => 2), array("title" => "", "icon" => "icon-zhenliao", "color" => "#bf7fd6", "type" => 2), array("title" => "", "icon" => "icon-26", "color" => "#f76e9c", "type" => 2), array("title" => "", "icon" => "icon-shengri", "color" => "#f8756d", "type" => 2), array("title" => "", "icon" => "icon-hongbao", "color" => "#f8756d", "type" => 1), array("title" => "", "icon" => "icon-shoukuan", "color" => "#84d6e1", "type" => 1)), 3 => array(array("title" => "", "icon" => "icon-jinhuo", "color" => "#7ca0ea", "type" => 2), array("title" => "", "icon" => "icon-laba", "color" => "#f76e9c", "type" => 2), array("title" => "", "icon" => "icon-shui", "color" => "#febb50", "type" => 2), array("title" => "", "icon" => "icon-chalvfei", "color" => "#43c5ab", "type" => 2), array("title" => "", "icon" => "icon-bangong1", "color" => "#d38b59", "type" => 2), array("title" => "", "icon" => "icon-xianshiqi", "color" => "#f8756d", "type" => 2), array("title" => "", "icon" => "icon-gongren", "color" => "#bf7fd6", "type" => 2), array("title" => "", "icon" => "icon-fangzixuexiaohaiwaixianxing", "color" => "#7ca0ea", "type" => 2), array("title" => "", "icon" => "icon-yunshu", "color" => "#fe943e", "type" => 2), array("title" => "", "icon" => "icon-touzi", "color" => "#7ca0ea", "type" => 2), array("title" => "", "icon" => "icon-jiangjinjixiao", "color" => "#febb50", "type" => 2), array("title" => "", "icon" => "icon-shuidian", "color" => "#84d6e1", "type" => 2), array("title" => "", "icon" => "icon-shouji", "color" => "#7ca0ea", "type" => 2), array("title" => "", "icon" => "icon-shouru", "color" => "#7ca0ea", "type" => 1), array("title" => "", "icon" => "icon-touzi", "color" => "#7ca0ea", "type" => 1), array("title" => "", "icon" => "icon-gudingzichan", "color" => "#f8756d", "type" => 1), array("title" => "", "icon" => "icon-money-pig", "color" => "#9a75df", "type" => 1), array("title" => "", "icon" => "icon-daikuan", "color" => "#f8756d", "type" => 1), array("title" => "", "icon" => "icon-tuishuibiaozhi", "color" => "#7672d3", "type" => 1), array("title" => "", "icon" => "icon-yuzhishenqing", "color" => "#48c0e3", "type" => 1)), 4 => array(array("title" => "", "icon" => "icon-daocha", "color" => "#febb50", "type" => 2), array("title" => "", "icon" => "icon-fangzixuexiaohaiwaixianxing", "color" => "#48c0e3", "type" => 2), array("title" => "", "icon" => "icon-gouwu2", "color" => "#81ce4c", "type" => 2), array("title" => "", "icon" => "icon-jiaotonggongjiaochekanfangtuandabaxianxing", "color" => "#43c5ab", "type" => 2), array("title" => "", "icon" => "icon-ticket", "color" => "#bf7fd6", "type" => 2), array("title" => "", "icon" => "icon-qun", "color" => "#f8756d", "type" => 2), array("title" => "", "icon" => "icon-shoukuan", "color" => "#84d6e1", "type" => 1)), 5 => array(array("title" => "", "icon" => "icon-zhuangxiushangjia-10", "color" => "#febb50", "type" => 2), array("title" => "", "icon" => "icon-chuanghu", "color" => "#43c5ab", "type" => 2), array("title" => "", "icon" => "icon-dianxian", "color" => "#81ce4c", "type" => 2), array("title" => "", "icon" => "icon-zhuangxiushangjia-8", "color" => "#d3c79f", "type" => 2), array("title" => "", "icon" => "icon-zhuangxiushangjia-2", "color" => "#7672d3", "type" => 2), array("title" => "", "icon" => "icon-zhuangxiushangjia-6", "color" => "#f76e9c", "type" => 2), array("title" => "", "icon" => "icon-zhuangxiushangjia-1", "color" => "#7ca0ea", "type" => 2), array("title" => "", "icon" => "icon-zhuangxiushangjia-5", "color" => "#f8756d", "type" => 2), array("title" => "", "icon" => "icon-zhuangxiushangjia-3", "type" => 2), array("title" => "", "icon" => "icon-gongren", "color" => "#bf7fd6", "type" => 2), array("title" => "", "icon" => "icon-designsign", "color" => "#f8756d", "type" => 2), array("title" => "", "icon" => "icon-shuazi", "color" => "#d3c79f", "type" => 2), array("title" => "", "icon" => "icon-shuidian", "color" => "#84d6e1", "type" => 2), array("title" => "", "icon" => "icon-shoukuan", "color" => "#84d6e1", "type" => 1)), 6 => array(array("title" => "", "icon" => "icon-hunliji", "color" => "#f76e9c", "type" => 2), array("title" => "", "icon" => "icon-gongzi", "color" => "#febb50", "type" => 2), array("title" => "", "icon" => "icon-liwu1", "color" => "#f8756d", "type" => 2), array("title" => "", "icon" => "icon-xiangji-copy", "color" => "#bf7fd6", "type" => 2), array("title" => "", "icon" => "icon-jiushui", "color" => "#7ca0ea", "type" => 2), array("title" => "", "icon" => "icon-weibiaoti3", "color" => "#81ce4c", "type" => 2), array("title" => "", "icon" => "icon-tangguo", "color" => "#f8756d", "type" => 2), array("title" => "", "icon" => "icon-zhuchicehua", "color" => "#48c0e3", "type" => 2), array("title" => "", "icon" => "icon-dujia", "color" => "#43c5ab", "type" => 2), array("title" => "", "icon" => "icon-fangzixuexiaohaiwaixianxing", "color" => "#8494a1", "type" => 2), array("title" => "", "icon" => "icon-daocha", "color" => "#febb50", "type" => 2), array("title" => "", "icon" => "icon-jiaotonggongjiaochekanfangtuandabaxianxing", "color" => "#43c5ab", "type" => 2), array("title" => "", "icon" => "icon-lijin", "color" => "#febb50", "type" => 1), array("title" => "", "icon" => "icon-hongbao", "color" => "#f8756d", "type" => 1)), 7 => array(array("title" => "", "icon" => "icon-daocha", "color" => "#febb50", "type" => 2), array("title" => "", "icon" => "icon-jiaotonggongjiaochekanfangtuandabaxianxing", "color" => "#43c5ab", "type" => 2), array("title" => "", "icon" => "icon-fuzhuang", "color" => "#7672d3", "type" => 2), array("title" => "", "icon" => "icon-kouhong1", "color" => "#f76e9c", "type" => 2), array("title" => "", "icon" => "icon-shouji", "color" => "#48c0e3", "type" => 2), array("title" => "", "icon" => "icon-youxi", "color" => "#bf7fd6", "type" => 2), array("title" => "", "icon" => "icon-yiliao-copy", "color" => "#f8756d", "type" => 2), array("title" => "", "icon" => "icon-xianshiqi", "color" => "#bf7fd6", "type" => 2), array("title" => "", "icon" => "icon-gouwu2", "color" => "#f76e9c", "type" => 2), array("title" => "", "icon" => "icon-banji", "color" => "#81ce4c", "type" => 2), array("title" => "", "icon" => "icon-peixun", "color" => "#7ca0ea", "type" => 2), array("title" => "", "icon" => "icon-info", "color" => "#43c5ab", "type" => 2), array("title" => "", "icon" => "icon-wifi_icon", "color" => "#81ce4c", "type" => 2), array("title" => "", "icon" => "icon-jiaoxuefei", "color" => "#febb50", "type" => 2), array("title" => "", "icon" => "icon-wenju", "color" => "#fe943e", "type" => 2), array("title" => "", "icon" => "icon-shuji", "color" => "#43c5ab", "type" => 2), array("title" => "", "icon" => "icon-fangzixuexiaohaiwaixianxing", "color" => "#8494a1", "type" => 2), array("title" => "", "icon" => "icon-liwu1", "color" => "#f8756d", "type" => 2), array("title" => "", "icon" => "icon-shuidian", "color" => "#84d6e1", "type" => 2), array("title" => "", "icon" => "icon-shuiguodian", "color" => "#fe943e", "type" => 2), array("title" => "", "icon" => "icon-gouwu2", "color" => "#81ce4c", "type" => 2), array("title" => "", "icon" => "icon-shenghuo", "color" => "#81ce4c", "type" => 1), array("title" => "", "icon" => "icon-jiangli", "color" => "#d38b59", "type" => 1), array("title" => "", "icon" => "icon-jianzhi", "color" => "#7ca0ea", "type" => 1), array("title" => "", "icon" => "icon-hongbao", "color" => "#f8756d", "type" => 1), array("title" => "", "icon" => "icon-shoukuan", "color" => "#84d6e1", "type" => 1)), 8 => array(array("title" => "", "icon" => "icon-peixun", "color" => "#7ca0ea", "type" => 2), array("title" => "", "icon" => "icon-info", "color" => "#43c5ab", "type" => 2), array("title" => "", "icon" => "icon-jiaoxuefei", "color" => "#fe943e", "type" => 2), array("title" => "", "icon" => "icon-wenju", "color" => "#febb50", "type" => 2), array("title" => "", "icon" => "icon-shuji", "color" => "#43c5ab", "type" => 2), array("title" => "", "icon" => "icon-jiangli", "color" => "#f76e9c", "type" => 2), array("title" => "", "icon" => "icon-liwu1", "color" => "#f8756d", "type" => 2), array("title" => "", "icon" => "icon-daocha", "color" => "#febb50", "type" => 2), array("title" => "", "icon" => "icon-jiaotonggongjiaochekanfangtuandabaxianxing", "color" => "#43c5ab", "type" => 2), array("title" => "", "icon" => "icon-gouwu2", "color" => "#f76e9c", "type" => 2), array("title" => "", "icon" => "icon-banji", "color" => "#81ce4c", "type" => 1), array("title" => "", "icon" => "icon-shouru", "color" => "#48c0e3", "type" => 1), array("title" => "", "icon" => "icon-jiangjinjixiao", "color" => "#febb50", "type" => 1), array("title" => "", "icon" => "icon-shoukuan", "color" => "#84d6e1", "type" => 1)), 9 => array(array("title" => "", "icon" => "icon-hongbao", "color" => "#f8756d", "type" => 2), array("title" => "", "icon" => "icon-qun", "color" => "#f8756d", "type" => 2), array("title" => "", "icon" => "icon-hunliji", "color" => "#f76e9c", "type" => 2), array("title" => "", "icon" => "icon-taozi", "color" => "#febb50", "type" => 2), array("title" => "", "icon" => "icon-hongbao", "color" => "#f8756d", "type" => 1), array("title" => "", "icon" => "icon-hunliji", "color" => "#f76e9c", "type" => 1), array("title" => "", "icon" => "icon-taozi", "color" => "#febb50", "type" => 1)), 10 => array(array("title" => "", "icon" => "icon-jiayou", "color" => "#7ca0ea", "type" => 2), array("title" => "", "icon" => "icon-tingche", "color" => "#81ce4c", "type" => 2), array("title" => "", "icon" => "icon-baoxian", "color" => "#febb50", "type" => 2), array("title" => "", "icon" => "icon-weixiu1", "color" => "#43c5ab", "type" => 2), array("title" => "", "icon" => "icon-xiche", "color" => "#81ce4c", "type" => 2), array("title" => "", "icon" => "icon-baoyang", "color" => "#7ca0ea", "type" => 2), array("title" => "", "icon" => "icon-qichemeirong", "color" => "#d38b59", "type" => 2), array("title" => "", "icon" => "icon-weizhang", "color" => "#f8756d", "type" => 2), array("title" => "", "icon" => "icon-shoukuan", "color" => "#84d6e1", "type" => 1)));
function __construct($setting = array())
{
$this->setting = $setting;
$this->modulename = $this->m;
}
function getMember($id = 0)
{
goto g_6W_;
gvfyD:
goto t4VzF;
goto pbOEu;
RDrjA:
return pdo_fetch("SELECT * FROM " . tablename("xxb_book_member") . " WHERE uniacid = :uniacid AND openid = :openid", array(":uniacid" => $_W["uniacid"], ":openid" => $id));
goto DBJgy;
kOJF7:
return pdo_fetch("SELECT * FROM " . tablename("xxb_book_member") . " WHERE uniacid = :uniacid AND id = :id", array(":uniacid" => $_W["uniacid"], ":id" => $id));
goto gvfyD;
rIwcX:
return array();
goto jUFWt;
jUFWt: pCdZn:
goto mUKQr;
pbOEu: l1tqZ:
goto RDrjA;
mUKQr:
if (gettype($id) == "string") {
goto l1tqZ;
}
goto kOJF7;
d_9lF:
if (!empty($id)) {
goto pCdZn;
}
goto rIwcX;
DBJgy: t4VzF:
goto S18Uh;
g_6W_: global $_W;
goto d_9lF;
S18Uh:
}
function setDefaultBook($book_id = 0)
{
goto TWi02;
gDHNo:
if (!($auth === false)) {
goto YmRuA;
}
goto Rta5K;
xZxN0:
pdo_query("update " . tablename("xxb_book_member") . " set default_book={$book_id} WHERE openid = :openid AND uniacid=:uniacid", array(":openid" => $_W["openid"], ":uniacid" => $_W["uniacid"]));
goto y5_A2;
YZ6iV: Da0Nv:
goto slmws;
xBwgP:
if (!empty($book)) {
goto Da0Nv;
}
goto qYm7F;
PQ9vx:
$auth = $this->checkBookAuth($book_id);
goto gDHNo;
WtYqi:
$book_id = $book ? $book[0]["id"] : $book_id;
goto xZxN0;
slmws: YmRuA:
goto WtYqi;
Rta5K:
$book = $this->getBook(["init" => 1]);
goto xBwgP;
qYm7F:
return false;
goto YZ6iV;
y5_A2:
return $book_id;
goto ik4IQ;
TWi02: global $_W;
goto PQ9vx;
ik4IQ:
}
function checkBookAuth($book_id)
{
goto eZ1Ff;
sGfa_:
return false;
goto V69Vu;
PlQ0n:
return false;
goto jXLr9;
WJV7M:
return 0;
goto xkfdt;
nYA6v:
foreach ($book_members as $v) {
goto oggdT;
dK9Ss:
return intval($v["auth"]);
goto FX9PL;
oggdT:
if (!($v["openid"] == $_W["openid"])) {
goto MgG0W;
}
goto dK9Ss;
FX9PL: MgG0W:
goto f23ZU;
f23ZU: Svgxv:
goto ooFhP;
ooFhP:
}
goto rZHSb;
eZ1Ff: global $_W;
goto PujXe;
FfyZu:
$book_members = pdo_fetchall("SELECT openid,auth FROM " . tablename("xxb_book_book_member") . " WHERE uniacid = :uniacid AND status = 1 AND book_id = :book_id order by id asc", [":uniacid" => $_W["uniacid"], ":book_id" => $book_id]);
goto nYA6v;
PujXe:
$book = pdo_fetch("SELECT id,openid FROM " . tablename("xxb_book_book") . " WHERE uniacid = :uniacid AND status = 1 AND id = :id", [":uniacid" => $_W["uniacid"], ":id" => $book_id]);
goto Bfndx;
Bfndx:
if (!empty($book)) {
goto WIfar;
}
goto sGfa_;
V69Vu: WIfar:
goto DNhGw;
DNhGw:
if (!($_W["openid"] == $book["openid"])) {
goto TX_Sq;
}
goto WJV7M;
rZHSb: o7_u_:
goto PlQ0n;
xkfdt: TX_Sq:
goto FfyZu;
jXLr9:
}
function initBook($default_book)
{
goto N6NS3;
QLvjG:
$this->setDefaultBook($book["id"]);
goto VA98t;
a5aT5:
$countmember = pdo_fetchcolumn("SELECT COUNT(*) FROM " . tablename("xxb_book_book_member") . " WHERE uniacid = :uniacid AND status = 1 AND book_id = :book_id", array(":uniacid" => $_W["uniacid"], ":book_id" => $book["id"]));
goto GQe8i;
XiGDP:
$book = pdo_fetch("SELECT * FROM " . tablename("xxb_book_book") . " WHERE uniacid = :uniacid AND status = 1 and id = :id", array(":uniacid" => $_W["uniacid"], ":id" => $default_book));
goto a1YDW;
N6NS3: global $_W;
goto UVrSe;
QcmHX:
$book = ["uniacid" => $_W["uniacid"], "openid" => $_W["openid"], "title" => "", "type" => 1, "income" => 0.0, "expenditure" => 0.0, "status" => 1, "color1" => "#50A1FB", "color2" => "#83BFFE", "monthly_budget" => 0.0, "init" => 1, "update_time" => time(), "create_time" => time()];
goto bVs4B;
DUqtP:
goto qKHPB;
goto Nu0Up;
FMyV4:
$this->setDefaultBook($book["id"]);
goto BlU6w;
bVs4B:
pdo_insert("xxb_book_book", $book);
goto fKojl;
vbHpw:
$book = ["uniacid" => $_W["uniacid"], "openid" => $_W["openid"], "title" => "", "type" => 1, "income" => 0.0, "expenditure" => 0.0, "status" => 1, "color1" => "#50A1FB", "color2" => "#83BFFE", "monthly_budget" => 0.0, "update_time" => time(), "create_time" => time()];
goto qGjxF;
Nu0Up: gPBbp:
goto QcmHX;
BlU6w: qKHPB:
goto gHile;
UVrSe:
$books = pdo_fetchall("SELECT id FROM " . tablename("xxb_book_book") . " WHERE uniacid = :uniacid AND status = 1 AND openid = :openid order by id desc", array(":uniacid" => $_W["uniacid"], ":openid" => $_W["openid"]));
goto GP56Y;
GP56Y:
if (empty($books)) {
goto gPBbp;
}
goto nKeV_;
qGjxF:
pdo_insert("xxb_book_book", $book);
goto mn_v_;
pAbEA:
return $book;
goto qhOk3;
fKojl:
$book["id"] = pdo_insertid();
goto FMyV4;
gHile:
$book["auth"] = $this->checkBookAuth($book["id"]);
goto a5aT5;
mn_v_:
$book["id"] = pdo_insertid();
goto QLvjG;
GQe8i:
$book["countmember"] = intval($countmember) + 1;
goto pAbEA;
nKeV_:
$default_book = $this->setDefaultBook($default_book);
goto XiGDP;
a1YDW:
if (!empty($book)) {
goto mOrPh;
}
goto vbHpw;
VA98t: mOrPh:
goto DUqtP;
qhOk3:
}
function initAccount()
{
goto zkxpp;
eLPx_:
foreach ($default_accounts as $k1 => $v1) {
goto MPJWr;
jjxjd: QSW0z:
goto cbqSN;
cbqSN: hBmHb:
goto SWjle;
oFaG7: iZAxr:
goto Zr4TX;
y3fYK:
pdo_insert("xxb_book_account", $v1);
goto jjxjd;
TwCuc:
foreach ($accounts as $k2 => $v2) {
goto O7KHq;
TU7Zm:
goto iZAxr;
goto mD5wn;
mD5wn: dv8eP:
goto p93Sh;
O7KHq:
if (!($v2["type"] == $v1["type"])) {
goto dv8eP;
}
goto KF2Oq;
KF2Oq:
$is_presence = 1;
goto TU7Zm;
p93Sh: deoUZ:
goto U_D_A;
U_D_A:
}
goto oFaG7;
Zr4TX:
if ($is_presence) {
goto QSW0z;
}
goto y3fYK;
MPJWr:
$is_presence = 0;
goto TwCuc;
SWjle:
}
goto SJHcA;
DPz1e:
$accounts = pdo_fetchall("SELECT id,type FROM " . tablename("xxb_book_account") . " WHERE uniacid = :uniacid and openid = :openid order by id desc", array(":uniacid" => $_W["uniacid"], ":openid" => $_W["openid"]));
goto eLPx_;
zkxpp: global $_W;
goto mC3qy;
woUIB:
$accounts = pdo_fetchall("SELECT id,type,title,icon,color,color,balance,remark,account,create_time FROM " . tablename("xxb_book_account") . " WHERE uniacid = :uniacid AND openid = :openid AND status = 1 order by id asc", array(":uniacid" => $_W["uniacid"], ":openid" => $_W["openid"]));
goto DhaDx;
SJHcA: KCabI:
goto woUIB;
mC3qy:
$default_accounts = [["uniacid" => $_W["uniacid"], "openid" => $_W["openid"], "type" => "cash", "title" => "", "icon" => "icon-unie93e", "color" => "#fbcd4d", "balance" => 0.0, "income" => 0.0, "expenditure" => 0.0, "remark" => "", "account" => '', "status" => 1, "update_time" => time(), "create_time" => time()], ["uniacid" => $_W["uniacid"], "openid" => $_W["openid"], "type" => "wepay", "title" => "", "icon" => "icon-wechat1193418easyiconnet", "color" => "#7ed53d", "balance" => 0.0, "income" => 0.0, "expenditure" => 0.0, "remark" => "", "account" => '', "status" => 1, "update_time" => time(), "create_time" => time()], ["uniacid" => $_W["uniacid"], "openid" => $_W["openid"], "type" => "alipay", "title" => "", "icon" => "icon-unif1041", "color" => "#01a4f1", "balance" => 0.0, "income" => 0.0, "expenditure" => 0.0, "remark" => "", "account" => '', "status" => 1, "update_time" => time(), "create_time" => time()]];
goto DPz1e;
DhaDx:
return $accounts;
goto oh342;
oh342:
}
function initCategory($book_id = 0)
{
goto LOsc1;
qqHLG:
if (!empty($cates)) {
goto OTWyH;
}
goto RhpgC;
ghLh8:
if (!empty($category)) {
goto RcqGV;
}
goto b062J;
aVoHj:
$category = pdo_fetch("SELECT id FROM " . tablename("xxb_book_category") . " WHERE uniacid = :uniacid AND book_id = :book_id", array(":uniacid" => $_W["uniacid"], ":book_id" => $book_id));
goto ghLh8;
b062J:
$book = pdo_fetch("SELECT id,type FROM " . tablename("xxb_book_book") . " WHERE uniacid = :uniacid AND id = :id", array(":uniacid" => $_W["uniacid"], ":id" => $book_id));
goto f3xCY;
f3xCY:
if ($book) {
goto uQYTr;
}
goto V0xU1;
Uw73r:
$categorys = pdo_fetchall("SELECT id,title,icon,color,type FROM " . tablename("xxb_book_category") . " WHERE uniacid = :uniacid AND book_id = :book_id AND status = 1 order by id asc", array(":uniacid" => $_W["uniacid"], ":book_id" => $book_id));
goto Lg_uA;
Lg_uA:
return $categorys;
goto xLudD;
LOsc1: global $_W;
goto aVoHj;
yGKRN:
$cates = pdo_fetchall("SELECT icon,title,color,`type` FROM " . tablename("xxb_book_category_default") . " WHERE uniacid = :uniacid AND cate = :cate ORDER BY id asc", array(":uniacid" => $_W["uniacid"], ":cate" => $book["type"]));
goto qqHLG;
jLp4o: OTWyH:
goto E2XRS;
V0xU1:
return [];
goto CfHJw;
BDqOJ: RcqGV:
goto Uw73r;
RhpgC:
$cates = $this->default_cates[$book["type"]];
goto jLp4o;
oKNWg: arsvS:
goto BDqOJ;
wbD6u: uQYTr:
goto yGKRN;
E2XRS:
foreach ($cates as $k => $v) {
goto hrOUh;
FKHkw:
$v["create_time"] = time();
goto Yq_t1;
eJonC:
$v["book_id"] = $book_id;
goto VFHob;
ZQFZf:
$v["openid"] = $_W["openid"];
goto eJonC;
Yq_t1:
pdo_insert("xxb_book_category", $v);
goto IA0Py;
hrOUh:
$v["uniacid"] = $_W["uniacid"];
goto ZQFZf;
IA0Py: PnSnv:
goto kSlS1;
VFHob:
$v["update_time"] = time();
goto FKHkw;
kSlS1:
}
goto XFmFk;
XFmFk: sS11L:
goto oKNWg;
CfHJw:
goto arsvS;
goto wbD6u;
xLudD:
}
function getRecording($condition = array())
{
goto YGQI9;
VN_mF: XlEu7:
goto jdviF;
jdviF:
if (!($condition["offset"] || $condition["offset"] === 0 || $condition["min_month"])) {
goto GzHJY;
}
goto UnS19;
aTYEX: B9oPN:
goto WaoOd;
WaoOd:
return $recordings;
goto ifTxI;
dQc0s:
$limit = $condition["limit"] ? "limit " . $condition["limit"] : '';
goto EIDj8;
UnS19:
$recordings = $this->recursiveRecording($where, $options, $condition["offset"], $condition);
goto LAI1O;
T342S:
$options[":account_id"] = $condition["account_id"];
goto Ty5qB;
YGQI9: global $_W;
goto AudzU;
P0qYR:
$recordings = pdo_fetchall("SELECT r.id,r.openid,r.type,r.money,r.book_id,r.cate_id,r.account_id,r.remark,r.image,r.date,r.address,r.latitude,r.longitude,r.addressname,c.title,c.icon,c.color,m.nickname FROM " . tablename("xxb_book_recording") . " r left join " . tablename("xxb_book_category") . " c on r.cate_id = c.id and c.status = 1 left join " . tablename("xxb_book_member") . " m on r.openid = m.openid" . $where . " order by r.date desc,r.id desc " . $limit, $options);
goto Mgf4T;
uDr06:
$where .= " AND r.id = :id";
goto mx9ol;
fiwCn:
if (!$condition["id"]) {
goto xqYHd;
}
goto uDr06;
tkNL5:
$options[":book_id"] = $condition["book_id"];
goto n72EH;
GDzRH:
$where .= " AND r.book_id = :book_id";
goto tkNL5;
f6RwN:
foreach ($recordings as &$v) {
$v["image"] = $v["image"] ? $_W["attachurl"] . $v["image"] : '';
bX7qk:
}
goto aTYEX;
LAI1O:
return $recordings;
goto B68K7;
I3RNi:
$options = array(":uniacid" => $_W["uniacid"]);
goto wXPE1;
Mgf4T: ZIH3g:
goto f6RwN;
zADUa:
$options[":openid"] = $condition["openid"];
goto VN_mF;
AudzU:
$where = " WHERE r.uniacid = :uniacid AND r.status = 1";
goto I3RNi;
Hy7tJ:
$where .= " AND r.openid = :openid";
goto zADUa;
dxdSZ: xqYHd:
goto Tq1DA;
gOGew:
$recordings = pdo_fetchall("SELECT r.id,r.openid,r.type,r.money,r.book_id,r.cate_id,r.account_id,r.remark,r.image,r.date,r.address,r.latitude,r.longitude,r.addressname,c.title,c.icon,c.color FROM " . tablename("xxb_book_recording") . " r left join " . tablename("xxb_book_category") . " c on r.cate_id = c.id and c.status = 1" . $where . " order by r.date desc,r.id desc " . $limit, $options);
goto BMmIr;
RHUnn:
if (!$condition["openid"]) {
goto XlEu7;
}
goto Hy7tJ;
Ty5qB: rQnYU:
goto RHUnn;
xJE_u:
$where .= " AND r.account_id = :account_id";
goto T342S;
B68K7: GzHJY:
goto dQc0s;
BMmIr:
goto ZIH3g;
goto kzQbG;
Tq1DA:
if (!$condition["account_id"]) {
goto rQnYU;
}
goto xJE_u;
n72EH: TaAJh:
goto fiwCn;
EIDj8:
if ($condition["getmember"]) {
goto P7tFZ;
}
goto gOGew;
mx9ol:
$options[":id"] = $condition["id"];
goto dxdSZ;
wXPE1:
if (!$condition["book_id"]) {
goto TaAJh;
}
goto GDzRH;
kzQbG: P7tFZ:
goto P0qYR;
ifTxI:
}
private function recursiveRecording($where, $options, $offset, $condition, $count = 0)
{
goto VEVsP;
kNmkD:
$newoptions[":mindate"] = $mindate;
goto DPJ34;
O5ql8:
$mindate = strtotime(date("Y-m-01", $maxdate));
goto XV0bh;
sIhXf:
$recordings = pdo_fetchall("SELECT r.id,r.openid,r.type,r.money,r.book_id,r.cate_id,r.account_id,r.remark,r.image,r.date,r.address,r.latitude,r.longitude,r.addressname,c.title,c.icon,c.color,m.nickname FROM " . tablename("xxb_book_recording") . " r left join " . tablename("xxb_book_category") . " c on r.cate_id = c.id and c.status = 1 left join " . tablename("xxb_book_member") . " m on r.openid = m.openid" . $newwhere . " order by r.date desc,r.id desc", $newoptions);
goto A0R1_;
Db55J:
if (!($count < 20)) {
goto TvkzE;
}
goto YFdOn;
VPZ7t: F3M1z:
goto LmRpO;
nrDW2:
$recordings = array_merge($recordings, $nextrecordings);
goto NNnWv;
HdQF5:
$mindate = strtotime(date("Y-m-01", $maxdate));
goto Q1R08;
pUGUN:
$user_min_month = strtotime($condition["min_month"] . "01");
goto VCgCU;
SUEJY:
$newoffset = $count + $offset;
goto jeMfE;
RERDA:
if ($condition["getmember"]) {
goto u1DDk;
}
goto bu12i;
vn6Q4:
$newwhere = $where . " AND r.date >= :mindate AND r.date <= :maxdate";
goto cMJUB;
mtzMu:
return [];
goto VPZ7t;
XV0bh:
$condition["min_month"] = date("Ym", $mindate);
goto krkp3;
fTK2m:
$nextrecordings = $this->recursiveRecording($where, $options, $offset, $condition, $count);
goto nrDW2;
YFdOn:
$newoptions = $options;
goto YiQfL;
VEVsP: global $_W;
goto JHjxx;
yfrAe: TvkzE:
goto cQGSt;
krkp3: p8yX9:
goto vn6Q4;
NNnWv: L3H2N:
goto yfrAe;
gr0rj:
goto Au_20;
goto pTvmj;
DPJ34:
$newoptions[":maxdate"] = $maxdate;
goto RERDA;
cQGSt:
foreach ($recordings as &$v) {
$v["image"] = $v["image"] ? $_W["attachurl"] . $v["image"] : '';
nj9FY:
}
goto Nj0C6;
cMJUB:
$newoptions = $options;
goto kNmkD;
YiQfL:
$newoptions[":mindate"] = $mindate;
goto wqN06;
LmRpO:
$maxdate = $recording["date"];
goto HdQF5;
Qcgmt: n_cE7:
goto pUGUN;
VCgCU:
$maxdate = $user_min_month - 24 * 3600;
goto O5ql8;
Nj0C6: Id2Ku:
goto d5C8c;
MSjMs:
$count += count($recordings);
goto Db55J;
A0R1_: Au_20:
goto MSjMs;
wqN06:
$recording = pdo_fetch("SELECT r.id,r.date FROM " . tablename("xxb_book_recording") . " r left join " . tablename("xxb_book_category") . " c on r.cate_id = c.id and c.status = 1" . $where . " AND r.date < :mindate order by r.date desc", $newoptions);
goto DVTFx;
Q1R08:
goto p8yX9;
goto Qcgmt;
jeMfE:
$recording = pdo_fetch("SELECT r.id,r.date FROM " . tablename("xxb_book_recording") . " r left join " . tablename("xxb_book_category") . " c on r.cate_id = c.id" . $where . " order by r.date desc,r.id desc limit " . $newoffset . ",1", $options);
goto gWHOn;
JHjxx:
if ($condition["min_month"]) {
goto n_cE7;
}
goto SUEJY;
d5C8c:
return $recordings;
goto I8jZZ;
pTvmj: u1DDk:
goto sIhXf;
gWHOn:
if (!empty($recording)) {
goto F3M1z;
}
goto mtzMu;
bu12i:
$recordings = pdo_fetchall("SELECT r.id,r.openid,r.type,r.money,r.book_id,r.cate_id,r.account_id,r.remark,r.image,r.date,r.address,r.latitude,r.longitude,r.addressname,c.title,c.icon,c.color FROM " . tablename("xxb_book_recording") . " r left join " . tablename("xxb_book_category") . " c on r.cate_id = c.id and c.status = 1" . $newwhere . " order by r.date desc,r.id desc", $newoptions);
goto gr0rj;
DVTFx:
if (!$recording) {
goto L3H2N;
}
goto fTK2m;
I8jZZ:
}
function getBook($condition = array())
{
goto DgSS4;
DgSS4: global $_W;
goto VDOtn;
xlIuX:
if (!$condition["openid"]) {
goto q38qJ;
}
goto W0cxd;
BtZl6:
if (!$condition["id"]) {
goto uFLPN;
}
goto G2w0j;
W0cxd:
$where .= " AND b.openid = :openid";
goto KEXR1;
KEXR1:
$options[":openid"] = $condition["openid"];
goto XDeTe;
aoJOE:
return $books;
goto vFTg6;
ZSDKR:
$options = array(":uniacid" => $_W["uniacid"]);
goto xlIuX;
nIXZh:
if (!$condition["init"]) {
goto k0I7y;
}
goto p6M9_;
PpHd5:
$options[":openid"] = $_W["openid"];
goto PwlRt;
zQ0nx: uFLPN:
goto nIXZh;
PwlRt: k0I7y:
goto mb6sm;
p6M9_:
$where .= " AND b.init = 1 AND b.openid = :openid";
goto PpHd5;
VDOtn:
$where = " WHERE b.uniacid = :uniacid AND b.status = 1";
goto ZSDKR;
mb6sm:
$books = pdo_fetchall("SELECT b.id,b.openid,b.title,b.type,b.income,b.expenditure,b.color1,b.color2,b.monthly_budget,b.init,b.create_time,m.nickname,m.headimgurl,(SELECT COUNT(*) FROM " . tablename("xxb_book_book_member") . " WHERE uniacid = :uniacid AND status = 1 AND book_id = b.id) as countmember FROM " . tablename("xxb_book_book") . " b left join " . tablename("xxb_book_member") . " m on b.openid = m.openid" . $where . " order by b.id asc", $options);
goto aoJOE;
XDeTe: q38qJ:
goto BtZl6;
G2w0j:
$where .= " AND b.id = :id";
goto Ay8jZ;
Ay8jZ:
$options[":id"] = $condition["id"];
goto zQ0nx;
vFTg6:
}
function getBookMember($book)
{
goto n6cMz;
aYIpP:
$member = $this->getMember($book["openid"]);
goto c9pmU;
c9pmU:
$member["auth"] = 0;
goto Fib72;
eM52q: tVMkU:
goto HEFeo;
n6cMz: global $_W;
goto aYIpP;
HEFeo:
return $book_members;
goto iYwZT;
rUmMm:
$book_members = array_merge([$member], $book_members);
goto tE7t1;
Fib72:
$book_members = pdo_fetchall("SELECT bm.auth,m.nickname,m.headimgurl,m.openid FROM " . tablename("xxb_book_book_member") . " bm left join " . tablename("xxb_book_member") . " m on bm.openid = m.openid WHERE bm.uniacid = :uniacid AND bm.status = 1 AND bm.book_id = :book_id order by bm.id asc", [":uniacid" => $_W["uniacid"], ":book_id" => $book["id"]]);
goto rUmMm;
tE7t1:
foreach ($book_members as $k => $v) {
goto vmORu;
vmORu:
$date = strtotime(date("Y-m-01"));
goto rl_xa;
Baey_:
$book_members[$k]["expenditure"] = pdo_fetchcolumn("SELECT SUM(money) FROM " . tablename("xxb_book_recording") . " WHERE uniacid = :uniacid AND book_id = :book_id AND openid = :openid AND status = 1 AND type = 2 AND date >= :date", array(":uniacid" => $_W["uniacid"], ":book_id" => $book["id"], ":openid" => $v["openid"], ":date" => $date));
goto jONLG;
rl_xa:
$book_members[$k]["income"] = pdo_fetchcolumn("SELECT SUM(money) FROM " . tablename("xxb_book_recording") . " WHERE uniacid = :uniacid AND book_id = :book_id AND openid = :openid AND status = 1 AND type = 1 AND date >= :date", array(":uniacid" => $_W["uniacid"], ":book_id" => $book["id"], ":openid" => $v["openid"], ":date" => $date));
goto Baey_;
jONLG: hfjJ8:
goto MVZrs;
MVZrs:
}
goto eM52q;
iYwZT:
}
function getBookMemberCount($book_id)
{
goto q7JKt;
D8UFM:
$countmember = pdo_fetchcolumn("SELECT COUNT(*) FROM " . tablename("xxb_book_book_member") . " WHERE uniacid = :uniacid AND status = 1 AND book_id = :book_id", array(":uniacid" => $_W["uniacid"], ":book_id" => $book_id));
goto GWeD4;
GWeD4:
return $countmember + 1;
goto r_219;
q7JKt: global $_W;
goto D8UFM;
r_219:
}
function getAccount($condition = array())
{
goto PdRNO;
Hwo6I: EEJGH:
goto a5wZZ;
XB33g:
if (!$condition["id"]) {
goto EEJGH;
}
goto mlEcs;
ej9p2:
$options[":id"] = $condition["id"];
goto Hwo6I;
mlEcs:
$where .= " AND id = :id";
goto ej9p2;
PdRNO: global $_W;
goto FzQuM;
a5wZZ:
$accounts = pdo_fetchall("SELECT id,type,title,icon,color,balance,income,expenditure,remark,account,create_time FROM " . tablename("xxb_book_account") . $where . " order by id asc", $options);
goto aLvJS;
zzldi:
$options = array(":uniacid" => $_W["uniacid"], ":openid" => $_W["openid"]);
goto XB33g;
FzQuM:
$where = " WHERE uniacid = :uniacid AND openid = :openid AND status = 1";
goto zzldi;
aLvJS:
return $accounts;
goto iylqZ;
iylqZ:
}
function accumulate($recording = array(), $oldrecording = array())
{
goto xns1q;
eYPYg:
$money = -$oldrecording["money"];
goto bDShu;
Ns6kg:
goto AMbHW;
goto wvJpz;
q3mST:
$money = $recording["money"] - $oldrecording["money"];
goto A90bn;
bRXov:
$type = $oldrecording["type"];
goto o6GNg;
sW3EI:
goto pR2HB;
goto tuE_T;
U1j0y:
goto RFIri;
goto h_M5i;
H3nfJ:
pdo_query("update " . tablename("xxb_book_member") . " set expenditure=expenditure{$money} WHERE openid = :openid AND uniacid=:uniacid", array(":openid" => $_W["openid"], ":uniacid" => $_W["uniacid"]));
goto l7EiE;
xns1q: global $_W;
goto ikXZw;
uOB23:
$book_id = $recording["book_id"];
goto QV7T0;
qM620:
goto pR2HB;
goto mePMz;
l7EiE:
goto uZani;
goto t6503;
mePMz: C9fny:
goto M11QT;
azdJ7:
$book_id = $recording["book_id"];
goto Hecc6;
CoNy_:
$account_id = $oldrecording["account_id"];
goto eYPYg;
qCYD3:
if (!$account_id1) {
goto u5w_K;
}
goto S5i4e;
Lkl1h:
$money2 = $recording["money"];
goto hnyyW;
vESRO:
$account_id2 = $recording["account_id"];
goto q3mST;
Pk1v3: pR2HB:
goto tI0mp;
B_cR2:
if ($type == 1) {
goto EWXw_;
}
goto H3nfJ;
Iv4Pn: kss8d:
goto qCYD3;
PR7IW: qj_Mm:
goto beAIt;
hnyyW: iJFoL:
goto dedDi;
GSxV8:
if ($money2) {
goto udNuV;
}
goto qM620;
TW_1l: G6F7F:
goto aVG6i;
mRp8c:
$money = $recording["money"];
goto z51V3;
Hx91r: Zzt0c:
goto ETrjF;
B32sh:
$money2 = $recording["money"];
goto Rl3I7;
QTaps:
$type = $recording["type"];
goto uOB23;
QV7T0:
$account_id = $recording["account_id"];
goto mRp8c;
bd8jL:
goto V2VVO;
goto TIl68;
O4OOV:
pdo_query("update " . tablename("xxb_book_account") . " set balance=balance+{$money1},expenditure=expenditure-{$money1} WHERE id = :id AND openid = :openid AND uniacid=:uniacid", array(":id" => $account_id1, ":openid" => $_W["openid"], ":uniacid" => $_W["uniacid"]));
goto Td8Hj;
KuLkl:
pdo_query("update " . tablename("xxb_book_account") . " set balance=balance+{$money2},income=income+{$money2} WHERE id = :id AND openid = :openid AND uniacid=:uniacid", array(":id" => $account_id2, ":openid" => $_W["openid"], ":uniacid" => $_W["uniacid"]));
goto TW_1l;
VngvA: eUSqh:
goto QTaps;
MN3gB:
goto pR2HB;
goto uCEvy;
IDGAS:
pdo_query("update " . tablename("xxb_book_account") . " set balance=balance-{$money2},expenditure=expenditure+{$money2} WHERE id = :id AND openid = :openid AND uniacid=:uniacid", array(":id" => $account_id2, ":openid" => $_W["openid"], ":uniacid" => $_W["uniacid"]));
goto p3yTf;
Rl3I7:
goto iJFoL;
goto VngvA;
xVr6L:
if (!$account_id1) {
goto Uevhs;
}
goto O4OOV;
ETrjF:
if (!$account_id2) {
goto qj_Mm;
}
goto v2omU;
V3RT0: uZani:
goto dpomM;
KOGci: mmbQ5:
goto sW3EI;
gBiUM:
if ($money1) {
goto YKfhe;
}
goto GSxV8;
iabJX: V2VVO:
goto B_cR2;
XETsq:
goto mmbQ5;
goto Iv4Pn;
b7sLQ:
pdo_query("update " . tablename("xxb_book_member") . " set income=income{$money} WHERE openid = :openid AND uniacid=:uniacid", array(":openid" => $_W["openid"], ":uniacid" => $_W["uniacid"]));
goto V3RT0;
S3sG8: zuuXF:
goto Ns6kg;
uCEvy: YKfhe:
goto QXWRS;
dedDi:
$money = $money >= 0 ? "+" . $money : $money;
goto wyGCs;
TIl68: Vewcu:
goto K4IUa;
wvJpz: iopN7:
goto pOX6t;
Hecc6:
$account_id1 = $oldrecording["account_id"];
goto vESRO;
LQ229:
pdo_query("update " . tablename("xxb_book_account") . " set balance=balance-{$money1},income=income-{$money1} WHERE id = :id AND openid = :openid AND uniacid=:uniacid", array(":id" => $account_id1, ":openid" => $_W["openid"], ":uniacid" => $_W["uniacid"]));
goto Hx91r;
t6503: EWXw_:
goto b7sLQ;
ikXZw:
if ($recording && $oldrecording) {
goto U6iaR;
}
goto sf5F7;
beAIt: RFIri:
goto MN3gB;
ZfPfQ:
if (!$account_id2) {
goto boELs;
}
goto IDGAS;
G28iZ: u5w_K:
goto KOGci;
wyGCs:
if ($type == 1) {
goto Vewcu;
}
goto BQgBt;
aVG6i: AMbHW:
goto Pk1v3;
QXWRS:
if ($type == 1) {
goto kss8d;
}
goto FZNz1;
v2omU:
pdo_query("update " . tablename("xxb_book_account") . " set balance=balance+{$money2},income=income+{$money2} WHERE id = :id AND openid = :openid AND uniacid=:uniacid", array(":id" => $account_id2, ":openid" => $_W["openid"], ":uniacid" => $_W["uniacid"]));
goto PR7IW;
K4IUa:
pdo_query("update " . tablename("xxb_book_book") . " set income=income{$money} WHERE id = :id AND uniacid=:uniacid", array(":id" => $book_id, ":uniacid" => $_W["uniacid"]));
goto iabJX;
DafGy:
pdo_query("update " . tablename("xxb_book_account") . " set balance=balance+{$money1},expenditure=expenditure-{$money1} WHERE id = :id AND openid = :openid AND uniacid=:uniacid", array(":id" => $account_id1, ":openid" => $_W["openid"], ":uniacid" => $_W["uniacid"]));
goto ou7E4;
M11QT:
if ($type == 1) {
goto GFc5_;
}
goto xVr6L;
S5i4e:
pdo_query("update " . tablename("xxb_book_account") . " set balance=balance-{$money1},income=income-{$money1} WHERE id = :id AND openid = :openid AND uniacid=:uniacid", array(":id" => $account_id1, ":openid" => $_W["openid"], ":uniacid" => $_W["uniacid"]));
goto G28iZ;
A90bn:
$money1 = $oldrecording["money"];
goto B32sh;
Oygov:
pdo_query("update " . tablename("xxb_book_account") . " set balance=balance-{$money2},expenditure=expenditure+{$money2} WHERE id = :id AND openid = :openid AND uniacid=:uniacid", array(":id" => $account_id2, ":openid" => $_W["openid"], ":uniacid" => $_W["uniacid"]));
goto S3sG8;
z51V3:
$account_id2 = $recording["account_id"];
goto Lkl1h;
p3yTf: boELs:
goto U1j0y;
axmms:
if ($type == 1) {
goto iopN7;
}
goto LG6AX;
ou7E4: QWqVL:
goto XETsq;
ZdPiS:
goto iJFoL;
goto MqwWk;
tuE_T: udNuV:
goto axmms;
BQgBt:
pdo_query("update " . tablename("xxb_book_book") . " set expenditure=expenditure{$money} WHERE id = :id AND uniacid=:uniacid", array(":id" => $book_id, ":uniacid" => $_W["uniacid"]));
goto bd8jL;
MqwWk: U6iaR:
goto oCZNk;
o6GNg:
$book_id = $oldrecording["book_id"];
goto CoNy_;
kRwWY:
$money1 = $oldrecording["money"];
goto ZdPiS;
Td8Hj: Uevhs:
goto ZfPfQ;
oCZNk:
$type = $recording["type"];
goto azdJ7;
pOX6t:
if (!$account_id2) {
goto G6F7F;
}
goto KuLkl;
h_M5i: GFc5_:
goto l6zQQ;
dpomM:
if ($money1 && $money2) {
goto C9fny;
}
goto gBiUM;
l6zQQ:
if (!$account_id1) {
goto Zzt0c;
}
goto LQ229;
FZNz1:
if (!$account_id1) {
goto QWqVL;
}
goto DafGy;
LG6AX:
if (!$account_id2) {
goto zuuXF;
}
goto Oygov;
sf5F7:
if ($recording) {
goto eUSqh;
}
goto bRXov;
bDShu:
$account_id1 = $oldrecording["account_id"];
goto kRwWY;
tI0mp:
}
function strRand($length = 32, $char = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
{
goto nYYG4;
DWU2w:
$i = $length;
goto qheHU;
q7xrI:
$i--;
goto pCPES;
eI7g1: FjnNb:
goto q7xrI;
nYYG4:
if (!(!is_int($length) || $length < 0)) {
goto RfdJM;
}
goto tr7F8;
tr7F8:
return false;
goto weisy;
yHs0n:
return $string;
goto LCz9K;
bIXCY:
$string = '';
goto DWU2w;
fYglm: JcRAK:
goto yHs0n;
pCPES:
goto wquqk;
goto fYglm;
Z_i_D:
$string .= $char[mt_rand(0, strlen($char) - 1)];
goto eI7g1;
weisy: RfdJM:
goto bIXCY;
Tckcl:
if (!($i > 0)) {
goto JcRAK;
}
goto Z_i_D;
qheHU: wquqk:
goto Tckcl;
LCz9K:
}
function sendRecordingRemind($openid, $tpl)
{
goto DEJt4;
C0sER:
goto PDYJl;
goto VqO5M;
NoFDy:
$data = ["touser" => $openid, "template_id" => $tpl, "page" => "xxb_book/index/index", "form_id" => $formid["formid"], "data" => ["keyword1" => ["value" => ""], "keyword2" => ["value" => ""]], "emphasis_keyword" => "keyword1.DATA"];
goto h0K13;
mEq6J: vc6xj:
goto vP5D1;
OH7Np:
$formid = pdo_fetch("SELECT id,formid FROM " . tablename("xxb_book_member_formid") . " WHERE openid = :openid AND uniacid = :uniacid AND exp > :exp order by exp asc", [":openid" => $openid, ":uniacid" => $_W["uniacid"], ":exp" => time()]);
goto aFEr3;
svmrh:
goto UsEVc;
goto mEq6J;
VqO5M: fXcsR:
goto katjy;
qd3sD:
return false;
goto C0sER;
aFEr3:
if (!empty($formid)) {
goto DxOxh;
}
goto PRVZZ;
e2d0Y:
if (!(empty($openid) || empty($tpl))) {
goto OFLXO;
}
goto Tv4qd;
ggY3d:
pdo_delete("xxb_book_member_formid", ["id" => $formid["id"]]);
goto X__3a;
TkYdf:
$token = $account_api->getAccessToken();
goto hTAAg;
vP5D1:
return true;
goto WaauS;
nqzFG: OFLXO:
goto OH7Np;
OaRbl: DxOxh:
goto NoFDy;
hTAAg:
$risky = ihttp_post("https://api.weixin.qq.com/cgi-bin/message/wxopen/template/send?access_token={$token}", json_encode($data, JSON_UNESCAPED_UNICODE));
goto HHGD1;
gE8m7: PDYJl:
goto SmWFw;
WaauS: UsEVc:
goto gE8m7;
q7MAJ:
return false;
goto svmrh;
h0K13:
$account_api = WeAccount::create();
goto TkYdf;
Tv4qd:
return false;
goto nqzFG;
HHGD1:
if ($risky["code"] == 200) {
goto fXcsR;
}
goto qd3sD;
katjy:
$risky = json_decode($risky["content"], true);
goto ggY3d;
PRVZZ:
return false;
goto OaRbl;
X__3a:
if (intval($risky["errcode"]) == 0) {
goto vc6xj;
}
goto q7MAJ;
DEJt4: global $_W;
goto e2d0Y;
SmWFw:
}
} ?>
Did this file decode correctly?
Original Code
<?php
defined("\x49\x4e\137\x49\101") or exit("\x41\x63\143\x65\x73\x73\40\x44\145\x6e\x69\x65\x64");
class Common extends WeModuleSite
{
public $m = "\170\x78\142\x5f\x62\157\157\153";
public $setting = array();
public $default_cates = array(1 => array(array("\x74\x69\x74\x6c\145" => "\xe5\220\203\345\x96\x9d", "\x69\x63\x6f\x6e" => "\151\143\157\x6e\x2d\x64\x61\x6f\x63\x68\141", "\143\157\x6c\157\x72" => "\43\146\x65\142\x62\65\60", "\x74\171\160\145" => 2), array("\164\x69\164\x6c\145" => "\344\xba\244\xe9\200\232", "\151\x63\x6f\156" => "\151\x63\x6f\156\55\x6a\151\141\157\x74\x6f\156\147\147\157\156\x67\152\x69\x61\x6f\143\x68\145\x6b\141\x6e\146\141\x6e\147\164\x75\x61\156\x64\141\x62\x61\x78\x69\141\x6e\x78\151\156\x67", "\143\x6f\154\157\x72" => "\43\64\63\143\65\141\x62", "\164\x79\x70\145" => 2), array("\x74\151\164\x6c\x65" => "\344\271\xb0\xe8\217\x9c", "\x69\x63\157\x6e" => "\151\143\x6f\156\x2d\x74\165\x62\x69\x61\x6f\55", "\x63\x6f\154\157\162" => "\x23\x38\61\x63\x65\64\143", "\164\x79\x70\x65" => 2), array("\164\x69\x74\154\145" => "\xe5\255\xa9\345\xad\220", "\x69\x63\x6f\156" => "\x69\x63\x6f\x6e\55\x65\162\x74\x6f\156\x67", "\x63\157\x6c\157\162" => "\x23\x64\63\x63\67\x39\146", "\164\171\x70\x65" => 2), array("\x74\x69\x74\154\x65" => "\xe6\234\215\xe9\245\260\xe9\x9e\x8b\345\x8c\x85", "\x69\143\157\156" => "\151\x63\157\x6e\x2d\146\165\172\150\x75\141\x6e\x67", "\x63\x6f\154\x6f\x72" => "\x23\x37\x36\x37\x32\x64\x33", "\x74\x79\160\145" => 2), array("\x74\151\164\154\145" => "\345\x8c\226\345\246\x86\xe6\212\xa4\xe8\x82\244", "\x69\x63\x6f\x6e" => "\x69\x63\157\x6e\x2d\153\157\x75\150\157\156\147\61", "\143\157\x6c\157\x72" => "\43\x66\x37\66\145\71\143", "\x74\x79\160\145" => 2), array("\x74\x69\164\154\145" => "\346\x97\245\xe7\224\xa8\345\x93\x81", "\x69\143\x6f\156" => "\151\143\157\x6e\55\x77\x65\x69\x73\x68\145\x6e\147\x7a\150\x69", "\143\x6f\x6c\x6f\162" => "\43\x37\143\141\60\145\x61", "\164\x79\x70\145" => 2), array("\x74\x69\x74\154\145" => "\347\272\242\345\214\x85", "\151\x63\157\156" => "\151\143\157\156\55\x68\x6f\x6e\x67\142\141\x6f", "\x63\157\x6c\x6f\162" => "\x23\x66\x38\67\65\66\144", "\164\x79\160\x65" => 2), array("\164\151\164\x6c\145" => "\350\xaf\235\xe8\264\271", "\151\143\x6f\x6e" => "\151\x63\157\156\x2d\x73\150\157\x75\152\151", "\x63\x6f\154\157\162" => "\43\x34\x38\143\60\145\x33", "\164\171\x70\x65" => 2), array("\x74\151\x74\x6c\x65" => "\345\xa8\xb1\xe4\xb9\x90", "\151\143\157\x6e" => "\x69\143\x6f\156\x2d\171\x6f\x75\170\x69", "\x63\157\154\157\x72" => "\x23\142\146\x37\x66\x64\66", "\164\171\160\145" => 2), array("\x74\151\x74\x6c\145" => "\xe5\x8c\273\347\226\227", "\151\143\157\x6e" => "\151\x63\x6f\156\55\x79\151\154\151\141\x6f\55\x63\157\x70\171", "\143\157\154\157\162" => "\43\146\70\x37\x35\66\144", "\164\171\x70\x65" => 2), array("\164\x69\x74\154\x65" => "\345\256\240\xe7\x89\xa9", "\151\x63\157\156" => "\x69\143\x6f\156\55\143\x68\x6f\x6e\x67\167\x75\x31", "\x63\157\x6c\x6f\162" => "\x23\x64\x33\143\67\71\x66", "\x74\x79\x70\145" => 2), array("\x74\x69\x74\154\145" => "\xe5\205\273\xe8\xbd\xa6", "\x69\143\157\x6e" => "\151\143\x6f\x6e\55\x63\150\x65\154\x69\x61\156\x67\x77\145\151\170\151\165", "\143\x6f\x6c\x6f\162" => "\x23\x38\x34\x39\x34\141\x31", "\164\171\x70\x65" => 2), array("\x74\x69\x74\x6c\x65" => "\346\x95\xb0\xe7\240\201", "\x69\x63\157\156" => "\151\143\157\156\x2d\170\151\x61\156\x73\150\151\161\151", "\x63\x6f\x6c\x6f\162" => "\x23\142\x66\67\x66\x64\x36", "\x74\x79\160\x65" => 2), array("\x74\x69\x74\154\x65" => "\xe6\x88\xbf\xe7\xa7\237", "\151\143\x6f\x6e" => "\x69\143\x6f\x6e\55\146\x61\156\x67\172\151\170\165\145\170\x69\x61\x6f\x68\x61\x69\x77\141\x69\x78\x69\x61\156\x78\x69\156\x67", "\x63\x6f\154\x6f\x72" => "\43\x34\x38\143\60\x65\63", "\x74\171\x70\145" => 2), array("\164\x69\164\x6c\145" => "\346\260\264\347\x94\xb5", "\x69\x63\x6f\x6e" => "\x69\143\157\x6e\55\x73\x68\165\151\144\151\x61\156", "\143\x6f\154\x6f\162" => "\43\70\64\144\66\x65\x31", "\164\x79\x70\x65" => 2), array("\x74\151\164\154\x65" => "\xe6\xb0\264\xe6\x9e\234\xe9\x9b\266\xe9\xa3\x9f", "\x69\143\x6f\x6e" => "\151\x63\x6f\156\x2d\x73\150\x75\x69\x67\165\157\144\151\141\156", "\143\157\154\x6f\x72" => "\x23\x66\x65\71\x34\x33\x65", "\164\x79\x70\x65" => 2), array("\x74\x69\x74\154\x65" => "\350\xb6\205\345\xb8\x82", "\151\x63\157\156" => "\151\x63\x6f\156\55\147\157\165\167\x75\x32", "\143\157\154\x6f\x72" => "\x23\x38\61\x63\x65\x34\143", "\164\171\160\145" => 2), array("\164\151\164\154\145" => "\xe5\xb7\245\xe8\xb5\204", "\151\x63\157\x6e" => "\151\x63\x6f\x6e\55\147\x6f\156\147\x7a\x69", "\x63\x6f\154\157\x72" => "\43\x34\x33\143\x35\141\142", "\x74\171\160\x65" => 1), array("\x74\151\x74\x6c\145" => "\xe6\212\225\xe8\265\204", "\x69\143\x6f\156" => "\x69\x63\157\156\55\x74\x6f\165\172\151", "\x63\x6f\x6c\157\162" => "\x23\x34\x38\x63\60\x65\63", "\164\171\160\145" => 1), array("\164\x69\164\154\x65" => "\xe5\xa5\226\xe9\207\x91", "\151\x63\x6f\156" => "\x69\x63\157\x6e\55\x6a\x69\141\x6e\x67\152\151\156\142\151", "\x63\157\154\x6f\x72" => "\43\x66\x65\x39\64\x33\x65", "\164\x79\x70\x65" => 1), array("\164\151\164\x6c\x65" => "\345\205\274\xe8\x81\214", "\x69\143\157\156" => "\x69\143\157\x6e\x2d\152\x69\141\x6e\x7a\x68\x69", "\143\157\x6c\x6f\162" => "\43\67\143\x61\60\x65\141", "\x74\x79\x70\x65" => 1), array("\164\x69\x74\x6c\x65" => "\xe7\272\xa2\345\x8c\x85", "\151\143\x6f\x6e" => "\151\143\157\156\x2d\x68\x6f\x6e\x67\142\141\157", "\x63\157\x6c\x6f\162" => "\43\x66\70\x37\x35\x36\x64", "\x74\x79\x70\x65" => 1), array("\164\151\164\x6c\x65" => "\346\224\xb6\346\254\276", "\151\143\157\x6e" => "\x69\143\157\156\55\163\x68\x6f\x75\x6b\165\141\x6e", "\143\157\x6c\157\x72" => "\x23\x38\64\x64\66\x65\x31", "\164\171\160\145" => 1)), 2 => array(array("\164\x69\x74\x6c\x65" => "\345\xae\235\xe5\256\x9d\351\243\237\xe7\x89\xa9", "\x69\x63\x6f\156" => "\x69\x63\157\x6e\x2d\156\141\151\172\x75\151", "\143\x6f\154\157\x72" => "\x23\142\x66\x37\x66\144\x36", "\x74\171\x70\x65" => 2), array("\164\151\164\154\145" => "\345\xa5\266\xe7\262\x89", "\x69\143\x6f\x6e" => "\x69\143\x6f\156\55\x6e\x61\151\146\x65\x6e", "\143\157\154\x6f\x72" => "\43\144\x33\x38\x62\65\71", "\x74\x79\x70\x65" => 2), array("\164\151\164\154\145" => "\350\xbe\x85\xe9\243\x9f", "\151\x63\157\156" => "\151\143\157\156\x2d\167\141\x6e\x2d\55", "\143\157\154\157\x72" => "\x23\x66\67\66\x65\71\143", "\x74\171\160\x65" => 2), array("\164\151\x74\x6c\x65" => "\345\256\235\345\xae\x9d\347\224\xa8\345\x93\x81", "\151\x63\157\x6e" => "\151\143\x6f\x6e\x2d\x77\x65\151\163\x68\145\x6e\x67\172\x68\151", "\x63\157\154\x6f\x72" => "\43\67\143\141\x30\145\x61", "\x74\x79\160\145" => 2), array("\164\x69\164\154\145" => "\xe8\xa1\xa3\346\x9c\x8d", "\151\143\x6f\x6e" => "\151\143\157\156\55\x66\x75\172\150\x75\x61\x6e\x67", "\143\157\154\x6f\x72" => "\43\x66\145\71\x34\63\145", "\x74\171\x70\x65" => 2), array("\x74\151\164\154\x65" => "\xe6\264\227\346\265\xb4\346\212\xa4\xe8\202\xa4", "\x69\143\157\156" => "\x69\143\x6f\x6e\55\x69\143\157\x6e\x66\x6f\x6e\164\x6d\165\x79\x75\x6c\x75", "\143\157\x6c\157\x72" => "\x23\x37\143\141\x30\x65\x61", "\164\171\160\x65" => 2), array("\x74\x69\164\x6c\x65" => "\xe5\272\x8a\xe4\xb8\x8a\xe7\224\xa8\xe5\x93\201", "\151\x63\157\156" => "\151\x63\x6f\156\x2d\x79\x69\156\147\x65\x72\x63\x68\x65", "\143\157\154\x6f\x72" => "\43\70\x34\144\66\x65\x31", "\x74\171\160\x65" => 2), array("\x74\x69\x74\x6c\145" => "\xe6\227\xa9\xe6\x95\231", "\x69\x63\157\x6e" => "\151\143\157\156\55\172\x61\x6f\152\151\141\x6f\55", "\x63\x6f\154\157\x72" => "\x23\x39\141\67\65\144\146", "\164\171\160\145" => 2), array("\x74\151\164\154\x65" => "\xe7\x8e\251\xe5\x85\267", "\x69\143\157\156" => "\151\x63\157\156\x2d\x77\x61\x6e\152\165", "\143\x6f\154\x6f\162" => "\x23\x38\61\143\145\x34\x63", "\164\x79\x70\x65" => 2), array("\x74\x69\x74\154\x65" => "\347\xab\245\344\xb9\xa6", "\151\x63\157\156" => "\151\143\x6f\x6e\x2d\x73\150\165\x6a\x69", "\143\157\154\157\x72" => "\x23\x38\61\x63\x65\x34\x63", "\164\171\160\x65" => 2), array("\x74\x69\164\154\x65" => "\xe7\216\251\344\xb9\x90", "\x69\143\x6f\156" => "\x69\143\x6f\x6e\55\x68\165\x6f\x64\x6f\x6e\147", "\x63\x6f\154\x6f\162" => "\x23\x66\x38\67\x35\66\144", "\164\x79\x70\x65" => 2), array("\x74\x69\164\x6c\145" => "\345\214\xbb\xe7\226\x97", "\x69\143\157\156" => "\151\x63\157\156\55\x79\151\x6c\x69\x61\157\x2d\x63\x6f\x70\x79", "\x63\x6f\x6c\157\162" => "\43\x66\x38\67\x35\x36\x64", "\x74\x79\x70\145" => 2), array("\164\151\x74\154\145" => "\xe7\x96\xab\xe8\213\227", "\151\x63\x6f\x6e" => "\151\x63\157\156\x2d\171\151\155\151\x61\157", "\x63\157\x6c\157\162" => "\43\67\x63\141\60\x65\x61", "\x74\171\x70\x65" => 2), array("\164\151\164\154\145" => "\350\xaf\212\xe7\226\227", "\x69\143\x6f\156" => "\151\x63\x6f\x6e\55\x7a\150\145\156\x6c\151\x61\157", "\x63\157\x6c\157\162" => "\x23\142\146\67\x66\x64\66", "\164\x79\160\145" => 2), array("\164\151\x74\x6c\x65" => "\xe4\272\247\xe6\243\x80\347\224\237\350\x82\262", "\x69\x63\157\x6e" => "\151\x63\x6f\x6e\55\62\66", "\143\x6f\x6c\157\x72" => "\43\146\67\66\x65\x39\x63", "\164\171\160\x65" => 2), array("\164\x69\164\154\x65" => "\347\x94\x9f\346\227\245", "\151\x63\157\x6e" => "\x69\x63\157\156\55\x73\150\145\156\147\x72\x69", "\x63\157\x6c\x6f\x72" => "\x23\146\70\x37\65\x36\x64", "\x74\171\x70\x65" => 2), array("\164\x69\164\154\145" => "\xe7\xba\xa2\345\x8c\x85", "\151\x63\x6f\156" => "\x69\143\x6f\156\x2d\x68\x6f\x6e\147\x62\141\x6f", "\x63\157\154\x6f\162" => "\43\146\70\67\x35\66\144", "\164\171\160\x65" => 1), array("\x74\x69\164\154\145" => "\346\x94\xb6\346\xac\276", "\151\x63\x6f\x6e" => "\151\143\157\x6e\x2d\163\x68\x6f\x75\x6b\165\141\x6e", "\x63\157\x6c\157\x72" => "\43\70\x34\x64\x36\x65\x31", "\x74\171\x70\145" => 1)), 3 => array(array("\164\151\x74\x6c\x65" => "\350\277\x9b\xe8\264\xa7", "\x69\143\157\156" => "\151\x63\157\x6e\x2d\152\x69\156\x68\165\157", "\x63\157\154\x6f\x72" => "\x23\x37\143\x61\x30\145\141", "\x74\171\x70\145" => 2), array("\164\x69\x74\154\x65" => "\xe6\x8e\xa8\345\271\277\xe8\277\220\350\220\xa5", "\x69\143\157\x6e" => "\151\143\157\x6e\x2d\x6c\x61\x62\141", "\x63\157\154\157\x72" => "\x23\146\67\66\x65\x39\x63", "\x74\171\x70\145" => 2), array("\x74\x69\x74\x6c\x65" => "\347\xa8\x8e\xe8\xb4\xb9", "\x69\x63\x6f\x6e" => "\x69\x63\157\156\55\x73\150\165\x69", "\x63\157\154\x6f\162" => "\43\146\145\x62\x62\x35\60", "\x74\171\160\145" => 2), array("\x74\x69\164\x6c\x65" => "\xe5\267\xae\xe6\227\x85", "\151\143\x6f\156" => "\151\143\x6f\x6e\55\143\x68\x61\x6c\x76\x66\x65\151", "\143\157\154\157\162" => "\43\x34\x33\143\x35\141\142", "\x74\171\x70\145" => 2), array("\164\151\164\154\145" => "\xe5\212\x9e\xe5\x85\254\350\264\xb9\347\x94\xa8", "\151\x63\157\x6e" => "\151\x63\x6f\x6e\x2d\x62\141\x6e\x67\x6f\156\147\x31", "\143\157\154\x6f\x72" => "\x23\144\63\70\x62\x35\x39", "\164\x79\x70\145" => 2), array("\164\x69\164\x6c\x65" => "\xe5\x9b\xba\xe5\256\x9a\xe8\xb5\x84\xe4\xba\247", "\151\143\157\x6e" => "\151\x63\157\x6e\55\x78\x69\x61\x6e\163\x68\151\161\x69", "\143\157\x6c\x6f\162" => "\43\x66\x38\67\65\66\x64", "\x74\171\x70\x65" => 2), array("\x74\x69\164\154\x65" => "\xe4\272\272\345\xb7\245\346\224\257\xe5\x87\xba", "\x69\143\x6f\156" => "\x69\x63\157\x6e\x2d\147\x6f\156\x67\162\x65\x6e", "\143\157\154\x6f\162" => "\43\142\x66\x37\x66\x64\x36", "\x74\x79\x70\145" => 2), array("\164\151\164\x6c\x65" => "\346\x88\xbf\xe7\247\237", "\151\143\157\156" => "\151\143\157\156\x2d\146\x61\x6e\147\x7a\x69\x78\165\145\170\x69\141\x6f\x68\x61\x69\x77\x61\151\170\151\141\156\x78\x69\156\147", "\143\157\x6c\157\x72" => "\x23\x37\143\141\60\x65\141", "\x74\171\x70\145" => 2), array("\x74\151\x74\154\x65" => "\350\277\220\xe8\264\271", "\x69\143\x6f\x6e" => "\x69\143\157\x6e\x2d\171\165\156\163\150\165", "\143\157\x6c\x6f\x72" => "\43\146\145\71\x34\63\x65", "\x74\x79\x70\x65" => 2), array("\164\x69\164\x6c\x65" => "\xe6\212\225\xe8\265\204", "\x69\x63\x6f\156" => "\151\143\157\x6e\55\x74\157\165\x7a\151", "\143\157\x6c\157\x72" => "\43\x37\143\x61\60\x65\x61", "\x74\171\x70\145" => 2), array("\x74\151\x74\x6c\145" => "\345\245\226\xe9\207\221", "\151\143\157\156" => "\151\143\157\156\x2d\x6a\151\x61\x6e\x67\x6a\151\x6e\152\151\170\151\141\x6f", "\143\x6f\x6c\157\162" => "\x23\x66\145\142\142\65\x30", "\164\x79\x70\145" => 2), array("\164\x69\164\154\145" => "\xe6\xb0\264\347\224\265", "\151\x63\x6f\156" => "\x69\x63\157\156\x2d\x73\x68\x75\x69\x64\x69\x61\x6e", "\143\157\154\x6f\x72" => "\x23\70\x34\x64\66\145\61", "\x74\171\x70\x65" => 2), array("\x74\x69\x74\x6c\x65" => "\350\xaf\x9d\350\xb4\271", "\x69\x63\157\x6e" => "\151\143\x6f\156\x2d\163\x68\x6f\x75\x6a\151", "\143\x6f\x6c\157\x72" => "\x23\x37\x63\141\x30\145\141", "\164\x79\160\x65" => 2), array("\164\x69\164\x6c\145" => "\350\x90\xa5\344\270\232\xe6\224\266\345\205\245", "\151\x63\x6f\156" => "\151\x63\157\156\x2d\x73\150\x6f\x75\162\165", "\143\x6f\x6c\157\x72" => "\x23\67\143\x61\x30\145\x61", "\x74\x79\160\145" => 1), array("\164\x69\164\x6c\145" => "\xe6\x8a\225\350\xb5\x84", "\x69\143\x6f\156" => "\151\x63\157\x6e\55\164\x6f\165\172\151", "\x63\x6f\154\x6f\x72" => "\x23\x37\143\x61\x30\145\x61", "\x74\171\x70\145" => 1), array("\164\x69\164\x6c\145" => "\xe8\x9e\215\xe8\265\x84", "\151\x63\157\156" => "\x69\x63\157\x6e\x2d\x67\165\x64\151\x6e\147\172\x69\143\150\141\156", "\143\x6f\154\157\162" => "\43\x66\x38\67\x35\x36\144", "\164\x79\160\x65" => 1), array("\x74\x69\x74\x6c\145" => "\xe7\220\206\350\xb4\242", "\x69\143\157\x6e" => "\x69\x63\x6f\x6e\55\x6d\157\x6e\145\x79\x2d\x70\151\147", "\x63\x6f\x6c\x6f\162" => "\x23\x39\141\x37\x35\x64\x66", "\164\x79\160\x65" => 1), array("\x74\151\164\154\x65" => "\xe8\264\xb7\xe6\xac\xbe", "\x69\x63\157\x6e" => "\x69\143\157\156\x2d\x64\141\x69\x6b\x75\x61\x6e", "\x63\x6f\x6c\x6f\x72" => "\x23\146\70\x37\x35\66\144", "\x74\x79\x70\145" => 1), array("\164\151\x74\x6c\x65" => "\351\200\x80\347\xa8\216", "\151\x63\x6f\156" => "\151\x63\x6f\x6e\x2d\x74\165\151\x73\150\165\151\x62\x69\141\157\x7a\150\x69", "\x63\x6f\x6c\157\162" => "\43\67\66\x37\62\144\x33", "\164\x79\x70\x65" => 1), array("\x74\151\164\154\145" => "\345\x85\xac\345\x8f\270\xe9\242\x84\346\x94\xaf", "\151\x63\x6f\156" => "\151\143\157\156\x2d\171\165\x7a\x68\151\163\150\x65\156\161\x69\x6e\147", "\x63\157\154\x6f\x72" => "\x23\64\x38\143\60\145\63", "\x74\171\160\x65" => 1)), 4 => array(array("\x74\x69\164\x6c\145" => "\345\220\x83\xe5\226\x9d", "\x69\x63\157\x6e" => "\151\143\157\156\x2d\x64\141\157\x63\150\141", "\x63\157\154\157\x72" => "\x23\146\145\142\x62\x35\x30", "\x74\171\x70\x65" => 2), array("\164\151\x74\x6c\x65" => "\xe4\275\217\xe5\xae\277", "\151\143\157\x6e" => "\x69\x63\157\x6e\55\x66\x61\156\x67\x7a\151\x78\x75\x65\170\x69\141\157\150\x61\x69\x77\141\151\170\151\x61\156\x78\151\x6e\147", "\x63\x6f\154\x6f\x72" => "\43\64\x38\143\x30\145\x33", "\x74\171\160\145" => 2), array("\164\x69\x74\x6c\x65" => "\350\264\255\347\x89\251", "\x69\143\157\156" => "\x69\x63\157\x6e\x2d\147\157\x75\x77\x75\x32", "\x63\x6f\x6c\x6f\162" => "\43\x38\61\x63\145\x34\x63", "\164\x79\160\x65" => 2), array("\164\x69\164\154\x65" => "\344\272\244\351\x80\x9a", "\x69\x63\157\156" => "\x69\x63\157\x6e\x2d\x6a\151\x61\x6f\164\x6f\x6e\x67\x67\x6f\156\x67\x6a\x69\x61\157\x63\150\x65\153\141\156\146\x61\156\x67\x74\165\x61\x6e\144\141\142\141\x78\151\141\x6e\170\x69\x6e\x67", "\143\157\x6c\x6f\162" => "\43\64\63\143\65\x61\x62", "\164\171\x70\x65" => 2), array("\164\151\164\154\x65" => "\xe9\x97\250\xe7\245\250", "\151\x63\157\156" => "\x69\x63\x6f\156\x2d\164\x69\143\x6b\x65\164", "\x63\157\154\157\162" => "\43\142\146\x37\146\x64\x36", "\x74\171\160\145" => 2), array("\x74\x69\164\x6c\x65" => "\345\x9b\242\xe8\264\xb9", "\151\143\x6f\156" => "\x69\143\x6f\156\55\161\x75\156", "\x63\x6f\154\157\162" => "\x23\146\x38\67\65\x36\x64", "\x74\x79\160\x65" => 2), array("\x74\x69\164\154\x65" => "\346\x94\266\xe6\xac\276", "\151\143\x6f\x6e" => "\x69\x63\x6f\156\55\163\150\x6f\165\x6b\165\x61\156", "\x63\x6f\x6c\x6f\162" => "\43\70\64\144\x36\x65\x31", "\164\171\160\145" => 1)), 5 => array(array("\164\151\x74\x6c\145" => "\345\x9c\xb0\346\x9d\xbf\xe5\234\xb0\347\xa0\x96", "\151\x63\157\156" => "\151\x63\x6f\156\x2d\172\x68\165\141\x6e\x67\x78\x69\165\163\150\141\156\x67\x6a\151\x61\55\61\60", "\x63\x6f\x6c\157\x72" => "\43\x66\x65\x62\x62\65\x30", "\x74\x79\x70\x65" => 2), array("\x74\151\x74\154\x65" => "\351\227\250\xe7\252\x97", "\x69\x63\157\x6e" => "\151\x63\x6f\x6e\55\x63\150\x75\x61\x6e\147\150\165", "\143\157\154\x6f\162" => "\x23\64\63\x63\65\141\142", "\x74\x79\160\x65" => 2), array("\x74\x69\x74\x6c\145" => "\347\272\xbf\350\267\257", "\151\143\x6f\x6e" => "\x69\x63\157\156\x2d\x64\x69\x61\156\x78\x69\141\156", "\143\157\x6c\x6f\162" => "\43\70\61\143\x65\64\143", "\x74\171\160\145" => 2), array("\164\x69\x74\154\145" => "\350\276\x85\xe5\212\xa9\346\x9d\x90\xe6\x96\231", "\151\143\157\156" => "\x69\143\x6f\x6e\x2d\x7a\x68\165\x61\x6e\147\x78\x69\165\x73\150\141\x6e\x67\x6a\x69\141\x2d\70", "\143\x6f\x6c\x6f\x72" => "\x23\144\x33\x63\67\x39\x66", "\x74\171\x70\x65" => 2), array("\x74\151\x74\154\x65" => "\xe5\216\250\xe6\x88\xbf", "\151\x63\x6f\156" => "\151\143\157\x6e\x2d\x7a\150\165\x61\156\x67\170\151\x75\163\x68\x61\156\147\x6a\x69\x61\x2d\x32", "\x63\157\x6c\157\162" => "\x23\67\66\67\62\144\x33", "\x74\x79\160\145" => 2), array("\x74\x69\x74\x6c\x65" => "\xe5\215\253\xe6\265\xb4", "\x69\x63\157\156" => "\x69\x63\x6f\156\55\172\150\x75\x61\156\147\170\151\x75\x73\150\141\156\x67\152\x69\141\55\x36", "\143\x6f\x6c\x6f\x72" => "\43\146\x37\x36\x65\71\x63", "\164\171\160\145" => 2), array("\x74\151\164\x6c\x65" => "\xe5\256\xb6\xe5\205\xb7", "\x69\x63\157\x6e" => "\x69\143\157\x6e\55\x7a\150\165\141\156\147\170\151\165\x73\x68\x61\156\147\x6a\x69\x61\x2d\61", "\x63\x6f\x6c\157\x72" => "\x23\67\143\x61\60\x65\141", "\x74\171\160\x65" => 2), array("\x74\151\164\154\x65" => "\xe5\xae\xb6\347\224\xb5", "\x69\143\x6f\x6e" => "\151\143\x6f\156\x2d\x7a\x68\x75\141\156\x67\170\151\165\163\x68\141\x6e\147\x6a\151\141\55\65", "\143\157\x6c\157\x72" => "\43\146\x38\67\65\x36\144", "\164\171\160\x65" => 2), array("\x74\151\x74\x6c\x65" => "\xe7\x81\xaf\xe5\205\xb7", "\151\143\157\x6e" => "\x69\x63\x6f\156\55\x7a\150\165\141\x6e\x67\170\151\x75\163\x68\x61\156\147\152\x69\x61\x2d\63", "\x74\171\160\145" => 2), array("\x74\x69\x74\x6c\145" => "\xe4\xba\xba\xe5\267\xa5\350\xb4\271", "\x69\x63\x6f\x6e" => "\151\143\157\156\55\147\x6f\156\x67\x72\145\156", "\x63\157\x6c\x6f\162" => "\43\x62\x66\67\x66\144\66", "\164\171\160\145" => 2), array("\x74\x69\x74\154\145" => "\350\xae\xbe\xe8\256\241\xe8\264\271", "\x69\x63\x6f\x6e" => "\x69\x63\x6f\156\55\x64\145\163\x69\x67\156\x73\x69\x67\x6e", "\143\x6f\x6c\157\x72" => "\x23\146\x38\67\65\x36\144", "\164\171\x70\x65" => 2), array("\164\151\x74\x6c\145" => "\350\xa3\205\344\xbf\256\346\235\202\350\xb4\xb9", "\x69\143\x6f\156" => "\151\x63\157\156\55\x73\x68\x75\x61\172\151", "\x63\x6f\x6c\157\162" => "\x23\144\x33\143\67\71\146", "\164\171\x70\x65" => 2), array("\x74\151\x74\154\145" => "\xe6\260\xb4\xe7\224\xb5", "\x69\x63\157\x6e" => "\151\x63\x6f\x6e\x2d\x73\x68\x75\x69\144\151\x61\156", "\x63\157\x6c\x6f\162" => "\x23\x38\64\x64\x36\145\x31", "\x74\x79\x70\x65" => 2), array("\164\x69\164\154\145" => "\346\224\266\xe6\254\xbe", "\x69\x63\x6f\156" => "\151\143\x6f\x6e\x2d\163\x68\157\165\x6b\165\x61\156", "\143\157\x6c\x6f\162" => "\x23\x38\64\x64\66\145\61", "\x74\x79\160\145" => 1)), 6 => array(array("\x74\x69\164\154\145" => "\xe5\xa9\232\xe7\244\274\xe6\235\202\xe9\241\xb9", "\x69\x63\157\156" => "\x69\x63\x6f\156\55\150\x75\x6e\154\x69\x6a\x69", "\143\157\154\157\162" => "\x23\x66\67\x36\x65\x39\x63", "\x74\171\160\x65" => 2), array("\x74\151\x74\154\x65" => "\347\xa4\xbc\351\207\x91", "\x69\x63\x6f\x6e" => "\151\x63\157\156\55\x67\157\156\147\x7a\x69", "\143\x6f\x6c\157\162" => "\43\146\145\142\x62\65\x30", "\164\x79\160\145" => 2), array("\164\151\164\154\x65" => "\350\201\230\347\xa4\xbc", "\151\143\x6f\156" => "\x69\x63\157\x6e\x2d\154\x69\167\x75\x31", "\x63\x6f\154\157\x72" => "\43\x66\x38\67\65\66\144", "\x74\x79\160\145" => 2), array("\164\151\x74\154\145" => "\xe5\251\232\xe7\xba\261\346\x91\204\345\275\xb1", "\151\x63\157\156" => "\151\x63\x6f\156\55\x78\151\x61\156\x67\x6a\151\55\x63\x6f\160\x79", "\x63\x6f\154\x6f\x72" => "\43\x62\x66\67\146\144\x36", "\164\x79\160\x65" => 2), array("\164\151\164\x6c\x65" => "\xe9\205\222\xe5\270\255", "\151\x63\157\x6e" => "\x69\x63\157\156\55\152\x69\x75\x73\150\165\151", "\143\x6f\154\157\x72" => "\43\67\143\141\x30\145\141", "\164\x79\x70\x65" => 2), array("\x74\x69\164\154\x65" => "\xe5\251\232\347\xa4\xbc\345\234\272\345\234\xb0", "\151\x63\157\156" => "\151\x63\157\x6e\x2d\167\x65\151\x62\x69\x61\157\x74\x69\63", "\x63\x6f\x6c\x6f\x72" => "\43\x38\61\x63\145\x34\143", "\164\x79\x70\x65" => 2), array("\164\151\164\154\145" => "\xe5\x96\234\345\270\x96\xe5\x96\x9c\347\xb3\x96", "\x69\x63\157\x6e" => "\151\x63\157\156\55\x74\x61\x6e\x67\x67\165\157", "\x63\x6f\154\x6f\x72" => "\x23\146\70\67\65\x36\144", "\x74\171\x70\x65" => 2), array("\164\x69\x74\x6c\x65" => "\345\xa9\232\xe7\244\274\345\x8f\xb8\xe4\xbb\xaa", "\151\x63\x6f\156" => "\x69\143\157\x6e\x2d\x7a\150\x75\143\150\151\x63\145\x68\165\x61", "\x63\x6f\x6c\157\x72" => "\x23\x34\70\x63\x30\x65\x33", "\164\171\x70\x65" => 2), array("\x74\151\x74\x6c\145" => "\350\x9c\234\xe6\234\x88\xe5\xba\246\xe5\x81\207", "\x69\x63\157\x6e" => "\151\x63\157\x6e\55\144\x75\152\151\141", "\x63\x6f\154\x6f\x72" => "\x23\x34\x33\143\65\141\x62", "\164\x79\x70\145" => 2), array("\164\151\164\x6c\145" => "\344\xbd\x8f\xe5\xae\xbf", "\x69\143\157\x6e" => "\x69\143\x6f\x6e\x2d\x66\141\x6e\x67\x7a\151\x78\x75\145\170\x69\x61\x6f\x68\x61\151\x77\141\151\x78\x69\141\x6e\170\151\x6e\147", "\143\x6f\x6c\157\162" => "\x23\x38\64\71\x34\141\x31", "\x74\171\x70\145" => 2), array("\164\x69\x74\x6c\x65" => "\xe5\x90\x83\345\226\x9d", "\x69\x63\x6f\x6e" => "\x69\x63\157\x6e\55\144\141\x6f\143\150\x61", "\x63\x6f\x6c\x6f\162" => "\x23\x66\x65\142\142\65\x30", "\164\171\x70\x65" => 2), array("\x74\151\x74\154\145" => "\xe4\xba\xa4\xe9\x80\232", "\151\143\x6f\156" => "\151\143\157\x6e\x2d\x6a\x69\141\x6f\x74\157\156\x67\x67\157\156\147\152\x69\x61\157\143\x68\145\153\x61\x6e\x66\x61\156\x67\164\x75\x61\156\x64\x61\142\x61\170\151\x61\156\x78\151\156\x67", "\x63\157\x6c\157\162" => "\43\x34\63\143\65\x61\142", "\x74\x79\x70\x65" => 2), array("\164\151\x74\x6c\x65" => "\347\xa4\xbc\xe9\207\221", "\151\143\x6f\x6e" => "\x69\x63\x6f\156\55\x6c\x69\152\x69\x6e", "\143\x6f\154\157\162" => "\43\146\145\x62\142\x35\x30", "\164\171\160\145" => 1), array("\x74\x69\164\x6c\145" => "\347\xba\xa2\xe5\x8c\x85", "\151\143\157\x6e" => "\151\143\157\x6e\x2d\150\x6f\x6e\x67\x62\x61\157", "\143\x6f\x6c\157\162" => "\43\x66\x38\67\65\66\x64", "\x74\171\x70\x65" => 1)), 7 => array(array("\164\x69\164\154\x65" => "\xe5\x90\x83\345\x96\235", "\151\143\157\x6e" => "\151\x63\157\x6e\55\144\141\157\x63\x68\x61", "\x63\157\x6c\157\x72" => "\43\146\x65\x62\142\x35\x30", "\164\x79\x70\x65" => 2), array("\x74\x69\x74\154\x65" => "\344\xba\xa4\xe9\200\x9a", "\x69\x63\157\x6e" => "\151\x63\157\156\x2d\x6a\x69\x61\157\x74\x6f\156\147\x67\x6f\156\x67\152\151\141\157\x63\150\145\153\x61\x6e\x66\x61\156\147\164\165\141\x6e\144\141\142\141\170\x69\141\156\170\x69\156\x67", "\x63\157\x6c\x6f\x72" => "\x23\64\x33\143\x35\x61\142", "\x74\171\160\145" => 2), array("\x74\x69\x74\154\145" => "\xe6\234\215\xe9\245\xb0\xe9\236\x8b\xe5\x8c\x85", "\151\x63\157\x6e" => "\151\143\157\x6e\55\x66\x75\172\150\x75\141\x6e\x67", "\143\x6f\154\x6f\162" => "\43\x37\66\x37\62\144\63", "\x74\171\x70\145" => 2), array("\164\151\x74\154\145" => "\345\214\x96\345\246\206\xe6\212\xa4\350\x82\244", "\151\143\157\x6e" => "\x69\143\157\156\x2d\153\157\165\150\x6f\156\x67\x31", "\143\157\154\157\x72" => "\43\x66\67\x36\x65\x39\143", "\x74\171\160\145" => 2), array("\164\x69\164\x6c\145" => "\xe8\xaf\235\350\xb4\271", "\151\143\157\156" => "\x69\x63\157\156\55\x73\150\x6f\165\152\151", "\143\157\x6c\157\162" => "\43\64\70\143\60\x65\63", "\164\x79\x70\x65" => 2), array("\164\151\x74\x6c\145" => "\xe5\xa8\xb1\344\xb9\x90", "\x69\x63\157\156" => "\151\x63\157\x6e\x2d\x79\157\165\170\x69", "\143\157\x6c\x6f\x72" => "\43\142\x66\67\146\x64\66", "\164\171\160\145" => 2), array("\x74\151\x74\x6c\x65" => "\345\x8c\273\xe7\x96\227", "\x69\x63\157\x6e" => "\x69\x63\x6f\x6e\55\171\x69\x6c\x69\141\157\55\x63\x6f\x70\171", "\x63\x6f\154\x6f\x72" => "\43\x66\x38\67\x35\66\144", "\x74\171\160\x65" => 2), array("\164\x69\164\154\x65" => "\xe6\225\xb0\347\240\x81", "\151\143\x6f\x6e" => "\x69\143\157\x6e\55\x78\x69\141\156\x73\150\x69\x71\x69", "\x63\x6f\x6c\157\x72" => "\43\142\x66\67\x66\144\66", "\164\171\160\x65" => 2), array("\164\151\x74\x6c\x65" => "\347\275\221\350\264\xad", "\151\143\x6f\x6e" => "\x69\143\x6f\156\x2d\x67\x6f\x75\167\x75\62", "\x63\x6f\154\x6f\x72" => "\43\146\67\x36\x65\x39\143", "\164\x79\160\145" => 2), array("\164\x69\164\x6c\x65" => "\347\x8f\255\350\264\271", "\x69\x63\157\156" => "\151\x63\x6f\156\x2d\x62\x61\156\152\151", "\x63\x6f\154\x6f\x72" => "\x23\x38\x31\x63\145\64\143", "\164\171\160\x65" => 2), array("\x74\x69\164\154\x65" => "\xe5\237\271\xe8\256\xad\350\xb4\271", "\151\x63\157\156" => "\151\143\157\x6e\x2d\x70\145\151\x78\165\156", "\143\x6f\x6c\x6f\x72" => "\x23\x37\143\x61\x30\145\x61", "\164\171\x70\145" => 2), array("\164\x69\164\x6c\145" => "\xe8\265\x84\xe6\x96\231\xe8\264\xb9", "\x69\x63\x6f\x6e" => "\x69\143\157\x6e\55\x69\156\146\157", "\143\x6f\x6c\x6f\x72" => "\x23\x34\x33\143\x35\141\142", "\x74\171\160\145" => 2), array("\164\151\x74\x6c\145" => "\347\275\x91\xe8\xb4\xb9", "\x69\x63\x6f\x6e" => "\151\x63\x6f\156\55\167\151\146\x69\137\151\143\157\x6e", "\143\157\x6c\157\162" => "\x23\x38\61\143\145\x34\x63", "\164\x79\x70\x65" => 2), array("\x74\x69\x74\154\x65" => "\xe5\255\xa6\xe8\264\271", "\151\x63\x6f\x6e" => "\x69\x63\x6f\156\55\152\x69\x61\157\x78\x75\145\x66\145\151", "\x63\x6f\154\x6f\162" => "\x23\146\145\x62\x62\x35\x30", "\164\171\x70\145" => 2), array("\164\x69\x74\x6c\x65" => "\346\x96\x87\xe5\205\xb7", "\151\143\157\x6e" => "\151\x63\157\156\55\x77\145\x6e\152\165", "\143\157\x6c\157\162" => "\43\x66\145\x39\x34\x33\145", "\x74\171\160\145" => 2), array("\x74\151\x74\154\145" => "\xe4\xb9\246\xe7\261\x8d", "\151\143\157\x6e" => "\x69\143\x6f\156\55\163\150\165\152\x69", "\x63\x6f\x6c\157\x72" => "\43\x34\x33\x63\x35\141\142", "\x74\x79\160\145" => 2), array("\164\151\x74\154\145" => "\xe4\xbd\x8f\xe5\xae\277", "\151\143\157\x6e" => "\151\x63\x6f\156\55\x66\x61\156\x67\172\x69\170\x75\x65\170\x69\141\157\x68\141\x69\x77\141\151\170\x69\141\156\x78\x69\x6e\x67", "\143\157\x6c\x6f\x72" => "\43\x38\x34\x39\64\141\61", "\x74\171\160\145" => 2), array("\164\151\164\x6c\145" => "\xe7\244\274\xe7\211\251", "\x69\143\x6f\156" => "\151\x63\x6f\x6e\55\154\151\x77\x75\61", "\143\157\154\x6f\162" => "\43\x66\x38\67\x35\66\144", "\164\171\x70\145" => 2), array("\x74\151\164\x6c\145" => "\xe6\260\xb4\xe7\224\xb5", "\151\143\x6f\156" => "\151\143\x6f\156\55\x73\150\x75\151\x64\x69\x61\x6e", "\x63\x6f\x6c\157\x72" => "\x23\70\x34\x64\x36\145\x31", "\x74\171\x70\x65" => 2), array("\164\151\x74\154\145" => "\xe6\260\264\xe6\236\234\xe9\233\266\351\243\237", "\x69\143\x6f\156" => "\x69\143\x6f\x6e\55\x73\150\x75\x69\x67\165\x6f\x64\x69\x61\156", "\143\157\154\157\162" => "\x23\146\145\71\x34\63\x65", "\164\x79\160\145" => 2), array("\x74\151\x74\154\x65" => "\xe8\xb6\205\345\xb8\x82", "\x69\x63\x6f\x6e" => "\151\143\x6f\156\55\x67\157\165\167\165\62", "\143\x6f\154\x6f\x72" => "\43\x38\x31\143\x65\64\x63", "\x74\x79\160\145" => 2), array("\x74\x69\x74\154\x65" => "\347\x94\237\xe6\xb4\xbb\350\xb4\271", "\151\x63\x6f\156" => "\151\x63\157\156\55\163\x68\x65\156\147\x68\x75\x6f", "\143\157\x6c\x6f\162" => "\43\70\x31\x63\145\x34\x63", "\x74\171\160\145" => 1), array("\x74\x69\164\154\x65" => "\345\xa5\226\xe5\x8a\251\345\255\xa6\xe9\x87\x91", "\x69\x63\x6f\x6e" => "\x69\x63\157\156\x2d\x6a\151\x61\156\147\x6c\151", "\143\x6f\x6c\x6f\x72" => "\x23\x64\63\70\142\65\71", "\164\x79\160\x65" => 1), array("\x74\151\164\x6c\145" => "\xe5\205\xbc\350\201\x8c", "\x69\143\x6f\x6e" => "\151\143\x6f\x6e\x2d\152\151\x61\x6e\172\x68\x69", "\x63\157\154\157\x72" => "\x23\x37\x63\141\60\x65\x61", "\164\x79\x70\x65" => 1), array("\x74\151\164\x6c\145" => "\347\272\242\xe5\x8c\x85", "\151\143\157\x6e" => "\x69\143\157\x6e\x2d\150\157\156\x67\142\x61\157", "\143\157\154\157\x72" => "\x23\x66\x38\x37\65\x36\x64", "\164\x79\x70\145" => 1), array("\164\x69\x74\154\145" => "\xe6\224\266\xe6\254\276", "\151\143\157\x6e" => "\x69\143\x6f\x6e\x2d\x73\150\x6f\x75\x6b\x75\141\156", "\x63\x6f\154\x6f\162" => "\x23\70\x34\144\x36\x65\61", "\x74\x79\x70\145" => 1)), 8 => array(array("\x74\151\164\x6c\145" => "\xe5\237\xb9\xe8\xae\xad\xe8\xb4\xb9", "\151\x63\157\x6e" => "\151\143\x6f\x6e\55\160\x65\x69\x78\x75\x6e", "\x63\157\x6c\157\162" => "\43\67\143\141\x30\x65\141", "\x74\x79\160\145" => 2), array("\164\151\164\x6c\145" => "\350\265\204\346\x96\x99\350\xb4\xb9", "\151\x63\x6f\156" => "\151\x63\x6f\x6e\55\151\156\146\157", "\x63\157\x6c\157\x72" => "\x23\x34\x33\143\x35\x61\142", "\x74\x79\160\x65" => 2), array("\x74\x69\164\x6c\145" => "\345\255\xa6\350\264\271", "\151\143\157\156" => "\151\143\x6f\x6e\x2d\152\151\141\x6f\x78\x75\145\x66\145\151", "\x63\157\154\x6f\162" => "\x23\x66\x65\71\64\63\145", "\164\171\x70\145" => 2), array("\164\151\x74\154\x65" => "\xe6\226\207\xe5\x85\267", "\151\x63\x6f\156" => "\x69\x63\x6f\x6e\55\x77\145\x6e\x6a\x75", "\143\157\x6c\x6f\x72" => "\x23\146\145\x62\x62\x35\x30", "\x74\171\x70\145" => 2), array("\x74\x69\x74\154\x65" => "\344\xb9\246\347\261\x8d", "\151\x63\157\156" => "\151\143\x6f\x6e\55\163\x68\165\152\x69", "\x63\157\154\157\x72" => "\x23\64\x33\x63\65\x61\x62", "\x74\171\x70\145" => 2), array("\x74\151\164\x6c\145" => "\345\xa5\226\345\223\x81", "\x69\x63\x6f\x6e" => "\x69\143\157\156\55\152\x69\x61\x6e\x67\154\x69", "\x63\x6f\154\157\162" => "\x23\x66\x37\66\x65\x39\x63", "\164\x79\160\x65" => 2), array("\164\151\x74\154\x65" => "\xe7\xa4\274\xe7\211\251", "\151\x63\157\156" => "\151\143\x6f\x6e\55\154\151\167\x75\61", "\143\x6f\154\157\162" => "\x23\x66\x38\x37\65\66\144", "\164\x79\160\145" => 2), array("\164\x69\164\x6c\x65" => "\xe8\201\232\344\274\x9a", "\x69\x63\x6f\x6e" => "\x69\x63\x6f\x6e\55\x64\x61\x6f\143\x68\x61", "\143\x6f\x6c\157\x72" => "\x23\146\x65\142\x62\65\x30", "\x74\x79\x70\x65" => 2), array("\x74\x69\164\x6c\145" => "\xe4\272\xa4\xe9\x80\232", "\151\x63\x6f\x6e" => "\x69\x63\157\156\x2d\152\151\141\157\164\x6f\x6e\x67\147\x6f\156\x67\x6a\x69\141\x6f\143\150\145\153\141\156\146\141\x6e\147\164\165\x61\156\144\141\142\141\x78\151\141\156\170\x69\x6e\x67", "\143\157\154\x6f\x72" => "\43\x34\x33\143\65\x61\x62", "\164\x79\160\x65" => 2), array("\x74\151\x74\154\145" => "\347\xbd\x91\350\264\xad", "\151\x63\157\156" => "\151\x63\x6f\156\x2d\147\x6f\x75\167\165\62", "\x63\x6f\154\x6f\162" => "\43\146\67\x36\145\x39\143", "\x74\x79\160\x65" => 2), array("\x74\151\164\x6c\145" => "\347\x8f\255\350\xb4\xb9", "\151\143\x6f\156" => "\151\143\x6f\156\x2d\142\141\156\x6a\151", "\x63\157\x6c\157\x72" => "\x23\70\x31\x63\x65\64\143", "\x74\x79\x70\x65" => 1), array("\164\x69\x74\x6c\145" => "\345\xad\246\xe6\xa0\241\xe8\xa1\245\350\xb4\264", "\151\x63\157\156" => "\151\x63\157\x6e\55\163\x68\157\x75\162\165", "\143\x6f\x6c\157\162" => "\43\64\x38\x63\60\145\63", "\x74\x79\160\145" => 1), array("\164\x69\164\x6c\145" => "\346\xb4\xbb\345\x8a\250\xe5\245\226\351\x87\221", "\x69\x63\x6f\156" => "\151\143\157\x6e\55\x6a\151\x61\156\147\x6a\x69\x6e\152\151\170\151\x61\157", "\x63\x6f\x6c\x6f\162" => "\x23\146\x65\x62\142\65\x30", "\164\171\160\x65" => 1), array("\x74\151\x74\154\x65" => "\346\x94\266\346\xac\xbe", "\x69\143\157\x6e" => "\x69\143\x6f\x6e\55\163\150\x6f\165\153\x75\x61\156", "\x63\x6f\154\x6f\x72" => "\43\x38\x34\144\66\x65\x31", "\x74\171\160\x65" => 1)), 9 => array(array("\x74\x69\x74\x6c\x65" => "\xe7\272\xa2\345\x8c\x85", "\x69\143\x6f\156" => "\x69\143\157\x6e\x2d\x68\x6f\x6e\147\142\x61\x6f", "\x63\x6f\154\x6f\162" => "\43\x66\x38\67\65\x36\144", "\x74\x79\160\145" => 2), array("\x74\151\164\154\x65" => "\350\257\xb7\345\256\242", "\151\143\x6f\x6e" => "\x69\143\157\156\55\161\x75\156", "\143\157\x6c\157\x72" => "\x23\146\70\x37\x35\66\x64", "\x74\171\160\x65" => 2), array("\x74\151\x74\x6c\145" => "\345\xa9\x9a\345\253\x81", "\151\143\157\x6e" => "\151\x63\157\156\x2d\x68\x75\x6e\154\x69\152\151", "\143\x6f\154\157\162" => "\x23\x66\67\x36\145\x39\143", "\x74\171\160\145" => 2), array("\164\x69\164\x6c\145" => "\xe5\257\xbf\350\276\xb0", "\x69\x63\x6f\x6e" => "\151\x63\x6f\156\55\164\141\x6f\x7a\x69", "\143\x6f\154\157\x72" => "\43\146\145\142\x62\x35\60", "\x74\171\x70\x65" => 2), array("\164\x69\164\154\145" => "\347\xba\xa2\345\x8c\205", "\x69\143\157\156" => "\151\x63\157\156\55\150\157\x6e\147\x62\x61\157", "\x63\x6f\x6c\157\162" => "\x23\146\x38\67\x35\66\x64", "\164\171\x70\x65" => 1), array("\x74\151\x74\x6c\145" => "\xe5\xa9\x9a\xe5\253\201", "\x69\143\x6f\156" => "\x69\x63\157\x6e\x2d\x68\165\156\154\151\152\x69", "\x63\157\154\157\162" => "\x23\146\67\66\x65\71\x63", "\x74\171\160\145" => 1), array("\164\x69\164\x6c\145" => "\345\xaf\277\350\276\260", "\x69\x63\x6f\156" => "\x69\x63\157\156\55\164\141\157\172\151", "\x63\157\x6c\157\162" => "\43\146\145\142\142\65\x30", "\164\x79\x70\x65" => 1)), 10 => array(array("\x74\151\164\154\145" => "\xe5\212\xa0\xe6\262\271", "\151\x63\x6f\x6e" => "\151\143\x6f\156\55\152\151\141\x79\157\x75", "\143\x6f\x6c\x6f\x72" => "\43\x37\143\x61\x30\x65\x61", "\x74\171\160\145" => 2), array("\x74\151\164\x6c\145" => "\345\201\x9c\350\xbd\xa6", "\151\x63\157\x6e" => "\x69\x63\157\156\x2d\164\151\x6e\x67\x63\150\145", "\143\157\154\x6f\x72" => "\x23\x38\61\143\x65\x34\143", "\164\x79\x70\x65" => 2), array("\164\151\x74\154\x65" => "\xe4\277\235\xe9\x99\xa9", "\151\x63\x6f\156" => "\x69\143\x6f\156\x2d\142\x61\157\x78\151\x61\156", "\x63\157\x6c\x6f\x72" => "\x23\146\145\142\x62\x35\60", "\x74\x79\160\145" => 2), array("\164\151\x74\154\145" => "\xe7\273\xb4\344\277\xae", "\151\x63\157\x6e" => "\151\143\x6f\x6e\x2d\167\x65\x69\170\151\x75\61", "\x63\x6f\154\x6f\162" => "\43\x34\x33\143\x35\x61\142", "\x74\x79\x70\x65" => 2), array("\164\x69\164\154\x65" => "\346\xb4\x97\350\xbd\xa6", "\x69\x63\x6f\156" => "\151\x63\157\x6e\55\170\151\143\x68\x65", "\x63\x6f\x6c\x6f\162" => "\43\70\x31\x63\145\x34\143", "\164\x79\x70\145" => 2), array("\164\151\x74\154\x65" => "\344\277\235\345\205\273", "\151\143\157\156" => "\x69\x63\x6f\156\x2d\142\x61\157\171\x61\156\147", "\143\157\154\157\162" => "\43\x37\143\141\60\x65\141", "\x74\171\160\x65" => 2), array("\164\x69\164\x6c\145" => "\xe7\xbe\x8e\345\256\271", "\x69\x63\157\x6e" => "\x69\x63\x6f\x6e\55\x71\x69\x63\150\145\x6d\145\151\x72\157\x6e\147", "\143\x6f\154\157\x72" => "\x23\x64\x33\70\142\x35\x39", "\x74\x79\160\x65" => 2), array("\x74\151\x74\154\145" => "\350\xbf\235\347\253\240", "\x69\143\157\x6e" => "\151\143\157\156\x2d\x77\145\151\x7a\x68\141\156\x67", "\143\x6f\154\x6f\162" => "\43\x66\x38\67\65\x36\x64", "\164\x79\x70\x65" => 2), array("\x74\151\x74\154\x65" => "\xe6\224\xb6\346\xac\xbe", "\151\143\157\156" => "\151\143\157\156\55\x73\x68\157\x75\153\165\x61\156", "\143\x6f\x6c\x6f\162" => "\x23\x38\64\144\x36\145\x31", "\x74\171\x70\145" => 1)));
function __construct($setting = array())
{
$this->setting = $setting;
$this->modulename = $this->m;
}
function getMember($id = 0)
{
goto g_6W_;
gvfyD:
goto t4VzF;
goto pbOEu;
RDrjA:
return pdo_fetch("\x53\105\114\105\x43\x54\x20\x2a\40\x46\x52\x4f\x4d\x20" . tablename("\x78\x78\x62\x5f\142\x6f\x6f\153\137\x6d\x65\x6d\142\x65\162") . "\x20\x57\x48\x45\122\x45\40\x75\156\151\x61\143\151\144\40\x3d\x20\x3a\x75\156\151\x61\143\151\x64\40\101\116\104\x20\157\160\x65\156\x69\x64\x20\75\40\72\157\x70\145\x6e\151\144", array("\72\165\156\151\141\143\151\x64" => $_W["\x75\156\x69\x61\x63\x69\144"], "\72\157\160\145\x6e\151\x64" => $id));
goto DBJgy;
kOJF7:
return pdo_fetch("\x53\105\x4c\x45\x43\x54\x20\x2a\40\106\x52\x4f\115\40" . tablename("\x78\x78\142\137\142\157\157\153\x5f\155\145\x6d\x62\x65\x72") . "\x20\x57\x48\105\122\x45\x20\165\156\151\141\x63\151\144\x20\x3d\40\72\165\x6e\151\141\x63\151\144\40\x41\x4e\x44\x20\151\x64\x20\x3d\40\72\151\x64", array("\72\x75\156\151\x61\143\x69\144" => $_W["\x75\x6e\x69\141\x63\151\x64"], "\72\x69\x64" => $id));
goto gvfyD;
rIwcX:
return array();
goto jUFWt;
jUFWt: pCdZn:
goto mUKQr;
pbOEu: l1tqZ:
goto RDrjA;
mUKQr:
if (gettype($id) == "\x73\x74\162\151\x6e\147") {
goto l1tqZ;
}
goto kOJF7;
d_9lF:
if (!empty($id)) {
goto pCdZn;
}
goto rIwcX;
DBJgy: t4VzF:
goto S18Uh;
g_6W_: global $_W;
goto d_9lF;
S18Uh:
}
function setDefaultBook($book_id = 0)
{
goto TWi02;
gDHNo:
if (!($auth === false)) {
goto YmRuA;
}
goto Rta5K;
xZxN0:
pdo_query("\165\160\x64\141\x74\x65\x20" . tablename("\170\x78\142\137\142\x6f\157\x6b\x5f\x6d\x65\x6d\x62\x65\162") . "\x20\163\145\164\40\144\x65\146\x61\165\x6c\x74\137\142\x6f\157\x6b\75{$book_id}\x20\x57\x48\x45\122\105\40\x6f\160\x65\156\151\x64\40\x3d\40\72\157\160\145\156\151\x64\40\101\x4e\104\40\165\x6e\151\x61\143\151\144\x3d\x3a\165\x6e\151\x61\x63\x69\x64", array("\x3a\157\x70\x65\156\151\x64" => $_W["\x6f\160\145\156\x69\x64"], "\x3a\165\x6e\x69\x61\143\x69\144" => $_W["\x75\156\x69\x61\x63\151\144"]));
goto y5_A2;
YZ6iV: Da0Nv:
goto slmws;
xBwgP:
if (!empty($book)) {
goto Da0Nv;
}
goto qYm7F;
PQ9vx:
$auth = $this->checkBookAuth($book_id);
goto gDHNo;
WtYqi:
$book_id = $book ? $book[0]["\x69\x64"] : $book_id;
goto xZxN0;
slmws: YmRuA:
goto WtYqi;
Rta5K:
$book = $this->getBook(["\x69\x6e\151\164" => 1]);
goto xBwgP;
qYm7F:
return false;
goto YZ6iV;
y5_A2:
return $book_id;
goto ik4IQ;
TWi02: global $_W;
goto PQ9vx;
ik4IQ:
}
function checkBookAuth($book_id)
{
goto eZ1Ff;
sGfa_:
return false;
goto V69Vu;
PlQ0n:
return false;
goto jXLr9;
WJV7M:
return 0;
goto xkfdt;
nYA6v:
foreach ($book_members as $v) {
goto oggdT;
dK9Ss:
return intval($v["\141\x75\164\x68"]);
goto FX9PL;
oggdT:
if (!($v["\x6f\x70\145\x6e\151\144"] == $_W["\157\160\x65\x6e\151\144"])) {
goto MgG0W;
}
goto dK9Ss;
FX9PL: MgG0W:
goto f23ZU;
f23ZU: Svgxv:
goto ooFhP;
ooFhP:
}
goto rZHSb;
eZ1Ff: global $_W;
goto PujXe;
FfyZu:
$book_members = pdo_fetchall("\x53\x45\114\x45\103\124\x20\x6f\x70\x65\156\151\144\x2c\141\x75\164\150\40\x46\122\117\x4d\40" . tablename("\x78\170\142\x5f\x62\157\157\x6b\137\x62\x6f\x6f\x6b\137\155\145\x6d\142\145\162") . "\40\x57\110\x45\122\105\40\x75\156\x69\x61\143\x69\x64\40\75\x20\x3a\x75\156\x69\141\x63\x69\144\40\101\x4e\104\40\163\164\x61\164\165\x73\40\x3d\40\x31\x20\x41\x4e\104\40\142\x6f\x6f\153\137\151\x64\40\75\x20\x3a\x62\157\x6f\153\137\151\144\x20\157\162\x64\x65\x72\x20\142\171\x20\x69\x64\x20\x61\163\143", ["\x3a\x75\x6e\151\141\x63\151\x64" => $_W["\165\156\x69\141\143\151\x64"], "\x3a\x62\x6f\157\x6b\x5f\x69\x64" => $book_id]);
goto nYA6v;
PujXe:
$book = pdo_fetch("\123\x45\114\x45\103\x54\x20\151\144\54\x6f\x70\x65\156\x69\144\x20\106\x52\117\115\x20" . tablename("\x78\170\x62\137\142\x6f\157\x6b\137\142\157\157\153") . "\x20\127\x48\105\122\x45\x20\165\x6e\151\141\x63\x69\144\40\75\40\x3a\165\x6e\151\141\x63\151\144\40\101\116\104\x20\x73\x74\x61\164\165\x73\x20\75\x20\x31\x20\x41\x4e\x44\x20\151\144\40\75\40\x3a\x69\x64", ["\x3a\x75\x6e\x69\141\143\x69\144" => $_W["\165\x6e\x69\141\143\151\x64"], "\72\x69\144" => $book_id]);
goto Bfndx;
Bfndx:
if (!empty($book)) {
goto WIfar;
}
goto sGfa_;
V69Vu: WIfar:
goto DNhGw;
DNhGw:
if (!($_W["\157\x70\145\156\x69\144"] == $book["\x6f\160\x65\x6e\151\x64"])) {
goto TX_Sq;
}
goto WJV7M;
rZHSb: o7_u_:
goto PlQ0n;
xkfdt: TX_Sq:
goto FfyZu;
jXLr9:
}
function initBook($default_book)
{
goto N6NS3;
QLvjG:
$this->setDefaultBook($book["\151\144"]);
goto VA98t;
a5aT5:
$countmember = pdo_fetchcolumn("\x53\x45\114\x45\103\124\40\103\117\125\x4e\124\50\52\x29\x20\x46\122\x4f\115\40" . tablename("\170\170\x62\x5f\x62\x6f\157\153\x5f\x62\157\157\153\137\155\145\155\x62\x65\162") . "\40\x57\110\x45\x52\x45\x20\x75\156\x69\141\143\x69\144\40\75\40\72\x75\x6e\151\141\x63\x69\144\x20\101\116\104\40\x73\164\141\x74\165\163\40\75\40\61\40\101\116\x44\x20\x62\x6f\157\x6b\137\151\x64\x20\75\40\72\x62\157\157\153\137\151\x64", array("\72\165\x6e\151\x61\x63\x69\x64" => $_W["\165\156\x69\141\143\151\x64"], "\72\142\157\157\153\137\151\x64" => $book["\x69\x64"]));
goto GQe8i;
XiGDP:
$book = pdo_fetch("\123\x45\114\105\103\x54\40\52\x20\106\122\117\x4d\40" . tablename("\170\x78\x62\x5f\x62\157\157\x6b\137\x62\x6f\x6f\x6b") . "\x20\x57\x48\105\122\105\40\x75\156\151\x61\x63\x69\144\40\75\40\x3a\165\x6e\x69\x61\143\x69\144\x20\x41\116\x44\x20\163\x74\x61\x74\165\163\40\75\x20\61\40\141\x6e\x64\40\151\144\x20\75\x20\72\x69\x64", array("\72\165\x6e\x69\141\x63\x69\144" => $_W["\165\x6e\x69\141\143\151\144"], "\x3a\x69\x64" => $default_book));
goto a1YDW;
N6NS3: global $_W;
goto UVrSe;
QcmHX:
$book = ["\x75\x6e\x69\x61\x63\x69\144" => $_W["\x75\x6e\x69\x61\x63\x69\x64"], "\x6f\x70\145\x6e\x69\x64" => $_W["\x6f\160\x65\156\x69\144"], "\164\151\x74\154\x65" => "\346\227\xa5\345\xb8\270", "\x74\171\x70\145" => 1, "\151\156\143\157\155\x65" => 0.0, "\145\170\160\x65\x6e\144\x69\x74\165\162\145" => 0.0, "\163\x74\x61\164\165\x73" => 1, "\143\157\154\x6f\162\61" => "\43\65\60\x41\x31\106\x42", "\143\157\154\157\162\62" => "\43\x38\63\102\x46\x46\x45", "\x6d\x6f\x6e\164\x68\154\171\137\x62\x75\x64\x67\145\164" => 0.0, "\x69\156\151\164" => 1, "\165\x70\x64\141\x74\145\137\164\151\x6d\x65" => time(), "\x63\x72\145\x61\164\145\137\x74\x69\155\x65" => time()];
goto bVs4B;
DUqtP:
goto qKHPB;
goto Nu0Up;
FMyV4:
$this->setDefaultBook($book["\x69\x64"]);
goto BlU6w;
bVs4B:
pdo_insert("\170\170\x62\x5f\x62\x6f\x6f\153\137\142\157\157\x6b", $book);
goto fKojl;
vbHpw:
$book = ["\x75\x6e\151\141\x63\x69\144" => $_W["\x75\156\x69\x61\x63\151\144"], "\x6f\160\x65\x6e\x69\144" => $_W["\157\160\145\x6e\x69\144"], "\x74\x69\x74\154\145" => "\xe6\227\245\xe5\xb8\270", "\164\x79\160\x65" => 1, "\x69\x6e\143\x6f\155\x65" => 0.0, "\x65\x78\x70\145\156\144\151\164\165\x72\145" => 0.0, "\x73\164\x61\x74\165\163" => 1, "\143\157\154\x6f\162\x31" => "\x23\65\60\101\61\106\102", "\x63\x6f\x6c\157\x72\x32" => "\43\x38\63\102\x46\106\x45", "\155\157\x6e\164\150\x6c\x79\137\x62\x75\x64\x67\145\164" => 0.0, "\165\x70\144\x61\164\145\137\x74\x69\155\145" => time(), "\143\162\x65\x61\x74\x65\x5f\164\x69\x6d\145" => time()];
goto qGjxF;
Nu0Up: gPBbp:
goto QcmHX;
BlU6w: qKHPB:
goto gHile;
UVrSe:
$books = pdo_fetchall("\x53\105\x4c\x45\103\124\40\151\x64\x20\106\x52\x4f\x4d\40" . tablename("\170\x78\x62\137\142\157\157\x6b\x5f\x62\157\157\153") . "\x20\x57\x48\x45\x52\x45\x20\165\x6e\151\141\143\x69\x64\x20\x3d\x20\x3a\165\x6e\x69\141\143\x69\144\x20\x41\116\104\40\x73\x74\141\x74\165\x73\40\x3d\x20\61\40\101\116\104\x20\157\x70\x65\156\x69\x64\40\x3d\40\72\157\x70\145\156\x69\x64\40\157\162\144\145\162\40\x62\171\x20\x69\x64\40\x64\x65\163\143", array("\x3a\x75\156\151\x61\143\x69\144" => $_W["\165\156\151\141\143\x69\144"], "\72\x6f\x70\x65\x6e\x69\x64" => $_W["\x6f\x70\145\x6e\x69\x64"]));
goto GP56Y;
GP56Y:
if (empty($books)) {
goto gPBbp;
}
goto nKeV_;
qGjxF:
pdo_insert("\x78\170\142\x5f\142\157\157\153\x5f\x62\x6f\x6f\153", $book);
goto mn_v_;
pAbEA:
return $book;
goto qhOk3;
fKojl:
$book["\x69\x64"] = pdo_insertid();
goto FMyV4;
gHile:
$book["\x61\x75\164\x68"] = $this->checkBookAuth($book["\x69\x64"]);
goto a5aT5;
mn_v_:
$book["\x69\x64"] = pdo_insertid();
goto QLvjG;
GQe8i:
$book["\x63\157\x75\x6e\x74\155\145\155\142\145\x72"] = intval($countmember) + 1;
goto pAbEA;
nKeV_:
$default_book = $this->setDefaultBook($default_book);
goto XiGDP;
a1YDW:
if (!empty($book)) {
goto mOrPh;
}
goto vbHpw;
VA98t: mOrPh:
goto DUqtP;
qhOk3:
}
function initAccount()
{
goto zkxpp;
eLPx_:
foreach ($default_accounts as $k1 => $v1) {
goto MPJWr;
jjxjd: QSW0z:
goto cbqSN;
cbqSN: hBmHb:
goto SWjle;
oFaG7: iZAxr:
goto Zr4TX;
y3fYK:
pdo_insert("\x78\x78\142\137\x62\x6f\157\153\137\x61\143\x63\x6f\x75\x6e\164", $v1);
goto jjxjd;
TwCuc:
foreach ($accounts as $k2 => $v2) {
goto O7KHq;
TU7Zm:
goto iZAxr;
goto mD5wn;
mD5wn: dv8eP:
goto p93Sh;
O7KHq:
if (!($v2["\x74\171\x70\x65"] == $v1["\164\x79\x70\x65"])) {
goto dv8eP;
}
goto KF2Oq;
KF2Oq:
$is_presence = 1;
goto TU7Zm;
p93Sh: deoUZ:
goto U_D_A;
U_D_A:
}
goto oFaG7;
Zr4TX:
if ($is_presence) {
goto QSW0z;
}
goto y3fYK;
MPJWr:
$is_presence = 0;
goto TwCuc;
SWjle:
}
goto SJHcA;
DPz1e:
$accounts = pdo_fetchall("\123\105\114\105\x43\124\40\151\144\54\164\x79\160\x65\40\x46\x52\x4f\115\40" . tablename("\x78\x78\142\137\142\x6f\x6f\153\x5f\141\143\143\157\165\x6e\164") . "\40\x57\x48\105\x52\105\x20\x75\156\x69\141\143\151\144\x20\75\x20\72\165\x6e\x69\x61\x63\x69\144\40\x61\156\144\x20\x6f\x70\x65\x6e\x69\x64\x20\75\x20\x3a\x6f\160\145\156\151\144\40\x6f\x72\x64\145\x72\40\x62\171\x20\x69\x64\x20\x64\145\163\x63", array("\72\x75\156\x69\x61\143\151\x64" => $_W["\x75\x6e\151\x61\x63\x69\x64"], "\72\157\x70\x65\156\151\144" => $_W["\x6f\x70\x65\x6e\x69\x64"]));
goto eLPx_;
zkxpp: global $_W;
goto mC3qy;
woUIB:
$accounts = pdo_fetchall("\123\x45\x4c\105\x43\124\40\x69\144\54\164\x79\160\145\x2c\164\x69\164\x6c\x65\x2c\x69\143\157\156\x2c\143\x6f\x6c\x6f\162\54\143\157\154\157\x72\x2c\x62\141\x6c\x61\156\x63\145\54\x72\x65\x6d\x61\162\153\54\x61\x63\x63\157\x75\x6e\164\54\143\162\x65\x61\164\x65\x5f\x74\x69\x6d\x65\x20\x46\x52\x4f\115\40" . tablename("\170\x78\x62\137\x62\x6f\x6f\x6b\137\x61\x63\143\x6f\165\156\x74") . "\x20\127\110\105\122\105\40\x75\156\151\141\x63\151\x64\x20\x3d\40\x3a\x75\x6e\151\x61\143\151\x64\x20\x41\x4e\x44\x20\157\x70\145\156\151\x64\40\x3d\x20\72\x6f\x70\145\x6e\x69\x64\x20\101\x4e\104\x20\163\x74\x61\164\x75\163\40\x3d\40\x31\40\157\162\144\x65\x72\x20\142\x79\x20\151\x64\40\x61\163\x63", array("\x3a\165\156\x69\x61\143\151\144" => $_W["\x75\x6e\151\x61\143\151\x64"], "\72\x6f\x70\x65\x6e\151\144" => $_W["\157\x70\x65\156\x69\x64"]));
goto DhaDx;
SJHcA: KCabI:
goto woUIB;
mC3qy:
$default_accounts = [["\165\156\151\141\x63\151\144" => $_W["\x75\x6e\151\141\x63\x69\x64"], "\157\160\145\x6e\151\x64" => $_W["\157\160\x65\x6e\x69\144"], "\164\171\160\145" => "\143\141\x73\150", "\164\151\164\154\145" => "\347\x8e\xb0\351\207\221", "\151\143\157\156" => "\151\x63\x6f\156\x2d\165\x6e\151\145\71\63\145", "\x63\x6f\154\x6f\162" => "\x23\146\x62\143\x64\x34\x64", "\142\141\154\141\156\143\145" => 0.0, "\x69\156\143\157\155\x65" => 0.0, "\x65\170\160\145\156\144\151\164\165\162\145" => 0.0, "\x72\x65\x6d\x61\162\x6b" => "\347\216\xb0\xe9\x87\221\350\xb4\246\xe6\210\xb7", "\x61\143\143\x6f\x75\156\164" => '', "\x73\x74\141\x74\x75\x73" => 1, "\165\160\x64\141\x74\145\137\x74\x69\155\145" => time(), "\x63\x72\145\141\x74\x65\137\x74\x69\x6d\145" => time()], ["\x75\156\151\141\143\x69\x64" => $_W["\x75\156\x69\141\x63\x69\x64"], "\157\160\x65\x6e\151\144" => $_W["\x6f\x70\x65\x6e\x69\x64"], "\x74\x79\x70\x65" => "\x77\x65\160\x61\171", "\164\151\x74\154\145" => "\xe5\276\xae\344\277\241", "\x69\143\x6f\x6e" => "\151\x63\157\x6e\55\x77\x65\x63\x68\x61\x74\x31\61\71\63\x34\x31\70\x65\141\163\171\151\x63\157\x6e\156\145\164", "\143\x6f\154\x6f\x72" => "\43\67\x65\x64\x35\x33\144", "\142\x61\154\x61\156\x63\145" => 0.0, "\x69\x6e\x63\157\155\x65" => 0.0, "\145\x78\x70\x65\x6e\x64\x69\x74\165\x72\145" => 0.0, "\x72\145\x6d\141\x72\x6b" => "\345\xbe\xae\344\277\241\346\x94\xaf\344\273\x98", "\x61\x63\x63\x6f\165\x6e\x74" => '', "\x73\x74\141\164\165\163" => 1, "\x75\x70\x64\x61\x74\145\x5f\164\151\155\145" => time(), "\x63\162\x65\141\x74\145\x5f\164\x69\155\x65" => time()], ["\165\156\x69\x61\143\x69\x64" => $_W["\165\x6e\x69\x61\143\151\x64"], "\157\x70\145\156\151\144" => $_W["\157\160\145\156\x69\144"], "\x74\171\160\x65" => "\141\x6c\x69\160\x61\x79", "\164\151\164\x6c\145" => "\346\224\257\xe4\273\230\xe5\256\x9d", "\151\x63\157\156" => "\151\x63\x6f\156\x2d\x75\x6e\151\x66\x31\x30\x34\61", "\x63\x6f\154\157\162" => "\x23\x30\61\141\64\146\x31", "\142\141\154\x61\156\143\x65" => 0.0, "\151\156\x63\x6f\155\x65" => 0.0, "\x65\x78\x70\145\156\144\151\164\x75\x72\x65" => 0.0, "\162\x65\x6d\141\x72\153" => "\xe6\x94\257\xe4\273\230\345\xae\x9d\346\x94\257\xe4\273\x98", "\141\x63\143\157\x75\156\164" => '', "\x73\x74\x61\x74\165\x73" => 1, "\165\160\144\x61\164\x65\137\164\151\155\x65" => time(), "\143\162\145\141\x74\145\x5f\164\x69\155\x65" => time()]];
goto DPz1e;
DhaDx:
return $accounts;
goto oh342;
oh342:
}
function initCategory($book_id = 0)
{
goto LOsc1;
qqHLG:
if (!empty($cates)) {
goto OTWyH;
}
goto RhpgC;
ghLh8:
if (!empty($category)) {
goto RcqGV;
}
goto b062J;
aVoHj:
$category = pdo_fetch("\x53\x45\x4c\x45\103\x54\40\151\x64\40\x46\x52\x4f\x4d\x20" . tablename("\x78\170\x62\x5f\x62\157\157\153\137\143\141\164\x65\147\x6f\162\x79") . "\x20\x57\110\x45\x52\x45\x20\165\x6e\x69\x61\143\x69\144\x20\75\40\72\x75\156\151\141\x63\151\x64\40\101\x4e\104\x20\142\x6f\x6f\153\x5f\x69\144\x20\75\40\x3a\x62\x6f\157\153\137\x69\x64", array("\72\165\x6e\151\141\143\151\144" => $_W["\x75\x6e\x69\141\x63\x69\144"], "\72\x62\x6f\x6f\153\137\151\144" => $book_id));
goto ghLh8;
b062J:
$book = pdo_fetch("\123\x45\x4c\x45\x43\x54\x20\x69\x64\54\164\x79\x70\x65\40\x46\x52\117\115\40" . tablename("\x78\170\142\x5f\x62\157\x6f\153\137\x62\x6f\x6f\x6b") . "\40\127\x48\105\x52\105\40\x75\156\151\x61\x63\151\144\40\75\x20\x3a\165\x6e\151\x61\143\151\144\x20\101\116\104\40\x69\144\x20\x3d\40\72\x69\144", array("\x3a\165\x6e\151\x61\143\151\x64" => $_W["\165\x6e\151\x61\143\x69\144"], "\72\151\144" => $book_id));
goto f3xCY;
f3xCY:
if ($book) {
goto uQYTr;
}
goto V0xU1;
Uw73r:
$categorys = pdo_fetchall("\123\x45\x4c\x45\103\124\x20\x69\144\54\164\151\164\154\145\x2c\151\x63\157\156\x2c\x63\157\x6c\x6f\162\x2c\164\x79\160\145\40\106\x52\x4f\115\40" . tablename("\170\170\142\137\x62\x6f\x6f\x6b\137\x63\x61\x74\145\x67\x6f\x72\x79") . "\x20\127\x48\105\122\x45\40\165\156\x69\141\x63\151\x64\40\75\x20\72\165\x6e\151\x61\143\x69\x64\40\101\x4e\104\40\142\x6f\157\x6b\x5f\x69\x64\x20\x3d\x20\x3a\142\157\x6f\153\137\x69\x64\40\x41\116\104\x20\163\164\x61\x74\x75\x73\40\75\40\61\x20\x6f\x72\144\x65\162\40\142\x79\x20\x69\144\x20\x61\x73\143", array("\x3a\x75\x6e\151\x61\x63\x69\x64" => $_W["\x75\x6e\151\141\143\151\144"], "\x3a\142\157\x6f\x6b\x5f\151\144" => $book_id));
goto Lg_uA;
Lg_uA:
return $categorys;
goto xLudD;
LOsc1: global $_W;
goto aVoHj;
yGKRN:
$cates = pdo_fetchall("\123\x45\x4c\x45\103\x54\x20\151\143\157\x6e\x2c\x74\x69\164\154\x65\x2c\143\157\154\x6f\x72\54\x60\164\x79\160\x65\x60\40\106\122\117\x4d\x20" . tablename("\170\x78\x62\x5f\x62\x6f\157\153\137\x63\x61\164\x65\147\157\162\x79\137\x64\x65\146\141\165\x6c\x74") . "\40\40\x57\x48\105\122\105\x20\165\156\x69\x61\x63\151\x64\x20\75\x20\x3a\x75\x6e\x69\x61\143\151\144\x20\x41\x4e\104\x20\x63\141\x74\145\40\75\40\72\x63\141\164\x65\40\x4f\x52\x44\x45\122\x20\x42\131\40\x69\x64\40\x61\163\143", array("\72\x75\x6e\151\x61\143\x69\x64" => $_W["\x75\x6e\x69\141\143\151\x64"], "\x3a\x63\x61\x74\145" => $book["\x74\171\x70\x65"]));
goto qqHLG;
jLp4o: OTWyH:
goto E2XRS;
V0xU1:
return [];
goto CfHJw;
BDqOJ: RcqGV:
goto Uw73r;
RhpgC:
$cates = $this->default_cates[$book["\x74\171\x70\x65"]];
goto jLp4o;
oKNWg: arsvS:
goto BDqOJ;
wbD6u: uQYTr:
goto yGKRN;
E2XRS:
foreach ($cates as $k => $v) {
goto hrOUh;
FKHkw:
$v["\x63\162\145\x61\x74\x65\137\x74\x69\x6d\145"] = time();
goto Yq_t1;
eJonC:
$v["\142\157\x6f\153\137\x69\x64"] = $book_id;
goto VFHob;
ZQFZf:
$v["\x6f\x70\145\156\151\x64"] = $_W["\157\160\145\156\x69\x64"];
goto eJonC;
Yq_t1:
pdo_insert("\170\170\x62\x5f\x62\x6f\157\x6b\137\143\141\x74\145\x67\x6f\162\x79", $v);
goto IA0Py;
hrOUh:
$v["\165\156\151\x61\x63\151\x64"] = $_W["\165\x6e\151\141\143\151\x64"];
goto ZQFZf;
IA0Py: PnSnv:
goto kSlS1;
VFHob:
$v["\x75\x70\144\141\164\x65\x5f\164\x69\x6d\x65"] = time();
goto FKHkw;
kSlS1:
}
goto XFmFk;
XFmFk: sS11L:
goto oKNWg;
CfHJw:
goto arsvS;
goto wbD6u;
xLudD:
}
function getRecording($condition = array())
{
goto YGQI9;
VN_mF: XlEu7:
goto jdviF;
jdviF:
if (!($condition["\x6f\x66\x66\x73\x65\164"] || $condition["\x6f\x66\146\163\x65\164"] === 0 || $condition["\x6d\151\156\x5f\155\157\156\164\150"])) {
goto GzHJY;
}
goto UnS19;
aTYEX: B9oPN:
goto WaoOd;
WaoOd:
return $recordings;
goto ifTxI;
dQc0s:
$limit = $condition["\154\x69\x6d\151\x74"] ? "\154\151\x6d\151\x74\40" . $condition["\154\x69\155\151\164"] : '';
goto EIDj8;
UnS19:
$recordings = $this->recursiveRecording($where, $options, $condition["\x6f\x66\146\x73\145\x74"], $condition);
goto LAI1O;
T342S:
$options["\x3a\141\143\x63\x6f\x75\156\164\137\151\x64"] = $condition["\x61\x63\x63\x6f\165\x6e\164\137\151\144"];
goto Ty5qB;
YGQI9: global $_W;
goto AudzU;
P0qYR:
$recordings = pdo_fetchall("\123\x45\x4c\x45\x43\x54\40\162\56\x69\x64\54\x72\56\157\x70\145\x6e\x69\144\x2c\x72\x2e\x74\171\x70\x65\54\162\56\155\x6f\156\145\171\54\162\x2e\x62\157\157\x6b\x5f\151\144\x2c\x72\x2e\x63\141\164\x65\x5f\151\x64\54\162\56\141\x63\143\x6f\x75\x6e\x74\x5f\151\144\x2c\x72\56\x72\145\155\141\x72\153\54\x72\x2e\x69\155\x61\147\145\54\x72\56\144\141\x74\145\54\x72\x2e\x61\144\144\162\145\x73\163\54\x72\x2e\x6c\141\164\151\164\165\x64\145\54\x72\x2e\154\x6f\156\x67\151\x74\x75\x64\x65\54\162\56\x61\x64\x64\162\145\163\x73\x6e\141\155\x65\x2c\x63\x2e\x74\151\x74\x6c\x65\54\143\56\x69\x63\157\156\x2c\143\56\x63\x6f\x6c\x6f\x72\x2c\155\x2e\x6e\151\143\153\156\141\155\x65\x20\106\122\117\x4d\40" . tablename("\x78\x78\x62\x5f\x62\157\x6f\x6b\137\x72\145\x63\157\x72\144\151\x6e\x67") . "\x20\162\x20\x6c\x65\x66\164\x20\152\157\151\156\40" . tablename("\170\x78\142\137\142\157\x6f\153\x5f\143\141\164\145\147\x6f\162\171") . "\40\x63\40\157\156\x20\x72\x2e\x63\141\x74\x65\x5f\151\x64\40\x3d\x20\143\56\151\144\x20\141\x6e\x64\40\143\56\163\x74\x61\164\x75\x73\x20\75\40\61\40\154\x65\146\164\x20\152\157\151\156\40" . tablename("\170\170\x62\137\x62\157\x6f\153\x5f\155\x65\155\x62\x65\x72") . "\x20\x6d\40\x6f\156\x20\162\x2e\157\x70\145\156\x69\x64\x20\x3d\x20\x6d\x2e\157\x70\x65\x6e\151\x64" . $where . "\x20\x6f\162\x64\145\x72\40\142\x79\x20\x72\x2e\x64\141\x74\x65\40\x64\145\163\x63\54\x72\56\x69\x64\40\x64\145\163\143\x20" . $limit, $options);
goto Mgf4T;
uDr06:
$where .= "\x20\101\116\x44\x20\162\56\151\x64\40\x3d\x20\x3a\x69\144";
goto mx9ol;
fiwCn:
if (!$condition["\151\144"]) {
goto xqYHd;
}
goto uDr06;
tkNL5:
$options["\72\x62\x6f\x6f\x6b\137\151\144"] = $condition["\142\157\157\153\137\151\x64"];
goto n72EH;
GDzRH:
$where .= "\40\x41\116\104\x20\162\56\142\x6f\157\153\137\x69\144\40\x3d\x20\x3a\142\x6f\157\x6b\x5f\151\144";
goto tkNL5;
f6RwN:
foreach ($recordings as &$v) {
$v["\151\155\141\x67\x65"] = $v["\x69\x6d\x61\147\145"] ? $_W["\141\x74\x74\141\x63\150\165\x72\x6c"] . $v["\151\x6d\141\x67\145"] : '';
bX7qk:
}
goto aTYEX;
LAI1O:
return $recordings;
goto B68K7;
I3RNi:
$options = array("\x3a\x75\x6e\151\141\x63\x69\144" => $_W["\165\x6e\151\141\143\151\144"]);
goto wXPE1;
Mgf4T: ZIH3g:
goto f6RwN;
zADUa:
$options["\x3a\x6f\x70\x65\x6e\x69\144"] = $condition["\157\x70\145\156\x69\144"];
goto VN_mF;
AudzU:
$where = "\40\127\x48\x45\x52\105\40\x72\56\165\156\151\141\x63\x69\x64\x20\x3d\x20\x3a\165\x6e\x69\141\x63\x69\x64\x20\101\x4e\104\x20\x72\x2e\163\164\141\164\x75\x73\40\x3d\40\x31";
goto I3RNi;
Hy7tJ:
$where .= "\x20\101\x4e\x44\x20\x72\x2e\x6f\160\x65\x6e\151\x64\x20\x3d\x20\72\157\160\x65\x6e\151\144";
goto zADUa;
dxdSZ: xqYHd:
goto Tq1DA;
gOGew:
$recordings = pdo_fetchall("\123\x45\114\x45\x43\x54\40\x72\56\151\144\x2c\162\x2e\x6f\160\x65\156\x69\x64\54\162\56\x74\171\x70\x65\x2c\x72\x2e\155\x6f\156\145\171\x2c\162\56\142\x6f\x6f\153\x5f\x69\x64\54\162\56\143\x61\x74\145\x5f\x69\144\54\x72\56\141\x63\143\157\165\156\164\x5f\151\144\x2c\162\56\162\x65\155\141\162\x6b\54\x72\x2e\x69\x6d\x61\x67\x65\x2c\162\x2e\144\141\x74\x65\x2c\162\x2e\x61\x64\x64\x72\x65\x73\163\54\162\x2e\154\141\x74\x69\164\165\144\145\x2c\162\56\154\157\156\x67\151\x74\165\x64\x65\x2c\162\x2e\x61\144\x64\x72\x65\163\x73\156\x61\155\145\54\x63\x2e\x74\x69\x74\154\x65\x2c\143\56\151\143\x6f\156\x2c\143\x2e\x63\157\x6c\x6f\162\x20\106\x52\117\115\x20" . tablename("\x78\x78\142\x5f\142\x6f\157\153\137\x72\x65\143\157\x72\144\x69\156\x67") . "\x20\162\40\x6c\145\x66\x74\40\x6a\x6f\x69\156\x20" . tablename("\170\x78\142\x5f\x62\157\x6f\153\x5f\x63\x61\164\145\x67\x6f\162\171") . "\40\143\x20\157\156\40\x72\x2e\x63\141\164\x65\x5f\x69\144\40\x3d\40\143\56\151\x64\x20\x61\156\144\40\x63\x2e\x73\x74\x61\x74\165\x73\x20\75\x20\61" . $where . "\40\157\x72\144\145\x72\x20\x62\x79\x20\162\x2e\144\x61\164\145\x20\144\145\x73\x63\x2c\162\x2e\151\x64\x20\x64\x65\163\143\40" . $limit, $options);
goto BMmIr;
RHUnn:
if (!$condition["\157\160\x65\156\x69\144"]) {
goto XlEu7;
}
goto Hy7tJ;
Ty5qB: rQnYU:
goto RHUnn;
xJE_u:
$where .= "\40\x41\116\x44\x20\162\56\x61\x63\x63\x6f\165\x6e\164\x5f\x69\x64\40\75\40\72\141\143\143\x6f\165\156\164\137\x69\x64";
goto T342S;
B68K7: GzHJY:
goto dQc0s;
BMmIr:
goto ZIH3g;
goto kzQbG;
Tq1DA:
if (!$condition["\x61\x63\143\x6f\165\x6e\164\137\151\x64"]) {
goto rQnYU;
}
goto xJE_u;
n72EH: TaAJh:
goto fiwCn;
EIDj8:
if ($condition["\147\145\x74\x6d\x65\155\x62\145\x72"]) {
goto P7tFZ;
}
goto gOGew;
mx9ol:
$options["\x3a\151\144"] = $condition["\x69\x64"];
goto dxdSZ;
wXPE1:
if (!$condition["\142\x6f\157\x6b\x5f\x69\144"]) {
goto TaAJh;
}
goto GDzRH;
kzQbG: P7tFZ:
goto P0qYR;
ifTxI:
}
private function recursiveRecording($where, $options, $offset, $condition, $count = 0)
{
goto VEVsP;
kNmkD:
$newoptions["\72\155\x69\x6e\x64\x61\164\145"] = $mindate;
goto DPJ34;
O5ql8:
$mindate = strtotime(date("\131\55\x6d\x2d\x30\x31", $maxdate));
goto XV0bh;
sIhXf:
$recordings = pdo_fetchall("\123\105\x4c\105\103\x54\x20\162\x2e\x69\x64\54\x72\56\157\x70\145\x6e\151\144\x2c\x72\56\164\x79\160\145\54\x72\56\x6d\x6f\156\145\x79\x2c\x72\56\x62\x6f\x6f\153\x5f\x69\x64\54\162\56\x63\x61\x74\x65\137\x69\144\54\162\56\x61\143\143\157\165\156\164\137\151\144\x2c\162\x2e\162\145\155\141\162\153\x2c\x72\56\x69\x6d\141\x67\x65\54\x72\56\x64\141\164\x65\54\x72\x2e\141\144\x64\x72\145\x73\x73\54\162\x2e\x6c\141\164\x69\x74\x75\x64\145\x2c\162\56\154\x6f\156\147\x69\x74\x75\x64\145\54\x72\56\141\x64\x64\162\145\163\x73\156\141\x6d\x65\x2c\143\x2e\164\151\x74\x6c\145\x2c\143\56\x69\x63\157\x6e\54\x63\x2e\143\x6f\154\x6f\x72\54\155\56\x6e\151\143\153\156\141\x6d\145\x20\106\122\x4f\x4d\x20" . tablename("\x78\x78\x62\137\x62\157\157\x6b\x5f\162\145\143\157\x72\144\x69\156\x67") . "\40\162\40\x6c\x65\x66\164\40\152\157\x69\156\x20" . tablename("\x78\x78\142\x5f\x62\x6f\157\x6b\137\143\141\164\145\147\157\x72\x79") . "\x20\x63\x20\x6f\156\x20\x72\56\143\141\164\145\x5f\151\x64\x20\75\40\x63\x2e\151\x64\x20\141\x6e\144\x20\143\56\x73\x74\x61\164\x75\x73\40\x3d\x20\61\40\154\145\146\164\40\x6a\x6f\151\x6e\x20" . tablename("\x78\x78\x62\x5f\142\157\x6f\x6b\x5f\155\145\155\x62\x65\162") . "\40\155\x20\157\156\x20\162\x2e\157\160\x65\156\x69\144\40\x3d\x20\155\x2e\157\160\x65\x6e\x69\144" . $newwhere . "\x20\157\x72\144\145\162\x20\142\x79\x20\x72\x2e\x64\x61\164\x65\x20\144\145\163\x63\x2c\162\56\151\144\40\x64\145\x73\x63", $newoptions);
goto A0R1_;
Db55J:
if (!($count < 20)) {
goto TvkzE;
}
goto YFdOn;
VPZ7t: F3M1z:
goto LmRpO;
nrDW2:
$recordings = array_merge($recordings, $nextrecordings);
goto NNnWv;
HdQF5:
$mindate = strtotime(date("\x59\55\155\55\x30\x31", $maxdate));
goto Q1R08;
pUGUN:
$user_min_month = strtotime($condition["\x6d\x69\x6e\137\x6d\157\156\164\150"] . "\x30\x31");
goto VCgCU;
SUEJY:
$newoffset = $count + $offset;
goto jeMfE;
RERDA:
if ($condition["\147\145\164\155\145\x6d\x62\x65\x72"]) {
goto u1DDk;
}
goto bu12i;
vn6Q4:
$newwhere = $where . "\x20\x41\116\104\40\x72\56\144\141\164\x65\40\76\x3d\40\72\x6d\x69\156\x64\x61\x74\145\x20\101\x4e\104\x20\x72\x2e\144\141\164\145\40\x3c\75\40\x3a\x6d\x61\x78\144\x61\164\145";
goto cMJUB;
mtzMu:
return [];
goto VPZ7t;
XV0bh:
$condition["\155\x69\x6e\x5f\155\157\x6e\x74\x68"] = date("\x59\155", $mindate);
goto krkp3;
fTK2m:
$nextrecordings = $this->recursiveRecording($where, $options, $offset, $condition, $count);
goto nrDW2;
YFdOn:
$newoptions = $options;
goto YiQfL;
VEVsP: global $_W;
goto JHjxx;
yfrAe: TvkzE:
goto cQGSt;
krkp3: p8yX9:
goto vn6Q4;
NNnWv: L3H2N:
goto yfrAe;
gr0rj:
goto Au_20;
goto pTvmj;
DPJ34:
$newoptions["\72\155\x61\170\144\x61\164\x65"] = $maxdate;
goto RERDA;
cQGSt:
foreach ($recordings as &$v) {
$v["\x69\155\141\x67\145"] = $v["\151\155\141\x67\x65"] ? $_W["\141\164\x74\141\143\x68\x75\162\154"] . $v["\151\155\141\147\145"] : '';
nj9FY:
}
goto Nj0C6;
cMJUB:
$newoptions = $options;
goto kNmkD;
YiQfL:
$newoptions["\x3a\x6d\151\x6e\144\141\x74\x65"] = $mindate;
goto wqN06;
LmRpO:
$maxdate = $recording["\144\x61\x74\x65"];
goto HdQF5;
Qcgmt: n_cE7:
goto pUGUN;
VCgCU:
$maxdate = $user_min_month - 24 * 3600;
goto O5ql8;
Nj0C6: Id2Ku:
goto d5C8c;
MSjMs:
$count += count($recordings);
goto Db55J;
A0R1_: Au_20:
goto MSjMs;
wqN06:
$recording = pdo_fetch("\123\105\114\x45\103\x54\x20\x72\x2e\151\x64\54\162\x2e\x64\141\x74\145\x20\106\x52\x4f\x4d\40" . tablename("\x78\170\x62\x5f\x62\x6f\157\153\x5f\x72\x65\x63\x6f\x72\x64\151\156\x67") . "\x20\x72\x20\x6c\x65\146\164\x20\152\157\x69\x6e\x20" . tablename("\x78\x78\x62\x5f\x62\157\157\153\137\143\x61\164\145\x67\x6f\162\x79") . "\x20\143\40\157\x6e\40\x72\56\x63\x61\164\x65\137\151\x64\x20\x3d\40\x63\x2e\x69\x64\40\141\x6e\x64\x20\x63\56\163\x74\x61\164\x75\163\40\x3d\x20\61" . $where . "\x20\101\x4e\x44\40\162\x2e\144\141\164\145\40\x3c\40\72\x6d\151\x6e\144\x61\164\145\40\157\162\144\145\x72\x20\142\x79\x20\x72\56\x64\x61\164\x65\x20\x64\145\x73\143", $newoptions);
goto DVTFx;
Q1R08:
goto p8yX9;
goto Qcgmt;
jeMfE:
$recording = pdo_fetch("\x53\105\x4c\x45\x43\x54\x20\162\56\x69\144\x2c\162\x2e\x64\x61\x74\x65\x20\106\x52\x4f\x4d\x20" . tablename("\x78\170\x62\137\x62\157\x6f\x6b\x5f\162\x65\x63\x6f\162\144\151\x6e\x67") . "\x20\x72\40\154\145\x66\164\40\x6a\x6f\151\x6e\40" . tablename("\x78\x78\x62\x5f\x62\x6f\157\x6b\137\x63\x61\x74\145\x67\x6f\x72\x79") . "\40\x63\x20\157\x6e\40\162\56\x63\x61\164\x65\x5f\x69\x64\40\75\x20\x63\56\151\x64" . $where . "\x20\157\x72\144\x65\x72\x20\x62\171\x20\162\56\x64\141\164\x65\x20\144\145\163\x63\x2c\x72\x2e\151\144\x20\x64\145\x73\143\x20\154\x69\155\x69\x74\x20" . $newoffset . "\54\61", $options);
goto gWHOn;
JHjxx:
if ($condition["\155\x69\156\x5f\155\x6f\x6e\x74\x68"]) {
goto n_cE7;
}
goto SUEJY;
d5C8c:
return $recordings;
goto I8jZZ;
pTvmj: u1DDk:
goto sIhXf;
gWHOn:
if (!empty($recording)) {
goto F3M1z;
}
goto mtzMu;
bu12i:
$recordings = pdo_fetchall("\123\x45\114\105\103\x54\40\162\56\x69\144\x2c\162\x2e\x6f\160\x65\156\151\144\54\x72\x2e\x74\x79\x70\145\x2c\162\x2e\x6d\x6f\x6e\x65\x79\54\162\x2e\142\x6f\157\153\137\151\144\54\x72\56\x63\x61\164\145\x5f\151\x64\54\162\x2e\x61\143\143\157\x75\x6e\x74\x5f\151\x64\54\x72\56\x72\145\155\141\x72\153\x2c\162\x2e\151\155\141\147\x65\54\162\56\x64\141\164\x65\54\x72\56\x61\x64\x64\162\x65\163\x73\54\162\x2e\x6c\x61\x74\151\x74\x75\144\145\54\x72\56\x6c\157\156\147\151\x74\165\x64\145\54\162\x2e\x61\144\144\x72\x65\x73\x73\156\x61\x6d\145\54\x63\56\x74\x69\164\x6c\x65\x2c\x63\56\151\x63\x6f\156\54\143\56\143\157\x6c\x6f\162\40\106\122\x4f\x4d\40" . tablename("\170\170\142\137\142\157\157\153\137\162\x65\x63\x6f\162\144\151\156\147") . "\40\162\x20\154\145\146\x74\x20\x6a\157\x69\x6e\x20" . tablename("\x78\170\x62\x5f\142\157\x6f\153\137\x63\141\164\145\x67\157\x72\x79") . "\x20\x63\40\x6f\156\x20\162\56\x63\141\x74\145\137\x69\x64\40\75\x20\143\56\151\x64\x20\x61\156\144\x20\143\56\163\x74\141\164\165\x73\40\x3d\x20\61" . $newwhere . "\40\157\162\144\x65\x72\x20\x62\x79\x20\162\x2e\144\141\x74\x65\40\x64\145\163\x63\x2c\x72\x2e\151\x64\40\144\x65\x73\143", $newoptions);
goto gr0rj;
DVTFx:
if (!$recording) {
goto L3H2N;
}
goto fTK2m;
I8jZZ:
}
function getBook($condition = array())
{
goto DgSS4;
DgSS4: global $_W;
goto VDOtn;
xlIuX:
if (!$condition["\x6f\160\x65\x6e\151\144"]) {
goto q38qJ;
}
goto W0cxd;
BtZl6:
if (!$condition["\151\x64"]) {
goto uFLPN;
}
goto G2w0j;
W0cxd:
$where .= "\x20\101\116\104\40\x62\x2e\157\160\145\156\x69\144\40\75\x20\x3a\x6f\x70\145\156\x69\x64";
goto KEXR1;
KEXR1:
$options["\x3a\x6f\160\x65\156\151\144"] = $condition["\157\x70\x65\x6e\x69\144"];
goto XDeTe;
aoJOE:
return $books;
goto vFTg6;
ZSDKR:
$options = array("\72\x75\156\x69\x61\143\x69\x64" => $_W["\165\x6e\151\141\x63\x69\x64"]);
goto xlIuX;
nIXZh:
if (!$condition["\x69\156\x69\164"]) {
goto k0I7y;
}
goto p6M9_;
PpHd5:
$options["\72\x6f\160\x65\x6e\151\x64"] = $_W["\157\x70\x65\156\x69\144"];
goto PwlRt;
zQ0nx: uFLPN:
goto nIXZh;
PwlRt: k0I7y:
goto mb6sm;
p6M9_:
$where .= "\40\x41\x4e\x44\40\x62\x2e\151\x6e\x69\x74\x20\x3d\x20\x31\40\101\x4e\x44\x20\142\x2e\x6f\160\x65\156\x69\x64\40\x3d\40\72\x6f\160\145\x6e\151\x64";
goto PpHd5;
VDOtn:
$where = "\40\127\110\x45\122\105\x20\x62\56\165\x6e\151\x61\143\x69\x64\x20\75\40\x3a\165\x6e\151\x61\143\151\x64\x20\101\x4e\x44\x20\x62\x2e\x73\164\141\164\165\163\x20\x3d\40\61";
goto ZSDKR;
mb6sm:
$books = pdo_fetchall("\x53\x45\x4c\105\x43\124\x20\x62\x2e\x69\x64\x2c\142\x2e\x6f\160\x65\156\x69\x64\x2c\x62\x2e\x74\151\164\154\x65\x2c\142\56\164\171\x70\145\54\142\56\151\x6e\x63\x6f\x6d\x65\54\x62\56\x65\x78\160\145\156\x64\151\x74\165\x72\x65\x2c\142\56\143\157\x6c\157\x72\61\54\x62\x2e\x63\x6f\154\x6f\162\x32\x2c\x62\x2e\155\157\x6e\164\150\x6c\x79\137\x62\x75\144\147\x65\164\x2c\142\x2e\151\x6e\151\x74\54\142\x2e\x63\x72\145\141\164\145\137\164\x69\155\x65\54\155\x2e\156\x69\143\153\x6e\141\155\145\54\x6d\56\x68\x65\141\144\x69\155\x67\x75\162\154\x2c\x28\123\x45\114\x45\103\124\40\x43\117\x55\116\x54\50\52\51\40\x46\122\x4f\x4d\40" . tablename("\x78\x78\142\x5f\x62\157\x6f\x6b\137\142\x6f\x6f\153\x5f\155\x65\x6d\x62\x65\x72") . "\40\127\x48\105\x52\105\x20\x75\156\151\x61\143\x69\x64\40\75\40\x3a\165\156\x69\141\143\151\144\40\x41\116\x44\x20\163\164\141\164\x75\x73\40\75\40\61\40\x41\116\104\x20\x62\157\157\153\x5f\151\x64\x20\75\40\142\x2e\x69\144\51\40\x61\163\40\x63\x6f\x75\x6e\x74\155\145\155\x62\x65\162\40\106\122\117\115\40" . tablename("\x78\x78\142\137\x62\157\157\x6b\x5f\142\x6f\157\x6b") . "\x20\x62\x20\154\x65\146\164\x20\152\157\151\x6e\x20" . tablename("\x78\x78\142\137\x62\x6f\157\153\137\x6d\145\155\x62\x65\162") . "\x20\155\40\157\x6e\40\x62\x2e\x6f\160\145\x6e\x69\144\x20\75\40\155\x2e\157\x70\x65\156\151\x64" . $where . "\x20\x6f\162\144\x65\162\40\142\x79\40\x62\x2e\151\144\40\x61\163\143", $options);
goto aoJOE;
XDeTe: q38qJ:
goto BtZl6;
G2w0j:
$where .= "\40\101\x4e\x44\40\142\56\x69\144\40\75\x20\x3a\151\144";
goto Ay8jZ;
Ay8jZ:
$options["\72\x69\x64"] = $condition["\151\144"];
goto zQ0nx;
vFTg6:
}
function getBookMember($book)
{
goto n6cMz;
aYIpP:
$member = $this->getMember($book["\157\160\x65\156\151\x64"]);
goto c9pmU;
c9pmU:
$member["\x61\x75\x74\150"] = 0;
goto Fib72;
eM52q: tVMkU:
goto HEFeo;
n6cMz: global $_W;
goto aYIpP;
HEFeo:
return $book_members;
goto iYwZT;
rUmMm:
$book_members = array_merge([$member], $book_members);
goto tE7t1;
Fib72:
$book_members = pdo_fetchall("\x53\x45\x4c\x45\103\x54\x20\x62\155\56\141\x75\164\x68\x2c\155\x2e\156\151\143\x6b\x6e\x61\x6d\x65\54\x6d\56\150\145\141\x64\x69\155\147\165\162\x6c\54\x6d\56\x6f\x70\145\156\151\x64\x20\106\x52\x4f\115\40" . tablename("\x78\x78\x62\x5f\x62\157\x6f\x6b\137\x62\x6f\x6f\153\x5f\x6d\x65\x6d\x62\x65\162") . "\40\142\155\40\154\x65\x66\x74\40\152\157\151\x6e\40" . tablename("\170\x78\x62\137\x62\157\157\x6b\x5f\155\145\155\x62\145\x72") . "\x20\x6d\x20\x6f\156\x20\142\x6d\x2e\157\160\x65\156\x69\x64\40\75\x20\x6d\56\157\x70\145\156\x69\x64\40\127\110\105\x52\105\40\142\155\x2e\165\156\151\x61\x63\151\x64\x20\75\x20\72\165\x6e\x69\141\143\x69\144\x20\101\116\x44\40\142\155\56\x73\164\141\164\165\163\40\75\x20\61\40\x41\x4e\x44\40\x62\155\x2e\142\x6f\x6f\x6b\137\151\144\x20\75\40\x3a\142\157\157\153\x5f\x69\144\40\x6f\162\x64\x65\162\x20\x62\x79\x20\x62\x6d\56\151\144\x20\141\x73\143", ["\72\x75\x6e\151\141\x63\x69\x64" => $_W["\x75\156\151\141\x63\x69\144"], "\72\x62\157\157\x6b\x5f\x69\144" => $book["\x69\x64"]]);
goto rUmMm;
tE7t1:
foreach ($book_members as $k => $v) {
goto vmORu;
vmORu:
$date = strtotime(date("\x59\55\155\x2d\x30\x31"));
goto rl_xa;
Baey_:
$book_members[$k]["\x65\x78\160\x65\156\144\x69\164\165\162\x65"] = pdo_fetchcolumn("\x53\x45\114\105\103\124\40\123\125\115\x28\x6d\157\156\x65\x79\51\x20\x46\122\x4f\x4d\x20" . tablename("\170\170\x62\x5f\142\157\x6f\153\137\x72\145\x63\157\162\x64\151\x6e\147") . "\40\x57\x48\105\x52\105\x20\165\x6e\x69\x61\x63\151\x64\40\x3d\x20\72\165\156\151\x61\143\151\x64\40\101\116\x44\40\x62\x6f\157\x6b\x5f\151\x64\40\75\x20\x3a\x62\157\157\x6b\x5f\x69\x64\40\x41\116\104\40\157\x70\145\x6e\x69\144\40\x3d\40\72\157\x70\x65\156\151\144\40\101\116\104\40\x73\x74\x61\x74\165\163\40\x3d\x20\61\x20\101\116\x44\x20\x74\x79\160\x65\40\x3d\x20\62\x20\101\116\104\x20\144\141\x74\145\40\x3e\x3d\40\72\144\x61\164\145", array("\x3a\165\156\151\x61\x63\x69\x64" => $_W["\x75\156\151\141\143\151\144"], "\72\x62\x6f\157\153\137\151\144" => $book["\x69\x64"], "\x3a\157\160\x65\156\x69\x64" => $v["\x6f\x70\145\156\x69\x64"], "\72\144\141\164\x65" => $date));
goto jONLG;
rl_xa:
$book_members[$k]["\151\x6e\x63\157\x6d\145"] = pdo_fetchcolumn("\123\x45\114\105\x43\x54\x20\123\125\115\x28\155\157\156\x65\171\x29\x20\106\122\117\x4d\40" . tablename("\170\170\x62\x5f\x62\x6f\157\x6b\x5f\x72\x65\143\157\162\x64\x69\156\147") . "\40\x57\x48\105\x52\105\40\165\156\x69\x61\x63\151\144\x20\75\40\72\x75\156\151\141\x63\151\144\40\x41\x4e\104\40\x62\x6f\157\153\137\x69\x64\x20\75\40\x3a\x62\x6f\x6f\x6b\137\151\x64\40\x41\x4e\104\40\x6f\x70\x65\x6e\x69\x64\x20\x3d\x20\72\157\x70\145\156\x69\x64\40\101\x4e\x44\40\163\164\141\164\x75\163\40\75\40\x31\x20\101\116\x44\x20\x74\171\x70\x65\40\x3d\x20\x31\x20\x41\116\104\40\x64\x61\164\145\40\76\x3d\x20\72\x64\141\x74\x65", array("\72\x75\156\151\141\x63\x69\144" => $_W["\x75\156\x69\141\143\151\x64"], "\72\x62\x6f\x6f\153\137\151\144" => $book["\x69\144"], "\x3a\157\x70\145\156\x69\144" => $v["\157\x70\145\x6e\x69\x64"], "\x3a\144\x61\x74\x65" => $date));
goto Baey_;
jONLG: hfjJ8:
goto MVZrs;
MVZrs:
}
goto eM52q;
iYwZT:
}
function getBookMemberCount($book_id)
{
goto q7JKt;
D8UFM:
$countmember = pdo_fetchcolumn("\x53\x45\x4c\105\103\124\40\103\x4f\x55\x4e\x54\50\52\x29\40\x46\x52\117\x4d\40" . tablename("\x78\x78\142\137\x62\157\x6f\153\137\x62\x6f\x6f\x6b\137\155\x65\x6d\142\145\x72") . "\40\127\x48\x45\x52\x45\40\x75\x6e\151\x61\143\x69\144\x20\75\x20\x3a\x75\x6e\x69\141\143\x69\x64\40\x41\116\104\x20\163\x74\141\164\165\x73\40\75\x20\x31\x20\x41\x4e\x44\x20\142\x6f\157\153\137\151\144\x20\x3d\40\x3a\142\x6f\x6f\x6b\x5f\151\x64", array("\72\165\156\x69\x61\x63\x69\144" => $_W["\165\x6e\x69\x61\143\151\x64"], "\72\142\157\157\x6b\137\x69\x64" => $book_id));
goto GWeD4;
GWeD4:
return $countmember + 1;
goto r_219;
q7JKt: global $_W;
goto D8UFM;
r_219:
}
function getAccount($condition = array())
{
goto PdRNO;
Hwo6I: EEJGH:
goto a5wZZ;
XB33g:
if (!$condition["\151\144"]) {
goto EEJGH;
}
goto mlEcs;
ej9p2:
$options["\72\x69\144"] = $condition["\x69\x64"];
goto Hwo6I;
mlEcs:
$where .= "\x20\x41\116\104\x20\x69\x64\40\75\40\72\151\x64";
goto ej9p2;
PdRNO: global $_W;
goto FzQuM;
a5wZZ:
$accounts = pdo_fetchall("\x53\x45\x4c\x45\x43\x54\40\151\144\54\x74\x79\160\145\x2c\x74\x69\164\154\145\x2c\151\143\x6f\x6e\x2c\x63\157\x6c\x6f\x72\54\142\x61\x6c\x61\x6e\143\145\54\x69\156\x63\157\155\x65\x2c\145\x78\160\x65\156\144\151\x74\165\x72\145\54\162\x65\x6d\141\162\x6b\x2c\x61\x63\x63\157\x75\x6e\x74\54\x63\x72\145\141\x74\145\137\x74\x69\155\145\40\x46\122\x4f\115\40" . tablename("\170\x78\142\x5f\x62\157\157\153\x5f\141\x63\143\x6f\x75\156\164") . $where . "\x20\157\162\x64\145\x72\x20\142\x79\x20\x69\x64\x20\x61\x73\x63", $options);
goto aLvJS;
zzldi:
$options = array("\72\165\x6e\x69\x61\x63\x69\144" => $_W["\x75\156\x69\141\143\151\x64"], "\x3a\157\160\x65\x6e\151\144" => $_W["\157\x70\145\x6e\x69\x64"]);
goto XB33g;
FzQuM:
$where = "\40\x57\110\105\x52\105\40\x75\x6e\151\141\143\x69\144\x20\x3d\40\72\165\156\151\141\x63\x69\144\40\101\x4e\x44\40\157\160\145\x6e\x69\144\x20\x3d\40\x3a\x6f\160\145\x6e\151\144\40\x41\x4e\104\x20\x73\x74\141\x74\165\x73\x20\75\40\x31";
goto zzldi;
aLvJS:
return $accounts;
goto iylqZ;
iylqZ:
}
function accumulate($recording = array(), $oldrecording = array())
{
goto xns1q;
eYPYg:
$money = -$oldrecording["\155\x6f\156\145\171"];
goto bDShu;
Ns6kg:
goto AMbHW;
goto wvJpz;
q3mST:
$money = $recording["\155\157\x6e\145\x79"] - $oldrecording["\155\157\156\145\x79"];
goto A90bn;
bRXov:
$type = $oldrecording["\164\x79\160\x65"];
goto o6GNg;
sW3EI:
goto pR2HB;
goto tuE_T;
U1j0y:
goto RFIri;
goto h_M5i;
H3nfJ:
pdo_query("\x75\x70\x64\x61\x74\x65\40" . tablename("\x78\170\142\x5f\x62\x6f\157\x6b\x5f\x6d\x65\155\x62\145\x72") . "\x20\x73\145\x74\x20\x65\x78\160\x65\x6e\144\151\164\165\162\145\x3d\145\170\160\145\x6e\144\151\164\x75\x72\x65{$money}\x20\127\110\x45\122\x45\40\157\x70\145\156\151\x64\40\x3d\x20\x3a\157\160\145\156\151\x64\40\101\x4e\x44\x20\165\156\151\x61\x63\151\144\75\x3a\165\156\151\141\x63\151\x64", array("\x3a\x6f\160\145\x6e\151\144" => $_W["\x6f\160\145\156\x69\144"], "\x3a\165\156\151\x61\x63\151\144" => $_W["\x75\x6e\151\x61\x63\x69\x64"]));
goto l7EiE;
xns1q: global $_W;
goto ikXZw;
uOB23:
$book_id = $recording["\142\157\157\x6b\137\151\x64"];
goto QV7T0;
qM620:
goto pR2HB;
goto mePMz;
l7EiE:
goto uZani;
goto t6503;
mePMz: C9fny:
goto M11QT;
azdJ7:
$book_id = $recording["\142\157\x6f\153\x5f\151\144"];
goto Hecc6;
CoNy_:
$account_id = $oldrecording["\x61\x63\143\157\165\x6e\x74\x5f\151\144"];
goto eYPYg;
qCYD3:
if (!$account_id1) {
goto u5w_K;
}
goto S5i4e;
Lkl1h:
$money2 = $recording["\x6d\157\156\x65\171"];
goto hnyyW;
vESRO:
$account_id2 = $recording["\x61\143\x63\157\165\156\164\x5f\x69\144"];
goto q3mST;
Pk1v3: pR2HB:
goto tI0mp;
B_cR2:
if ($type == 1) {
goto EWXw_;
}
goto H3nfJ;
Iv4Pn: kss8d:
goto qCYD3;
PR7IW: qj_Mm:
goto beAIt;
hnyyW: iJFoL:
goto dedDi;
GSxV8:
if ($money2) {
goto udNuV;
}
goto qM620;
TW_1l: G6F7F:
goto aVG6i;
mRp8c:
$money = $recording["\155\x6f\156\145\171"];
goto z51V3;
Hx91r: Zzt0c:
goto ETrjF;
B32sh:
$money2 = $recording["\155\x6f\x6e\145\x79"];
goto Rl3I7;
QTaps:
$type = $recording["\164\171\160\x65"];
goto uOB23;
QV7T0:
$account_id = $recording["\x61\x63\143\x6f\x75\x6e\x74\137\x69\x64"];
goto mRp8c;
bd8jL:
goto V2VVO;
goto TIl68;
O4OOV:
pdo_query("\165\x70\144\x61\164\x65\40" . tablename("\170\170\x62\137\142\x6f\157\153\137\141\x63\143\x6f\165\156\164") . "\40\163\145\x74\x20\x62\x61\x6c\x61\156\x63\x65\75\142\x61\x6c\x61\156\143\145\x2b{$money1}\54\145\170\160\x65\156\x64\x69\x74\165\x72\x65\x3d\145\170\160\145\x6e\144\x69\x74\x75\x72\x65\55{$money1}\x20\x57\x48\105\122\x45\40\151\144\x20\75\40\x3a\151\144\40\x41\116\104\40\157\x70\145\x6e\151\x64\x20\x3d\x20\72\157\x70\x65\156\151\144\40\101\x4e\104\x20\x75\x6e\151\x61\143\151\x64\75\x3a\165\156\x69\141\143\151\144", array("\x3a\151\144" => $account_id1, "\72\x6f\160\x65\x6e\151\144" => $_W["\157\x70\x65\x6e\151\x64"], "\x3a\x75\156\151\x61\x63\151\144" => $_W["\165\156\151\141\143\151\x64"]));
goto Td8Hj;
KuLkl:
pdo_query("\165\x70\x64\x61\164\x65\40" . tablename("\x78\x78\142\x5f\x62\157\157\153\x5f\x61\143\143\x6f\165\156\164") . "\x20\163\145\x74\x20\142\141\x6c\141\x6e\x63\145\x3d\142\141\154\x61\156\x63\x65\53{$money2}\54\151\x6e\143\157\155\145\x3d\151\156\x63\x6f\155\145\53{$money2}\x20\x57\110\105\x52\105\x20\151\144\x20\75\x20\72\151\144\40\x41\x4e\x44\x20\x6f\160\x65\156\x69\144\x20\75\40\72\x6f\160\x65\x6e\151\144\x20\x41\116\104\x20\x75\x6e\x69\x61\143\151\144\x3d\x3a\165\x6e\x69\x61\x63\x69\144", array("\72\x69\144" => $account_id2, "\x3a\157\x70\x65\x6e\151\144" => $_W["\157\x70\145\x6e\151\x64"], "\x3a\165\156\151\141\x63\x69\144" => $_W["\x75\x6e\151\141\143\151\x64"]));
goto TW_1l;
VngvA: eUSqh:
goto QTaps;
MN3gB:
goto pR2HB;
goto uCEvy;
IDGAS:
pdo_query("\165\160\x64\141\x74\145\40" . tablename("\170\170\142\137\142\157\x6f\153\137\x61\x63\143\x6f\165\x6e\164") . "\40\x73\145\x74\40\x62\x61\x6c\x61\x6e\143\145\x3d\142\x61\154\x61\x6e\x63\145\x2d{$money2}\x2c\x65\x78\160\145\x6e\144\x69\x74\165\162\145\75\145\x78\x70\145\x6e\x64\151\164\165\x72\x65\x2b{$money2}\x20\x57\110\x45\122\x45\x20\151\x64\40\75\x20\72\x69\144\40\x41\116\x44\40\x6f\160\x65\x6e\x69\x64\40\x3d\40\x3a\157\x70\x65\x6e\x69\144\40\101\116\104\40\165\x6e\x69\141\x63\151\144\75\72\165\x6e\151\x61\143\x69\x64", array("\x3a\x69\144" => $account_id2, "\x3a\x6f\x70\x65\x6e\151\144" => $_W["\157\160\x65\x6e\151\x64"], "\x3a\165\156\x69\141\x63\151\144" => $_W["\165\x6e\x69\x61\143\x69\x64"]));
goto p3yTf;
Rl3I7:
goto iJFoL;
goto VngvA;
xVr6L:
if (!$account_id1) {
goto Uevhs;
}
goto O4OOV;
ETrjF:
if (!$account_id2) {
goto qj_Mm;
}
goto v2omU;
V3RT0: uZani:
goto dpomM;
KOGci: mmbQ5:
goto sW3EI;
gBiUM:
if ($money1) {
goto YKfhe;
}
goto GSxV8;
iabJX: V2VVO:
goto B_cR2;
XETsq:
goto mmbQ5;
goto Iv4Pn;
b7sLQ:
pdo_query("\165\x70\x64\141\x74\x65\40" . tablename("\170\170\142\137\142\157\x6f\153\137\x6d\x65\x6d\x62\x65\x72") . "\x20\x73\145\164\40\x69\x6e\x63\157\x6d\x65\x3d\x69\x6e\x63\x6f\x6d\145{$money}\x20\127\110\x45\x52\105\x20\157\160\145\x6e\151\144\40\75\x20\72\x6f\x70\145\156\151\144\40\x41\x4e\x44\x20\x75\156\x69\x61\x63\x69\x64\x3d\x3a\165\156\x69\141\x63\151\x64", array("\x3a\x6f\160\145\x6e\151\144" => $_W["\157\x70\x65\x6e\x69\144"], "\72\x75\156\x69\141\143\151\x64" => $_W["\165\x6e\x69\141\x63\x69\144"]));
goto V3RT0;
S3sG8: zuuXF:
goto Ns6kg;
uCEvy: YKfhe:
goto QXWRS;
dedDi:
$money = $money >= 0 ? "\53" . $money : $money;
goto wyGCs;
TIl68: Vewcu:
goto K4IUa;
wvJpz: iopN7:
goto pOX6t;
Hecc6:
$account_id1 = $oldrecording["\x61\143\143\157\165\x6e\164\x5f\x69\144"];
goto vESRO;
LQ229:
pdo_query("\165\160\x64\x61\x74\145\x20" . tablename("\170\170\142\x5f\142\x6f\x6f\153\137\141\x63\143\x6f\x75\156\164") . "\40\163\x65\164\x20\x62\141\x6c\x61\156\x63\145\75\x62\x61\154\141\x6e\x63\x65\x2d{$money1}\54\x69\x6e\143\x6f\155\x65\75\x69\x6e\143\x6f\x6d\x65\55{$money1}\40\x57\x48\105\122\x45\x20\x69\144\40\75\x20\72\x69\144\40\x41\116\x44\40\x6f\160\145\x6e\151\144\x20\75\40\x3a\157\x70\145\156\x69\x64\40\101\116\104\40\x75\156\151\x61\143\151\144\75\x3a\165\x6e\x69\x61\143\151\144", array("\72\x69\x64" => $account_id1, "\72\157\x70\x65\x6e\x69\144" => $_W["\x6f\160\145\156\151\144"], "\x3a\165\x6e\x69\141\143\151\x64" => $_W["\x75\156\151\x61\x63\x69\x64"]));
goto Hx91r;
t6503: EWXw_:
goto b7sLQ;
ikXZw:
if ($recording && $oldrecording) {
goto U6iaR;
}
goto sf5F7;
beAIt: RFIri:
goto MN3gB;
ZfPfQ:
if (!$account_id2) {
goto boELs;
}
goto IDGAS;
G28iZ: u5w_K:
goto KOGci;
wyGCs:
if ($type == 1) {
goto Vewcu;
}
goto BQgBt;
aVG6i: AMbHW:
goto Pk1v3;
QXWRS:
if ($type == 1) {
goto kss8d;
}
goto FZNz1;
v2omU:
pdo_query("\165\x70\x64\x61\164\145\40" . tablename("\x78\170\142\x5f\142\x6f\x6f\153\x5f\141\x63\x63\157\165\x6e\164") . "\40\163\145\x74\40\x62\141\154\x61\156\143\145\75\x62\x61\154\x61\156\x63\145\53{$money2}\x2c\x69\x6e\143\157\155\x65\75\151\156\x63\157\x6d\x65\x2b{$money2}\40\127\x48\105\x52\x45\40\151\x64\x20\75\40\72\x69\x64\40\101\x4e\x44\x20\x6f\x70\x65\x6e\151\144\x20\75\40\x3a\157\x70\x65\156\x69\144\40\x41\116\104\40\165\156\x69\141\143\151\144\x3d\x3a\165\156\151\x61\143\x69\144", array("\x3a\x69\x64" => $account_id2, "\72\x6f\160\x65\156\151\144" => $_W["\157\160\145\x6e\x69\x64"], "\72\x75\x6e\151\x61\x63\151\144" => $_W["\165\156\x69\141\143\151\144"]));
goto PR7IW;
K4IUa:
pdo_query("\165\160\x64\141\x74\145\40" . tablename("\170\170\x62\137\142\x6f\157\153\137\x62\157\x6f\153") . "\x20\163\x65\x74\x20\x69\x6e\143\x6f\155\145\x3d\x69\x6e\143\157\155\145{$money}\x20\127\x48\105\x52\x45\x20\x69\144\x20\x3d\x20\72\x69\144\40\101\116\104\40\165\x6e\151\141\x63\151\x64\75\72\165\x6e\x69\141\x63\x69\144", array("\x3a\151\144" => $book_id, "\x3a\x75\156\151\x61\x63\151\144" => $_W["\x75\156\x69\141\143\151\x64"]));
goto iabJX;
DafGy:
pdo_query("\165\160\144\x61\164\x65\40" . tablename("\170\x78\142\x5f\142\x6f\x6f\153\x5f\x61\143\143\x6f\165\156\164") . "\40\163\145\x74\40\142\141\x6c\x61\x6e\x63\x65\x3d\x62\141\x6c\x61\156\x63\x65\53{$money1}\x2c\145\x78\x70\145\156\x64\x69\x74\165\162\x65\x3d\145\x78\x70\x65\x6e\144\x69\x74\165\162\145\x2d{$money1}\x20\127\110\105\122\x45\x20\151\x64\40\75\x20\72\151\144\40\101\x4e\104\x20\157\x70\x65\156\151\x64\x20\x3d\x20\x3a\x6f\x70\x65\x6e\x69\x64\x20\x41\x4e\x44\x20\165\156\151\141\x63\x69\144\x3d\72\165\156\x69\x61\143\151\144", array("\x3a\x69\144" => $account_id1, "\72\157\x70\x65\156\151\144" => $_W["\157\160\145\x6e\x69\144"], "\72\165\x6e\151\x61\x63\x69\x64" => $_W["\x75\156\151\x61\x63\x69\144"]));
goto ou7E4;
M11QT:
if ($type == 1) {
goto GFc5_;
}
goto xVr6L;
S5i4e:
pdo_query("\x75\x70\x64\x61\164\x65\x20" . tablename("\x78\170\142\x5f\142\x6f\x6f\x6b\x5f\141\x63\x63\x6f\x75\156\x74") . "\x20\163\x65\164\40\142\141\x6c\x61\x6e\x63\x65\75\x62\141\x6c\x61\156\143\x65\x2d{$money1}\54\151\x6e\x63\x6f\155\x65\75\151\156\x63\x6f\155\x65\x2d{$money1}\x20\127\110\x45\122\x45\x20\x69\x64\x20\x3d\40\72\151\x64\40\101\x4e\x44\x20\x6f\x70\145\x6e\x69\144\x20\x3d\40\x3a\157\160\145\x6e\151\x64\40\x41\x4e\x44\x20\165\156\151\141\143\x69\x64\x3d\x3a\165\156\x69\141\143\151\x64", array("\72\151\144" => $account_id1, "\x3a\157\160\145\156\x69\144" => $_W["\x6f\160\145\x6e\151\144"], "\x3a\165\156\151\141\143\x69\x64" => $_W["\x75\x6e\151\141\x63\151\144"]));
goto G28iZ;
A90bn:
$money1 = $oldrecording["\x6d\x6f\x6e\145\x79"];
goto B32sh;
Oygov:
pdo_query("\165\x70\144\x61\164\145\x20" . tablename("\x78\170\142\137\142\157\x6f\153\x5f\141\143\x63\x6f\165\x6e\x74") . "\x20\x73\x65\164\40\142\x61\x6c\141\156\143\145\x3d\x62\x61\x6c\x61\x6e\143\x65\x2d{$money2}\54\x65\170\160\145\156\144\151\x74\x75\x72\x65\75\x65\170\x70\145\x6e\x64\151\164\x75\x72\x65\53{$money2}\40\x57\x48\x45\x52\x45\x20\x69\144\x20\x3d\40\x3a\x69\x64\x20\101\116\x44\x20\x6f\160\145\x6e\151\144\x20\x3d\40\72\157\x70\x65\156\x69\144\40\101\x4e\x44\40\165\156\x69\141\143\x69\144\x3d\72\165\156\151\x61\143\x69\144", array("\x3a\151\144" => $account_id2, "\x3a\x6f\x70\x65\x6e\151\144" => $_W["\x6f\160\x65\x6e\151\x64"], "\72\x75\x6e\151\141\x63\151\x64" => $_W["\165\156\151\x61\143\151\x64"]));
goto S3sG8;
z51V3:
$account_id2 = $recording["\x61\x63\143\157\x75\x6e\x74\x5f\151\x64"];
goto Lkl1h;
p3yTf: boELs:
goto U1j0y;
axmms:
if ($type == 1) {
goto iopN7;
}
goto LG6AX;
ou7E4: QWqVL:
goto XETsq;
ZdPiS:
goto iJFoL;
goto MqwWk;
tuE_T: udNuV:
goto axmms;
BQgBt:
pdo_query("\x75\x70\x64\x61\164\145\x20" . tablename("\170\x78\x62\137\x62\x6f\x6f\153\137\142\x6f\x6f\153") . "\40\x73\145\164\x20\145\170\x70\x65\156\x64\151\164\165\x72\145\x3d\x65\170\160\145\x6e\x64\151\164\x75\162\x65{$money}\x20\x57\x48\x45\122\105\x20\x69\x64\x20\75\40\x3a\x69\x64\x20\101\x4e\x44\x20\165\x6e\x69\x61\x63\151\144\x3d\72\165\x6e\151\141\x63\151\144", array("\x3a\x69\x64" => $book_id, "\72\x75\x6e\151\x61\x63\151\x64" => $_W["\x75\156\151\x61\143\x69\144"]));
goto bd8jL;
MqwWk: U6iaR:
goto oCZNk;
o6GNg:
$book_id = $oldrecording["\142\x6f\157\153\x5f\x69\144"];
goto CoNy_;
kRwWY:
$money1 = $oldrecording["\x6d\157\x6e\145\x79"];
goto ZdPiS;
Td8Hj: Uevhs:
goto ZfPfQ;
oCZNk:
$type = $recording["\x74\x79\160\145"];
goto azdJ7;
pOX6t:
if (!$account_id2) {
goto G6F7F;
}
goto KuLkl;
h_M5i: GFc5_:
goto l6zQQ;
dpomM:
if ($money1 && $money2) {
goto C9fny;
}
goto gBiUM;
l6zQQ:
if (!$account_id1) {
goto Zzt0c;
}
goto LQ229;
FZNz1:
if (!$account_id1) {
goto QWqVL;
}
goto DafGy;
LG6AX:
if (!$account_id2) {
goto zuuXF;
}
goto Oygov;
sf5F7:
if ($recording) {
goto eUSqh;
}
goto bRXov;
bDShu:
$account_id1 = $oldrecording["\141\x63\x63\157\165\x6e\164\x5f\151\144"];
goto kRwWY;
tI0mp:
}
function strRand($length = 32, $char = "\60\61\x32\63\64\x35\66\67\x38\71\x61\x62\x63\144\x65\146\x67\x68\151\x6a\x6b\x6c\x6d\156\157\160\x71\162\163\x74\x75\166\x77\170\x79\172\101\102\103\x44\x45\x46\107\110\x49\x4a\x4b\114\115\x4e\117\x50\121\122\x53\124\125\x56\x57\130\131\x5a")
{
goto nYYG4;
DWU2w:
$i = $length;
goto qheHU;
q7xrI:
$i--;
goto pCPES;
eI7g1: FjnNb:
goto q7xrI;
nYYG4:
if (!(!is_int($length) || $length < 0)) {
goto RfdJM;
}
goto tr7F8;
tr7F8:
return false;
goto weisy;
yHs0n:
return $string;
goto LCz9K;
bIXCY:
$string = '';
goto DWU2w;
fYglm: JcRAK:
goto yHs0n;
pCPES:
goto wquqk;
goto fYglm;
Z_i_D:
$string .= $char[mt_rand(0, strlen($char) - 1)];
goto eI7g1;
weisy: RfdJM:
goto bIXCY;
Tckcl:
if (!($i > 0)) {
goto JcRAK;
}
goto Z_i_D;
qheHU: wquqk:
goto Tckcl;
LCz9K:
}
function sendRecordingRemind($openid, $tpl)
{
goto DEJt4;
C0sER:
goto PDYJl;
goto VqO5M;
NoFDy:
$data = ["\x74\x6f\165\163\x65\x72" => $openid, "\164\145\155\160\x6c\x61\x74\145\x5f\151\x64" => $tpl, "\160\141\147\x65" => "\x78\170\x62\x5f\x62\157\157\153\57\x69\x6e\x64\x65\x78\x2f\x69\156\x64\145\x78", "\x66\157\x72\x6d\137\151\144" => $formid["\146\x6f\162\x6d\151\x64"], "\x64\x61\164\x61" => ["\x6b\145\x79\167\x6f\x72\x64\x31" => ["\166\x61\154\165\145" => "\350\xae\260\350\264\xa6\xe6\x8f\x90\xe9\206\222"], "\x6b\x65\x79\x77\x6f\162\144\x32" => ["\166\141\x6c\x75\x65" => "\350\xae\xb0\xe8\264\xa6\xe6\x97\xb6\351\227\264\xe5\210\260\344\272\x86\357\274\214\xe5\277\253\xe6\x9d\245\350\256\260\344\xb8\x80\347\xac\x94\xe5\x90\247"]], "\145\x6d\x70\150\141\x73\x69\163\137\153\145\171\167\157\x72\x64" => "\153\145\x79\167\x6f\162\x64\x31\56\x44\x41\124\x41"];
goto h0K13;
mEq6J: vc6xj:
goto vP5D1;
OH7Np:
$formid = pdo_fetch("\123\105\114\x45\103\124\x20\x69\x64\54\146\157\162\155\151\144\x20\x46\x52\117\x4d\40" . tablename("\170\170\x62\137\x62\x6f\x6f\153\x5f\155\x65\155\142\x65\x72\x5f\146\x6f\162\155\x69\x64") . "\40\127\110\105\122\x45\x20\x6f\x70\145\156\x69\x64\x20\75\x20\x3a\157\x70\145\156\151\x64\40\101\x4e\x44\40\x75\x6e\x69\141\x63\x69\144\40\x3d\40\x3a\165\156\x69\141\x63\151\x64\40\x41\x4e\x44\x20\x65\x78\x70\40\x3e\40\x3a\145\x78\x70\x20\157\162\144\145\162\x20\x62\171\x20\x65\x78\160\40\x61\x73\x63", ["\72\x6f\x70\x65\156\x69\x64" => $openid, "\72\x75\156\151\x61\x63\x69\144" => $_W["\165\x6e\151\x61\143\x69\144"], "\72\x65\x78\160" => time()]);
goto aFEr3;
svmrh:
goto UsEVc;
goto mEq6J;
VqO5M: fXcsR:
goto katjy;
qd3sD:
return false;
goto C0sER;
aFEr3:
if (!empty($formid)) {
goto DxOxh;
}
goto PRVZZ;
e2d0Y:
if (!(empty($openid) || empty($tpl))) {
goto OFLXO;
}
goto Tv4qd;
ggY3d:
pdo_delete("\170\x78\x62\x5f\142\x6f\x6f\153\x5f\x6d\x65\x6d\142\145\x72\x5f\146\x6f\x72\155\x69\144", ["\151\x64" => $formid["\151\144"]]);
goto X__3a;
TkYdf:
$token = $account_api->getAccessToken();
goto hTAAg;
vP5D1:
return true;
goto WaauS;
nqzFG: OFLXO:
goto OH7Np;
OaRbl: DxOxh:
goto NoFDy;
hTAAg:
$risky = ihttp_post("\x68\164\x74\x70\x73\x3a\x2f\57\x61\x70\151\x2e\167\x65\x69\170\x69\x6e\x2e\161\x71\56\x63\157\155\57\143\x67\151\x2d\x62\x69\156\x2f\x6d\x65\x73\x73\141\147\x65\x2f\x77\x78\x6f\x70\x65\x6e\x2f\x74\145\x6d\x70\154\141\164\x65\x2f\163\x65\156\144\77\x61\x63\x63\145\x73\163\137\x74\157\153\145\156\x3d{$token}", json_encode($data, JSON_UNESCAPED_UNICODE));
goto HHGD1;
gE8m7: PDYJl:
goto SmWFw;
WaauS: UsEVc:
goto gE8m7;
q7MAJ:
return false;
goto svmrh;
h0K13:
$account_api = WeAccount::create();
goto TkYdf;
Tv4qd:
return false;
goto nqzFG;
HHGD1:
if ($risky["\x63\x6f\x64\x65"] == 200) {
goto fXcsR;
}
goto qd3sD;
katjy:
$risky = json_decode($risky["\143\x6f\x6e\x74\145\156\164"], true);
goto ggY3d;
PRVZZ:
return false;
goto OaRbl;
X__3a:
if (intval($risky["\145\162\162\x63\157\x64\145"]) == 0) {
goto vc6xj;
}
goto q7MAJ;
DEJt4: global $_W;
goto e2d0Y;
SmWFw:
}
}
Function Calls
None |
Stats
MD5 | 5dcd02c8f4adff610d2987ce0c8c7529 |
Eval Count | 0 |
Decode Time | 178 ms |