Create($_SESSION["login_uid"],$_SESSION["login_upw"],$apiRtn); if($rtn=="OK"){ $rtn=$dggame->Forward($_SESSION["login_uid"],$pcURL,$mobileURL,$output); if($rtn=="OK"){ $historydbobj->addGamePlayHistory($_SESSION["login_uid"],"DG","8"); if($_GET['ismobile']==1) header("Location: ".$mobileURL); else header("Location: ".$pcURL); } else{ echo "登入失敗"; } } else{ //echo $apiRtn; $logger->error("dgplay.php DG create account fail: ".$apiRtn); echo "遊戲暫時無法進入"; } ?>