<?php require_once('includes/requirecompere.inc.php'); $mb_id=current_mb_id(); $authcode=TGET('authcode'); $invitecode=TGET('invitecode'); $dataset['authcode']=$authcode; $dataset['invitecode']=$invitecode; $inviteinfostr=base64_decode($invitecode); $inviteinfo=unserialize($inviteinfostr); if ($inviteinfo['to']!=$mb_id) { redirect("qx-cmd-team.invite.authenticate.failure.html"); return; } $DBConn->connect(true); $compere=db_load_compere($DBConn,$inviteinfo['from']); $dataset['sender.cp_name']=$compere['cp_name']; $dataset['sender.mb_id']=$compere['mb_id']; ?>