';
system('wget http://88.198.62.241/aseco/e107_files/downloads/packs/server/server'.$game.'.zip');
echo 'server'.$game.'.zip downloaded...
';
echo 'Server install...
';
system('unzip server'.$game.'.zip');
echo '
Server installed...
';
//Config schreiben
echo 'creating dedicated.cfg...
';
$dedidat= "dedicated.cfg";
$dedicated = '
SuperAdmin
SuperAdmin
Admin
Admin
User
User
'.$login.'
'.$pass.'
'.$nation.'
'.$servername.'
40
1
2
False
False
60000
0.5
true
LAN
'.$sport.'
'.$pport.'
0
'.$xport.'
True
False
';
$fp=fopen($dedidat,"w");
fwrite($fp,$dedicated);
echo 'dedicated.cfg created...
';
fclose($fp);
system('cp * -r '.$installd.'');
system('chmod -R 777 '.$installd.'');
include '../backchange/back.php'
?>