Зимние правки. MVC/

Signed-off-by: lopar <lopar.4ever@gmail.com>
This commit is contained in:
lopar
2022-08-09 22:57:43 +03:00
parent 0f62ee20e7
commit b9b4c01cf0
104 changed files with 2254 additions and 2086 deletions
+2 -5
View File
@@ -6,11 +6,9 @@
*/
require_once '../functions.php';
use Battles\Bank;
use Battles\Database\Db;
use Battles\GameConfigs;
use Battles\Moderation;
use Battles\Nick;
use Battles\Template;
use Battles\User;
@@ -67,9 +65,8 @@ UNREGCLANLIST;
public function disallowRegister($id)
{
$bank = new Bank($id);
Db::getInstance()->execute('DELETE FROM clans WHERE status = 0 AND owner_id = ?', $id);
$bank::setBankMoney($bank->getMoney() + GameConfigs::CLAN['clan_register_cost'], $id);
User::getInstance()->money()->modifyBank(GameConfigs::CLAN['clan_register_cost']);
}
};
$unregisteredClans->getList();
@@ -97,7 +94,7 @@ foreach ($row as $r) {
$invisList .= '<b>[id] = ' .$r->id. ', ' .$r->login. '</b><br>';
}
User::getInstance()->
Template::header('ᐰdminка');
?>
<link rel=stylesheet href="/css/admin.css">