else{
$fpb=fopen('ulduz_nik.dat','w');
$line = "$time\n$id\n$us\n";
fputs($fpb,$line);
fclose($fpb);
$newbal = $bal - 10;
$sql = mysql_query("UPDATE `users` SET `bal` = '".$newbal."' WHERE `id` = '".$id."';");
echo "Tebrikler Siz Ulduz Nick oldunuz<br/>Hesabinizda <b>$newbal</b> bal...