'); echo(''); if ($User->vxIsLogin()) { if ($User->usr_id == 1) { echo('Welcome.

'); if (isset($_GET['u']) && isset($_GET['g'])) { $u = fetch_single($_GET['u']); $g = fetch_single($_GET['g']); $us = mysql_real_escape_string($u); $gs = mysql_real_escape_string($g); $sql = "UPDATE babel_user SET usr_google_account = '{$gs}' WHERE usr_nick = '{$us}' LIMIT 1"; mysql_query($sql); if (mysql_affected_rows($db) == 1) { echo("{$u}'s Google Account is updated.

"); } else { echo("Something is not OK.

"); } } echo('
User:   Gtalk:
'); } else { die('403'); } } else { die('403'); } echo(''); ?>