{eval
function tpl_global_login_extra() {
global $_G;
}
{lang qqconnect:connect_header_login_tip}
{eval
}
function tpl_global_usernav_extra1() {
global $_G;
}
|{lang qqconnect:connect_register_profile}|{lang qqconnect:connect_register_bind}|
{eval
}
function tpl_login_bar() {
global $_G;
}
{eval
}
function tpl_index_status_extra() {
global $_G;
}
{eval
}
function tpl_viewthread_share_method() {
global $_G;
if (!$_G['setting']['connect']['allow']) return;
$connect_thread_subject = addslashes(strip_tags($_G['thread']['subject']));
}
{lang qqconnect:connect_viewthread_share_to_qq}
{eval
}
function tpl_viewthread_bottom($jsurl) {
global $_G;
}
{lang qqconnect:connect_post_unbind}
{eval
}
function tpl_register_input() {
global $_G;
$connect_app_id = $_G['qc']['connect_app_id'];
$connect_openid = $_G['qc']['connect_openid'];
$periodofvalidity = $_G['cache']['plugin']['smstong']['periodofvalidity'];
$periodofvalidity = empty($periodofvalidity)?0:$periodofvalidity;
$verifycodes = DB::fetch_first("SELECT mobile,getip,dateline FROM ".DB::table('common_verifycode')." WHERE getip='$_G[clientip]' AND status=1 AND dateline>'$_G[timestamp]'-$periodofvalidity order by id desc");
$regsendtime = intval($verifycodes['dateline']);
$mobilegap = intval($_G['cache']['plugin']['smstong']['mobilegap']);
$interval = time() - $regsendtime;
$lastsecond = $mobilegap - $interval;
$sendedmobile = substr($verifycodes['mobile'], 0, 4).'****'.substr($verifycodes['mobile'], 8, 3);
$_G['sechashi'] = !empty($_G['cookie']['sechashi']) ? $_G['sechash'] + 1 : 0;
$sechash = 'S'.($_G['inajax'] ? 'A' : '').$_G['sid'].$_G['sechashi'];
require_once libfile('function/misc');
$iparea = trim(trim(convertip($_G['clientip']),'-'));
$flag = $_G['cache']['plugin']['smstong']['nonlocalcheck']?strstr($_G['cache']['plugin']['smstong']['areavalue'], $iparea)?true:false:false;
}