Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

public function doMobileMychatxcx() { goto BS083; MTWFk: echo $html; goto zCCQ_;..

Decoded Output download

<?  	public function doMobileMychatxcx() { 
		goto BS083; 
		MTWFk: echo $html; 
		goto zCCQ_; 
		zVBgg: $allpage = ceil($total / $psize) + 1; 
		goto iCK0c; 
		U2z1y: $isajax = intval($_GPC['isajax']); 
		goto mSzfz; 
		YZD8e: UE6So: goto U2z1y; 
		DQ84U: $resArr['error'] = 0; 
		goto mCePk; 
		hqVag: include $this->template('mychatxcx'); 
 
		var_dump(123);exit; 
		goto dZLny; 
		mSzfz: if (!($isajax == 1)) { 
			goto SHor6; 
		} 
		goto GszXi; 
		CNfjC: pdo_delete(BEST_XCXCHAT, array("fkid" => $fkid)); 
		goto P3FfQ; 
		KNHLZ: Dd_gg: goto llydQ; 
		G8Vga: $total = pdo_fetchcolumn('SELECT COUNT(*) FROM ' . tablename(BEST_XCXFANSKEFU) . " WHERE kefuopenid = '{$openid}' AND lastcon != ''"); 
		goto zVBgg; 
		F1STQ: LxB52: goto Qz5OH; 
		NRA4M: $pindex = max(1, $page); 
		goto EFs1V; 
		s0bBU: $allwei = pdo_fetchcolumn('SELECT SUM(notread) FROM ' . tablename(BEST_XCXFANSKEFU) . " WHERE weid = {$_W['uniacid']} AND kefuopenid = '{$openid}'"); 
		goto ipm6z; 
		hAo5q: bIABu: goto e7D5h; 
		zCCQ_: exit; 
		goto D9YTc; 
		WiUzR: foreach ($chatlist as $kk => $vv) { 
			goto O9637; 
			UDqTz: $html .= '<div class="item flex textellipsis1 fkid' . $vv['id'] . '"> 
								<a href="' . $this->createMobileUrl('xcxchat', array("fkid" => $vv['id'])) . '" class="flex tohref textellipsis1"> 
									<img src="' . $avatar . '">' . $mychatbadge . ' 
									<div class="text textellipsis1 flex1"> 
										<div class="name textellipsis1">' . $vv['fansnickname'] . '</div> 
										<div class="lastmsg textellipsis1">' . $con . '</div> 
									</div> 
								</a> 
								<div class="timedo"> 
									<div class="time">' . $this->getChatTimeStr($vv['lasttime']) . '</div> 
									<div class="dodel" data-fkid="' . $vv['id'] . '"></div> 
								</div> 
							</div>'; 
			goto RmE0l; 
			EiasJ: drG3w: goto hHiK3; 
			RmE0l: Rx72g: goto nS6JI; 
			hHiK3: $con = preg_replace('/\xEE[\x80-\xBF][\x80-\xBF]|\xEF[\x81-\x83][\x80-\xBF]/', '[]', $vv['lastcon']); 
			goto stH_p; 
			ZDan5: $mychatbadge = $vv['notread'] > 0 ? '<span class="mychatbadge">' . $vv['notread'] . '</span>' : ''; 
			goto UDqTz; 
			ZvkMN: goto z7k3o; 
			goto EiasJ; 
			O9637: if ($vv['msgtype'] == 'text') { 
				goto drG3w; 
			} 
			goto hbk5d; 
			stH_p: z7k3o: goto NEaSc; 
			NEaSc: $avatar = $vv['fansavatar'] != '' ? $vv['fansavatar'] : MD_ROOT . 'static/xcx.png'; 
			goto ZDan5; 
			hbk5d: $con = '<span style="color:#900;">[]</span>'; 
			goto ZvkMN; 
			nS6JI: 
		} 
		goto Xx6n8; 
		X_D8u: if ($operation == 'delete') { 
			goto Dd_gg; 
		} 
		goto nyy8o; 
		e7D5h: $psize = 20; 
		goto G8Vga; 
		nyy8o: goto LxB52; 
		goto hAo5q; 
		BS083: global $_W, $_GPC; 
		goto zY0Sb; 
		iEsya: echo json_encode($resArr, true); 
		goto S63Jf; 
		P3FfQ: pdo_delete(BEST_XCXFANSKEFU, array("id" => $fkid)); 
		goto DQ84U; 
		dZLny: goto LxB52; 
		goto KNHLZ; 
		GszXi: $html = ''; 
		goto WiUzR; 
		S63Jf: exit; 
		goto F1STQ; 
		iCK0c: $page = intval($_GPC['page']); 
		goto NRA4M; 
		ipm6z: $allwei = empty($allwei) ? 0 : $allwei; 
		goto hqVag; 
		zY0Sb: $openid = $_W['fans']['from_user']; 
		goto dJl9u; 
		dJl9u: $operation = !empty($_GPC['op']) ? $_GPC['op'] : 'display'; 
		goto KJXWl; 
		llydQ: $fkid = intval($_GPC['fkid']); 
		goto CNfjC; 
		EFs1V: $chatlist = pdo_fetchall('SELECT * FROM ' . tablename(BEST_XCXFANSKEFU) . " WHERE kefuopenid = '{$openid}' AND lastcon != '' ORDER BY notread DESC,lasttime DESC LIMIT " . ($pindex - 1) * $psize . ',' . $psize); 
		goto ixYiG; 
		ixYiG: foreach ($chatlist as $kk => $vv) { 
			goto BWuSN; 
			yNYEo: goto n6yoQ; 
			goto Xe7ir; 
			GFsHS: n6yoQ: goto O2C6x; 
			aD5yq: $biaoqian = pdo_fetch('SELECT name FROM ' . tablename(BEST_BIAOQIAN) . " WHERE kefuopenid = '{$vv['kefuopenid']}' AND fensiopenid = '{$vv['fansopenid']}'"); 
			goto IsBhf; 
			Xe7ir: Io5lJ: goto FaAdd; 
			FaAdd: $chatlist[$kk]['fansnickname'] = '[' . $xcxres['name'] . '][' . $biaoqian['name'] . ']' . $vv['fansnickname']; 
			goto GFsHS; 
			BWuSN: $xcxres = pdo_fetch('SELECT name FROM ' . tablename(BEST_XCX) . " WHERE gh_id = '{$vv['gh_id']}'"); 
			goto aD5yq; 
			O2C6x: QPsJx: goto L3fTg; 
			lqyGp: $chatlist[$kk]['fansnickname'] = '[' . $xcxres['name'] . ']' . $vv['fansnickname']; 
			goto yNYEo; 
			lglfy: if (!empty($biaoqian)) { 
				goto Io5lJ; 
			} 
			goto lqyGp; 
			IsBhf: $vv['fansnickname'] = $vv['fansnickname'] == '' ? '' : $vv['fansnickname']; 
			goto lglfy; 
			L3fTg: 
		} 
		goto YZD8e; 
		mCePk: $resArr['message'] = ''; 
		goto iEsya; 
		KJXWl: if ($operation == 'display') { 
			goto bIABu; 
		} 
		goto X_D8u; 
		D9YTc: SHor6: goto s0bBU; 
		Xx6n8: vW_Pj: goto MTWFk; 
		Qz5OH: 
	} ?>

Did this file decode correctly?

Original Code

	public function doMobileMychatxcx() {
		goto BS083;
		MTWFk: echo $html;
		goto zCCQ_;
		zVBgg: $allpage = ceil($total / $psize) + 1;
		goto iCK0c;
		U2z1y: $isajax = intval($_GPC['isajax']);
		goto mSzfz;
		YZD8e: UE6So: goto U2z1y;
		DQ84U: $resArr['error'] = 0;
		goto mCePk;
		hqVag: include $this->template('mychatxcx');

		var_dump(123);exit;
		goto dZLny;
		mSzfz: if (!($isajax == 1)) {
			goto SHor6;
		}
		goto GszXi;
		CNfjC: pdo_delete(BEST_XCXCHAT, array("fkid" => $fkid));
		goto P3FfQ;
		KNHLZ: Dd_gg: goto llydQ;
		G8Vga: $total = pdo_fetchcolumn('SELECT COUNT(*) FROM ' . tablename(BEST_XCXFANSKEFU) . " WHERE kefuopenid = '{$openid}' AND lastcon != ''");
		goto zVBgg;
		F1STQ: LxB52: goto Qz5OH;
		NRA4M: $pindex = max(1, $page);
		goto EFs1V;
		s0bBU: $allwei = pdo_fetchcolumn('SELECT SUM(notread) FROM ' . tablename(BEST_XCXFANSKEFU) . " WHERE weid = {$_W['uniacid']} AND kefuopenid = '{$openid}'");
		goto ipm6z;
		hAo5q: bIABu: goto e7D5h;
		zCCQ_: exit;
		goto D9YTc;
		WiUzR: foreach ($chatlist as $kk => $vv) {
			goto O9637;
			UDqTz: $html .= '<div class="item flex textellipsis1 fkid' . $vv['id'] . '">
								<a href="' . $this->createMobileUrl('xcxchat', array("fkid" => $vv['id'])) . '" class="flex tohref textellipsis1">
									<img src="' . $avatar . '">' . $mychatbadge . '
									<div class="text textellipsis1 flex1">
										<div class="name textellipsis1">' . $vv['fansnickname'] . '</div>
										<div class="lastmsg textellipsis1">' . $con . '</div>
									</div>
								</a>
								<div class="timedo">
									<div class="time">' . $this->getChatTimeStr($vv['lasttime']) . '</div>
									<div class="dodel" data-fkid="' . $vv['id'] . '"></div>
								</div>
							</div>';
			goto RmE0l;
			EiasJ: drG3w: goto hHiK3;
			RmE0l: Rx72g: goto nS6JI;
			hHiK3: $con = preg_replace('/\\xEE[\\x80-\\xBF][\\x80-\\xBF]|\\xEF[\\x81-\\x83][\\x80-\\xBF]/', '[]', $vv['lastcon']);
			goto stH_p;
			ZDan5: $mychatbadge = $vv['notread'] > 0 ? '<span class="mychatbadge">' . $vv['notread'] . '</span>' : '';
			goto UDqTz;
			ZvkMN: goto z7k3o;
			goto EiasJ;
			O9637: if ($vv['msgtype'] == 'text') {
				goto drG3w;
			}
			goto hbk5d;
			stH_p: z7k3o: goto NEaSc;
			NEaSc: $avatar = $vv['fansavatar'] != '' ? $vv['fansavatar'] : MD_ROOT . 'static/xcx.png';
			goto ZDan5;
			hbk5d: $con = '<span style="color:#900;">[]</span>';
			goto ZvkMN;
			nS6JI:
		}
		goto Xx6n8;
		X_D8u: if ($operation == 'delete') {
			goto Dd_gg;
		}
		goto nyy8o;
		e7D5h: $psize = 20;
		goto G8Vga;
		nyy8o: goto LxB52;
		goto hAo5q;
		BS083: global $_W, $_GPC;
		goto zY0Sb;
		iEsya: echo json_encode($resArr, true);
		goto S63Jf;
		P3FfQ: pdo_delete(BEST_XCXFANSKEFU, array("id" => $fkid));
		goto DQ84U;
		dZLny: goto LxB52;
		goto KNHLZ;
		GszXi: $html = '';
		goto WiUzR;
		S63Jf: exit;
		goto F1STQ;
		iCK0c: $page = intval($_GPC['page']);
		goto NRA4M;
		ipm6z: $allwei = empty($allwei) ? 0 : $allwei;
		goto hqVag;
		zY0Sb: $openid = $_W['fans']['from_user'];
		goto dJl9u;
		dJl9u: $operation = !empty($_GPC['op']) ? $_GPC['op'] : 'display';
		goto KJXWl;
		llydQ: $fkid = intval($_GPC['fkid']);
		goto CNfjC;
		EFs1V: $chatlist = pdo_fetchall('SELECT * FROM ' . tablename(BEST_XCXFANSKEFU) . " WHERE kefuopenid = '{$openid}' AND lastcon != '' ORDER BY notread DESC,lasttime DESC LIMIT " . ($pindex - 1) * $psize . ',' . $psize);
		goto ixYiG;
		ixYiG: foreach ($chatlist as $kk => $vv) {
			goto BWuSN;
			yNYEo: goto n6yoQ;
			goto Xe7ir;
			GFsHS: n6yoQ: goto O2C6x;
			aD5yq: $biaoqian = pdo_fetch('SELECT name FROM ' . tablename(BEST_BIAOQIAN) . " WHERE kefuopenid = '{$vv['kefuopenid']}' AND fensiopenid = '{$vv['fansopenid']}'");
			goto IsBhf;
			Xe7ir: Io5lJ: goto FaAdd;
			FaAdd: $chatlist[$kk]['fansnickname'] = '[' . $xcxres['name'] . '][' . $biaoqian['name'] . ']' . $vv['fansnickname'];
			goto GFsHS;
			BWuSN: $xcxres = pdo_fetch('SELECT name FROM ' . tablename(BEST_XCX) . " WHERE gh_id = '{$vv['gh_id']}'");
			goto aD5yq;
			O2C6x: QPsJx: goto L3fTg;
			lqyGp: $chatlist[$kk]['fansnickname'] = '[' . $xcxres['name'] . ']' . $vv['fansnickname'];
			goto yNYEo;
			lglfy: if (!empty($biaoqian)) {
				goto Io5lJ;
			}
			goto lqyGp;
			IsBhf: $vv['fansnickname'] = $vv['fansnickname'] == '' ? '' : $vv['fansnickname'];
			goto lglfy;
			L3fTg:
		}
		goto YZD8e;
		mCePk: $resArr['message'] = '';
		goto iEsya;
		KJXWl: if ($operation == 'display') {
			goto bIABu;
		}
		goto X_D8u;
		D9YTc: SHor6: goto s0bBU;
		Xx6n8: vW_Pj: goto MTWFk;
		Qz5OH:
	}

Function Calls

None

Variables

None

Stats

MD5 cade7a839435fbc0d45fa5bffc0ee9ef
Eval Count 0
Decode Time 92 ms