﻿Since all deposits are added "the present number", based on 100 hours of going on JS script.
Most logical to change the date when the sample from the database and bring it under the right, for example, 2 days, 10 minutes, etc.
After the counter comes to zero - will be the status PENDING

1. Open home.php (/ resource / page /)
This code is to be inserted where eating kommentary "HERE"
$ NewDate = date ('Ymd H: i: s', strtotime ($ Row ['date']. "-1 Days"));
$ Row ['date'] = $ NewDate;
-1 Days, + 1 days, +1 week, +2 days, +4 hours, -21 seconds - all these commands allow you to change the time for some period
These may be used alone, or together but without commas

2. Open setting.php - there I said constant DOUBLE_SUM - how many times will double the deposit ?! 2, 1.5, 0.3, etc.

3. It is necessary to change the display in the admin applications that expect payment (time ischerpnno)
Open admin.php (/ resource / page /)
Looking for $ Query = mysqli_query ($ CONNECT, "SELECT` id`, `sum`,` date`, `adress` FROM` deposit` WHERE `status` = 0 AND` ref` = '0' AND `date` <SUBTIME (NOW (), '0 99: 00: 0') ");
There I left koment "Here it is"
The numbers in the late '99 0: 00: 0' - this is a sample, if you are all changed in the code above for example 23 hours, there is also need to change to 0 24:00:00
Like all :)