<link href="./style.css" rel="stylesheet" type="text/css"> </head> <body> <table class="principale" width="100%" style="border-style: none;"> <tr> <td><h1><?php require_once 'tools/db/DbUtils.php'; require_once 'tools/http/HTTP_REQUEST.php'; if (HTTP_RESQUEST::exist('login') && HTTP_RESQUEST::exist('password')) { $login = HTTP_RESQUEST::param('login'); $password = HTTP_RESQUEST::param('password'); if ($login == "reset" && $password == "database" && Config::team) { $obj_utils = new DbUtils(); $obj_utils->connect(); $obj_utils->resetDB(); $obj_utils->close(); echo "La base de donnée a été réinitialisée"; } else { if ($login == "reset" && ($password == "database_all" || !Config::team && $password == "database")) { $obj_utils = new DbUtils(); $obj_utils->connect(); $obj_utils->resetDBALL(); $obj_utils->close(); echo "La base de donnée a été réinitialisée TOTALEMENT !!!!"; } } ?> </h1> <?php } ?>