<?php
include '../config.php';
mysql_connect("$mysqlhost","$mysqlname","$mysqlpass") or die('Cant Connect...');
mysql_select_db("$mysqldb") or die('DB Connection Problem...');
$username = $_POST[username];
$password = $_POST[password];
	$date = date("d-M-Y H:i:s");
		$admin = 'INSERT INTO `users` (`app`, `badgeonoff`, `badges`, `birth`, `consolemission`, `credits`, `curbadge`, `email`, `favourites`, `figure`, `poolfigure`, `film`, `friendlist`, `registered`, `hand`, `hcdays`, `hcupdate`, `inquiries`, `lastonline`, `mission`, `name`, `num`, `pass`, `periods`, `rank`, `roomlist`, `rooms`, `sex`, `showexpire`, `tickets`, `commands_queue`, `transactions`, `msgcount`, `messages`, `tutorial`, `group_active`, `group_others`, `shockwaveid`) VALUES (\'1150118009255042800129003\', \'0\', \';\', \'--\', \'admin\', \'5000000\', \'\', \'noemail\', \';\', \'ch=s02/53,51,44\', \'.\', \'\', \'<>\', \''. $date .'\', \' ; \', \' 0 \', \''. $date .'\', \'\', \'\', \'\', \''. $username .'\', \'\', \''. $password .'\', \'0\', \'admin\', \'\', \'0\', \'M\', \'0\', \'0\', \'\', \'\', \'0\', \'\', \'\', \'\', \'\', \'\');';
		mysql_query($admin);
		$home = "INSERT INTO `homes` (`owner`, `bg`, `badge`, `habboname`) VALUES ('$username', 'b_bg_metal2', '', '$username');";
		mysql_query($home);
		$config = "INSERT INTO `zabboweb` (`name`, `config`) VALUES ('ssostatus', '$_POST[ssostatus]');";
		mysql_query($config);
		$config = "INSERT INTO `zabboweb` (`name`, `config`) VALUES ('sitepath', '$_POST[sitepath]');";
		mysql_query($config);
		$config = "INSERT INTO `zabboweb` (`name`, `config`) VALUES ('imgpath', '$_POST[imgpath]');";
		mysql_query($config);
		$config = "INSERT INTO `zabboweb` (`name`, `config`) VALUES ('dcrs', '$_POST[dcrs]');";
		mysql_query($config);
		$config = "INSERT INTO `zabboweb` (`name`, `config`) VALUES ('vars', '$_POST[vars]');";
		mysql_query($config);
		$config = "INSERT INTO `zabboweb` (`name`, `config`) VALUES ('texts', '$_POST[texts]');";
		mysql_query($config);
		$config = "INSERT INTO `zabboweb` (`name`, `config`) VALUES ('serverhost', '$_POST[serverhost]');";
		mysql_query($config);
		$config = "INSERT INTO `zabboweb` (`name`, `config`) VALUES ('serverport', '$_POST[serverport]');";
		mysql_query($config);
		$config = "INSERT INTO `zabboweb` (`name`, `config`) VALUES ('name', '$_POST[name]');";
		mysql_query($config);
?>