Comsenz Inc.'; function check($value, $idhash, $seccheck, $fromjs, $modid) { global $_G; if(!$_G['setting']['my_siteid']) { return false; } $sig = $_G['cookie']['dcaptchasig']; $data = captcha::validate($value, $sig, $fromjs, $modid); return $data == '{"errCode":0}'; } function make($idhash, $modid) { global $_G; if(!$_G['setting']['my_siteid']) { return; } $rand = random(10); $src = 'plugin.php?id=cloudcaptcha:get&rand='.$rand.'&modid='.$modid; $tips = lang('core', 'seccode_image_tips'); echo ''. ''; } function image($idhash, $modid) { global $_G; if(!$_G['setting']['my_siteid']) { return; } $rand = random(10); return $_G['siteurl'].'plugin.php?id=cloudcaptcha:get&rand='.$rand.'&modid='.$modid; } } ?>