AntiBK/todo.txt

7 lines
274 B
Plaintext
Raw Normal View History

2021-02-11 13:55:56 +00:00
$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());
}