0) { $row = mysqli_fetch_array($result); $updated = 0; // update rate /////////////////// if ($row['auto_rate'] == 1 && $row['last_update_mins'] > 1) { $from = GetCurrencyCode($row['from_currency']); $to = GetCurrencyCode($row['to_currency']); exchagerix_update_rate($from, $to, $row['fee'], $row['exdirection_id']); $old_rate = $row['exchange_rate']; $exchange_rate = GetDirectionRate($row['exdirection_id']); $updated = 1; if ($old_rate != $exchange_rate) { if ($old_rate > $exchange_rate) $rate_up = 1; if ($old_rate < $exchange_rate) $rate_up = 2; } } ?> "> = 0) { while ($row = mysqli_fetch_array($result)) { $cc++; ?>
No exchanges at this time."; } } ?>