AntiBK/todo.txt
Igor Barkov (iwork) d0b334a426 Upload code
2021-02-11 17:11:12 +02:00

7 lines
274 B
Plaintext

$server = $adb->selectRow("SELECT `last_transfer` FROM `server_info`;");
if (date('d.m.y', $server['last_transfer']) != date('d.m.y'))
{
$adb->query("UPDATE `characters` SET `transfers` = '200';");
$adb->query("UPDATE `server_info` SET `last_transfer` = ?d", time());
}