'.sprintf($lang['upmov'],'dbconfig.php','other').'

'; echo ''.sprintf($lang['updel'],'config.php
install.php
mysql_connect.php
style.css
update_0-02.php
webinterface_list.php').'
'; } elseif(is_file('install.php') or is_file('config.php') or is_file('mysql_connect.php') or is_file('webinterface_list.php') or is_file('update_0-02.php') or is_file('style.css')) { echo ''.sprintf($lang['updel'],'config.php
install.php
mysql_connect.php
style.css
update_0-02.php
webinterface_list.php').'
'; } elseif($currvers=='0.10-beta') { echo''.$lang['alrup'].'
'; } else { echo sprintf($lang['updb'],'0.10','0-10'); echo '
'; } if(isset($_POST['updateranksystem'])) { if(!$mysqlcon->query("ALTER TABLE $dbname.config ADD (showcolsg int(1) NOT NULL,bgcolor text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,hdcolor text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,txcolor text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,hvcolor text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,ifcolor text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,wncolor text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,sccolor text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,showgen int(1) NOT NULL)")) { printf("Errormessage: %s\n", $mysqlcon->error); } echo '

'.$lang['insttb'].'
'; if(!$mysqlcon->query("CREATE TABLE $dbname.groups (sgid int(10) NOT NULL,sgidname text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL)")) { echo $lang['insttberr'].''.$mysqlcon->error.'.
'; } if(!$mysqlcon->query("UPDATE config set currvers='0.10-beta',showcolsg='1',bgcolor='#101010',hdcolor='#909090',txcolor='#707070',hvcolor='#FFFFFF',ifcolor='#3366CC',wncolor='#CC0000',sccolor='#008000',showgen='1'")) { printf("Errormessage: %s\n", $mysqlcon->error); } else { echo''.$lang['upsucc'].'

'; } } ?>