diff --git a/upload/install/step_3.php b/upload/install/step_3.php index 7f7783c..dc3676a 100644 --- a/upload/install/step_3.php +++ b/upload/install/step_3.php @@ -274,6 +274,8 @@ $_SESSION['step_3'] = true; + file_get_contents("http://api.webmcr.com/?do=install&domain=".$_SERVER['SERVER_NAME']); + $this->core->notify('Завершение установки', 'Настройки', 4, 'install/?mode=settings'); } diff --git a/upload/install/tables.sql b/upload/install/tables.sql index 9cc48c5..0119aa0 100644 --- a/upload/install/tables.sql +++ b/upload/install/tables.sql @@ -14,14 +14,14 @@ `description` varchar(255) NOT NULL, `permissions` text NOT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=0 ; +) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; #line CREATE TABLE IF NOT EXISTS `mcr_iconomy` ( `id` int(10) NOT NULL AUTO_INCREMENT, `login` varchar(32) CHARACTER SET latin1 NOT NULL, - `money` float NOT NULL DEFAULT '0', - `realmoney` float NOT NULL DEFAULT '0', - `bank` float NOT NULL DEFAULT '0', + `money` decimal(10,2) NOT NULL DEFAULT '0.00', + `realmoney` decimal(10,2) NOT NULL DEFAULT '0.00', + `bank` decimal(10,2) NOT NULL DEFAULT '0.00', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; #line diff --git a/upload/themes/default/blocks/profile/auth.html b/upload/themes/default/blocks/profile/auth.html index f057c05..cb49165 100644 --- a/upload/themes/default/blocks/profile/auth.html +++ b/upload/themes/default/blocks/profile/auth.html @@ -6,7 +6,7 @@
-
+