<?php /** ** API GAMESBW */ include "classGames.php"; $in=new APIGames(); if($in->checkData($_GET['hash'],'auth')){ $in->userAuth($in->query('getUser','sid='.$_GET['sid'])); }else header('Location: '.$in->query('auth'),301); ?>