fetch_all(array('mobilewechat'));
$setting = (array)unserialize($setting['mobilewechat']);
require_once DISCUZ_ROOT.'./source/plugin/wechat/wechat.lib.class.php';
require_once DISCUZ_ROOT.'./source/plugin/wechat/wsq.class.php';
require_once DISCUZ_ROOT.'./source/plugin/wechat/setting.class.php';
WeChatSetting::menu();
showtableheader(lang('plugin/wechat', 'wsq_viewapp_pubevent'));
echo '
'.lang('plugin/wechat', 'wsq_viewapp_na').' |
';
showtablefooter();
showtableheader(lang('plugin/wechat', 'wsq_viewapp_local'));
echo ''.lang('plugin/wechat', 'wsq_viewapp_local_comment').' |
';
showtablefooter();
showtableheader(lang('plugin/wechat', 'wsq_viewapp_online'));
echo ''.lang('plugin/wechat', 'wsq_viewapp_online_comment').' |
';
showtablefooter();
if($setting['wsq_siteid']) {
$time = TIMESTAMP;
echo <<
function pubEventCallback(re) {
if(re.errCode) {
return;
}
if(typeof re.data.event.peId != 'undefined') {
$('pubevent').innerHTML = '' + re.data.event.peContent;
}
}
EOF;
}